Search in sources :

Example 1 with OIterator

use of com.runwaysdk.query.OIterator in project geoprism-registry by terraframe.

the class BusinessType method getAll.

public static JsonArray getAll() {
    JsonArray response = new JsonArray();
    Organization.getOrganizations().stream().filter(o -> Organization.isMember(o)).forEach(org -> {
        BusinessTypeQuery query = new BusinessTypeQuery(new QueryFactory());
        query.WHERE(query.getOrganization().EQ(org));
        query.ORDER_BY_DESC(query.getDisplayLabel().localize());
        try (OIterator<? extends BusinessType> it = query.getIterator()) {
            while (it.hasNext()) {
                BusinessType type = it.next();
                response.add(type.toJSON());
            }
        }
    });
    return response;
}
Also used : JsonArray(com.google.gson.JsonArray) JsonObject(com.google.gson.JsonObject) Operation(com.runwaysdk.business.rbac.Operation) Transaction(com.runwaysdk.dataaccess.transaction.Transaction) MdGeoVertexInfo(com.runwaysdk.gis.constants.MdGeoVertexInfo) MdAttributeTermDAOIF(com.runwaysdk.dataaccess.MdAttributeTermDAOIF) LocalizedValue(org.commongeoregistry.adapter.dataaccess.LocalizedValue) ServerGeoObjectType(net.geoprism.registry.model.ServerGeoObjectType) JsonParser(com.google.gson.JsonParser) MdAttributeLocalInfo(com.runwaysdk.constants.MdAttributeLocalInfo) MdAttributeBooleanInfo(com.runwaysdk.constants.MdAttributeBooleanInfo) MdVertex(com.runwaysdk.system.metadata.MdVertex) ServiceFactory(net.geoprism.registry.service.ServiceFactory) Classifier(net.geoprism.ontology.Classifier) MdAttributeConcreteDAOIF(com.runwaysdk.dataaccess.MdAttributeConcreteDAOIF) DefaultAttribute(org.commongeoregistry.adapter.constants.DefaultAttribute) IndexTypes(com.runwaysdk.constants.IndexTypes) MdAttributeCharacterInfo(com.runwaysdk.constants.MdAttributeCharacterInfo) LocalizedValueConverter(net.geoprism.registry.conversion.LocalizedValueConverter) Map(java.util.Map) QueryFactory(com.runwaysdk.query.QueryFactory) RoleDAO(com.runwaysdk.business.rbac.RoleDAO) Collector(java.util.stream.Collector) JsonSerializable(net.geoprism.registry.view.JsonSerializable) MdAttributeConcrete(com.runwaysdk.system.metadata.MdAttributeConcrete) TermConverter(net.geoprism.registry.conversion.TermConverter) AttributeType(org.commongeoregistry.adapter.metadata.AttributeType) MdAttributeCharacterDAO(com.runwaysdk.dataaccess.metadata.MdAttributeCharacterDAO) MdAttributeConcreteDAO(com.runwaysdk.dataaccess.metadata.MdAttributeConcreteDAO) GeoVertex(net.geoprism.registry.graph.GeoVertex) Roles(com.runwaysdk.system.Roles) AttributeTypeConverter(net.geoprism.registry.conversion.AttributeTypeConverter) MdAttributeConcreteInfo(com.runwaysdk.constants.MdAttributeConcreteInfo) Collectors(java.util.stream.Collectors) BusinessFacade(com.runwaysdk.business.BusinessFacade) MdVertexDAO(com.runwaysdk.dataaccess.metadata.graph.MdVertexDAO) OIterator(com.runwaysdk.query.OIterator) Page(net.geoprism.registry.view.Page) MdAttributeGraphReferenceInfo(com.runwaysdk.constants.MdAttributeGraphReferenceInfo) MdAttributeMultiTermDAOIF(com.runwaysdk.dataaccess.MdAttributeMultiTermDAOIF) MdVertexDAOIF(com.runwaysdk.dataaccess.MdVertexDAOIF) List(java.util.List) JsonArray(com.google.gson.JsonArray) DataNotFoundException(com.runwaysdk.dataaccess.cache.DataNotFoundException) MdVertexInfo(com.runwaysdk.constants.graph.MdVertexInfo) Session(com.runwaysdk.session.Session) MdAttributeGraphReferenceDAO(com.runwaysdk.dataaccess.metadata.MdAttributeGraphReferenceDAO) BusinessTypePageQuery(net.geoprism.registry.query.graph.BusinessTypePageQuery) QueryFactory(com.runwaysdk.query.QueryFactory)

