Class AbstractResponse
- java.lang.Object
-
- com.hack23.cia.service.api.action.common.AbstractMessage
-
- com.hack23.cia.service.api.action.common.AbstractResponse
-
- All Implemented Interfaces:
ServiceMessage
,ServiceResponse
,java.io.Serializable
- Direct Known Subclasses:
ChangePasswordResponse
,ComplianceCheckResponse
,CreateApplicationEventResponse
,CreateApplicationSessionResponse
,DestroyApplicationSessionResponse
,DisableGoogleAuthenticatorCredentialResponse
,DocumentWordCountResponse
,LoginResponse
,LogoutResponse
,ManageUserAccountResponse
,RefreshDataViewsResponse
,RegisterUserResponse
,RemoveDataResponse
,SearchDocumentResponse
,SendEmailResponse
,SetGoogleAuthenticatorCredentialResponse
,UpdateApplicationConfigurationResponse
,UpdateSearchIndexResponse
public abstract class AbstractResponse extends AbstractMessage implements ServiceResponse
The Class AbstractResponse.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.hack23.cia.service.api.action.common.ServiceResponse
ServiceResponse.ServiceResult
-
-
Constructor Summary
Constructors Constructor Description AbstractResponse(ServiceResponse.ServiceResult result)
Instantiates a new abstract response.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getErrorMessage()
Gets the error message.ServiceResponse.ServiceResult
getResult()
Gets the result.void
setErrorMessage(java.lang.String errorMessage)
Sets the error message.-
Methods inherited from class com.hack23.cia.service.api.action.common.AbstractMessage
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
AbstractResponse
public AbstractResponse(ServiceResponse.ServiceResult result)
Instantiates a new abstract response.- Parameters:
result
- the result
-
-
Method Detail
-
getResult
public final ServiceResponse.ServiceResult getResult()
Description copied from interface:ServiceResponse
Gets the result.- Specified by:
getResult
in interfaceServiceResponse
- Returns:
- the result
-
setErrorMessage
public final void setErrorMessage(java.lang.String errorMessage)
Sets the error message.- Parameters:
errorMessage
- the new error message
-
getErrorMessage
public final java.lang.String getErrorMessage()
Description copied from interface:ServiceResponse
Gets the error message.- Specified by:
getErrorMessage
in interfaceServiceResponse
- Returns:
- the error message
-
-