Class WsRestGetPermissionAssignmentsRequest
java.lang.Object
edu.internet2.middleware.grouperClient.ws.beans.WsRestGetPermissionAssignmentsRequest
- All Implemented Interfaces:
WsRequestBean
Bean for rest request to get permissions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionif acting as someone elseString[]
actions to query, or none to query all actionsis the version of the client.A for all, T or null for enabled only, F for disabledimmediateOnly T of F (defaults to F) if we should filter out non immediate permissionsif this is not querying assignments on assignments directly, but the assignments and assignments on those assignments should be returned, enter true.T or F for it attribute assignments should be returnedT or F for if attributeDefName objects should be returnedT or F as to if the group detail should be returnedincludeLimits T or F (default to F) for if limits should be returned with the results.T or F for if the permission details should be returnedT|F, for if the extended subject information should be returned (anything more than just the id)limitEnvVars limitEnvVars if processing limits, pass in a set of limits.WsParam[]
optional: reserved for future useif processing permissions, you can filter out either redundant permissions (find best in set), or do that and filter out redundant roles (if flattening roles) (find best in set).are we looking for role permissions or subject permissions? from enum PermissionType: role, or role_subject.To query permissions at a certain point in time or time range in the past, set this value and/or the value of pointInTimeTo.To query permissions at a certain point in time or time range in the past, set this value and/or the value of pointInTimeFrom.are roles to look inString[]
are the additional subject attributes (data) to return.find assignments in these attribute defs (optional)find assignments in these attribute def names (optional)are subjects to look invoid
setActAsSubjectLookup
(WsSubjectLookup actAsSubjectLookup1) if acting as someone elsevoid
setActions
(String[] actions1) actions to query, or none to query all actionsvoid
setClientVersion
(String clientVersion1) is the version of the client.void
setEnabled
(String enabled1) A for all, T or null for enabled only, F for disabledvoid
setImmediateOnly
(String immediateOnly1) immediateOnly T of F (defaults to F) if we should filter out non immediate permissionsvoid
setIncludeAssignmentsOnAssignments
(String includeAssignmentsOnAssignments1) if this is not querying assignments on assignments directly, but the assignments and assignments on those assignments should be returned, enter true.void
setIncludeAttributeAssignments
(String includeAttributeAssignments1) T or F for it attribute assignments should be returnedvoid
setIncludeAttributeDefNames
(String includeAttributeDefNames1) T or F for if attributeDefName objects should be returnedvoid
setIncludeGroupDetail
(String includeGroupDetail1) T or F as to if the group detail should be returnedvoid
setIncludeLimits
(String includeLimits1) includeLimits T or F (default to F) for if limits should be returned with the results.void
setIncludePermissionAssignDetail
(String includePermissionAssignDetail1) T or F for if the permission details should be returnedvoid
setIncludeSubjectDetail
(String includeSubjectDetail1) T|F, for if the extended subject information should be returned (anything more than just the id)void
setLimitEnvVars
(WsPermissionEnvVar[] limitEnvVars1) limitEnvVars limitEnvVars if processing limits, pass in a set of limits.void
optional: reserved for future usevoid
setPermissionProcessor
(String permissionProcessor1) if processing permissions, you can filter out either redundant permissions (find best in set), or do that and filter out redundant roles (if flattening roles) (find best in set).void
setPermissionType
(String permissionType1) are we looking for role permissions or subject permissions? from enum PermissionType: role, or role_subject.void
setPointInTimeFrom
(String pointInTimeFrom1) To query permissions at a certain point in time or time range in the past, set this value and/or the value of pointInTimeTo.void
setPointInTimeTo
(String pointInTimeTo1) To query permissions at a certain point in time or time range in the past, set this value and/or the value of pointInTimeFrom.void
setRoleLookups
(WsGroupLookup[] wsOwnerGroupLookups1) are roles to look invoid
setSubjectAttributeNames
(String[] subjectAttributeNames1) are the additional subject attributes (data) to return.void
setWsAttributeDefLookups
(WsAttributeDefLookup[] wsAttributeDefLookups1) find assignments in these attribute defs (optional)void
setWsAttributeDefNameLookups
(WsAttributeDefNameLookup[] wsAttributeDefNameLookups1) find assignments in these attribute def names (optional)void
setWsSubjectLookups
(WsSubjectLookup[] wsOwnerSubjectLookups1) are subjects to look in
-
Constructor Details
-
WsRestGetPermissionAssignmentsRequest
public WsRestGetPermissionAssignmentsRequest()
-
-
Method Details
-
getIncludeLimits
includeLimits T or F (default to F) for if limits should be returned with the results. Note that the attributeDefs, attributeDefNames, and attributeAssignments will be added to those lists- Returns:
- the includeLimits
-
setIncludeLimits
includeLimits T or F (default to F) for if limits should be returned with the results. Note that the attributeDefs, attributeDefNames, and attributeAssignments will be added to those lists- Parameters:
includeLimits1
- the includeLimits to set
-
getImmediateOnly
immediateOnly T of F (defaults to F) if we should filter out non immediate permissions- Returns:
- the immediateOnly
-
setImmediateOnly
immediateOnly T of F (defaults to F) if we should filter out non immediate permissions- Parameters:
immediateOnly1
- the immediateOnly to set
-
getPermissionType
are we looking for role permissions or subject permissions? from enum PermissionType: role, or role_subject. defaults to role_subject permissions- Returns:
- the permissionType
-
setPermissionType
are we looking for role permissions or subject permissions? from enum PermissionType: role, or role_subject. defaults to role_subject permissions- Parameters:
permissionType1
- the permissionType to set
-
getLimitEnvVars
limitEnvVars limitEnvVars if processing limits, pass in a set of limits. The name is the name of the variable, and the value is the value. Note, you can typecast the values by putting a valid type in parens in front of the param name. e.g. name: (int)amount, value: 50- Returns:
- the limitEnvVars
-
setLimitEnvVars
limitEnvVars limitEnvVars if processing limits, pass in a set of limits. The name is the name of the variable, and the value is the value. Note, you can typecast the values by putting a valid type in parens in front of the param name. e.g. name: (int)amount, value: 50- Parameters:
limitEnvVars1
- the limitEnvVars to set
-
getIncludeAttributeDefNames
T or F for if attributeDefName objects should be returned- Returns:
- the attributeDefName
-
setIncludeAttributeDefNames
T or F for if attributeDefName objects should be returned- Parameters:
includeAttributeDefNames1
-
-
getIncludePermissionAssignDetail
T or F for if the permission details should be returned- Returns:
- T or F
-
setIncludePermissionAssignDetail
T or F for if the permission details should be returned- Parameters:
includePermissionAssignDetail1
-
-
getIncludeAttributeAssignments
T or F for it attribute assignments should be returned- Returns:
- include attribute assignments
-
setIncludeAttributeAssignments
T or F for it attribute assignments should be returned- Parameters:
includeAttributeAssignments1
-
-
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
-
-
getWsAttributeDefLookups
find assignments in these attribute defs (optional)- Returns:
- defs
-
setWsAttributeDefLookups
find assignments in these attribute defs (optional)- Parameters:
wsAttributeDefLookups1
-
-
getWsAttributeDefNameLookups
find assignments in these attribute def names (optional)- Returns:
- def name lookups
-
setWsAttributeDefNameLookups
find assignments in these attribute def names (optional)- Parameters:
wsAttributeDefNameLookups1
-
-
getRoleLookups
are roles to look in- Returns:
- owner group lookups
-
setRoleLookups
are roles to look in- Parameters:
wsOwnerGroupLookups1
-
-
getWsSubjectLookups
are subjects to look in- Returns:
- subject
-
setWsSubjectLookups
are subjects to look in- Parameters:
wsOwnerSubjectLookups1
-
-
getActions
actions to query, or none to query all actions- Returns:
- actions
-
setActions
actions to query, or none to query all actions- Parameters:
actions1
-
-
getIncludeAssignmentsOnAssignments
if this is not querying assignments on assignments directly, but the assignments and assignments on those assignments should be returned, enter true. default to false.- Returns:
- if include assignments on assignments
-
setIncludeAssignmentsOnAssignments
if this is not querying assignments on assignments directly, but the assignments and assignments on those assignments should be returned, enter true. default to false.- Parameters:
includeAssignmentsOnAssignments1
-
-
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
-
-
getEnabled
A for all, T or null for enabled only, F for disabled- Returns:
- enabled
-
setEnabled
A for all, T or null for enabled only, F for disabled- Parameters:
enabled1
-
-
getPointInTimeFrom
To query permissions at a certain point in time or time range in the past, set this value and/or the value of pointInTimeTo. This parameter specifies the start of the range of the point in time query. If this is specified but pointInTimeTo is not specified, then the point in time query range will be from the time specified to now. Format: yyyy/MM/dd HH:mm:ss.SSS- Returns:
- the pointInTimeFrom
-
setPointInTimeFrom
To query permissions at a certain point in time or time range in the past, set this value and/or the value of pointInTimeTo. This parameter specifies the start of the range of the point in time query. If this is specified but pointInTimeTo is not specified, then the point in time query range will be from the time specified to now. Format: yyyy/MM/dd HH:mm:ss.SSS- Parameters:
pointInTimeFrom1
- the pointInTimeFrom to set
-
getPointInTimeTo
To query permissions at a certain point in time or time range in the past, set this value and/or the value of pointInTimeFrom. This parameter specifies the end of the range of the point in time query. If this is the same as pointInTimeFrom, then the query will be done at a single point in time rather than a range. If this is specified but pointInTimeFrom is not specified, then the point in time query range will be from the minimum point in time to the time specified. Format: yyyy/MM/dd HH:mm:ss.SSS- Returns:
- the pointInTimeTo
-
setPointInTimeTo
To query permissions at a certain point in time or time range in the past, set this value and/or the value of pointInTimeFrom. This parameter specifies the end of the range of the point in time query. If this is the same as pointInTimeFrom, then the query will be done at a single point in time rather than a range. If this is specified but pointInTimeFrom is not specified, then the point in time query range will be from the minimum point in time to the time specified. Format: yyyy/MM/dd HH:mm:ss.SSS- Parameters:
pointInTimeTo1
- the pointInTimeTo to set
-
getPermissionProcessor
if processing permissions, you can filter out either redundant permissions (find best in set), or do that and filter out redundant roles (if flattening roles) (find best in set). This is the PermissionProcessor enum. e.g. FILTER_REDUNDANT_PERMISSIONS, FILTER_REDUNDANT_PERMISSIONS_AND_PROCESS_LIMITS, FILTER_REDUNDANT_PERMISSIONS_AND_ROLES, FILTER_REDUNDANT_PERMISSIONS_AND_ROLES_AND_PROCESS_LIMITS, PROCESS_LIMITS. If null, then just get all permissions and process on the client.- Returns:
- processor
-
setPermissionProcessor
if processing permissions, you can filter out either redundant permissions (find best in set), or do that and filter out redundant roles (if flattening roles) (find best in set). This is the PermissionProcessor enum. e.g. FILTER_REDUNDANT_PERMISSIONS, FILTER_REDUNDANT_PERMISSIONS_AND_PROCESS_LIMITS, FILTER_REDUNDANT_PERMISSIONS_AND_ROLES, FILTER_REDUNDANT_PERMISSIONS_AND_ROLES_AND_PROCESS_LIMITS, PROCESS_LIMITS. If null, then just get all permissions and process on the client.- Parameters:
permissionProcessor1
-
-