Example 2 with OIterator

use of com.runwaysdk.query.OIterator in project geoprism-registry by terraframe.

the class ListType method listForType.

public static JsonObject listForType(String typeCode) {
    ServerGeoObjectType type = ServerGeoObjectType.get(typeCode);
    Organization org = type.getOrganization();
    final boolean isMember = Organization.isMember(org);
    ListTypeQuery query = new ListTypeQuery(new QueryFactory());
    query.WHERE(query.getUniversal().EQ(type.getUniversal()));
    SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
    final JsonArray lists = new JsonArray();
    try (OIterator<? extends ListType> it = query.getIterator()) {
        it.getAll().stream().sorted((a, b) -> {
            return a.getDisplayLabel().getValue().compareTo(b.getDisplayLabel().getValue());
        }).filter(f -> {
            return true;
        }).forEach(list -> {
            // JsonObject object = new JsonObject();
            // object.addProperty("label", list.getDisplayLabel().getValue());
            // object.addProperty("oid", list.getOid());
            // object.addProperty("createDate",
            // format.format(list.getCreateDate()));
            // object.addProperty("lasteUpdateDate",
            // format.format(list.getLastUpdateDate()));
            // object.addProperty("write", list.doesActorHaveWritePermission());
            // object.addProperty("read", list.doesActorHaveReadPermission());
            // 
            lists.add(list.toJSON());
        });
    }
    JsonObject object = new JsonObject();
    object.addProperty("orgCode", org.getCode());
    object.addProperty("orgLabel", org.getDisplayLabel().getValue());
    object.addProperty("typeCode", type.getCode());
    object.addProperty("typeLabel", type.getLabel().getValue());
    object.addProperty("geometryType", type.getGeometryType().name());
    object.addProperty("write", doesActorHaveWritePermissions(type));
    object.add("lists", lists);
    return object;
}
Also used : JsonArray(com.google.gson.JsonArray) JsonObject(com.google.gson.JsonObject) Operation(com.runwaysdk.business.rbac.Operation) Date(java.util.Date) Authenticate(com.runwaysdk.business.rbac.Authenticate) MdEdgeDAOIF(com.runwaysdk.dataaccess.MdEdgeDAOIF) ServerGeoObjectType(net.geoprism.registry.model.ServerGeoObjectType) CreateListPermissionException(net.geoprism.registry.roles.CreateListPermissionException) MdAttributeDateTimeUtil(com.runwaysdk.constants.MdAttributeDateTimeUtil) ClassificationType(net.geoprism.registry.model.ClassificationType) Locale(java.util.Locale) Map(java.util.Map) AttributeBooleanType(org.commongeoregistry.adapter.metadata.AttributeBooleanType) TermConverter(net.geoprism.registry.conversion.TermConverter) UpdateListPermissionException(net.geoprism.registry.roles.UpdateListPermissionException) Optional(org.commongeoregistry.adapter.Optional) Collection(java.util.Collection) MdAttributeClassificationDAOIF(com.runwaysdk.dataaccess.MdAttributeClassificationDAOIF) List(java.util.List) JsonArray(com.google.gson.JsonArray) MdAttributeDAOIF(com.runwaysdk.dataaccess.MdAttributeDAOIF) GeometryType(org.commongeoregistry.adapter.constants.GeometryType) CompositeRestriction(net.geoprism.registry.query.graph.CompositeRestriction) Universal(com.runwaysdk.system.gis.geo.Universal) ListTypeJob(net.geoprism.registry.etl.ListTypeJob) ProgrammingErrorException(com.runwaysdk.dataaccess.ProgrammingErrorException) Transaction(com.runwaysdk.dataaccess.transaction.Transaction) GeoprismProperties(net.geoprism.GeoprismProperties) AttributeClassificationType(org.commongeoregistry.adapter.metadata.AttributeClassificationType) SimpleDateFormat(java.text.SimpleDateFormat) HashMap(java.util.HashMap) LocalizedValue(org.commongeoregistry.adapter.dataaccess.LocalizedValue) JsonParser(com.google.gson.JsonParser) Constants(com.runwaysdk.constants.Constants) ServiceFactory(net.geoprism.registry.service.ServiceFactory) Classifier(net.geoprism.ontology.Classifier) LocalizationFacade(com.runwaysdk.localization.LocalizationFacade) ListTypeJobQuery(net.geoprism.registry.etl.ListTypeJobQuery) Classification(net.geoprism.registry.model.Classification) AttributeValueRestriction(net.geoprism.registry.query.graph.AttributeValueRestriction) LocalizedValueConverter(net.geoprism.registry.conversion.LocalizedValueConverter) QueryFactory(com.runwaysdk.query.QueryFactory) LinkedList(java.util.LinkedList) LocalStruct(com.runwaysdk.business.LocalStruct) MdClassificationDAOIF(com.runwaysdk.dataaccess.MdClassificationDAOIF) AttributeType(org.commongeoregistry.adapter.metadata.AttributeType) ServerHierarchyType(net.geoprism.registry.model.ServerHierarchyType) Term(org.commongeoregistry.adapter.Term) AttributeTermType(org.commongeoregistry.adapter.metadata.AttributeTermType) AttributeDateType(org.commongeoregistry.adapter.metadata.AttributeDateType) IOException(java.io.IOException) FileUtils(org.apache.commons.io.FileUtils) OR(com.runwaysdk.query.OR) File(java.io.File) OIterator(com.runwaysdk.query.OIterator) CustomSerializer(org.commongeoregistry.adapter.metadata.CustomSerializer) BasicVertexRestriction(net.geoprism.registry.query.graph.BasicVertexRestriction) GeoObjectType(org.commongeoregistry.adapter.metadata.GeoObjectType) Session(com.runwaysdk.session.Session) RolePermissionService(net.geoprism.registry.permission.RolePermissionService) LocaleSerializer(net.geoprism.registry.service.LocaleSerializer) QueryFactory(com.runwaysdk.query.QueryFactory) ServerGeoObjectType(net.geoprism.registry.model.ServerGeoObjectType) JsonObject(com.google.gson.JsonObject) SimpleDateFormat(java.text.SimpleDateFormat)

