Package com.flower.docs.operation.api
Class SearchOperationContext
- java.lang.Object
-
- com.flower.docs.domain.common.IdentifiableElement
-
- com.flower.docs.operation.api.OperationContext
-
- com.flower.docs.operation.api.SearchOperationContext
-
- All Implemented Interfaces:
java.io.Serializable
public class SearchOperationContext extends OperationContext
The context of anOperation
whose purpose is to search components. Concerned operations should be executed forAction.SEARCH
- Author:
- Christopher Laszczuk
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SearchOperationContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
com.flower.docs.domain.search.SearchRequest
getRequest()
Gets the request of the searchcom.flower.docs.domain.search.SearchResponse
getResponse()
Gets the response of the search if executedint
hashCode()
void
setRequest(com.flower.docs.domain.search.SearchRequest request)
void
setResponse(com.flower.docs.domain.search.SearchResponse response)
-
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
-
getRequest
public com.flower.docs.domain.search.SearchRequest getRequest()
Gets the request of the search- Returns:
- The search request
-
setRequest
public void setRequest(com.flower.docs.domain.search.SearchRequest request)
-
getResponse
public com.flower.docs.domain.search.SearchResponse getResponse()
Gets the response of the search if executed- Returns:
- The search response
-
setResponse
public void setResponse(com.flower.docs.domain.search.SearchResponse response)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classOperationContext
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classOperationContext
-
-