public class MidPointLocalQueryExecutor extends MidPointQueryExecutor
net.sf.jasperreports.engine.query.JRAbstractQueryExecuter.QueryParameter, net.sf.jasperreports.engine.query.JRAbstractQueryExecuter.QueryParameterEntry, net.sf.jasperreports.engine.query.JRAbstractQueryExecuter.QueryParameterVisitor, net.sf.jasperreports.engine.query.JRAbstractQueryExecuter.ValuedQueryParameter, net.sf.jasperreports.engine.query.JRAbstractQueryExecuter.VisitExceptionWrapper
CLAUSE_POSITION_ID, clauseFunctions, dataset, EXCEPTION_MESSAGE_KEY_NUMERIC_TYPE_REQUIRED, EXCEPTION_MESSAGE_KEY_PARAMETER_NOT_FOUND, EXCEPTION_MESSAGE_KEY_QUERY_CLAUSE_CIRCULARLY_NESTED_PARAMETER, EXCEPTION_MESSAGE_KEY_QUERY_CLAUSE_ID_FIRST_TOKEN_MISSING, EXCEPTION_MESSAGE_KEY_QUERY_CLAUSE_NOT_FOUND, EXCEPTION_MESSAGE_KEY_UNSUPPORTED_PARAMETER_TYPE, GET_COLLECTED
Modifier | Constructor and Description |
---|---|
protected |
MidPointLocalQueryExecutor(net.sf.jasperreports.engine.JasperReportsContext jasperReportsContext,
net.sf.jasperreports.engine.JRDataset dataset,
Map<String,? extends net.sf.jasperreports.engine.JRValueParameter> parametersMap) |
|
MidPointLocalQueryExecutor(net.sf.jasperreports.engine.JasperReportsContext jasperReportsContext,
net.sf.jasperreports.engine.JRDataset dataset,
Map<String,? extends net.sf.jasperreports.engine.JRValueParameter> parametersMap,
ReportService reportService) |
Modifier and Type | Method and Description |
---|---|
protected net.sf.jasperreports.engine.JRDataSource |
createDataSourceFromContainerValues(Collection<PrismContainerValue<? extends Containerable>> results) |
protected net.sf.jasperreports.engine.JRDataSource |
createDataSourceFromObjects(Collection<PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>> results) |
protected Collection<PrismContainerValue<? extends Containerable>> |
evaluateScript(String script,
Map<QName,Object> parameters) |
protected Object |
getParsedQuery(String query,
Map<QName,Object> expressionParameters) |
ObjectQuery |
getQuery() |
String |
getScript() |
Class |
getType() |
protected Collection<AuditEventRecord> |
searchAuditRecords(String script,
Map<QName,Object> parameters) |
protected Collection<PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>> |
searchObjects(Object query,
Collection<SelectorOptions<GetOperationOptions>> options) |
cancelQuery, close, createDatasource, getParameterReplacement, getParameters, getParsedScript, getPromptingParameters, parseQuery
addQueryMultiParameters, addQueryMultiParameters, addQueryParameter, addQueryParameter, appendClauseChunk, appendParameterChunk, appendParameterClauseChunk, appendQueryChunk, appendTextChunk, applyClause, checkParameter, findExtensionQueryFunction, getBooleanParameter, getBooleanParameter, getBooleanParameterOrProperty, getBooleanParameterOrProperty, getCanonicalQueryLanguage, getCollectedParameterNames, getCollectedParameters, getJasperReportsContext, getParameter, getParameterValue, getParameterValue, getPropertiesUtil, getQueryString, getStringParameter, getStringParameterOrProperty, getValueParameter, getValueParameter, parameterHasValue, registerClauseFunction, resolveFunction, unregisterClauseFunction, visitQueryParameters
public MidPointLocalQueryExecutor(net.sf.jasperreports.engine.JasperReportsContext jasperReportsContext, net.sf.jasperreports.engine.JRDataset dataset, Map<String,? extends net.sf.jasperreports.engine.JRValueParameter> parametersMap, ReportService reportService)
protected Object getParsedQuery(String query, Map<QName,Object> expressionParameters) throws SchemaException, ObjectNotFoundException, ExpressionEvaluationException
getParsedQuery
in class MidPointQueryExecutor
SchemaException
ObjectNotFoundException
ExpressionEvaluationException
protected Collection<PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>> searchObjects(Object query, Collection<SelectorOptions<GetOperationOptions>> options) throws SchemaException, ObjectNotFoundException, SecurityViolationException, CommunicationException, ConfigurationException
searchObjects
in class MidPointQueryExecutor
SchemaException
ObjectNotFoundException
SecurityViolationException
CommunicationException
ConfigurationException
protected Collection<PrismContainerValue<? extends Containerable>> evaluateScript(String script, Map<QName,Object> parameters) throws SchemaException, ObjectNotFoundException, SecurityViolationException, CommunicationException, ConfigurationException, ExpressionEvaluationException
protected Collection<AuditEventRecord> searchAuditRecords(String script, Map<QName,Object> parameters) throws SchemaException, ExpressionEvaluationException, ObjectNotFoundException
searchAuditRecords
in class MidPointQueryExecutor
SchemaException
ExpressionEvaluationException
ObjectNotFoundException
protected net.sf.jasperreports.engine.JRDataSource createDataSourceFromObjects(Collection<PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>> results)
createDataSourceFromObjects
in class MidPointQueryExecutor
protected net.sf.jasperreports.engine.JRDataSource createDataSourceFromContainerValues(Collection<PrismContainerValue<? extends Containerable>> results)
createDataSourceFromContainerValues
in class MidPointQueryExecutor
public String getScript()
getScript
in class MidPointQueryExecutor
public ObjectQuery getQuery()
getQuery
in class MidPointQueryExecutor
public Class getType()
getType
in class MidPointQueryExecutor
Copyright © 2016 evolveum. All rights reserved.