Class WsRestAssignGrouperPrivilegesRequest
java.lang.Object
edu.internet2.middleware.grouper.ws.rest.group.WsRestAssignGrouperPrivilegesRequest
- All Implemented Interfaces:
WsRequestBean
Class with data about assigning privileges for a subject and group
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionwho to act as if not the connecting userT or F as to whether this privilege is being assigned or removedversion of the client.T or F as for if group detail should be includedT|F, for if the extended subject information should be returned (anything more than just the id)WsParam[]
String[]
(e.g.privilegeType (e.g.T to replace existing members, F or blank to just change assignments.String[]
group to assign privilegestem to assign privilegesubjects to assign tosee which http method this is supposed to be associated with, and override whatever was passed invoid
setActAsSubjectLookup
(WsSubjectLookup actAsSubjectLookup1) who to act as if not the connecting uservoid
setAllowed
(String allowed1) T or F as to whether this privilege is being assigned or removedvoid
setClientVersion
(String clientVersion1) void
setIncludeGroupDetail
(String includeGroupDetail1) T or F as for if group detail should be includedvoid
setIncludeSubjectDetail
(String includeSubjectDetail1) T|F, for if the extended subject information should be returned (anything more than just the id)void
void
setPrivilegeNames
(String[] privilegeNames1) (e.g.void
setPrivilegeType
(String privilegeType1) privilegeType (e.g.void
setReplaceAllExisting
(String replaceAllExisting1) void
setSubjectAttributeNames
(String[] subjectAttributeNames1) void
void
setWsGroupLookup
(WsGroupLookup wsGroupLookup1) group to assign privilegevoid
setWsStemLookup
(WsStemLookup wsStemLookup1) group to assign privilegevoid
setWsSubjectLookups
(WsSubjectLookup[] subjectLookups1) subjects to assign totoString()
-
Constructor Details
-
WsRestAssignGrouperPrivilegesRequest
public WsRestAssignGrouperPrivilegesRequest()
-
-
Method Details
-
toString
-
getReplaceAllExisting
T to replace existing members, F or blank to just change assignments. Only for allowed T- Returns:
- replace all existing
-
setReplaceAllExisting
- Parameters:
replaceAllExisting1
-
-
retrieveRestHttpMethod
Description copied from interface:WsRequestBean
see which http method this is supposed to be associated with, and override whatever was passed in- Specified by:
retrieveRestHttpMethod
in interfaceWsRequestBean
- Returns:
- the method
- See Also:
-
getWsGroupLookup
group to assign privilege- Returns:
- group lookup
-
setWsGroupLookup
group to assign privilege- Parameters:
wsGroupLookup1
-
-
getWsStemLookup
stem to assign privilege- Returns:
- stem lookup
-
setWsStemLookup
group to assign privilege- Parameters:
wsStemLookup1
-
-
getClientVersion
version of the client. Must be in GrouperWsVersion, e.g. v1_3_000- Returns:
- version
-
setClientVersion
- Parameters:
clientVersion1
-
-
getPrivilegeType
privilegeType (e.g. "access" for groups and "naming" for stems)- Returns:
- type
-
setPrivilegeType
privilegeType (e.g. "access" for groups and "naming" for stems)- Parameters:
privilegeType1
-
-
getPrivilegeNames
(e.g. for groups: read, view, update, admin, optin, optout. e.g. for stems: stem, create)- Returns:
- name
-
setPrivilegeNames
(e.g. for groups: read, view, update, admin, optin, optout. e.g. for stems: stem, create)- Parameters:
privilegeNames1
-
-
getIncludeSubjectDetail
T|F, for if the extended subject information should be returned (anything more than just the id)- Returns:
- include detail
-
setIncludeSubjectDetail
T|F, for if the extended subject information should be returned (anything more than just the id)- Parameters:
includeSubjectDetail1
-
-
getIncludeGroupDetail
T or F as for if group detail should be included- Returns:
- T of F
-
setIncludeGroupDetail
T or F as for if group detail should be included- Parameters:
includeGroupDetail1
-
-
getAllowed
T or F as to whether this privilege is being assigned or removed- Returns:
- allowed
-
setAllowed
T or F as to whether this privilege is being assigned or removed- Parameters:
allowed1
-
-
getWsSubjectLookups
subjects to assign to- Returns:
- the subjectLookups
-
setWsSubjectLookups
subjects to assign to- Parameters:
subjectLookups1
- the subjectLookups to set
-
getActAsSubjectLookup
who to act as if not the connecting user- Returns:
- the actAsSubjectLookup
-
setActAsSubjectLookup
who to act as if not the connecting user- Parameters:
actAsSubjectLookup1
- the actAsSubjectLookup to set
-
getSubjectAttributeNames
- Returns:
- the subjectAttributeNames
-
setSubjectAttributeNames
- Parameters:
subjectAttributeNames1
- the subjectAttributeNames to set
-
getTxType
- Returns:
- the txType
-
setTxType
- Parameters:
txType1
- the txType to set
-
getParams
- Returns:
- the params
-
setParams
- Parameters:
params1
- the params to set
-