Example 3 with OIterator

use of com.runwaysdk.query.OIterator in project geoprism-registry by terraframe.

the class ListType method list.

public static JsonArray list() {
    JsonArray response = new JsonArray();
    ListTypeQuery query = new ListTypeQuery(new QueryFactory());
    try (OIterator<? extends ListType> it = query.getIterator()) {
        SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
        it.getAll().stream().filter(list -> list.doesActorHaveReadPermission()).sorted((a, b) -> {
            return a.getDisplayLabel().getValue().compareTo(b.getDisplayLabel().getValue());
        }).forEach(list -> {
            JsonObject object = new JsonObject();
            object.addProperty("label", list.getDisplayLabel().getValue());
            object.addProperty("oid", list.getOid());
            object.addProperty("createDate", format.format(list.getCreateDate()));
            object.addProperty("lasteUpdateDate", format.format(list.getLastUpdateDate()));
            response.add(object);
        });
    }
    return response;
}
Also used : JsonArray(com.google.gson.JsonArray) JsonObject(com.google.gson.JsonObject) Operation(com.runwaysdk.business.rbac.Operation) Date(java.util.Date) Authenticate(com.runwaysdk.business.rbac.Authenticate) MdEdgeDAOIF(com.runwaysdk.dataaccess.MdEdgeDAOIF) ServerGeoObjectType(net.geoprism.registry.model.ServerGeoObjectType) CreateListPermissionException(net.geoprism.registry.roles.CreateListPermissionException) MdAttributeDateTimeUtil(com.runwaysdk.constants.MdAttributeDateTimeUtil) ClassificationType(net.geoprism.registry.model.ClassificationType) Locale(java.util.Locale) Map(java.util.Map) AttributeBooleanType(org.commongeoregistry.adapter.metadata.AttributeBooleanType) TermConverter(net.geoprism.registry.conversion.TermConverter) UpdateListPermissionException(net.geoprism.registry.roles.UpdateListPermissionException) Optional(org.commongeoregistry.adapter.Optional) Collection(java.util.Collection) MdAttributeClassificationDAOIF(com.runwaysdk.dataaccess.MdAttributeClassificationDAOIF) List(java.util.List) JsonArray(com.google.gson.JsonArray) MdAttributeDAOIF(com.runwaysdk.dataaccess.MdAttributeDAOIF) GeometryType(org.commongeoregistry.adapter.constants.GeometryType) CompositeRestriction(net.geoprism.registry.query.graph.CompositeRestriction) Universal(com.runwaysdk.system.gis.geo.Universal) ListTypeJob(net.geoprism.registry.etl.ListTypeJob) ProgrammingErrorException(com.runwaysdk.dataaccess.ProgrammingErrorException) Transaction(com.runwaysdk.dataaccess.transaction.Transaction) GeoprismProperties(net.geoprism.GeoprismProperties) AttributeClassificationType(org.commongeoregistry.adapter.metadata.AttributeClassificationType) SimpleDateFormat(java.text.SimpleDateFormat) HashMap(java.util.HashMap) LocalizedValue(org.commongeoregistry.adapter.dataaccess.LocalizedValue) JsonParser(com.google.gson.JsonParser) Constants(com.runwaysdk.constants.Constants) ServiceFactory(net.geoprism.registry.service.ServiceFactory) Classifier(net.geoprism.ontology.Classifier) LocalizationFacade(com.runwaysdk.localization.LocalizationFacade) ListTypeJobQuery(net.geoprism.registry.etl.ListTypeJobQuery) Classification(net.geoprism.registry.model.Classification) AttributeValueRestriction(net.geoprism.registry.query.graph.AttributeValueRestriction) LocalizedValueConverter(net.geoprism.registry.conversion.LocalizedValueConverter) QueryFactory(com.runwaysdk.query.QueryFactory) LinkedList(java.util.LinkedList) LocalStruct(com.runwaysdk.business.LocalStruct) MdClassificationDAOIF(com.runwaysdk.dataaccess.MdClassificationDAOIF) AttributeType(org.commongeoregistry.adapter.metadata.AttributeType) ServerHierarchyType(net.geoprism.registry.model.ServerHierarchyType) Term(org.commongeoregistry.adapter.Term) AttributeTermType(org.commongeoregistry.adapter.metadata.AttributeTermType) AttributeDateType(org.commongeoregistry.adapter.metadata.AttributeDateType) IOException(java.io.IOException) FileUtils(org.apache.commons.io.FileUtils) OR(com.runwaysdk.query.OR) File(java.io.File) OIterator(com.runwaysdk.query.OIterator) CustomSerializer(org.commongeoregistry.adapter.metadata.CustomSerializer) BasicVertexRestriction(net.geoprism.registry.query.graph.BasicVertexRestriction) GeoObjectType(org.commongeoregistry.adapter.metadata.GeoObjectType) Session(com.runwaysdk.session.Session) RolePermissionService(net.geoprism.registry.permission.RolePermissionService) LocaleSerializer(net.geoprism.registry.service.LocaleSerializer) QueryFactory(com.runwaysdk.query.QueryFactory) JsonObject(com.google.gson.JsonObject) SimpleDateFormat(java.text.SimpleDateFormat)

