Class OperationsHelper
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.scripting.helpers.OperationsHelper
-
@Component public class OperationsHelper extends Object
- Author:
- mederly
-
-
Constructor Summary
Constructors Constructor Description OperationsHelper()
-
Method Summary
-
-
-
Method Detail
-
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
-
createExecutionOptions
public ModelExecuteOptions createExecutionOptions(boolean raw)
-
recordStart
public long recordStart(ExecutionContext context, ObjectType objectType)
-
recordEnd
public void recordEnd(ExecutionContext context, ObjectType objectType, long started, Throwable ex)
-
createActionResult
public OperationResult createActionResult(PipelineItem item, ActionExecutor executor, ExecutionContext context, OperationResult globalResult)
-
trimAndCloneResult
public void trimAndCloneResult(OperationResult result, OperationResult globalResult, ExecutionContext context)
-
-