public abstract class BasePrimaryChangeAspect extends Object implements PrimaryChangeAspect, org.springframework.beans.factory.BeanNameAware
| Modifier and Type | Field and Description |
|---|---|
protected BaseConfigurationHelper |
baseConfigurationHelper |
protected BaseModelInvocationProcessingHelper |
baseModelInvocationProcessingHelper |
protected PrimaryChangeProcessor |
changeProcessor |
protected ItemApprovalProcessInterface |
itemApprovalProcessInterface |
protected MiscDataUtil |
miscDataUtil |
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 |
|---|---|
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,
PcpWfTask job,
OperationResult result)
Returns a list of users who have approved the particular request.
|
ObjectTreeDeltas |
prepareDeltaOut(ProcessEvent event,
PcpWfTask 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, waitprepareTasks@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
@Autowired protected MiscDataUtil miscDataUtil
@Autowired protected BaseModelInvocationProcessingHelper baseModelInvocationProcessingHelper
@PostConstruct public void init()
public String getBeanName()
getBeanName in interface PrimaryChangeAspectpublic void setBeanName(String name)
setBeanName in interface org.springframework.beans.factory.BeanNameAwarepublic ObjectTreeDeltas prepareDeltaOut(ProcessEvent event, PcpWfTask pcpJob, OperationResult result) throws SchemaException
PrimaryChangeAspectprepareDeltaOut in interface PrimaryChangeAspectevent - 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, PcpWfTask job, OperationResult result)
PrimaryChangeAspectprepareApprovedBy in interface PrimaryChangeAspectevent - 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 PrimaryChangeProcessor getChangeProcessor()
public boolean isEnabledByDefault()
PrimaryChangeAspectisEnabledByDefault in interface PrimaryChangeAspectpublic boolean isEnabled(com.evolveum.midpoint.xml.ns._public.common.common_3.PrimaryChangeProcessorConfigurationType processorConfigurationType)
isEnabled in interface PrimaryChangeAspectCopyright © 2016 evolveum. All rights reserved.