Class WsAssignAttributesResults

java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsAssignAttributesResults
All Implemented Interfaces:
WsResponseBean, ResultMetadataHolder

public class WsAssignAttributesResults extends Object implements WsResponseBean, ResultMetadataHolder
 results for assigning attributes call.
 
 result code:
 code of the result for this attribute assignment overall
 SUCCESS: means everything ok
 INSUFFICIENT_PRIVILEGES: problem with some input where privileges are not sufficient
 INVALID_QUERY: bad inputs
 EXCEPTION: something bad happened
 
  • Constructor Details

    • WsAssignAttributesResults

      public WsAssignAttributesResults()
  • Method Details

    • getWsAttributeDefs

      public WsAttributeDef[] getWsAttributeDefs()
      attribute def references in the assignments or inputs (and able to be read)
      Returns:
      attribute defs
    • setWsAttributeDefs

      public void setWsAttributeDefs(WsAttributeDef[] wsAttributeDefs1)
      attribute def references in the assignments or inputs (and able to be read)
      Parameters:
      wsAttributeDefs1 -
    • getWsAttributeDefNames

      public WsAttributeDefName[] getWsAttributeDefNames()
      attribute def names referenced in the assignments or inputs (and able to read)
      Returns:
      attribute def names
    • setWsAttributeDefNames

      public void setWsAttributeDefNames(WsAttributeDefName[] wsAttributeDefNames1)
      attribute def names referenced in the assignments or inputs (and able to read)
      Parameters:
      wsAttributeDefNames1 -
    • getWsAttributeAssignResults

      public WsAssignAttributeResult[] getWsAttributeAssignResults()
      the assignment results being queried
      Returns:
      the assignments being queried
    • setWsAttributeAssignResults

      public void setWsAttributeAssignResults(WsAssignAttributeResult[] wsAttributeAssignResults1)
      the assignment results being queried
      Parameters:
      wsAttributeAssignResults1 -
    • assignResultCode

      public void assignResultCode(WsAssignAttributesResults.WsAssignAttributesResultsCode getAttributeAssignmentsResultCode)
      assign the code from the enum
      Parameters:
      getAttributeAssignmentsResultCode -
    • assignResultCodeException

      public void assignResultCodeException(WsAssignAttributesResults.WsAssignAttributesResultsCode wsGetAttributeAssignmentsResultsCodeOverride, String theError, Exception e)
      prcess an exception, log, etc
      Parameters:
      wsGetAttributeAssignmentsResultsCodeOverride -
      theError -
      e -
    • getSubjectAttributeNames

      public String[] getSubjectAttributeNames()
      attributes of subjects returned, in same order as the data
      Returns:
      the attributeNames
    • setSubjectAttributeNames

      public void setSubjectAttributeNames(String[] attributeNamesa)
      attributes of subjects returned, in same order as the data
      Parameters:
      attributeNamesa - the attributeNames to set
    • getResultMetadata

      public WsResultMeta getResultMetadata()
      Description copied from interface: WsResponseBean
      get the result metadata
      Specified by:
      getResultMetadata in interface ResultMetadataHolder
      Specified by:
      getResultMetadata in interface WsResponseBean
      Returns:
      the resultMetadata
    • getWsStems

      public WsStem[] getWsStems()
      stems that are in the results
      Returns:
      stems
    • setWsStems

      public void setWsStems(WsStem[] wsStems1)
      stems that are in the results
      Parameters:
      wsStems1 -
    • getResponseMetadata

      public WsResponseMeta getResponseMetadata()
      Description copied from interface: WsResponseBean
      get the response metadata
      Specified by:
      getResponseMetadata in interface WsResponseBean
      Returns:
      the response metadata
      See Also:
    • setResultMetadata

      public void setResultMetadata(WsResultMeta resultMetadata1)
      Parameters:
      resultMetadata1 - the resultMetadata to set
    • setResponseMetadata

      public void setResponseMetadata(WsResponseMeta responseMetadata1)
      Parameters:
      responseMetadata1 - the responseMetadata to set
    • getWsGroups

      public WsGroup[] getWsGroups()
      Returns:
      the wsGroups
    • getWsMemberships

      public WsMembership[] getWsMemberships()
      results for each assignment sent in
      Returns:
      the results
    • getWsSubjects

      public WsSubject[] getWsSubjects()
      subjects that are in the results
      Returns:
      the subjects
    • setWsGroups

      public void setWsGroups(WsGroup[] wsGroup1)
      Parameters:
      wsGroup1 - the wsGroups to set
    • setWsMemberships

      public void setWsMemberships(WsMembership[] results1)
      results for each assignment sent in
      Parameters:
      results1 - the results to set
    • setWsSubjects

      public void setWsSubjects(WsSubject[] wsSubjects1)
      subjects that are in the results
      Parameters:
      wsSubjects1 -
    • assignResult

      public void assignResult(List<WsAssignAttributeResult> attributeAssignResults, String[] theSubjectAttributeNames)
      assign results
      Parameters:
      attributeAssignResults -
      theSubjectAttributeNames -
    • sortResults

      public void sortResults()
      sort the results by assignment
    • fillInAttributeDefs

      public void fillInAttributeDefs(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 results
      Parameters:
      attributeDefIds -
    • fillInGroups

      public void fillInGroups(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 results
      Parameters:
      groupIds -
      includeGroupDetail -
    • fillInStems

      public void fillInStems(Set<String> stemIds)
      pass in the stem ids that were found by inputs, and add the stem id found by the attribute assign results
      Parameters:
      stemIds -
    • fillInMemberships

      public void fillInMemberships(Set<String> membershipIds)
      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

      public void fillInAttributeDefNames(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 results
      Parameters:
      attributeDefNameIds -