Class GcAssignPermissions
java.lang.Object
edu.internet2.middleware.grouperClient.api.GcAssignPermissions
class to run an assign permissions web service call
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddActionToReplace
(String action) actions to replaceaddAttributeAssignId
(String attributeAssignId) add a attribute assign id lookupaddAttributeDefIdIndexToReplace
(Long theAttributeDefIdIndex) set the attributeDef id index to replaceaddAttributeDefNameToReplace
(String theAttributeDefName) set the attributeDef name to replaceaddAttributeDefUuidToReplace
(String theAttributeDefUuid) set the attributeDef uuid to replaceadd a param to the listadd a param to the listaddPermissionDefNameIdIndex
(Long thePermissionDefNameIdIndex) set the permissionDefName id indexaddPermissionDefNameName
(String thePermissionDefNameName) set the permissionDefName nameaddPermissionDefNameUuid
(String thePermissionDefNameUuid) set the permissionDefName uuidaddRoleIdIndex
(Long theRoleIdIndex) set the role id indexaddRoleName
(String theRoleName) set the role nameaddRoleUuid
(String theRoleUuid) set the role uuidaddSubjectAttributeName
(String subjectAttributeName) addSubjectRoleLookup
(WsMembershipAnyLookup subjectRoleLookup) add a membership any lookupassignActAsSubject
(WsSubjectLookup theActAsSubject) assign the act as subject if anyassignAssignmentNotes
(String theAssignmentNotes) notes on the assignment (optional)assignClientVersion
(String theClientVersion) assign client versionassignDelegatable
(String theDelegatable) really only for permissions, if the assignee can delegate to someone else.assignDisabledTime
(Timestamp theDisabledTime) disabled time, or null for not disabledassignDisallowed
(Boolean theDisallowed) really only for permissions, if the assignment is a disallow to override an allow in a wider inherited permission resourceassignEnabledTime
(Timestamp theEnabledTime) enabled time, or null for enabledassignIncludeGroupDetail
(Boolean theIncludeGroupDetail) assign if the group detail should be includedassignIncludeSubjectDetail
(Boolean theIncludeSubjectDetail) if should include subject detailassignPermissionAssignOperation
(String thePermissionAssignOperation) operation to perform for permission on role or subject, from enum PermissionAssignOperation assign_permission, remove_permissionassignPermissionType
(String thePermissionType) is role or role_subject from the PermissionType enumassignWsEndpoint
(String theWsEndpoint) endpoint to grouper WS, e.g.assignWsPass
(String theWsPass) ws passassignWsPassEncrypted
(String theWsPassEncrypted) ws passassignWsPassFile
(File theFile) ws passassignWsPassFileEncrypted
(File theFile) ws passassignWsUser
(String theWsUser) ws userexecute()
execute the call and return the results.
-
Constructor Details
-
GcAssignPermissions
public GcAssignPermissions()
-
-
Method Details
-
assignWsEndpoint
endpoint to grouper WS, e.g. https://server.school.edu/grouper-ws/servicesRest- Parameters:
theWsEndpoint
-- Returns:
- this for chaining
-
assignWsUser
ws user- Parameters:
theWsUser
-- Returns:
- this for chaining
-
assignWsPass
ws pass- Parameters:
theWsPass
-- Returns:
- this for chaining
-
assignWsPassEncrypted
ws pass- Parameters:
theWsPass
-- Returns:
- this for chaining
-
assignWsPassFile
ws pass- Parameters:
theWsPass
-- Returns:
- this for chaining
-
assignWsPassFileEncrypted
ws pass- Parameters:
theWsPass
-- Returns:
- this for chaining
-
assignPermissionType
is role or role_subject from the PermissionType enum- Parameters:
thePermissionType
-- Returns:
- this for chaining
-
addAction
- Parameters:
action
-- Returns:
- this for chaining
-
assignClientVersion
assign client version- Parameters:
theClientVersion
-- Returns:
- this for chaining
-
addRoleName
set the role name- Parameters:
theRoleName
-- Returns:
- this for chaining
-
addRoleUuid
set the role uuid- Parameters:
theRoleUuid
-- Returns:
- this for chaining
-
addRoleIdIndex
set the role id index- Parameters:
theRoleIdIndex
-- Returns:
- this for chaining
-
addParam
add a param to the list- Parameters:
paramName
-paramValue
-- Returns:
- this for chaining
-
addParam
add a param to the list- Parameters:
wsParam
-- Returns:
- this for chaining
-
assignActAsSubject
assign the act as subject if any- Parameters:
theActAsSubject
-- Returns:
- this for chaining
-
addSubjectRoleLookup
add a membership any lookup- Parameters:
subjectRoleLookup
-- Returns:
- this for chaining
-
addAttributeAssignId
add a attribute assign id lookup- Parameters:
attributeAssignId
- id- Returns:
- this for chaining
-
addSubjectAttributeName
- Parameters:
subjectAttributeName
-- Returns:
- this for chaining
-
assignIncludeGroupDetail
assign if the group detail should be included- Parameters:
theIncludeGroupDetail
-- Returns:
- this for chaining
-
assignIncludeSubjectDetail
if should include subject detail- Parameters:
theIncludeSubjectDetail
-- Returns:
- this for chaining
-
execute
execute the call and return the results. If there is a problem calling the service, an exception will be thrown- Returns:
- the results
-
addPermissionDefNameName
set the permissionDefName name- Parameters:
thePermissionDefNameName
-- Returns:
- this for chaining
-
addPermissionDefNameUuid
set the permissionDefName uuid- Parameters:
thePermissionDefNameUuid
-- Returns:
- this for chaining
-
addPermissionDefNameIdIndex
set the permissionDefName id index- Parameters:
thePermissionDefNameIdIndex
-- Returns:
- this for chaining
-
assignDisabledTime
disabled time, or null for not disabled- Parameters:
theDisabledTime
-- Returns:
- this for chaining
-
assignEnabledTime
enabled time, or null for enabled- Parameters:
theEnabledTime
-- Returns:
- this for chaining
-
assignAssignmentNotes
notes on the assignment (optional)- Parameters:
theAssignmentNotes
-- Returns:
- this for chaining
-
assignPermissionAssignOperation
operation to perform for permission on role or subject, from enum PermissionAssignOperation assign_permission, remove_permission- Parameters:
thePermissionAssignOperation
-- Returns:
- this for chaining
-
assignDelegatable
really only for permissions, if the assignee can delegate to someone else. TRUE|FALSE|GRANT- Parameters:
theDelegatable
-- Returns:
- this for chaining
-
assignDisallowed
really only for permissions, if the assignment is a disallow to override an allow in a wider inherited permission resource- Parameters:
theDisallowed
-- Returns:
- this for chaining
-
addActionToReplace
actions to replace- Parameters:
action
-- Returns:
- this for chaining
-
addAttributeDefNameToReplace
set the attributeDef name to replace- Parameters:
theAttributeDefName
-- Returns:
- this for chaining
-
addAttributeDefUuidToReplace
set the attributeDef uuid to replace- Parameters:
theAttributeDefUuid
-- Returns:
- this for chaining
-
addAttributeDefIdIndexToReplace
set the attributeDef id index to replace- Parameters:
theAttributeDefIdIndex
-- Returns:
- this for chaining
-