public abstract class GroupMembersCommand extends PostCommand<CommandResponse>
Command.CommonParameters, Command.ResponseCONTENT_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, createMethod, setJsonObject_execute, createResponse, execute, getActionName, getActionUrl, getControllerName, getHttpMethod, getParameters, getParamValueAsString, getQueryString, getRequiredVersion, getTimeout, setParameters, setRequiredVersion, setTimeoutprotected 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()
PostCommandgetJsonObject in class PostCommand<CommandResponse>