Search in sources :

Example 16 with NullFormSupervisor

use of org.activityinfo.store.query.shared.NullFormSupervisor in project activityinfo by bedatadriven.

the class AsyncClientStub method queryTableColumns.

@Override
public Promise<ColumnSet> queryTableColumns(QueryModel query) {
    if (!connected) {
        return offlineResult();
    }
    ColumnSetBuilder columnSetBuilder = new ColumnSetBuilder(storageProvider, new NullFormScanCache(), new NullFormSupervisor());
    ColumnSet columnSet = columnSetBuilder.build(query);
    return Promise.resolved(columnSet);
}
Also used : ColumnSetBuilder(org.activityinfo.store.query.server.ColumnSetBuilder) NullFormScanCache(org.activityinfo.store.query.shared.NullFormScanCache) ColumnSet(org.activityinfo.model.query.ColumnSet) NullFormSupervisor(org.activityinfo.store.query.shared.NullFormSupervisor)

Aggregations

ColumnSetBuilder (org.activityinfo.store.query.server.ColumnSetBuilder)16 NullFormSupervisor (org.activityinfo.store.query.shared.NullFormSupervisor)16 ColumnSet (org.activityinfo.model.query.ColumnSet)12 QueryModel (org.activityinfo.model.query.QueryModel)11 Test (org.junit.Test)10 NullFormScanCache (org.activityinfo.store.query.shared.NullFormScanCache)8 ColumnView (org.activityinfo.model.query.ColumnView)7 FormClass (org.activityinfo.model.form.FormClass)4 FormField (org.activityinfo.model.form.FormField)3 Quantity (org.activityinfo.model.type.number.Quantity)3 QuantityType (org.activityinfo.model.type.number.QuantityType)3 EnumColumnView (org.activityinfo.model.query.EnumColumnView)2 ResourceId (org.activityinfo.model.resource.ResourceId)2 SubFormReferenceType (org.activityinfo.model.type.subform.SubFormReferenceType)2 CommandException (org.activityinfo.legacy.shared.exception.CommandException)1 RecordRef (org.activityinfo.model.type.RecordRef)1 CalculatedFieldType (org.activityinfo.model.type.expr.CalculatedFieldType)1 AppEngineFormScanCache (org.activityinfo.store.hrd.AppEngineFormScanCache)1 FormSupervisorAdapter (org.activityinfo.store.query.server.FormSupervisorAdapter)1 Updater (org.activityinfo.store.query.server.Updater)1