public abstract class GroupMembersCommand extends PostCommand<CommandResponse>
Command.CommonParameters, Command.Response
CONTENT_TYPE_JSON
Modifier | Constructor and Description |
---|---|
protected |
GroupMembersCommand(GroupMembersCommand source) |
protected |
GroupMembersCommand(java.lang.String actionName,
int groupId) |
Modifier and Type | Method and Description |
---|---|
void |
addPrincipalId(int... ids) |
void |
addPrincipalId(java.util.List<java.lang.Integer> ids) |
void |
clearPrincipalIds() |
int |
getGroupId() |
org.json.simple.JSONObject |
getJsonObject()
Returns the JSON object to post, or null if the JSON object
has not yet been set.
|
java.util.List<java.lang.Integer> |
getPrincipals() |
void |
setGroupId(int groupId) |
copy, createRequest, setJsonObject
_execute, checkThrowError, createResponse, execute, getActionName, getActionUrl, getControllerName, getHttpRequest, getParameters, getParamValueAsString, getQueryString, getRequiredVersion, getTimeout, setParameters, setRequiredVersion, setTimeout
protected GroupMembersCommand(java.lang.String actionName, int groupId)
protected GroupMembersCommand(GroupMembersCommand source)
public java.util.List<java.lang.Integer> getPrincipals()
public void addPrincipalId(int... ids)
public void addPrincipalId(java.util.List<java.lang.Integer> ids)
public void clearPrincipalIds()
public int getGroupId()
public void setGroupId(int groupId)
public org.json.simple.JSONObject getJsonObject()
PostCommand
getJsonObject
in class PostCommand<CommandResponse>