Class WsRestAssignPermissionsRequest
java.lang.Object
edu.internet2.middleware.grouperClient.ws.beans.WsRestAssignPermissionsRequest
- All Implemented Interfaces:
WsRequestBean
request bean in body of rest request
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionif acting as someone elseString[]
actions to query, or none to query all actionsString[]
if replacing attributeDefNames, then these are the related actions, if blank, then just do alldisabled time, or null for not disabledenabled time, or null for enabled nownotes on the assignment (optional)if replacing attributeDefNames, then these are the related attributeDefs, if blank, then just do allis the version of the client.really only for permissions, if the assignee can delegate to someone else.T or F (defaults to F), if this permission assignment is disallowedT or F as to if the group detail should be returnedT|F, for if the extended subject information should be returned (anything more than just the id)WsParam[]
optional: reserved for future useoperation to perform for permission on role or subject, from enum PermissionAssignOperation assign_permission, remove_permissionfind assignments in these attribute def names (optional)is role or role_subject from the PermissionType enumroleLookups are roles to look inString[]
are the additional subject attributes (data) to return.to query attributes in "any" memberships which are on immediate or effective membershipsif you know the assign ids you want, put them herevoid
setActAsSubjectLookup
(WsSubjectLookup actAsSubjectLookup1) if acting as someone elsevoid
setActions
(String[] actions1) actions to query, or none to query all actionsvoid
setActionsToReplace
(String[] actionsToReplace1) if replacing attributeDefNames, then these are the related actions, if blank, then just do allvoid
setAssignmentDisabledTime
(String assignmentDisabledTime1) disabled time, or null for not disabledvoid
setAssignmentEnabledTime
(String assignmentEnabledTime1) enabled time, or null for enabled nowvoid
setAssignmentNotes
(String assignmentNotes1) notes on the assignment (optional)void
setAttributeDefsToReplace
(WsAttributeDefLookup[] attributeDefsToReplace1) if replacing attributeDefNames, then these are the related attributeDefs, if blank, then just do allvoid
setClientVersion
(String clientVersion1) is the version of the client.void
setDelegatable
(String delegatable1) really only for permissions, if the assignee can delegate to someone else.void
setDisallowed
(String disallowed1) T or F (defaults to F), if this permission assignment is disallowedvoid
setIncludeGroupDetail
(String includeGroupDetail1) T or F as to if the group detail should be returnedvoid
setIncludeSubjectDetail
(String includeSubjectDetail1) T|F, for if the extended subject information should be returned (anything more than just the id)void
optional: reserved for future usevoid
setPermissionAssignOperation
(String attributeAssignOperation1) operation to perform for permission on role or subject, from enum PermissionAssignOperation assign_permission, remove_permissionvoid
setPermissionDefNameLookups
(WsAttributeDefNameLookup[] wsAttributeDefNameLookups1) find assignments in these attribute def names (optional)void
setPermissionType
(String attributeAssignType1) is role or role_subject from the PermissionType enumvoid
setRoleLookups
(WsGroupLookup[] roleLookups1) roleLookups are roles to look invoid
setSubjectAttributeNames
(String[] subjectAttributeNames1) are the additional subject attributes (data) to return.void
setSubjectRoleLookups
(WsMembershipAnyLookup[] wsOwnerMembershipAnyLookups1) to query attributes in "any" memberships which are on immediate or effective membershipsvoid
setWsAttributeAssignLookups
(WsAttributeAssignLookup[] wsAttributeAssignLookups1) if you know the assign ids you want, put them here
-
Constructor Details
-
WsRestAssignPermissionsRequest
public WsRestAssignPermissionsRequest()
-
-
Method Details
-
getAssignmentNotes
notes on the assignment (optional)- Returns:
- notes
-
setAssignmentNotes
notes on the assignment (optional)- Parameters:
assignmentNotes1
-
-
getAssignmentEnabledTime
enabled time, or null for enabled now- Returns:
- enabled time
-
setAssignmentEnabledTime
enabled time, or null for enabled now- Parameters:
assignmentEnabledTime1
-
-
getAssignmentDisabledTime
disabled time, or null for not disabled- Returns:
- disabled time
-
setAssignmentDisabledTime
disabled time, or null for not disabled- Parameters:
assignmentDisabledTime1
-
-
getDelegatable
really only for permissions, if the assignee can delegate to someone else. TRUE|FALSE|GRANT- Returns:
- delegatable
-
setDelegatable
really only for permissions, if the assignee can delegate to someone else. TRUE|FALSE|GRANT- Parameters:
delegatable1
-
-
getPermissionAssignOperation
operation to perform for permission on role or subject, from enum PermissionAssignOperation assign_permission, remove_permission- Returns:
- operation
-
setPermissionAssignOperation
operation to perform for permission on role or subject, from enum PermissionAssignOperation assign_permission, remove_permission- Parameters:
attributeAssignOperation1
-
-
getClientVersion
is the version of the client. Must be in GrouperWsVersion, e.g. v1_3_000- Returns:
- version
-
setClientVersion
is the version of the client. Must be in GrouperWsVersion, e.g. v1_3_000- Parameters:
clientVersion1
-
-
getPermissionType
is role or role_subject from the PermissionType enum- Returns:
- attribute assign type
-
setPermissionType
is role or role_subject from the PermissionType enum- Parameters:
attributeAssignType1
-
-
getWsAttributeAssignLookups
if you know the assign ids you want, put them here- Returns:
- attribute assign lookups
-
setWsAttributeAssignLookups
if you know the assign ids you want, put them here- Parameters:
wsAttributeAssignLookups1
-
-
getPermissionDefNameLookups
find assignments in these attribute def names (optional)- Returns:
- def name lookups
-
setPermissionDefNameLookups
find assignments in these attribute def names (optional)- Parameters:
wsAttributeDefNameLookups1
-
-
getRoleLookups
roleLookups are roles to look in- Returns:
- role lookups
-
setRoleLookups
roleLookups are roles to look in- Parameters:
roleLookups1
-
-
getSubjectRoleLookups
to query attributes in "any" memberships which are on immediate or effective memberships- Returns:
- any memberships
-
setSubjectRoleLookups
to query attributes in "any" memberships which are on immediate or effective memberships- Parameters:
wsOwnerMembershipAnyLookups1
-
-
getActions
actions to query, or none to query all actions- Returns:
- actions
-
setActions
actions to query, or none to query all actions- Parameters:
actions1
-
-
getActAsSubjectLookup
if acting as someone else- Returns:
- act as subject
-
setActAsSubjectLookup
if acting as someone else- Parameters:
actAsSubjectLookup1
-
-
getIncludeSubjectDetail
T|F, for if the extended subject information should be returned (anything more than just the id)- Returns:
- T|F
-
setIncludeSubjectDetail
T|F, for if the extended subject information should be returned (anything more than just the id)- Parameters:
includeSubjectDetail1
-
-
getSubjectAttributeNames
are the additional subject attributes (data) to return. If blank, whatever is configured in the grouper-ws.properties will be sent- Returns:
- subject attribute names
-
setSubjectAttributeNames
are the additional subject attributes (data) to return. If blank, whatever is configured in the grouper-ws.properties will be sent- Parameters:
subjectAttributeNames1
-
-
getIncludeGroupDetail
T or F as to if the group detail should be returned- Returns:
- T|F
-
setIncludeGroupDetail
T or F as to if the group detail should be returned- Parameters:
includeGroupDetail1
-
-
getParams
optional: reserved for future use- Returns:
- params
-
setParams
optional: reserved for future use- Parameters:
params1
-
-
getActionsToReplace
if replacing attributeDefNames, then these are the related actions, if blank, then just do all- Returns:
- the actionsToReplace
-
getAttributeDefsToReplace
if replacing attributeDefNames, then these are the related attributeDefs, if blank, then just do all- Returns:
- the attributeDefsToReplace
-
setActionsToReplace
if replacing attributeDefNames, then these are the related actions, if blank, then just do all- Parameters:
actionsToReplace1
- the actionsToReplace to set
-
setAttributeDefsToReplace
if replacing attributeDefNames, then these are the related attributeDefs, if blank, then just do all- Parameters:
attributeDefsToReplace1
- the attributeDefsToReplace to set
-
getDisallowed
T or F (defaults to F), if this permission assignment is disallowed- Returns:
- T or F (defaults to F), if this permission assignment is disallowed
-
setDisallowed
T or F (defaults to F), if this permission assignment is disallowed- Parameters:
disallowed1
-
-