Class CaseWorkItemUtil
- java.lang.Object
-
- com.evolveum.midpoint.schema.util.CaseWorkItemUtil
-
public class CaseWorkItemUtil extends Object
- Author:
- bpowers
-
-
Constructor Summary
Constructors Constructor Description CaseWorkItemUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
doesAssigneeExist(CaseWorkItemType workItem)
static CaseType
getCase(CaseWorkItemType workItem)
static @NotNull CaseType
getCaseRequired(CaseWorkItemType workItem)
static WorkItemId
getId(CaseWorkItemType workItem)
static CaseWorkItemType
getWorkItem(CaseType aCase, long id)
static List<CaseWorkItemType>
getWorkItemsForStage(CaseType aCase, int stageNumber)
static boolean
isCaseWorkItemClosed(CaseWorkItemType workItem)
static boolean
isCaseWorkItemNotClosed(CaseWorkItemType workItem)
static boolean
isWorkItemClaimable(CaseWorkItemType workItem)
-
-
-
Method Detail
-
getCaseRequired
@NotNull public static @NotNull CaseType getCaseRequired(CaseWorkItemType workItem)
-
getCase
public static CaseType getCase(CaseWorkItemType workItem)
-
getId
public static WorkItemId getId(CaseWorkItemType workItem)
-
getWorkItem
public static CaseWorkItemType getWorkItem(CaseType aCase, long id)
-
isCaseWorkItemNotClosed
public static boolean isCaseWorkItemNotClosed(CaseWorkItemType workItem)
-
isCaseWorkItemClosed
public static boolean isCaseWorkItemClosed(CaseWorkItemType workItem)
-
isWorkItemClaimable
public static boolean isWorkItemClaimable(CaseWorkItemType workItem)
-
doesAssigneeExist
public static boolean doesAssigneeExist(CaseWorkItemType workItem)
-
getWorkItemsForStage
public static List<CaseWorkItemType> getWorkItemsForStage(CaseType aCase, int stageNumber)
-
-