Package com.flower.docs.operation.api
Class DefaultComponentOperationContext
- java.lang.Object
-
- com.flower.docs.domain.common.IdentifiableElement
-
- com.flower.docs.operation.api.OperationContext
-
- com.flower.docs.operation.api.DefaultComponentOperationContext
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
UpdateComponentOperationContext
public class DefaultComponentOperationContext extends OperationContext
The context of anOperation
whose purpose is to execute Create Read Update Delete operation on components. Concerned operations should be executed for following actions:
-Action.CREATE
-Action.READ
-Action.UPDATE
-Action.DELETE
- Author:
- Christopher Laszczuk
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultComponentOperationContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
com.flower.docs.domain.component.Component
getComponent()
java.util.List<com.flower.docs.domain.component.Component>
getComponents()
Gets the components hold by the contextint
hashCode()
void
setComponent(com.flower.docs.domain.component.Component component)
void
setComponents(java.util.List<com.flower.docs.domain.component.Component> components)
-
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
-
getComponent
public com.flower.docs.domain.component.Component getComponent()
-
setComponent
public void setComponent(com.flower.docs.domain.component.Component component)
-
getComponents
public java.util.List<com.flower.docs.domain.component.Component> getComponents()
Gets the components hold by the context- Returns:
- The components which depends on
OperationContext
-
setComponents
public void setComponents(java.util.List<com.flower.docs.domain.component.Component> components)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classOperationContext
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classOperationContext
-
-