public abstract class AdminResult
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorMessage()
Returns an error message if response code is not equal to
ResponseCodes.STATUS_SUCCESS.
|
int |
getResponseCode()
Returns the response code.
|
void |
setErrorMessage(java.lang.String errorMessage)
Sets the error message.
|
void |
setResponseCode(int responseCode)
Sets the response code.
|
public int getResponseCode()
ResponseCodes
public void setResponseCode(int responseCode)
responseCode
- The response code.ResponseCodes
public java.lang.String getErrorMessage()
public void setErrorMessage(java.lang.String errorMessage)
errorMessage
- The error message to set.