Class HooksExternalSubjectBean

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

public class HooksExternalSubjectBean extends HooksBean
bean to hold objects for attribute def name low level hooks
  • Field Details

    • FIELD_AUTOADD_GROUPS

      public static final String FIELD_AUTOADD_GROUPS
      constant for field name for: autoaddGroups
      See Also:
    • FIELD_EXTERNAL_SUBJECT

      public static final String FIELD_EXTERNAL_SUBJECT
      constant for field name for: externalSubject
      See Also:
    • FIELD_EXTERNAL_SUBJECT_ATTRIBUTES

      public static final String FIELD_EXTERNAL_SUBJECT_ATTRIBUTES
      constant for field name for: externalSubjectAttributes
      See Also:
    • FIELD_EXTERNAL_SUBJECT_INVITE_NAME

      public static final String FIELD_EXTERNAL_SUBJECT_INVITE_NAME
      constant for field name for: externalSubjectInviteName
      See Also:
    • FIELD_FROM_RECALC_DAEMON

      public static final String FIELD_FROM_RECALC_DAEMON
      constant for field name for: fromRecalcDaemon
      See Also:
    • FIELD_INSERT

      public static final String FIELD_INSERT
      constant for field name for: insert
      See Also:
    • FIELD_UPDATE

      public static final String FIELD_UPDATE
      constant for field name for: update
      See Also:
  • Constructor Details

    • HooksExternalSubjectBean

      public HooksExternalSubjectBean()
    • HooksExternalSubjectBean

      public HooksExternalSubjectBean(ExternalSubject theExternalSubject, boolean isInsert, boolean isUpdate, Set<ExternalSubjectAttribute> theExternalSubjectAttributes, String theExternalSubjectInviteName, boolean theAutoAddGroups, boolean theFromDaemon)
      call this when editing the external subject, insert or udpate
      Parameters:
      theExternalSubject -
      isInsert -
      isUpdate -
      theExternalSubjectAttributes -
      theExternalSubjectInviteName -
      theAutoAddGroups -
      theFromDaemon -
  • Method Details

    • isAutoaddGroups

      public boolean isAutoaddGroups()
      if should autoadd groups
      Returns:
      the autoaddGroups
    • setAutoaddGroups

      public void setAutoaddGroups(boolean autoaddGroups1)
      if should autoadd groups
      Parameters:
      autoaddGroups1 - the autoaddGroups to set
    • isFromRecalcDaemon

      public boolean isFromRecalcDaemon()
      if from daemon
      Returns:
      the fromDaemon
    • setFromRecalcDaemon

      public void setFromRecalcDaemon(boolean fromDaemon1)
      if from daemon
      Parameters:
      fromDaemon1 - the fromDaemon to set
    • getExternalSubject

      public ExternalSubject getExternalSubject()
      object being affected
      Returns:
      external subject
    • setExternalSubject

      public void setExternalSubject(ExternalSubject theExternalSubject)
      object being affected
      Parameters:
      theExternalSubject -
    • getExternalSubjectAttributes

      public Set<ExternalSubjectAttribute> getExternalSubjectAttributes()
      the attributes that will be saved with the subject
      Returns:
      the attributes
    • setExternalSubjectAttributes

      public void setExternalSubjectAttributes(Set<ExternalSubjectAttribute> theExternalSubjectAttributes)
      the attributes that will be saved with the subject
      Parameters:
      theExternalSubjectAttributes -
    • isInsert

      public boolean isInsert()
      if this is an insert
      Returns:
      if insert
    • setInsert

      public void setInsert(boolean insert1)
      if this is an insert
      Parameters:
      insert1 -
    • isUpdate

      public boolean isUpdate()
      if this is an update
      Returns:
      if udpate
    • setUpdate

      public void setUpdate(boolean update1)
      if this is an update
      Parameters:
      update1 -
    • getExternalSubjectInviteName

      public String getExternalSubjectInviteName()
      external subject invite name, in url to have different hooks
      Returns:
      name
    • setExternalSubjectInviteName

      public void setExternalSubjectInviteName(String externalSubjectInviteName1)
      external subject invite name, in url to have different hooks
      Parameters:
      externalSubjectInviteName1 -
    • clone

      public HooksExternalSubjectBean 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: