Class CaseTypeUtil
java.lang.Object
com.evolveum.midpoint.schema.util.cases.CaseTypeUtil
Companion light-weight utilities for
CaseType and CaseWorkItemType.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanapprovalSchemaExists(CaseType aCase) static booleandoesAssigneeExist(CaseWorkItemType workItem) static @NotNull List<ObjectReferenceType>getAllAssignees(@NotNull CaseType aCase) static @NotNull List<ObjectReferenceType>getAllCandidateAssignees(@NotNull CaseType aCase) static List<ObjectReferenceType>getAllCurrentAssignees(CaseType aCase) static CaseTypegetCase(CaseWorkItemType workItem) static @NotNull CaseTypegetCaseRequired(CaseWorkItemType workItem) static WorkItemIdgetId(CaseWorkItemType workItem) static StringgetRequesterComment(CaseType aCase) static XMLGregorianCalendargetStartTimestamp(CaseType aCase) static CaseWorkItemTypegetWorkItem(CaseType aCase, long id) static List<CaseWorkItemType>getWorkItemsForStage(CaseType aCase, int stageNumber) static booleanisApprovalCase(@Nullable CaseType aCase) static booleanisCaseWorkItemClosed(CaseWorkItemType workItem) static booleanisCaseWorkItemNotClosed(CaseWorkItemType workItem) static booleanstatic booleanisCorrelationCase(@Nullable CaseType aCase) static booleanisManualProvisioningCase(@Nullable CaseType aCase) static booleanisWorkItemClaimable(CaseWorkItemType workItem) static booleanisWorkItemReleasable(CaseWorkItemType workItem)
-
Constructor Details
-
CaseTypeUtil
public CaseTypeUtil()
-
-
Method Details
-
getCaseRequired
-
getCase
-
isClosed
-
getStartTimestamp
-
getRequesterComment
-
isCorrelationCase
-
isManualProvisioningCase
-
isApprovalCase
-
getAllCurrentAssignees
-
getAllAssignees
@NotNull public static @NotNull List<ObjectReferenceType> getAllAssignees(@NotNull @NotNull CaseType aCase) -
getAllCandidateAssignees
@NotNull public static @NotNull List<ObjectReferenceType> getAllCandidateAssignees(@NotNull @NotNull CaseType aCase) -
approvalSchemaExists
-
getId
-
getWorkItem
-
isCaseWorkItemNotClosed
-
isCaseWorkItemClosed
-
isWorkItemClaimable
-
isWorkItemReleasable
-
doesAssigneeExist
-
getWorkItemsForStage
-