public interface PrimaryApprovalProcessWrapper
Modifier and Type | Method and Description |
---|---|
PrismObject<? extends ObjectType> |
getAdditionalData(org.activiti.engine.task.Task task,
Map<String,Object> variables,
OperationResult result) |
List<ObjectReferenceType> |
getApprovedBy(ProcessEvent event) |
ChangeProcessor |
getChangeProcessor() |
String |
getProcessInstanceDetailsPanelName(ProcessInstance processInstance)
Returns the name of process instance details GUI panel.
|
PrismObject<? extends ObjectType> |
getRequestSpecificData(org.activiti.engine.task.Task task,
Map<String,Object> variables,
OperationResult result) |
List<ObjectDelta<Objectable>> |
prepareDeltaOut(ProcessEvent event,
Task task,
OperationResult result) |
List<StartProcessInstructionForPrimaryStage> |
prepareProcessesToStart(ModelContext<?,?> modelContext,
ObjectDelta<? extends ObjectType> change,
Task task,
OperationResult result)
Examines the change and determines whether there are pieces that require (change type specific)
approval, for example, if there are roles added.
|
void |
setChangeProcessor(ChangeProcessor changeProcessor) |
List<StartProcessInstructionForPrimaryStage> prepareProcessesToStart(ModelContext<?,?> modelContext, ObjectDelta<? extends ObjectType> change, Task task, OperationResult result)
modelContext
- Original model context (e.g. to be able to get information about whole context of the operation)change
- Change to be examined and modified (as a side effect!)task
- General context of the operation - the method should not modify the task.result
- Operation result - the method should report any errors here (TODO what about creating subresults?)String getProcessInstanceDetailsPanelName(ProcessInstance processInstance)
List<ObjectDelta<Objectable>> prepareDeltaOut(ProcessEvent event, Task task, OperationResult result) throws SchemaException
SchemaException
ChangeProcessor getChangeProcessor()
void setChangeProcessor(ChangeProcessor changeProcessor)
PrismObject<? extends ObjectType> getRequestSpecificData(org.activiti.engine.task.Task task, Map<String,Object> variables, OperationResult result) throws SchemaException, ObjectNotFoundException
PrismObject<? extends ObjectType> getAdditionalData(org.activiti.engine.task.Task task, Map<String,Object> variables, OperationResult result) throws SchemaException, ObjectNotFoundException
List<ObjectReferenceType> getApprovedBy(ProcessEvent event)
Copyright © 2013 evolveum. All rights reserved.