Class GcAssignAttributes
java.lang.Object
edu.internet2.middleware.grouperClient.api.GcAssignAttributes
class to run an assign attributes 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 replaceaddAttributeDefNameIdIndex
(Long theAttributeDefNameIdIndex) set the attributeDefName id indexaddAttributeDefNameName
(String theAttributeDefNameName) set the attributeDefName nameaddAttributeDefNameToReplace
(String theAttributeDefName) set the attributeDef name to replaceaddAttributeDefNameUuid
(String theAttributeDefNameUuid) set the attributeDefName uuidaddAttributeDefTypeToReplace
(String attributeDefTypeToReplace) attribute def types to replaceaddAttributeDefUuidToReplace
(String theAttributeDefUuid) set the attributeDef uuid to replaceaddOwnerAttributeAssignLookup
(WsAttributeAssignLookup wsAttributeAssignLookup) for assignments on assignmentsaddOwnerAttributeDefIdIndex
(Long theAttributeDefIdIndex) set the attribute def id indexaddOwnerAttributeDefName
(String theAttributeDefName) set the attribute def nameaddOwnerAttributeDefUuid
(String theAttributeDefUuid) set the attribute def uuidaddOwnerGroupIdIndex
(Long theGroupIdIndex) set the group id indexaddOwnerGroupName
(String theGroupName) set the group nameaddOwnerGroupUuid
(String theGroupUuid) set the group uuidaddOwnerMembershipAnyLookup
(WsMembershipAnyLookup wsMembershipAnyLookup) add a membership any lookupaddOwnerMembershipId
(String membershipId) add a membership id lookup for owneraddOwnerStemIdIndex
(Long theStemIdIndex) set the stem id indexaddOwnerStemName
(String theStemName) set the stem nameaddOwnerStemUuid
(String theStemUuid) set the stem uuidaddOwnerSubjectLookup
(WsSubjectLookup wsSubjectLookup) set the subject lookupadd a param to the listadd a param to the listaddSubjectAttributeName
(String subjectAttributeName) addValue
(WsAttributeAssignValue wsAttributeAssignValue) add a membership any lookupassignActAsSubject
(WsSubjectLookup theActAsSubject) assign the act as subject if anyassignAssignmentNotes
(String theAssignmentNotes) notes on the assignment (optional)assignAttributeAssignOperation
(String theAttributeAssignOperation) operation to perform for attribute on owners, from enum AttributeAssignOperation assign_attr, add_attr, remove_attrassignAttributeAssignType
(String theAttributeAssignType) Type of owner, from enum AttributeAssignType, e.g.assignAttributeAssignValueOperation
(String theAttributeAssignValueOperation) operation to perform for attribute value on attribute assignments: assign_value, add_value, remove_value, replace_valuesassignClientVersion
(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 disabledassignEnabledTime
(Timestamp theEnabledTime) enabled time, or null for enabledassignIncludeGroupDetail
(Boolean theIncludeGroupDetail) assign if the group detail should be includedassignIncludeSubjectDetail
(Boolean theIncludeSubjectDetail) if should include subject detailassignWsEndpoint
(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
-
GcAssignAttributes
public GcAssignAttributes()
-
-
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
-
assignAttributeAssignType
Type of owner, from enum AttributeAssignType, e.g. group, member, stem, any_mem, imm_mem, attr_def, group_asgn, mem_asgn, stem_asgn, any_mem_asgn, imm_mem_asgn, attr_def_asgn- Parameters:
theAttributeAssignType
-- Returns:
- this for chaining
-
addAction
- Parameters:
action
-- Returns:
- this for chaining
-
assignClientVersion
assign client version- Parameters:
theClientVersion
-- Returns:
- this for chaining
-
addOwnerGroupName
set the group name- Parameters:
theGroupName
-- Returns:
- this for chaining
-
addOwnerGroupIdIndex
set the group id index- Parameters:
theGroupIdIndex
-- Returns:
- this for chaining
-
addOwnerSubjectLookup
set the subject lookup- Parameters:
wsSubjectLookup
-- Returns:
- this for chaining
-
addOwnerGroupUuid
set the group uuid- Parameters:
theGroupUuid
-- 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
-
addOwnerMembershipAnyLookup
add a membership any lookup- Parameters:
wsMembershipAnyLookup
-- Returns:
- this for chaining
-
addOwnerMembershipId
add a membership id lookup for owner- Parameters:
membershipId
- id (uuid or immediate)- 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
-
addOwnerStemName
set the stem name- Parameters:
theStemName
-- Returns:
- this for chaining
-
addOwnerStemUuid
set the stem uuid- Parameters:
theStemUuid
-- Returns:
- this for chaining
-
addOwnerStemIdIndex
set the stem id index- Parameters:
theStemIdIndex
-- Returns:
- this for chaining
-
addOwnerAttributeDefName
set the attribute def name- Parameters:
theAttributeDefName
-- Returns:
- this for chaining
-
addOwnerAttributeDefUuid
set the attribute def uuid- Parameters:
theAttributeDefUuid
-- Returns:
- this for chaining
-
addOwnerAttributeDefIdIndex
set the attribute def id index- Parameters:
theAttributeDefIdIndex
-- Returns:
- this for chaining
-
addAttributeDefNameName
set the attributeDefName name- Parameters:
theAttributeDefNameName
-- Returns:
- this for chaining
-
addAttributeDefNameUuid
set the attributeDefName uuid- Parameters:
theAttributeDefNameUuid
-- Returns:
- this for chaining
-
addAttributeDefNameIdIndex
set the attributeDefName id index- Parameters:
theAttributeDefNameIdIndex
-- 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
-
assignAttributeAssignOperation
operation to perform for attribute on owners, from enum AttributeAssignOperation assign_attr, add_attr, remove_attr- Parameters:
theAttributeAssignOperation
-- Returns:
- this for chaining
-
assignAttributeAssignValueOperation
public GcAssignAttributes assignAttributeAssignValueOperation(String theAttributeAssignValueOperation) operation to perform for attribute value on attribute assignments: assign_value, add_value, remove_value, replace_values- Parameters:
theAttributeAssignValueOperation
-- 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
-
addValue
add a membership any lookup- Parameters:
wsAttributeAssignValue
-- Returns:
- this for chaining
-
addOwnerAttributeAssignLookup
public GcAssignAttributes addOwnerAttributeAssignLookup(WsAttributeAssignLookup wsAttributeAssignLookup) for assignments on assignments- Parameters:
wsAttributeAssignLookup
-- 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
-
addActionToReplace
actions to replace- Parameters:
action
-- Returns:
- this for chaining
-
addAttributeDefTypeToReplace
attribute def types to replace- Parameters:
attributeDefTypeToReplace
-- Returns:
- this for chaining
-