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 booleandoesUseStages()@Nullable ApprovalContextTypegetApprovalContext()@NotNull CaseTypegetCase()default StringgetCaseName()ChangeTypegetChangeType()default @Nullable CaseCorrelationContextTypegetCorrelationContext()@Nullable ObjectgetFocusValue(@NotNull String pathString)@NotNull Collection<?>getFocusValues(@NotNull String pathString)default @Nullable ManualProvisioningContextTypegetManualProvisioningContext()@Nullable ObjectTypegetObject()@Nullable PolyStringTypegetObjectName()OperationStatusgetOperationStatus()default StringgetProcessInstanceName1()Deprecated.@Nullable ObjectTypegetTarget()@Nullable PolyStringTypegetTargetName()default booleanisApproval()Returns true if this event is related to an approval case.default booleanisApprovalCase()Deprecated.booleanisApproved()default booleanisCorrelation()Returns true if this event is related to a correlation case.default booleanisManualProvisioning()Returns true if this event is related to a manual provisioning case.default booleanisManualResourceCase()Deprecated.booleanisRejected()booleanisResultKnown()-
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.
-
-