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 void
applyDefinitionsToQuery(@NotNull SearchSpecification<?> searchSpecification, @NotNull Task task, OperationResult result)
Applies definitions to query.void
checkRawAuthorization(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)
ObjectQuery
evaluateQueryExpressions(@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.boolean
isPresent()
Returns true if the real support is present.
-
-
-
Method Detail
-
isPresent
public boolean isPresent()
Description copied from interface:AdvancedActivityRunSupport
Returns true if the real support is present.- Specified by:
isPresent
in interfaceAdvancedActivityRunSupport
-
createSearchSpecificationFromResourceObjectSetSpec
@NotNull public @NotNull SearchSpecification<?> createSearchSpecificationFromResourceObjectSetSpec(@NotNull @NotNull ResourceObjectSetSpecificationImpl objectSetSpecification, @NotNull @NotNull RunningTask task, OperationResult result) throws SchemaException, ActivityRunException
- Specified by:
createSearchSpecificationFromResourceObjectSetSpec
in interfaceAdvancedActivityRunSupport
- Throws:
SchemaException
ActivityRunException
-
evaluateQueryExpressions
public ObjectQuery evaluateQueryExpressions(@NotNull @NotNull ObjectQuery query, ExpressionProfile expressionProfile, @NotNull @NotNull RunningTask task, OperationResult result) throws CommonException
Description copied from interface:AdvancedActivityRunSupport
Assuming that query has expressions.- Specified by:
evaluateQueryExpressions
in interfaceAdvancedActivityRunSupport
- Throws:
CommonException
-
applyDefinitionsToQuery
public void applyDefinitionsToQuery(@NotNull @NotNull SearchSpecification<?> searchSpecification, @NotNull @NotNull Task task, OperationResult result) throws CommonException
Description copied from interface:AdvancedActivityRunSupport
Applies definitions to query. (Currently supported for provisioning definitions.)- Specified by:
applyDefinitionsToQuery
in interfaceAdvancedActivityRunSupport
- Throws:
CommonException
-
checkRawAuthorization
public void checkRawAuthorization(Task task, OperationResult result) throws CommonException
Description copied from interface:AdvancedActivityRunSupport
Checks if the principal has an authorization to issue direct repo calls even if they are not required by the activity implementation.- Specified by:
checkRawAuthorization
in interfaceAdvancedActivityRunSupport
- Throws:
CommonException
-
createShadowFetchingPreprocessor
public ItemPreprocessor<ShadowType> createShadowFetchingPreprocessor(@NotNull @NotNull Producer<Collection<SelectorOptions<GetOperationOptions>>> producerOptions, @NotNull @NotNull SchemaService schemaService)
- Specified by:
createShadowFetchingPreprocessor
in interfaceAdvancedActivityRunSupport
-
getItemSourceFor
public <C extends Containerable> SearchableItemSource getItemSourceFor(Class<C> type)
Description copied from interface:AdvancedActivityRunSupport
Returns item source suitable for processing items of given type.- Specified by:
getItemSourceFor
in interfaceAdvancedActivityRunSupport
-
-