Class ApprovalUtils
- java.lang.Object
-
- com.evolveum.midpoint.schema.util.cases.ApprovalUtils
-
public class ApprovalUtils extends Object
Utility methods related to approval cases.
-
-
Constructor Summary
Constructors Constructor Description ApprovalUtils()
-
Method Summary
-
-
-
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)
-
makeNiceFromUri
public static String makeNiceFromUri(CaseType aCase, AbstractWorkItemOutputType output)
-
isApprovedFromUri
public static boolean isApprovedFromUri(String uri)
-
createApproveOutput
@Deprecated public static AbstractWorkItemOutputType createApproveOutput(PrismContext prismContext)
Deprecated.
-
createApproveOutput
public static AbstractWorkItemOutputType createApproveOutput()
-
-