Class WsDeleteMemberResult

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

public class WsDeleteMemberResult extends Object implements ResultMetadataHolder
Result of one subject being deleted from a group. The number of subjects will equal the number of subjects sent in to the method
  • Constructor Details

    • WsDeleteMemberResult

      public WsDeleteMemberResult()
  • Method Details

    • resultCode

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

      public void assignResultCode(WsDeleteMemberResult.WsDeleteMemberResultCode deleteMemberResultCode)
      assign the code from the enum
      Parameters:
      deleteMemberResultCode -
    • assignResultCodeException

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

      public void assignResultCodeSuccess(boolean hasImmediate, boolean hasEffective, boolean canRead)
      assign a success based on four situations based on hasImmediate and hasEffective
      Parameters:
      hasImmediate -
      hasEffective -
      canRead - if the caller cant read then dont tell them the membership status
    • processSubject

      public void processSubject(WsSubjectLookup wsSubjectLookup1, String[] subjectAttributeNames)
      assign the code from the enum
      Parameters:
      wsSubjectLookup1 -
      subjectAttributeNames -
    • processSubject

      public void processSubject(WsSubjectLookup wsSubjectLookup1, String[] subjectAttributeNames, boolean exceptionIfNotFound)
      assign the code from the enum
      Parameters:
      wsSubjectLookup1 -
      subjectAttributeNames -
      exceptionIfNotFound -
    • getResultMetadata

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

      public WsSubject getWsSubject()
      Returns:
      the wsSubject
    • setWsSubject

      public void setWsSubject(WsSubject wsSubject1)
      Parameters:
      wsSubject1 - the wsSubject to set
    • setResultMetadata

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