public class GetGroupPermsCommand extends Command<GetGroupPermsResponse>
Command.CommonParameters, Command.Response
CONTENT_TYPE_JSON
Constructor and Description |
---|
GetGroupPermsCommand() |
GetGroupPermsCommand(GetGroupPermsCommand source) |
Modifier and Type | Method and Description |
---|---|
GetGroupPermsCommand |
copy()
Returns a copy of this object.
|
protected GetGroupPermsResponse |
createResponse(java.lang.String text,
int status,
java.lang.String contentType,
org.json.simple.JSONObject json)
Creates an instance of the response class, initialized with
the response text, the HTTP status code, and parsed JSONObject.
|
java.util.Map<java.lang.String,java.lang.Object> |
getParameters()
Returns the current parameter map, or null if a map has not yet been set.
|
boolean |
isIncludeSubfolders()
Returns whether the command will recurse down the subfolders
of the folder in which the command is executed.
|
void |
setIncludeSubfolders(boolean includeSubfolders)
Sets whether this command should recurse down the subfolders
of the folder in which the command is executed.
|
_execute, checkThrowError, createRequest, execute, getActionName, getActionUrl, getControllerName, getHttpRequest, getParamValueAsString, getQueryString, getRequiredVersion, getTimeout, setParameters, setRequiredVersion, setTimeout
public GetGroupPermsCommand()
public GetGroupPermsCommand(GetGroupPermsCommand source)
public boolean isIncludeSubfolders()
public void setIncludeSubfolders(boolean includeSubfolders)
includeSubfolders
- true to recurseprotected GetGroupPermsResponse createResponse(java.lang.String text, int status, java.lang.String contentType, org.json.simple.JSONObject json)
Command
Override this method to create an instance of a different class that extends CommandResponse
createResponse
in class Command<GetGroupPermsResponse>
text
- The response text from the server.status
- The HTTP status code.contentType
- The Content-Type header value.json
- The parsed JSONObject (or null if no JSON was returned).public java.util.Map<java.lang.String,java.lang.Object> getParameters()
Command
getParameters
in class Command<GetGroupPermsResponse>
public GetGroupPermsCommand copy()
Command
copy
in class Command<GetGroupPermsResponse>