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
Constructors -
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 invoidsetActAsSubjectLookup(WsSubjectLookup actAsSubjectLookup1) who to act as if not the connecting uservoidsetAllowed(String allowed1) T or F as to whether this privilege is being assigned or removedvoidsetClientVersion(String clientVersion1) voidsetIncludeGroupDetail(String includeGroupDetail1) T or F as for if group detail should be includedvoidsetIncludeSubjectDetail(String includeSubjectDetail1) T|F, for if the extended subject information should be returned (anything more than just the id)voidvoidsetPrivilegeNames(String[] privilegeNames1) (e.g.voidsetPrivilegeType(String privilegeType1) privilegeType (e.g.voidsetReplaceAllExisting(String replaceAllExisting1) voidsetSubjectAttributeNames(String[] subjectAttributeNames1) voidvoidsetWsGroupLookup(WsGroupLookup wsGroupLookup1) group to assign privilegevoidsetWsStemLookup(WsStemLookup wsStemLookup1) group to assign privilegevoidsetWsSubjectLookups(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:WsRequestBeansee which http method this is supposed to be associated with, and override whatever was passed in- Specified by:
retrieveRestHttpMethodin 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
-