Class WsGetAttributeAssignmentsResults
java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsGetAttributeAssignmentsResults
- All Implemented Interfaces:
WsResponseBean,ResultMetadataHolder
public class WsGetAttributeAssignmentsResults
extends Object
implements WsResponseBean, ResultMetadataHolder
results for the get attributeAssignments call. result code: code of the result for this attribute assignment overall SUCCESS: means everything ok INSUFFICIENT_PRIVILEGES: not allowed INVALID_QUERY: bad inputs EXCEPTION: something bad happened
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumresult code of a request. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassignResult(Set<AttributeAssign> attributeAssigns, String[] theSubjectAttributeNames) convert assignments to ws assignmentsvoidassignResultCode(WsGetAttributeAssignmentsResults.WsGetAttributeAssignmentsResultsCode getAttributeAssignmentsResultCode) assign the code from the enumvoidassignResultCodeException(WsGetAttributeAssignmentsResults.WsGetAttributeAssignmentsResultsCode wsGetAttributeAssignmentsResultsCodeOverride, String theError, Exception e) prcess an exception, log, etcvoidfillInAttributeDefNames(Set<String> attributeDefNameIds) pass in the attribute def name ids that were found by inputs, and add the attribute def name ids found by the attribute assign resultsvoidfillInAttributeDefs(Set<String> attributeDefIds) pass in the attribute def ids that were found by inputs, and add the attribute def ids found by the attribute assign resultsvoidfillInGroups(Set<String> groupIds, boolean includeGroupDetail) pass in the group ids that were found by inputs, and add the group id found by the attribute assign resultsvoidfillInMemberships(Set<String> membershipIds) pass in the stem ids that were found by inputs, and add the stem id found by the attribute assign resultsvoidfillInStems(Set<String> stemIds) pass in the stem ids that were found by inputs, and add the stem id found by the attribute assign resultsvoidfillInSubjects(WsSubjectLookup[] subjectLookups, Set<String> extraMemberIds, boolean includeSubjectDetail, String[] theSubjectAttributeNames) pass in the subject lookups that were found by inputs, and add the subject ids found by the attribute assign resultsget the response metadataget the result metadataString[]attributes of subjects returned, in same order as the datathe assignments being queriedattribute def names referenced in the assignments or inputs (and able to read)attribute def references in the assignments or inputs (and able to be read)WsGroup[]results for each assignment sent inWsStem[]stems that are in the resultssubjects that are in the resultsvoidsetResponseMetadata(WsResponseMeta responseMetadata1) voidsetResultMetadata(WsResultMeta resultMetadata1) voidsetSubjectAttributeNames(String[] attributeNamesa) attributes of subjects returned, in same order as the datavoidsetWsAttributeAssigns(WsAttributeAssign[] wsAttributeAssigns1) the assignments being queriedvoidsetWsAttributeDefNames(WsAttributeDefName[] wsAttributeDefNames1) attribute def names referenced in the assignments or inputs (and able to read)voidsetWsAttributeDefs(WsAttributeDef[] wsAttributeDefs1) attribute def references in the assignments or inputs (and able to be read)voidsetWsGroups(WsGroup[] wsGroup1) voidsetWsMemberships(WsMembership[] results1) results for each assignment sent invoidsetWsStems(WsStem[] wsStems1) stems that are in the resultsvoidsetWsSubjects(WsSubject[] wsSubjects1) subjects that are in the resultsvoidsort the assignments by def, name, etc
-
Constructor Details
-
WsGetAttributeAssignmentsResults
public WsGetAttributeAssignmentsResults()
-
-
Method Details
-
getWsAttributeDefs
attribute def references in the assignments or inputs (and able to be read)- Returns:
- attribute defs
-
setWsAttributeDefs
attribute def references in the assignments or inputs (and able to be read)- Parameters:
wsAttributeDefs1-
-
getWsAttributeDefNames
attribute def names referenced in the assignments or inputs (and able to read)- Returns:
- attribute def names
-
setWsAttributeDefNames
attribute def names referenced in the assignments or inputs (and able to read)- Parameters:
wsAttributeDefNames1-
-
getWsAttributeAssigns
the assignments being queried- Returns:
- the assignments being queried
-
setWsAttributeAssigns
the assignments being queried- Parameters:
wsAttributeAssigns1-
-
assignResultCode
public void assignResultCode(WsGetAttributeAssignmentsResults.WsGetAttributeAssignmentsResultsCode getAttributeAssignmentsResultCode) assign the code from the enum- Parameters:
getAttributeAssignmentsResultCode-
-
assignResultCodeException
public void assignResultCodeException(WsGetAttributeAssignmentsResults.WsGetAttributeAssignmentsResultsCode wsGetAttributeAssignmentsResultsCodeOverride, String theError, Exception e) prcess an exception, log, etc- Parameters:
wsGetAttributeAssignmentsResultsCodeOverride-theError-e-
-
getSubjectAttributeNames
attributes of subjects returned, in same order as the data- Returns:
- the attributeNames
-
setSubjectAttributeNames
attributes of subjects returned, in same order as the data- Parameters:
attributeNamesa- the attributeNames to set
-
getResultMetadata
Description copied from interface:WsResponseBeanget the result metadata- Specified by:
getResultMetadatain interfaceResultMetadataHolder- Specified by:
getResultMetadatain interfaceWsResponseBean- Returns:
- the resultMetadata
-
getWsStems
stems that are in the results- Returns:
- stems
-
setWsStems
stems that are in the results- Parameters:
wsStems1-
-
getResponseMetadata
Description copied from interface:WsResponseBeanget the response metadata- Specified by:
getResponseMetadatain interfaceWsResponseBean- Returns:
- the response metadata
- See Also:
-
setResultMetadata
- Parameters:
resultMetadata1- the resultMetadata to set
-
setResponseMetadata
- Parameters:
responseMetadata1- the responseMetadata to set
-
getWsGroups
- Returns:
- the wsGroups
-
getWsMemberships
results for each assignment sent in- Returns:
- the results
-
getWsSubjects
subjects that are in the results- Returns:
- the subjects
-
setWsGroups
- Parameters:
wsGroup1- the wsGroups to set
-
setWsMemberships
results for each assignment sent in- Parameters:
results1- the results to set
-
setWsSubjects
subjects that are in the results- Parameters:
wsSubjects1-
-
assignResult
convert assignments to ws assignments- Parameters:
attributeAssigns-theSubjectAttributeNames-
-
sortResults
public void sortResults()sort the assignments by def, name, etc -
fillInAttributeDefs
pass in the attribute def ids that were found by inputs, and add the attribute def ids found by the attribute assign results- Parameters:
attributeDefIds-
-
fillInGroups
pass in the group ids that were found by inputs, and add the group id found by the attribute assign results- Parameters:
groupIds-includeGroupDetail-
-
fillInStems
pass in the stem ids that were found by inputs, and add the stem id found by the attribute assign results- Parameters:
stemIds-
-
fillInMemberships
pass in the stem ids that were found by inputs, and add the stem id found by the attribute assign results- Parameters:
membershipIds-
-
fillInSubjects
public void fillInSubjects(WsSubjectLookup[] subjectLookups, Set<String> extraMemberIds, boolean includeSubjectDetail, String[] theSubjectAttributeNames) pass in the subject lookups that were found by inputs, and add the subject ids found by the attribute assign results- Parameters:
subjectLookups-extraMemberIds-includeSubjectDetail-theSubjectAttributeNames-
-
fillInAttributeDefNames
pass in the attribute def name ids that were found by inputs, and add the attribute def name ids found by the attribute assign results- Parameters:
attributeDefNameIds-
-