Interface CaseManagementEvent
-
- All Superinterfaces:
DebugDumpable
,Event
,Serializable
,ShortDumpable
- All Known Subinterfaces:
CaseEvent
public interface CaseManagementEvent extends Event
Event related to case management: either case-level or work-item-level.
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default boolean
doesUseStages()
@Nullable ApprovalContextType
getApprovalContext()
@NotNull CaseType
getCase()
default String
getCaseName()
ChangeType
getChangeType()
default @Nullable CaseCorrelationContextType
getCorrelationContext()
@Nullable Object
getFocusValue(@NotNull String pathString)
@NotNull Collection<?>
getFocusValues(@NotNull String pathString)
default @Nullable ManualProvisioningContextType
getManualProvisioningContext()
@Nullable ObjectType
getObject()
@Nullable PolyStringType
getObjectName()
OperationStatus
getOperationStatus()
default String
getProcessInstanceName1()
Deprecated.@Nullable ObjectType
getTarget()
@Nullable PolyStringType
getTargetName()
default boolean
isApproval()
Returns true if this event is related to an approval case.default boolean
isApprovalCase()
Deprecated.boolean
isApproved()
default boolean
isCorrelation()
Returns true if this event is related to a correlation case.default boolean
isManualProvisioning()
Returns true if this event is related to a manual provisioning case.default boolean
isManualResourceCase()
Deprecated.boolean
isRejected()
boolean
isResultKnown()
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.notifications.api.events.Event
getAdHocHandler, getChannel, getFocusPassword, getId, getRequestee, getRequesteeDisplayName, getRequesteeObject, getRequesteeOid, getRequester, getRequesterOid, getStatusAsText, isAccountRelated, isAdd, isAlsoSuccess, isCategoryType, isCertCampaignStageRelated, isDelete, isFailure, isInProgress, isModify, isOnlyFailure, isOperationType, isPolicyRuleRelated, isRelatedToItem, isStatusType, isSuccess, isUserRelated, isWorkflowProcessRelated, isWorkflowRelated, isWorkItemRelated, requesteeIs, requesteeIsUser
-
Methods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDump, shortDumpLazily
-
-
-
-
Method Detail
-
getCase
@NotNull @NotNull CaseType getCase()
-
getProcessInstanceName1
@Deprecated default String getProcessInstanceName1()
Deprecated.
-
getCaseName
default String getCaseName()
-
getOperationStatus
OperationStatus getOperationStatus()
-
getChangeType
ChangeType getChangeType()
-
isResultKnown
boolean isResultKnown()
-
isApproved
boolean isApproved()
-
isRejected
boolean isRejected()
-
getApprovalContext
@Nullable @Nullable ApprovalContextType getApprovalContext()
-
getManualProvisioningContext
@Nullable default @Nullable ManualProvisioningContextType getManualProvisioningContext()
-
getCorrelationContext
@Nullable default @Nullable CaseCorrelationContextType getCorrelationContext()
-
doesUseStages
default boolean doesUseStages()
-
isApproval
default boolean isApproval()
Returns true if this event is related to an approval case.
-
isApprovalCase
@Deprecated default boolean isApprovalCase()
Deprecated.
-
isManualProvisioning
default boolean isManualProvisioning()
Returns true if this event is related to a manual provisioning case.
-
isManualResourceCase
@Deprecated default boolean isManualResourceCase()
Deprecated.
-
isCorrelation
default boolean isCorrelation()
Returns true if this event is related to a correlation case.
-
getObject
@Nullable @Nullable ObjectType getObject()
- Returns:
- The object attached to the case, whatever that means for the particular case. Null if the object cannot be retrieved.
-
getObjectName
@Nullable @Nullable PolyStringType getObjectName()
- Returns:
- The name of the
getObject()
. Falls back to OID if the object cannot be retrieved.
-
getTarget
@Nullable @Nullable ObjectType getTarget()
- Returns:
- The target object attached to the case, whatever that means for the particular case. Null if the object cannot be retrieved.
-
getTargetName
@Nullable @Nullable PolyStringType getTargetName()
- Returns:
- The name of the
getTarget()
. Falls back to OID if the object cannot be retrieved.
-
getFocusValue
@Nullable @Nullable Object getFocusValue(@NotNull @NotNull String pathString)
- Returns:
- The (real) value of given path in the pre-focus in a correlation case. Returns the collection if there are more matching values.
-
getFocusValues
@NotNull @NotNull Collection<?> getFocusValues(@NotNull @NotNull String pathString)
- Returns:
- The (real) values of given path in the pre-focus in a correlation case. Returns the collection if there are more matching values.
-
-