public class MethodResult
extends java.lang.Object
implements java.io.Serializable
${services_rest_MethodResult_Title}
${services_rest_MethodResult_Description}
| Constructor and Description |
|---|
MethodResult() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getCustomResult() |
HttpError |
getError()
${services_rest_MethodResult_method_getError_Title}
|
java.lang.String |
getNewResourceID()
Gets the ID of the newly created resource.
|
java.lang.String |
getNewResourceLocation()
${services_rest_MethodResult_method_getNewResourceLocation_Title}
|
PostResultType |
getPostResultType()
${services_rest_MethodResult_method_getPostActionType_Title}
|
boolean |
isSucceed()
${services_rest_MethodResult_method_isSucceed_Title}
|
void |
setCustomResult(java.lang.Object customResult) |
void |
setError(HttpError error)
${services_rest_MethodResult_method_setError_Title}
|
void |
setNewResourceID(java.lang.String newResourceID)
Sets the ID of the newly created resource.
|
void |
setNewResourceLocation(java.lang.String newResourceLocation)
${services_rest_MethodResult_method_setNewResourceLocation_Title}
|
void |
setPostResultType(PostResultType postActionType)
${services_rest_MethodResult_method_setPostActionType_Title}
|
void |
setSucceed(boolean isOperationSucced)
${services_rest_MethodResult_method_setSucceed_Title}
|
public java.lang.Object getCustomResult()
public void setCustomResult(java.lang.Object customResult)
public PostResultType getPostResultType()
${services_rest_MethodResult_method_getPostActionType_Title}
${services_rest_MethodResult_method_getPostActionType_Description}
public void setPostResultType(PostResultType postActionType)
${services_rest_MethodResult_method_setPostActionType_Title}
${services_rest_MethodResult_method_setPostActionType_Description}
postActionType - ${services_rest_MethodResult_method_setPostActionType_param_postActionType}public boolean isSucceed()
${services_rest_MethodResult_method_isSucceed_Title}
${services_rest_MethodResult_method_isSucceed_Description}
public void setSucceed(boolean isOperationSucced)
${services_rest_MethodResult_method_setSucceed_Title}
${services_rest_MethodResult_method_setSucceed_Description}
isOperationSucced - ${services_rest_MethodResult_method_setSucceed_param_isOperationSucced}public java.lang.String getNewResourceLocation()
${services_rest_MethodResult_method_getNewResourceLocation_Title}
${services_rest_MethodResult_method_getNewResourceLocation_Description}
public void setNewResourceLocation(java.lang.String newResourceLocation)
${services_rest_MethodResult_method_setNewResourceLocation_Title}
${services_rest_MethodResult_method_setNewResourceLocation_Description}
newResourceLocation - ${services_rest_MethodResult_method_setNewResourceLocation_param_newResourceLocation}public HttpError getError()
${services_rest_MethodResult_method_getError_Title}
${services_rest_MethodResult_method_getError_Description}
public void setError(HttpError error)
${services_rest_MethodResult_method_setError_Title}
${services_rest_MethodResult_method_setError_Description}
error - ${services_rest_MethodResult_method_setError_param_error}public java.lang.String getNewResourceID()
Gets the ID of the newly created resource.
public void setNewResourceID(java.lang.String newResourceID)
Sets the ID of the newly created resource.
newResourceID - resource ID.