Package com.evolveum.midpoint.wf.util
Class ApprovalUtils
- java.lang.Object
-
- com.evolveum.midpoint.wf.util.ApprovalUtils
-
public class ApprovalUtils extends Object
- Author:
- mederly
-
-
Constructor Summary
Constructors Constructor Description ApprovalUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Boolean
approvalBooleanValue(AbstractWorkItemOutputType result)
static Boolean
approvalBooleanValue(String uri)
static Boolean
approvalBooleanValueFromUri(String uri)
static Boolean
approvalBooleanValueNice(String decision)
static ApprovalLevelOutcomeType
approvalLevelOutcomeFromUri(String uri)
static AbstractWorkItemOutputType
createApproveOutput(PrismContext prismContext)
static WorkItemOutcomeType
fromUri(String uri)
static boolean
isApproved(AbstractWorkItemOutputType result)
static boolean
isApproved(String result)
static boolean
isApprovedFromUri(String uri)
static String
makeNiceFromUri(String outcome)
static String
toUri(ApprovalLevelOutcomeType outcome)
static String
toUri(WorkItemOutcomeType workItemOutcomeType)
static String
toUri(Boolean approved)
-
-
-
Method Detail
-
approvalBooleanValue
public static Boolean approvalBooleanValue(AbstractWorkItemOutputType result)
-
isApproved
public static boolean isApproved(AbstractWorkItemOutputType result)
-
isApproved
public static boolean isApproved(String result)
-
toUri
public static String toUri(WorkItemOutcomeType workItemOutcomeType)
-
toUri
public static String toUri(ApprovalLevelOutcomeType outcome)
-
fromUri
public static WorkItemOutcomeType fromUri(String uri)
-
approvalLevelOutcomeFromUri
public static ApprovalLevelOutcomeType approvalLevelOutcomeFromUri(String uri)
-
isApprovedFromUri
public static boolean isApprovedFromUri(String uri)
-
createApproveOutput
public static AbstractWorkItemOutputType createApproveOutput(PrismContext prismContext)
-
-