Class OperationsHelper
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.scripting.helpers.OperationsHelper
-
@Component public class OperationsHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description OperationsHelper()
-
Method Summary
-
-
-
Method Detail
-
getDryRun
public boolean getDryRun(ActionExpressionType action, PipelineData input, ExecutionContext context, OperationResult result) throws ScriptExecutionException, SchemaException, ObjectNotFoundException, SecurityViolationException, CommunicationException, ConfigurationException, ExpressionEvaluationException
-
getOptions
@NotNull public @NotNull ModelExecuteOptions getOptions(ActionExpressionType action, PipelineData input, ExecutionContext context, OperationResult result) throws ScriptExecutionException, SchemaException, ConfigurationException, ObjectNotFoundException, CommunicationException, SecurityViolationException, ExpressionEvaluationException
-
applyDelta
public Collection<ObjectDeltaOperation<? extends ObjectType>> applyDelta(ObjectDelta delta, ExecutionContext context, OperationResult result) throws ScriptExecutionException
- Throws:
ScriptExecutionException
-
applyDelta
public Collection<ObjectDeltaOperation<? extends ObjectType>> applyDelta(ObjectDelta delta, ModelExecuteOptions options, ExecutionContext context, OperationResult result) throws ScriptExecutionException
- Throws:
ScriptExecutionException
-
applyDelta
public Collection<ObjectDeltaOperation<? extends ObjectType>> applyDelta(ObjectDelta<? extends ObjectType> delta, ModelExecuteOptions options, boolean dryRun, ExecutionContext context, OperationResult result) throws ScriptExecutionException
- Throws:
ScriptExecutionException
-
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 ScriptExecutionException, ExpressionEvaluationException
-
recordStart
public Operation recordStart(ExecutionContext context, ObjectType object)
-
recordEnd
public void recordEnd(ExecutionContext context, Operation op, Throwable ex, OperationResult result)
-
createActionResult
public OperationResult createActionResult(PipelineItem item, ActionExecutor executor, OperationResult globalResult)
-
trimAndCloneResult
public void trimAndCloneResult(OperationResult result, OperationResult itemResultParent)
-
-