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
,Serializable
- Direct Known Subclasses:
ChangePasswordResponse
,CreateApplicationEventResponse
,CreateApplicationSessionResponse
,DeleteAccountResponse
,DestroyApplicationSessionResponse
,DisableGoogleAuthenticatorCredentialResponse
,LoginResponse
,LogoutResponse
,ManageUserAccountResponse
,RefreshDataViewsResponse
,RegisterUserResponse
,RemoveDataResponse
,SearchDocumentResponse
,SendEmailResponse
,SetGoogleAuthenticatorCredentialResponse
,UpdateApplicationConfigurationResponse
,UpdateSearchIndexResponse
The Class AbstractResponse.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.hack23.cia.service.api.action.common.ServiceResponse
ServiceResponse.ServiceResult
-
Constructor Summary
ConstructorDescriptionInstantiates a new abstract response. -
Method Summary
Modifier and TypeMethodDescriptionfinal String
Gets the error message.Gets the result.final void
setErrorMessage
(String errorMessage) Sets the error message.Methods inherited from class com.hack23.cia.service.api.action.common.AbstractMessage
equals, hashCode, toString
-
Constructor Details
-
AbstractResponse
Instantiates a new abstract response.- Parameters:
result
- the result
-
-
Method Details
-
getResult
Description copied from interface:ServiceResponse
Gets the result.- Specified by:
getResult
in interfaceServiceResponse
- Returns:
- the result
-
setErrorMessage
Sets the error message.- Parameters:
errorMessage
- the new error message
-
getErrorMessage
Description copied from interface:ServiceResponse
Gets the error message.- Specified by:
getErrorMessage
in interfaceServiceResponse
- Returns:
- the error message
-