Class IQLFacadeImpl
java.lang.Object
com.riadalabs.jira.plugins.insight.channel.external.api.facade.impl.IQLFacadeImpl
- All Implemented Interfaces:
IQLFacade
AQL Service Important to handle IQLInsightException for all methods using IQLClause.
- Author:
- Mathias Edblom
-
Constructor Summary
ConstructorsConstructorDescriptionIQLFacadeImpl
(com.riadalabs.jira.plugins.insight.services.core.IQLService iqlService, com.riadalabs.jira.plugins.insight.services.core.iql.IQLParser iqlParser, io.riada.insight.index.model.ObjectTypeAttributeIndex objectTypeAttributeIndex, com.riadalabs.jira.plugins.insight.services.util.ErrorMessageTranslator errorMessageTranslator) -
Method Summary
Modifier and TypeMethodDescriptionfindObjects
(int schemaId, String iql) Find objects for an AQLfindObjects
(int schemaId, String iql, int start, int limit, boolean asc, Integer orderByAttrTypeId) findObjects
(String iql) Find objects for an AQLfindObjects
(String iql, int start, int limit) Find a limited set of objects based on an AQL to display on pagination pagesfindObjectsByIQL
(String iql) findObjectsByIQLAndSchema
(int schemaId, String iql) void
validateIQL
(int schemaId, String iql) Deprecated.void
validateIQL
(String iql) Validates AQL for an object schema
-
Constructor Details
-
IQLFacadeImpl
public IQLFacadeImpl(com.riadalabs.jira.plugins.insight.services.core.IQLService iqlService, com.riadalabs.jira.plugins.insight.services.core.iql.IQLParser iqlParser, io.riada.insight.index.model.ObjectTypeAttributeIndex objectTypeAttributeIndex, com.riadalabs.jira.plugins.insight.services.util.ErrorMessageTranslator errorMessageTranslator)
-
-
Method Details
-
findObjects
public ObjectResultBean findObjects(int schemaId, String iql, int start, int limit, boolean asc, Integer orderByAttrTypeId) throws InsightException - Specified by:
findObjects
in interfaceIQLFacade
- Throws:
InsightException
-
findObjectsByIQL
- Specified by:
findObjectsByIQL
in interfaceIQLFacade
- Throws:
InsightException
-
findObjectsByIQLAndSchema
- Specified by:
findObjectsByIQLAndSchema
in interfaceIQLFacade
- Throws:
InsightException
-
validateIQL
Deprecated.Description copied from interface:IQLFacade
Validates AQL for an object schema- Specified by:
validateIQL
in interfaceIQLFacade
- Throws:
InsightException
-
validateIQL
Description copied from interface:IQLFacade
Validates AQL for an object schema- Specified by:
validateIQL
in interfaceIQLFacade
- Throws:
InsightException
-
findObjects
Description copied from interface:IQLFacade
Find objects for an AQL- Specified by:
findObjects
in interfaceIQLFacade
- Throws:
InsightException
-
findObjects
Description copied from interface:IQLFacade
Find a limited set of objects based on an AQL to display on pagination pages- Specified by:
findObjects
in interfaceIQLFacade
- Throws:
InsightException
-
findObjects
Description copied from interface:IQLFacade
Find objects for an AQL- Specified by:
findObjects
in interfaceIQLFacade
- Throws:
InsightException
-