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