Package com.flower.docs.operation.api
Class UpdateContentOperationContext
- java.lang.Object
-
- com.flower.docs.domain.common.IdentifiableElement
-
- com.flower.docs.operation.api.OperationContext
-
- com.flower.docs.operation.api.UpdateContentOperationContext
-
- All Implemented Interfaces:
java.io.Serializable
public class UpdateContentOperationContext extends OperationContext
The context of anOperation
which is executed for following actions:
-Action.ADD_CONTENT
-Action.DELETE_CONTENT
- Author:
- Christopher Laszczuk
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpdateContentOperationContext()
-
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()
Gets the component to update the contentjava.util.List<com.flower.docs.domain.common.IdentifiableElement>
getContent()
Gets the content which theOperation
updatesint
hashCode()
void
setComponent(com.flower.docs.domain.component.Component component)
void
setContent(java.util.List<com.flower.docs.domain.common.IdentifiableElement> content)
-
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()
Gets the component to update the content- Returns:
- The component
-
setComponent
public void setComponent(com.flower.docs.domain.component.Component component)
-
getContent
public java.util.List<com.flower.docs.domain.common.IdentifiableElement> getContent()
Gets the content which theOperation
updates- Returns:
- The updated content
-
setContent
public void setContent(java.util.List<com.flower.docs.domain.common.IdentifiableElement> content)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classOperationContext
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classOperationContext
-
-