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
,com.evolveum.midpoint.prism.impl.binding.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
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable.Any
-
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ContainerableList<T extends Containerable>, com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ReferencableList<T extends Referencable>
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_APPROVAL_DISPLAY_NAME
static ItemName
F_APPROVAL_PROCESS
static ItemName
F_APPROVAL_SCHEMA
static ItemName
F_APPROVER_EXPRESSION
static ItemName
F_APPROVER_REF
static ItemName
F_APPROVER_RELATION
static ItemName
F_COMPOSITION_STRATEGY
static ItemName
F_PROCESS_SPECIFICATION
static 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:
equals
in classPolicyActionType
-
id
public ApprovalPolicyActionType id(Long value)
- Overrides:
id
in 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:
name
in classPolicyActionType
-
description
public ApprovalPolicyActionType description(String value)
- Overrides:
description
in classPolicyActionType
-
documentation
public ApprovalPolicyActionType documentation(String value)
- Overrides:
documentation
in classPolicyActionType
-
condition
public ApprovalPolicyActionType condition(ExpressionType value)
- Overrides:
condition
in classPolicyActionType
-
beginCondition
public ExpressionType beginCondition()
- Overrides:
beginCondition
in classPolicyActionType
-
end
public <X> X end()
- Overrides:
end
in classPolicyActionType
-
clone
public ApprovalPolicyActionType clone()
- Overrides:
clone
in classPolicyActionType
-
-