Class HooksMemberChangeSubjectBean

java.lang.Object
edu.internet2.middleware.grouper.hooks.beans.HooksBean
edu.internet2.middleware.grouper.hooks.beans.HooksMemberChangeSubjectBean
All Implemented Interfaces:
GrouperCloneable

public class HooksMemberChangeSubjectBean extends HooksBean
bean to hold objects for member change subject operation
  • Field Details

    • FIELD_DELETING_OLD_MEMBER

      public static final String FIELD_DELETING_OLD_MEMBER
      constant for field name for: deletingOldMember
      See Also:
    • FIELD_MEMBER

      public static final String FIELD_MEMBER
      constant for field name for: member
      See Also:
    • FIELD_NEW_MEMBER_DIDNT_EXIST

      public static final String FIELD_NEW_MEMBER_DIDNT_EXIST
      constant for field name for: newMemberDidntExist
      See Also:
    • FIELD_NEW_SUBJECT

      public static final String FIELD_NEW_SUBJECT
      constant for field name for: newSubject
      See Also:
    • FIELD_OLD_SUBJECT_ID

      public static final String FIELD_OLD_SUBJECT_ID
      constant for field name for: oldSubjectId
      See Also:
    • FIELD_OLD_SUBJECT_SOURCE_ID

      public static final String FIELD_OLD_SUBJECT_SOURCE_ID
      constant for field name for: oldSubjectSourceId
      See Also:
  • Constructor Details

    • HooksMemberChangeSubjectBean

      public HooksMemberChangeSubjectBean()
    • HooksMemberChangeSubjectBean

      public HooksMemberChangeSubjectBean(Member theMember, Subject theNewSubject, String theOldSubjectId, String theOldSubjectSourceId, boolean theDeletingOldMember, boolean theNewMemberDidntExist)
      construct
      Parameters:
      theMember -
      theNewSubject -
      theOldSubjectId -
      theOldSubjectSourceId -
      theDeletingOldMember -
      theNewMemberDidntExist -
  • Method Details

    • getMember

      public Member getMember()
      object being inserted
      Returns:
      the Member
    • getNewSubject

      public Subject getNewSubject()
      subject that is being changed to
      Returns:
      the new subject
    • clone

      deep clone the fields in this object
      Specified by:
      clone in interface GrouperCloneable
      Specified by:
      clone in class HooksBean
      Returns:
      the clone of the object
      See Also:
    • getOldSubjectId

      public String getOldSubjectId()
      old subject info
      Returns:
      old subject
    • getOldSubjectSourceId

      public String getOldSubjectSourceId()
      old subject info
      Returns:
      old subject
    • isDeletingOldMember

      public boolean isDeletingOldMember()
      if we are deleting the old member object (only applicable if new member exists)
      Returns:
      true/false
    • isNewMemberDidntExist

      public boolean isNewMemberDidntExist()
      if the new member didnt exist, then just put the new subject in the old member
      Returns:
      true/false