Class Request
- java.lang.Object
-
- com.evolveum.midpoint.cases.api.request.Request
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CancelCaseRequest,ClaimWorkItemsRequest,CompleteWorkItemsRequest,DelegateWorkItemsRequest,OpenCaseRequest,ReleaseWorkItemsRequest
public abstract class Request extends Object implements Serializable
Abstract request that is going to be processed by the case engine.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected @NotNull StringcaseOidEach request is related to a single case.protected WorkItemEventCauseInformationTypecauseInformationWhat is the cause of the current request (e.g.
-
Constructor Summary
Constructors Constructor Description Request(@NotNull String caseOid, WorkItemEventCauseInformationType causeInformation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull StringgetCaseOid()WorkItemEventCauseInformationTypegetCauseInformation()
-
-
-
Field Detail
-
caseOid
@NotNull protected final @NotNull String caseOid
Each request is related to a single case. This is its OID.
-
causeInformation
protected final WorkItemEventCauseInformationType causeInformation
What is the cause of the current request (e.g. to complete a work item, or to cancel the whole case)?
-
-
Constructor Detail
-
Request
public Request(@NotNull @NotNull String caseOid, WorkItemEventCauseInformationType causeInformation)
-
-
Method Detail
-
getCaseOid
@NotNull public @NotNull String getCaseOid()
-
getCauseInformation
public WorkItemEventCauseInformationType getCauseInformation()
-
-