Package org.labkey.remoteapi.security
Class GroupMembersCommand
java.lang.Object
org.labkey.remoteapi.Command<ResponseType,org.apache.hc.client5.http.classic.methods.HttpPost>
 
- All Implemented Interfaces:
 HasRequiredVersion
- Direct Known Subclasses:
 AddGroupMembersCommand,RemoveGroupMembersCommand
Base class for AddGroupMembersCommand and RemoveGroupMembersCommand
- 
Nested Class Summary
Nested classes/interfaces inherited from class org.labkey.remoteapi.Command
Command.CommonParameters, Command.Response - 
Field Summary
Fields inherited from class org.labkey.remoteapi.Command
CONTENT_TYPE_JSON - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddPrincipalId(int... ids) voidaddPrincipalId(List<Integer> ids) voidintorg.json.JSONObjectReturns the JSON object to post or null for no JSON.voidsetGroupId(int groupId) Methods inherited from class org.labkey.remoteapi.PostCommand
createRequestMethods inherited from class org.labkey.remoteapi.Command
_execute, createParameterMap, createResponse, execute, getActionName, getControllerName, getHttpRequest, getParameters, getParamValueAsString, getRequiredVersion, getTimeout, setRequiredVersion, setTimeout 
- 
Constructor Details
- 
GroupMembersCommand
 
 - 
 - 
Method Details
- 
getPrincipals
 - 
addPrincipalId
public void addPrincipalId(int... ids)  - 
addPrincipalId
 - 
clearPrincipalIds
public void clearPrincipalIds() - 
getGroupId
public int getGroupId() - 
setGroupId
public void setGroupId(int groupId)  - 
getJsonObject
public org.json.JSONObject getJsonObject()Description copied from class:PostCommandReturns the JSON object to post or null for no JSON. Override this method to provide parameters as JSON.- Overrides:
 getJsonObjectin classPostCommand<CommandResponse>- Returns:
 - The JSON object to post.
 
 
 -