org.labkey.remoteapi.security
Class DeleteGroupCommand
java.lang.Object
org.labkey.remoteapi.Command<ResponseType>
org.labkey.remoteapi.PostCommand<CommandResponse>
org.labkey.remoteapi.security.DeleteGroupCommand
public class DeleteGroupCommand
- extends PostCommand<CommandResponse>
Deletes the existing group corresponding to the group id.
Note that the response to the command contains nothing meaningful.
If it executed without exception, the group has been deleted.
| Methods inherited from class org.labkey.remoteapi.Command |
createResponse, execute, getActionName, getActionUrl, getControllerName, getHttpMethod, getParameters, getParamValueAsString, getQueryString, getRequiredVersion, getTimeout, setParameters, setRequiredVersion, setTimeout |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteGroupCommand
public DeleteGroupCommand(int groupId)
DeleteGroupCommand
public DeleteGroupCommand(DeleteGroupCommand source)
getGroupId
public int getGroupId()
setGroupId
public void setGroupId(int groupId)
copy
public PostCommand copy()
- Description copied from class:
Command
- Returns a copy of this object. Derived classes should override this
to copy their own data members
- Overrides:
copy in class PostCommand<CommandResponse>
- Returns:
- A copy of this object
getJsonObject
public org.json.simple.JSONObject getJsonObject()
- Description copied from class:
PostCommand
- Returns the JSON object to post, or null if the JSON object
has not yet been set. Override this method to provide the
JSON object dynamically.
- Overrides:
getJsonObject in class PostCommand<CommandResponse>
- Returns:
- The JSON object to post.