Class ApprovalPolicyActionType
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.PolicyActionType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ApprovalPolicyActionType
-
- All Implemented Interfaces:
Containerable,Freezable,ContainerablePrismBinding,DebugDumpable,Serializable,Cloneable
public class ApprovalPolicyActionType extends PolicyActionType
Approval action. The operation will be suspended and the approval workflow will be started. If the workflow ends with success the operation will proceed. If the workflow ends with an error the operation will also end with an error.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
AbstractMutableContainerable.Any
-
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
ContainerablePrismBinding.ContainerableList<T extends Containerable>, ContainerablePrismBinding.ReferencableList<T extends Referencable>
-
-
Field Summary
Fields Modifier and Type Field Description static QNameCOMPLEX_TYPEstatic ItemNameF_APPROVAL_DISPLAY_NAMEstatic ItemNameF_APPROVAL_PROCESSstatic ItemNameF_APPROVAL_SCHEMAstatic ItemNameF_APPROVER_EXPRESSIONstatic ItemNameF_APPROVER_REFstatic ItemNameF_APPROVER_RELATIONstatic ItemNameF_COMPOSITION_STRATEGYstatic ItemNameF_PROCESS_SPECIFICATIONstatic Producer<ApprovalPolicyActionType>FACTORY-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.PolicyActionType
F_CONDITION, F_DESCRIPTION, F_DOCUMENTATION, F_NAME
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description ApprovalPolicyActionType()ApprovalPolicyActionType(PrismContext context)Deprecated.
-
Method Summary
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.PolicyActionType
getCondition, getDescription, getDocumentation, getName, setCondition, setDescription, setDocumentation, setName
-
Methods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
asPrismContainerValue, getId, hashCode, setId, setupContainerValue, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump, freeze, isImmutable
-
Methods inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
prismGetContainerableList, prismGetPropertyValue, prismGetPropertyValues, prismGetReferencable, prismGetReferencableList, prismGetReferenceObjectable, prismGetSingleContainerable, prismSetPropertyValue, prismSetReferencable, prismSetReferenceObjectable, prismSetSingleContainerable
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_PROCESS_SPECIFICATION
public static final ItemName F_PROCESS_SPECIFICATION
-
F_COMPOSITION_STRATEGY
public static final ItemName F_COMPOSITION_STRATEGY
-
F_APPROVAL_DISPLAY_NAME
public static final ItemName F_APPROVAL_DISPLAY_NAME
-
F_APPROVER_RELATION
public static final ItemName F_APPROVER_RELATION
-
F_APPROVER_REF
public static final ItemName F_APPROVER_REF
-
F_APPROVER_EXPRESSION
public static final ItemName F_APPROVER_EXPRESSION
-
F_APPROVAL_SCHEMA
public static final ItemName F_APPROVAL_SCHEMA
-
F_APPROVAL_PROCESS
public static final ItemName F_APPROVAL_PROCESS
-
FACTORY
public static final Producer<ApprovalPolicyActionType> FACTORY
-
-
Constructor Detail
-
ApprovalPolicyActionType
public ApprovalPolicyActionType()
-
ApprovalPolicyActionType
@Deprecated public ApprovalPolicyActionType(PrismContext context)
Deprecated.
-
-
Method Detail
-
getProcessSpecification
public WfProcessSpecificationType getProcessSpecification()
-
setProcessSpecification
public void setProcessSpecification(WfProcessSpecificationType value)
-
getCompositionStrategy
public ApprovalCompositionStrategyType getCompositionStrategy()
-
setCompositionStrategy
public void setCompositionStrategy(ApprovalCompositionStrategyType value)
-
getApprovalDisplayName
public LocalizableMessageTemplateType getApprovalDisplayName()
-
setApprovalDisplayName
public void setApprovalDisplayName(LocalizableMessageTemplateType value)
-
getApproverRef
public List<ObjectReferenceType> getApproverRef()
-
getApproverExpression
public List<ExpressionType> getApproverExpression()
-
getApprovalSchema
public ApprovalSchemaType getApprovalSchema()
-
setApprovalSchema
public void setApprovalSchema(ApprovalSchemaType value)
-
getApprovalProcess
public String getApprovalProcess()
-
setApprovalProcess
public void setApprovalProcess(String value)
-
equals
public boolean equals(Object other)
- Overrides:
equalsin classPolicyActionType
-
id
public ApprovalPolicyActionType id(Long value)
- Overrides:
idin classPolicyActionType
-
processSpecification
public ApprovalPolicyActionType processSpecification(WfProcessSpecificationType value)
-
beginProcessSpecification
public WfProcessSpecificationType beginProcessSpecification()
-
compositionStrategy
public ApprovalPolicyActionType compositionStrategy(ApprovalCompositionStrategyType value)
-
beginCompositionStrategy
public ApprovalCompositionStrategyType beginCompositionStrategy()
-
approvalDisplayName
public ApprovalPolicyActionType approvalDisplayName(LocalizableMessageTemplateType value)
-
beginApprovalDisplayName
public LocalizableMessageTemplateType beginApprovalDisplayName()
-
approverRelation
public ApprovalPolicyActionType approverRelation(QName value)
-
approverRef
public ApprovalPolicyActionType approverRef(ObjectReferenceType value)
-
approverRef
public ApprovalPolicyActionType approverRef(String oid, QName type)
-
approverRef
public ApprovalPolicyActionType approverRef(String oid, QName type, QName relation)
-
beginApproverRef
public ObjectReferenceType beginApproverRef()
-
approverExpression
public ApprovalPolicyActionType approverExpression(ExpressionType value)
-
beginApproverExpression
public ExpressionType beginApproverExpression()
-
approvalSchema
public ApprovalPolicyActionType approvalSchema(ApprovalSchemaType value)
-
beginApprovalSchema
public ApprovalSchemaType beginApprovalSchema()
-
approvalProcess
public ApprovalPolicyActionType approvalProcess(String value)
-
name
public ApprovalPolicyActionType name(String value)
- Overrides:
namein classPolicyActionType
-
description
public ApprovalPolicyActionType description(String value)
- Overrides:
descriptionin classPolicyActionType
-
documentation
public ApprovalPolicyActionType documentation(String value)
- Overrides:
documentationin classPolicyActionType
-
condition
public ApprovalPolicyActionType condition(ExpressionType value)
- Overrides:
conditionin classPolicyActionType
-
beginCondition
public ExpressionType beginCondition()
- Overrides:
beginConditionin classPolicyActionType
-
end
public <X> X end()
- Overrides:
endin classPolicyActionType
-
clone
public ApprovalPolicyActionType clone()
- Overrides:
clonein classPolicyActionType
-
-