Class AdvancedActivityRunSupportImpl
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.tasks.AdvancedActivityRunSupportImpl
-
- All Implemented Interfaces:
AdvancedActivityRunSupport
@Component public class AdvancedActivityRunSupportImpl extends Object implements AdvancedActivityRunSupport
-
-
Constructor Summary
Constructors Constructor Description AdvancedActivityRunSupportImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyDefinitionsToQuery(@NotNull SearchSpecification<?> searchSpecification, @NotNull Task task, OperationResult result)Applies definitions to query.voidcheckRawAuthorization(Task task, OperationResult result)Checks if the principal has an authorization to issue direct repo calls even if they are not required by the activity implementation.@NotNull SearchSpecification<?>createSearchSpecificationFromResourceObjectSetSpec(@NotNull ResourceObjectSetSpecificationImpl objectSetSpecification, @NotNull RunningTask task, OperationResult result)ItemPreprocessor<ShadowType>createShadowFetchingPreprocessor(@NotNull Producer<Collection<SelectorOptions<GetOperationOptions>>> producerOptions, @NotNull SchemaService schemaService)ObjectQueryevaluateQueryExpressions(@NotNull ObjectQuery query, ExpressionProfile expressionProfile, @NotNull RunningTask task, OperationResult result)Assuming that query has expressions.<C extends Containerable>
SearchableItemSourcegetItemSourceFor(Class<C> type)Returns item source suitable for processing items of given type.booleanisPresent()Returns true if the real support is present.
-
-
-
Method Detail
-
isPresent
public boolean isPresent()
Description copied from interface:AdvancedActivityRunSupportReturns true if the real support is present.- Specified by:
isPresentin interfaceAdvancedActivityRunSupport
-
createSearchSpecificationFromResourceObjectSetSpec
@NotNull public @NotNull SearchSpecification<?> createSearchSpecificationFromResourceObjectSetSpec(@NotNull @NotNull ResourceObjectSetSpecificationImpl objectSetSpecification, @NotNull @NotNull RunningTask task, OperationResult result) throws SchemaException, ActivityRunException
- Specified by:
createSearchSpecificationFromResourceObjectSetSpecin interfaceAdvancedActivityRunSupport- Throws:
SchemaExceptionActivityRunException
-
evaluateQueryExpressions
public ObjectQuery evaluateQueryExpressions(@NotNull @NotNull ObjectQuery query, ExpressionProfile expressionProfile, @NotNull @NotNull RunningTask task, OperationResult result) throws CommonException
Description copied from interface:AdvancedActivityRunSupportAssuming that query has expressions.- Specified by:
evaluateQueryExpressionsin interfaceAdvancedActivityRunSupport- Throws:
CommonException
-
applyDefinitionsToQuery
public void applyDefinitionsToQuery(@NotNull @NotNull SearchSpecification<?> searchSpecification, @NotNull @NotNull Task task, OperationResult result) throws CommonExceptionDescription copied from interface:AdvancedActivityRunSupportApplies definitions to query. (Currently supported for provisioning definitions.)- Specified by:
applyDefinitionsToQueryin interfaceAdvancedActivityRunSupport- Throws:
CommonException
-
checkRawAuthorization
public void checkRawAuthorization(Task task, OperationResult result) throws CommonException
Description copied from interface:AdvancedActivityRunSupportChecks if the principal has an authorization to issue direct repo calls even if they are not required by the activity implementation.- Specified by:
checkRawAuthorizationin interfaceAdvancedActivityRunSupport- Throws:
CommonException
-
createShadowFetchingPreprocessor
public ItemPreprocessor<ShadowType> createShadowFetchingPreprocessor(@NotNull @NotNull Producer<Collection<SelectorOptions<GetOperationOptions>>> producerOptions, @NotNull @NotNull SchemaService schemaService)
- Specified by:
createShadowFetchingPreprocessorin interfaceAdvancedActivityRunSupport
-
getItemSourceFor
public <C extends Containerable> SearchableItemSource getItemSourceFor(Class<C> type)
Description copied from interface:AdvancedActivityRunSupportReturns item source suitable for processing items of given type.- Specified by:
getItemSourceForin interfaceAdvancedActivityRunSupport
-
-