Example 4 with OIterator

use of com.runwaysdk.query.OIterator in project geoprism-registry by terraframe.

the class ETLService method getActiveImports.

@Request(RequestType.SESSION)
public JsonObject getActiveImports(String sessionId, int pageSize, int pageNumber, String sortAttr, boolean isAscending) {
    JsonArray ja = new JsonArray();
    QueryFactory qf = new QueryFactory();
    ImportHistoryQuery ihq = new ImportHistoryQuery(qf);
    ihq.WHERE(ihq.getStatus().containsExactly(AllJobStatus.RUNNING).OR(ihq.getStatus().containsExactly(AllJobStatus.NEW)).OR(ihq.getStatus().containsExactly(AllJobStatus.QUEUED)).OR(ihq.getStatus().containsExactly(AllJobStatus.FEEDBACK)));
    this.filterHistoryQueryBasedOnPermissions(ihq);
    ihq.restrictRows(pageSize, pageNumber);
    ihq.ORDER_BY(ihq.get(sortAttr), isAscending ? SortOrder.ASC : SortOrder.DESC);
    try (OIterator<? extends ImportHistory> it = ihq.getIterator()) {
        List<JsonWrapper> results = it.getAll().stream().map(hist -> {
            DataImportJob job = (DataImportJob) hist.getAllJob().getAll().get(0);
            GeoprismUser user = GeoprismUser.get(job.getRunAsUser().getOid());
            return new JsonWrapper(serializeHistory(hist, user, job));
        }).collect(Collectors.toList());
        return new Page<JsonWrapper>(ihq.getCount(), ihq.getPageNumber(), ihq.getPageSize(), results).toJSON();
    }
}
Also used : JsonArray(com.google.gson.JsonArray) JsonObject(com.google.gson.JsonObject) SortOrder(com.runwaysdk.query.OrderBy.SortOrder) Date(java.util.Date) ErrorResolution(net.geoprism.registry.etl.ImportError.ErrorResolution) ServerGeoObjectType(net.geoprism.registry.model.ServerGeoObjectType) Request(com.runwaysdk.session.Request) Condition(com.runwaysdk.query.Condition) DataExportJob(net.geoprism.registry.etl.export.DataExportJob) Organization(net.geoprism.registry.Organization) JsonWrapper(net.geoprism.registry.view.JsonWrapper) Optional(org.commongeoregistry.adapter.Optional) ServerParentTreeNodeOverTime(net.geoprism.registry.view.ServerParentTreeNodeOverTime) RoleDAOIF(com.runwaysdk.business.rbac.RoleDAOIF) JobHistory(com.runwaysdk.system.scheduler.JobHistory) Collectors(java.util.stream.Collectors) ExportHistory(net.geoprism.registry.etl.export.ExportHistory) Page(net.geoprism.registry.view.Page) List(java.util.List) JsonArray(com.google.gson.JsonArray) GraphType(net.geoprism.registry.model.GraphType) AllJobStatus(com.runwaysdk.system.scheduler.AllJobStatus) SingleActorDAOIF(com.runwaysdk.business.rbac.SingleActorDAOIF) RegistryIdService(net.geoprism.registry.service.RegistryIdService) GeoObjectImportConfiguration(net.geoprism.registry.io.GeoObjectImportConfiguration) JobHistoryRecord(com.runwaysdk.system.scheduler.JobHistoryRecord) RegistryRole(org.commongeoregistry.adapter.metadata.RegistryRole) ProgrammingErrorException(com.runwaysdk.dataaccess.ProgrammingErrorException) Transaction(com.runwaysdk.dataaccess.transaction.Transaction) GeoSynonymService(net.geoprism.registry.service.GeoSynonymService) RequestType(com.runwaysdk.session.RequestType) SimpleDateFormat(java.text.SimpleDateFormat) ExecutableJob(com.runwaysdk.system.scheduler.ExecutableJob) JsonParser(com.google.gson.JsonParser) RegistryService(net.geoprism.registry.service.RegistryService) ServiceFactory(net.geoprism.registry.service.ServiceFactory) ArrayList(java.util.ArrayList) QueryFactory(com.runwaysdk.query.QueryFactory) LinkedList(java.util.LinkedList) ImportConfiguration(net.geoprism.registry.etl.upload.ImportConfiguration) GeoObjectOverTime(org.commongeoregistry.adapter.dataaccess.GeoObjectOverTime) ServerGeoObjectIF(net.geoprism.registry.model.ServerGeoObjectIF) JsonSyntaxException(com.google.gson.JsonSyntaxException) ExportError(net.geoprism.registry.etl.export.ExportError) ServerGeoObjectService(net.geoprism.registry.geoobject.ServerGeoObjectService) IOException(java.io.IOException) ValidationResolution(net.geoprism.registry.etl.ValidationProblem.ValidationResolution) MultipartFileParameter(com.runwaysdk.controller.MultipartFileParameter) ExportErrorQuery(net.geoprism.registry.etl.export.ExportErrorQuery) OIterator(com.runwaysdk.query.OIterator) VaultFile(com.runwaysdk.system.VaultFile) GeoprismUser(net.geoprism.GeoprismUser) Session(com.runwaysdk.session.Session) RolePermissionService(net.geoprism.registry.permission.RolePermissionService) InputStream(java.io.InputStream) DataUploader(net.geoprism.DataUploader) QueryFactory(com.runwaysdk.query.QueryFactory) JsonWrapper(net.geoprism.registry.view.JsonWrapper) GeoprismUser(net.geoprism.GeoprismUser) Request(com.runwaysdk.session.Request)

