public abstract class BasePrimaryChangeAspect extends Object implements PrimaryChangeAspect, org.springframework.beans.factory.BeanNameAware
Modifier and Type | Field and Description |
---|---|
protected BaseConfigurationHelper |
baseConfigurationHelper |
protected PrimaryChangeProcessor |
changeProcessor |
protected ItemApprovalProcessInterface |
itemApprovalProcessInterface |
protected PrimaryChangeAspectHelper |
primaryChangeAspectHelper |
protected PrismContext |
prismContext |
protected ProcessInterfaceFinder |
processInterfaceFinder |
protected RepositoryService |
repositoryService |
protected WfTaskUtil |
wfTaskUtil |
Constructor and Description |
---|
BasePrimaryChangeAspect() |
Modifier and Type | Method and Description |
---|---|
com.evolveum.midpoint.xml.ns.model.workflow.process_instance_state_3.ProcessSpecificState |
externalizeProcessInstanceState(Map<String,Object> variables)
Externalizes internal state of the process instance.
|
String |
getBeanName() |
PrimaryChangeProcessor |
getChangeProcessor() |
void |
init() |
boolean |
isEnabled(com.evolveum.midpoint.xml.ns._public.common.common_3.PrimaryChangeProcessorConfigurationType processorConfigurationType) |
boolean |
isEnabledByDefault()
Returns true if this aspect is enabled by default, i.e.
|
List<com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType> |
prepareApprovedBy(ProcessEvent event,
PcpJob job,
OperationResult result)
Returns a list of users who have approved the particular request.
|
List<ObjectDelta<Objectable>> |
prepareDeltaOut(ProcessEvent event,
PcpJob pcpJob,
OperationResult result)
On process instance end, prepares deltaOut based in deltaIn and information gathered during approval process.
|
void |
setBeanName(String name) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
prepareJobCreationInstructions, prepareQuestionForm, prepareRelatedObject
@Autowired @Qualifier(value="cacheRepositoryService") protected RepositoryService repositoryService
@Autowired protected WfTaskUtil wfTaskUtil
@Autowired protected PrimaryChangeProcessor changeProcessor
@Autowired protected PrimaryChangeAspectHelper primaryChangeAspectHelper
@Autowired protected ProcessInterfaceFinder processInterfaceFinder
@Autowired protected BaseConfigurationHelper baseConfigurationHelper
@Autowired protected PrismContext prismContext
@Autowired protected ItemApprovalProcessInterface itemApprovalProcessInterface
@PostConstruct public void init()
public String getBeanName()
getBeanName
in interface PrimaryChangeAspect
public void setBeanName(String name)
setBeanName
in interface org.springframework.beans.factory.BeanNameAware
public List<ObjectDelta<Objectable>> prepareDeltaOut(ProcessEvent event, PcpJob pcpJob, OperationResult result) throws SchemaException
PrimaryChangeAspect
prepareDeltaOut
in interface PrimaryChangeAspect
event
- Current ProcessEvent providing information on what happened within wf process instance.pcpJob
- Reference to a job (pair of process instance and a task) in which the event happened.result
- Operation result - the method should report any errors here.SchemaException
- if there is any problem with the schema.public List<com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType> prepareApprovedBy(ProcessEvent event, PcpJob job, OperationResult result)
PrimaryChangeAspect
prepareApprovedBy
in interface PrimaryChangeAspect
event
- Current ProcessEvent providing information on what happened within wf process instance.job
- Reference to a job (pair of process instance and a task) in which the event happened.result
- Operation result - the method should report any errors here.public com.evolveum.midpoint.xml.ns.model.workflow.process_instance_state_3.ProcessSpecificState externalizeProcessInstanceState(Map<String,Object> variables)
PrimaryChangeAspect
externalizeProcessInstanceState
in interface PrimaryChangeAspect
variables
- internal process state represented by a mappublic PrimaryChangeProcessor getChangeProcessor()
public boolean isEnabledByDefault()
PrimaryChangeAspect
isEnabledByDefault
in interface PrimaryChangeAspect
public boolean isEnabled(com.evolveum.midpoint.xml.ns._public.common.common_3.PrimaryChangeProcessorConfigurationType processorConfigurationType)
isEnabled
in interface PrimaryChangeAspect
Copyright © 2015 evolveum. All rights reserved.