Class WsHasMemberResult

java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsHasMemberResult
All Implemented Interfaces:
ResultMetadataHolder

public class WsHasMemberResult extends Object implements ResultMetadataHolder
Result of seeing if one subject is a member of a group. The number of results will equal the number of subjects sent in to the method
  • Constructor Details

    • WsHasMemberResult

      public WsHasMemberResult()
      empty constructor
    • WsHasMemberResult

      public WsHasMemberResult(WsSubjectLookup wsSubjectLookup, String[] subjectAttributeNamesToRetrieve)
      result based on a subject lookup. Might set stat codes meaning abort mission
      Parameters:
      wsSubjectLookup -
      subjectAttributeNamesToRetrieve -
  • Method Details

    • getWsSubject

      public WsSubject getWsSubject()
      Returns:
      the wsSubject
    • setWsSubject

      public void setWsSubject(WsSubject wsSubjectResult1)
      Parameters:
      wsSubjectResult1 - the wsSubject to set
    • assignResultCode

      public void assignResultCode(WsHasMemberResult.WsHasMemberResultCode hasMemberResultCode)
      assign the code from the enum
      Parameters:
      hasMemberResultCode -
    • assignResultCodeException

      public void assignResultCodeException(Exception e, WsSubjectLookup wsSubjectLookup)
      assign a resultcode of exception, and process/log the exception
      Parameters:
      e -
      wsSubjectLookup -
    • getResultMetadata

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

      convert string to result code
      Returns:
      the result code
    • setResultMetadata

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