Package com.flower.docs.operation.api
Class DefaultWorkflowOperationContext
- java.lang.Object
-
- com.flower.docs.domain.common.IdentifiableElement
-
- com.flower.docs.operation.api.OperationContext
-
- com.flower.docs.operation.api.DefaultWorkflowOperationContext
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
UpdateWorkflowOperationContext
public class DefaultWorkflowOperationContext extends OperationContext
The context of anOperation
whose purpose is to execute Create Read Update Delete operation on workflows. Concerned operations should be executed for following actions:
-Action.CREATE
-Action.READ
-Action.UPDATE
-Action.DELETE
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultWorkflowOperationContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
com.flower.docs.domain.workflow.Workflow
getWorkflow()
java.util.List<com.flower.docs.domain.workflow.Workflow>
getWorkflows()
Gets the workflows hold by the contextint
hashCode()
void
setWorkflow(com.flower.docs.domain.workflow.Workflow workflow)
void
setWorkflows(java.util.List<com.flower.docs.domain.workflow.Workflow> workflows)
-
Methods inherited from class com.flower.docs.operation.api.OperationContext
getExecutionPhase, getExtra, getOperation, getRegistration, getRequestId, getScope, getTags, getTime, getUser, setExecutionPhase, setExtra, setOperation, setRegistration, setRequestId, setScope, setTags, setTime, setUser, toString
-
-
-
-
Method Detail
-
getWorkflow
public com.flower.docs.domain.workflow.Workflow getWorkflow()
-
setWorkflow
public void setWorkflow(com.flower.docs.domain.workflow.Workflow workflow)
-
getWorkflows
public java.util.List<com.flower.docs.domain.workflow.Workflow> getWorkflows()
Gets the workflows hold by the context- Returns:
- The workflows which depends on
OperationContext
-
setWorkflows
public void setWorkflows(java.util.List<com.flower.docs.domain.workflow.Workflow> workflows)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classOperationContext
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classOperationContext
-
-