Class WsRestAssignAttributesRequest
java.lang.Object
edu.internet2.middleware.grouper.ws.rest.attribute.WsRestAssignAttributesRequest
- All Implemented Interfaces:
WsRequestBean
request bean in body of rest request
-
Constructor Summary
Constructors -
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)operation to perform for attribute on owners, from enum AttributeAssignOperation assign_attr, add_attr, remove_attris the attribute assign type we are looking foroperation to perform for attribute value on attribute assignments: assign_value, add_value, remove_value, replace_valuesif replacing attributeDefNames, then these are the related attributeDefs, if blank, then just do allString[]if replacing attributeDefNames, then these are the related attributeDefTypes, 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 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 useString[]are the additional subject attributes (data) to return.are the values to assign, replace, remove, etc.if you know the assign ids you want, put them herefind assignments in these attribute def names (optional)for assignment on assignmentto query attributes assigned on attribute defswsOwnerGroupLookups are groups to assignto query attributes in "any" memberships which are on immediate or effective membershipsto query attributes on immediate membershipsare stems to assignare subjects to assignsee which http method this is supposed to be associated with, and override whatever was passed invoidsetActAsSubjectLookup(WsSubjectLookup actAsSubjectLookup1) if acting as someone elsevoidsetActions(String[] actions1) actions to query, or none to query all actionsvoidsetActionsToReplace(String[] actionsToReplace1) if replacing attributeDefNames, then these are the related actions, if blank, then just do allvoidsetAssignmentDisabledTime(String assignmentDisabledTime1) disabled time, or null for not disabledvoidsetAssignmentEnabledTime(String assignmentEnabledTime1) enabled time, or null for enabled nowvoidsetAssignmentNotes(String assignmentNotes1) notes on the assignment (optional)voidsetAttributeAssignOperation(String attributeAssignOperation1) operation to perform for attribute on owners, from enum AttributeAssignOperation assign_attr, add_attr, remove_attrvoidsetAttributeAssignType(String attributeAssignType1) is the attribute assign type we are looking forvoidsetAttributeAssignValueOperation(String attributeAssignValueOperation1) operation to perform for attribute value on attribute assignments: assign_value, add_value, remove_value, replace_valuesvoidsetAttributeDefsToReplace(WsAttributeDefLookup[] attributeDefsToReplace1) if replacing attributeDefNames, then these are the related attributeDefs, if blank, then just do allvoidsetAttributeDefTypesToReplace(String[] attributeDefTypesToReplace1) if replacing attributeDefNames, then these are the related attributeDefTypes, if blank, then just do allvoidsetClientVersion(String clientVersion1) is the version of the client.voidsetDelegatable(String delegatable1) really only for permissions, if the assignee can delegate to someone else.voidsetIncludeGroupDetail(String includeGroupDetail1) T or F as to if the group detail should be returnedvoidsetIncludeSubjectDetail(String includeSubjectDetail1) T|F, for if the extended subject information should be returned (anything more than just the id)voidoptional: reserved for future usevoidsetSubjectAttributeNames(String[] subjectAttributeNames1) are the additional subject attributes (data) to return.voidsetValues(WsAttributeAssignValue[] values1) are the values to assign, replace, remove, etc.voidsetWsAttributeAssignLookups(WsAttributeAssignLookup[] wsAttributeAssignLookups1) if you know the assign ids you want, put them herevoidsetWsAttributeDefNameLookups(WsAttributeDefNameLookup[] wsAttributeDefNameLookups1) find assignments in these attribute def names (optional)voidsetWsOwnerAttributeAssignLookups(WsAttributeAssignLookup[] wsOwnerAttributeAssignLookups1) for assignment on assignmentvoidsetWsOwnerAttributeDefLookups(WsAttributeDefLookup[] wsOwnerAttributeDefLookups1) to query attributes assigned on attribute defsvoidsetWsOwnerGroupLookups(WsGroupLookup[] wsOwnerGroupLookups1) wsOwnerGroupLookups are groups to assignvoidsetWsOwnerMembershipAnyLookups(WsMembershipAnyLookup[] wsOwnerMembershipAnyLookups1) to query attributes in "any" memberships which are on immediate or effective membershipsvoidsetWsOwnerMembershipLookups(WsMembershipLookup[] wsOwnerMembershipLookups1) to query attributes on immediate membershipsvoidsetWsOwnerStemLookups(WsStemLookup[] wsOwnerStemLookups1) are stems to assignvoidsetWsOwnerSubjectLookups(WsSubjectLookup[] wsOwnerSubjectLookups1) are subjects to assign
-
Constructor Details
-
WsRestAssignAttributesRequest
public WsRestAssignAttributesRequest()
-
-
Method Details
-
getAttributeDefsToReplace
if replacing attributeDefNames, then these are the related attributeDefs, if blank, then just do all- Returns:
- the attributeDefsToReplace
-
setAttributeDefsToReplace
if replacing attributeDefNames, then these are the related attributeDefs, if blank, then just do all- Parameters:
attributeDefsToReplace1- the attributeDefsToReplace to set
-
getActionsToReplace
if replacing attributeDefNames, then these are the related actions, if blank, then just do all- Returns:
- the actionsToReplace
-
setActionsToReplace
if replacing attributeDefNames, then these are the related actions, if blank, then just do all- Parameters:
actionsToReplace1- the actionsToReplace to set
-
getAttributeDefTypesToReplace
if replacing attributeDefNames, then these are the related attributeDefTypes, if blank, then just do all- Returns:
- the attributeDefTypesToReplace
-
setAttributeDefTypesToReplace
if replacing attributeDefNames, then these are the related attributeDefTypes, if blank, then just do all- Parameters:
attributeDefTypesToReplace1- the attributeDefTypesToReplace to set
-
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-
-
getAttributeAssignValueOperation
operation to perform for attribute value on attribute assignments: assign_value, add_value, remove_value, replace_values- Returns:
- operation
-
setAttributeAssignValueOperation
operation to perform for attribute value on attribute assignments: assign_value, add_value, remove_value, replace_values- Parameters:
attributeAssignValueOperation1-
-
getWsOwnerAttributeAssignLookups
for assignment on assignment- Returns:
- assignment lookup
-
setWsOwnerAttributeAssignLookups
public void setWsOwnerAttributeAssignLookups(WsAttributeAssignLookup[] wsOwnerAttributeAssignLookups1) for assignment on assignment- Parameters:
wsOwnerAttributeAssignLookups1-
-
getAttributeAssignOperation
operation to perform for attribute on owners, from enum AttributeAssignOperation assign_attr, add_attr, remove_attr- Returns:
- operation
-
setAttributeAssignOperation
operation to perform for attribute on owners, from enum AttributeAssignOperation assign_attr, add_attr, remove_attr- Parameters:
attributeAssignOperation1-
-
getValues
are the values to assign, replace, remove, etc. If removing, and id is specified, will only remove values with that id.- Returns:
- values
-
setValues
are the values to assign, replace, remove, etc. If removing, and id is specified, will only remove values with that id.- Parameters:
values1-
-
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:
-
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-
-
getAttributeAssignType
is the attribute assign type we are looking for- Returns:
- attribute assign type
-
setAttributeAssignType
is the attribute assign type we are looking for- 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-
-
getWsAttributeDefNameLookups
find assignments in these attribute def names (optional)- Returns:
- def name lookups
-
setWsAttributeDefNameLookups
find assignments in these attribute def names (optional)- Parameters:
wsAttributeDefNameLookups1-
-
getWsOwnerGroupLookups
wsOwnerGroupLookups are groups to assign- Returns:
- owner group lookups
-
setWsOwnerGroupLookups
wsOwnerGroupLookups are groups to assign- Parameters:
wsOwnerGroupLookups1-
-
getWsOwnerStemLookups
are stems to assign- Returns:
- are stems to assign
-
setWsOwnerStemLookups
are stems to assign- Parameters:
wsOwnerStemLookups1-
-
getWsOwnerSubjectLookups
are subjects to assign- Returns:
- subject
-
setWsOwnerSubjectLookups
are subjects to assign- Parameters:
wsOwnerSubjectLookups1-
-
getWsOwnerMembershipLookups
to query attributes on immediate memberships- Returns:
- owner memberships
-
setWsOwnerMembershipLookups
to query attributes on immediate memberships- Parameters:
wsOwnerMembershipLookups1-
-
getWsOwnerMembershipAnyLookups
to query attributes in "any" memberships which are on immediate or effective memberships- Returns:
- any memberships
-
setWsOwnerMembershipAnyLookups
to query attributes in "any" memberships which are on immediate or effective memberships- Parameters:
wsOwnerMembershipAnyLookups1-
-
getWsOwnerAttributeDefLookups
to query attributes assigned on attribute defs- Returns:
- attribute def
-
setWsOwnerAttributeDefLookups
to query attributes assigned on attribute defs- Parameters:
wsOwnerAttributeDefLookups1-
-
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-
-