public class DeleteUserCommand extends PostCommand<CommandResponse>
Command.CommonParameters, Command.Response
CONTENT_TYPE_JSON
Constructor and Description |
---|
DeleteUserCommand(DeleteUserCommand source) |
DeleteUserCommand(int userId) |
Modifier and Type | Method and Description |
---|---|
PostCommand |
copy()
Returns a copy of this object.
|
org.json.simple.JSONObject |
getJsonObject()
Returns the JSON object to post, or null if the JSON object
has not yet been set.
|
int |
getUserId() |
void |
setUserId(int userId) |
createRequest, setJsonObject
_execute, checkThrowError, createResponse, execute, getActionName, getActionUrl, getControllerName, getHttpRequest, getParameters, getParamValueAsString, getQueryString, getRequiredVersion, getTimeout, setParameters, setRequiredVersion, setTimeout
public DeleteUserCommand(int userId)
public DeleteUserCommand(DeleteUserCommand source)
public int getUserId()
public void setUserId(int userId)
public PostCommand copy()
Command
copy
in class PostCommand<CommandResponse>
public org.json.simple.JSONObject getJsonObject()
PostCommand
getJsonObject
in class PostCommand<CommandResponse>