Example 5 with OIterator

use of com.runwaysdk.query.OIterator in project geoprism-registry by terraframe.

the class TaskService method getTasksForCurrentUser.

@Request(RequestType.SESSION)
public static JsonObject getTasksForCurrentUser(String sessionId, String orderBy, int pageNum, int pageSize, String whereStatus) {
    QueryFactory qf = new QueryFactory();
    ValueQuery vq = new ValueQuery(qf);
    TaskHasRoleQuery thrq = new TaskHasRoleQuery(vq);
    TaskQuery tq = new TaskQuery(vq);
    vq.WHERE(thrq.getParent().EQ(tq));
    if (whereStatus != null) {
        vq.WHERE(tq.getStatus().EQ(whereStatus));
    }
    RolesQuery rq = new RolesQuery(vq);
    vq.WHERE(thrq.getChild().EQ(rq));
    Condition cond = null;
    // Map<String, String> roles = Session.getCurrentSession().getUserRoles();
    Set<RoleDAOIF> roles = Session.getCurrentSession().getUser().assignedRoles();
    // for (String roleName : roles.keySet())
    for (RoleDAOIF role : roles) {
        String roleName = role.getRoleName();
        if (roleName.equals(DefaultConfiguration.ADMIN)) {
            continue;
        }
        if (cond == null) {
            cond = rq.getRoleName().EQ(roleName);
        } else {
            cond = cond.OR(rq.getRoleName().EQ(roleName));
        }
    }
    vq.WHERE(cond);
    LocalizedValueStoreQuery lvsqTemplate = new LocalizedValueStoreQuery(vq);
    vq.WHERE(tq.getTemplate().EQ(lvsqTemplate));
    LocalizedValueStoreQuery lvsqTitle = new LocalizedValueStoreQuery(vq);
    vq.WHERE(tq.getTitle().EQ(lvsqTitle));
    vq.SELECT(tq.getOid("oid"));
    vq.SELECT(lvsqTemplate.getStoreKey("templateKey"));
    vq.SELECT(tq.getMessage().localize("msg"));
    vq.SELECT(lvsqTitle.getStoreValue().localize("title"));
    vq.SELECT(tq.getStatus("status"));
    vq.SELECT(tq.getCreateDate("createDate"));
    vq.SELECT(tq.getLastUpdateDate("completedDate"));
    vq.ORDER_BY(tq.get(orderBy), SortOrder.DESC);
    vq.restrictRows(pageSize, pageNum);
    try (OIterator<ValueObject> it = vq.getIterator()) {
        List<JsonWrapper> results = it.getAll().stream().map(vo -> {
            JsonObject jo = new JsonObject();
            jo.addProperty("id", vo.getValue("oid"));
            jo.addProperty("templateKey", vo.getValue("templateKey"));
            jo.addProperty("msg", vo.getValue("msg"));
            jo.addProperty("title", vo.getValue("title"));
            jo.addProperty("status", vo.getValue("status"));
            jo.addProperty("createDate", ETLService.formatDate(MdAttributeDateTimeUtil.getTypeSafeValue(vo.getValue("createDate"))));
            jo.addProperty("completedDate", vo.getValue("status").equals(TaskStatus.RESOLVED.name()) ? ETLService.formatDate(MdAttributeDateTimeUtil.getTypeSafeValue(vo.getValue("completedDate"))) : null);
            return new JsonWrapper(jo);
        }).collect(Collectors.toList());
        return new Page<JsonWrapper>(vq.getCount(), pageNum, pageSize, results).toJSON();
    }
}
Also used : ValueQuery(com.runwaysdk.query.ValueQuery) Condition(com.runwaysdk.query.Condition) JsonObject(com.google.gson.JsonObject) SortOrder(com.runwaysdk.query.OrderBy.SortOrder) ProgrammingErrorException(com.runwaysdk.dataaccess.ProgrammingErrorException) RequestType(com.runwaysdk.session.RequestType) RoleDAOIF(com.runwaysdk.business.rbac.RoleDAOIF) Set(java.util.Set) ValueObject(com.runwaysdk.dataaccess.ValueObject) LocalizedValueStoreQuery(com.runwaysdk.localization.LocalizedValueStoreQuery) MdAttributeDateTimeUtil(com.runwaysdk.constants.MdAttributeDateTimeUtil) Collectors(java.util.stream.Collectors) Request(com.runwaysdk.session.Request) RolesQuery(com.runwaysdk.system.RolesQuery) DefaultConfiguration(net.geoprism.DefaultConfiguration) ETLService(net.geoprism.registry.etl.ETLService) OIterator(com.runwaysdk.query.OIterator) Page(net.geoprism.registry.view.Page) ValueQuery(com.runwaysdk.query.ValueQuery) List(java.util.List) Condition(com.runwaysdk.query.Condition) JsonWrapper(net.geoprism.registry.view.JsonWrapper) QueryFactory(com.runwaysdk.query.QueryFactory) Session(com.runwaysdk.session.Session) TaskStatus(net.geoprism.registry.task.Task.TaskStatus) QueryFactory(com.runwaysdk.query.QueryFactory) JsonObject(com.google.gson.JsonObject) JsonWrapper(net.geoprism.registry.view.JsonWrapper) RolesQuery(com.runwaysdk.system.RolesQuery) ValueObject(com.runwaysdk.dataaccess.ValueObject) RoleDAOIF(com.runwaysdk.business.rbac.RoleDAOIF) LocalizedValueStoreQuery(com.runwaysdk.localization.LocalizedValueStoreQuery) Request(com.runwaysdk.session.Request)

Aggregations

OIterator (com.runwaysdk.query.OIterator)12 QueryFactory (com.runwaysdk.query.QueryFactory)11 List (java.util.List)10 Session (com.runwaysdk.session.Session)9 LinkedList (java.util.LinkedList)8 ServerGeoObjectType (net.geoprism.registry.model.ServerGeoObjectType)8 ServiceFactory (net.geoprism.registry.service.ServiceFactory)8 JsonObject (com.google.gson.JsonObject)7 ProgrammingErrorException (com.runwaysdk.dataaccess.ProgrammingErrorException)7 Transaction (com.runwaysdk.dataaccess.transaction.Transaction)7 Map (java.util.Map)7 Collectors (java.util.stream.Collectors)7 LocalizedValueConverter (net.geoprism.registry.conversion.LocalizedValueConverter)7 JsonArray (com.google.gson.JsonArray)6 JsonParser (com.google.gson.JsonParser)6 IOException (java.io.IOException)6 RolePermissionService (net.geoprism.registry.permission.RolePermissionService)6 RoleDAOIF (com.runwaysdk.business.rbac.RoleDAOIF)5 LocalizationFacade (com.runwaysdk.localization.LocalizationFacade)4 Condition (com.runwaysdk.query.Condition)4