Class OperationsHelper
java.lang.Object
com.evolveum.midpoint.model.impl.scripting.helpers.OperationsHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCollection<ObjectDeltaOperation<? extends ObjectType>>
applyDelta
(ObjectDelta<? extends ObjectType> delta, ModelExecuteOptions options, boolean dryRun, ExecutionContext context, OperationResult result) Collection<ObjectDeltaOperation<? extends ObjectType>>
applyDelta
(ObjectDelta delta, ModelExecuteOptions options, ExecutionContext context, OperationResult result) Collection<ObjectDeltaOperation<? extends ObjectType>>
applyDelta
(ObjectDelta delta, ExecutionContext context, OperationResult result) createActionResult
(PipelineItem item, ActionExecutor executor, OperationResult globalResult) createGetOptions
(SelectorQualifiedGetOptionsType optionsBean, boolean noFetch) boolean
getDryRun
(ActionExpressionType action, PipelineData input, ExecutionContext context, OperationResult result) <T extends ObjectType>
PrismObject<T>getObject
(Class<T> type, String oid, boolean noFetch, ExecutionContext context, OperationResult result) @NotNull ModelExecuteOptions
getOptions
(ActionExpressionType action, PipelineData input, ExecutionContext context, OperationResult result) void
recordEnd
(ExecutionContext context, Operation op, Throwable ex, OperationResult result) recordStart
(ExecutionContext context, ObjectType object) void
trimAndCloneResult
(OperationResult result, OperationResult itemResultParent)
-
Constructor Details
-
OperationsHelper
public OperationsHelper()
-
-
Method Details
-
getDryRun
public boolean getDryRun(ActionExpressionType action, PipelineData input, ExecutionContext context, OperationResult result) throws SchemaException, ObjectNotFoundException, ObjectAlreadyExistsException, SecurityViolationException, PolicyViolationException, CommunicationException, ConfigurationException, ExpressionEvaluationException -
getOptions
@NotNull public @NotNull ModelExecuteOptions getOptions(ActionExpressionType action, PipelineData input, ExecutionContext context, OperationResult result) throws SchemaException, ObjectNotFoundException, ObjectAlreadyExistsException, SecurityViolationException, PolicyViolationException, CommunicationException, ConfigurationException, ExpressionEvaluationException -
applyDelta
public Collection<ObjectDeltaOperation<? extends ObjectType>> applyDelta(ObjectDelta delta, ExecutionContext context, OperationResult result) throws SchemaException, ObjectNotFoundException, ObjectAlreadyExistsException, SecurityViolationException, PolicyViolationException, CommunicationException, ConfigurationException, ExpressionEvaluationException -
applyDelta
public Collection<ObjectDeltaOperation<? extends ObjectType>> applyDelta(ObjectDelta delta, ModelExecuteOptions options, ExecutionContext context, OperationResult result) throws SchemaException, ExpressionEvaluationException, CommunicationException, SecurityViolationException, ConfigurationException, ObjectNotFoundException, PolicyViolationException, ObjectAlreadyExistsException -
applyDelta
public Collection<ObjectDeltaOperation<? extends ObjectType>> applyDelta(ObjectDelta<? extends ObjectType> delta, ModelExecuteOptions options, boolean dryRun, ExecutionContext context, OperationResult result) throws SchemaException, ExpressionEvaluationException, CommunicationException, SecurityViolationException, ConfigurationException, ObjectNotFoundException, PolicyViolationException, ObjectAlreadyExistsException -
createGetOptions
public Collection<SelectorOptions<GetOperationOptions>> createGetOptions(SelectorQualifiedGetOptionsType optionsBean, boolean noFetch) -
getObject
public <T extends ObjectType> PrismObject<T> getObject(Class<T> type, String oid, boolean noFetch, ExecutionContext context, OperationResult result) throws ExpressionEvaluationException, SchemaException, SecurityViolationException, CommunicationException, ConfigurationException, ObjectNotFoundException -
recordStart
-
recordEnd
-
createActionResult
public OperationResult createActionResult(PipelineItem item, ActionExecutor executor, OperationResult globalResult) -
trimAndCloneResult
-