Class Group

java.lang.Object
org.apache.cayenne.PersistentObject
org.apache.cayenne.BaseDataObject
org.apache.cayenne.CayenneDataObject
All Implemented Interfaces:
IEntity, Serializable, org.apache.cayenne.DataObject, org.apache.cayenne.Persistent, org.apache.cayenne.Validating

public class Group extends _Group
Provides a group entity that users can belong to. Groups are mainly used for notification.
See Also:
  • Field Details

    • RECEIVE_PROMOTION_ALERTS

      public static final String RECEIVE_PROMOTION_ALERTS
      The pre-defined Promotion Alerts group
      See Also:
    • RECEIVE_DELIVERY_ESCALATION_ALERTS

      public static final String RECEIVE_DELIVERY_ESCALATION_ALERTS
      The pre-defined Submission Alerts group
      See Also:
    • RECEIVE_SUBMISSION_UPDATES

      public static final String RECEIVE_SUBMISSION_UPDATES
      The pre-defined Submission Update group
      See Also:
    • RECEIVE_SYSTEM_ALERTS

      public static final String RECEIVE_SYSTEM_ALERTS
      The pre-defined System Alerts group
      See Also:
    • RECEIVE_SYSTEM_ALERTS_DATABASE_INTEGRITY

      public static final String RECEIVE_SYSTEM_ALERTS_DATABASE_INTEGRITY
      The pre-defined System Alerts group
      See Also:
    • RECEIVE_SYSTEM_ALERTS_DELIVERY

      public static final String RECEIVE_SYSTEM_ALERTS_DELIVERY
      The pre-defined System Alerts group
      See Also:
    • RECEIVE_SYSTEM_ALERTS_RECEIPTS

      public static final String RECEIVE_SYSTEM_ALERTS_RECEIPTS
      The pre-defined System Alerts group
      See Also:
    • RECEIVE_USER_ACCOUNT_CREATION_ALERTS

      public static final String RECEIVE_USER_ACCOUNT_CREATION_ALERTS
      The pre-defined User Account Creation Alerts group
      See Also:
    • RECEIVE_PAYMENT_ALERTS

      public static final String RECEIVE_PAYMENT_ALERTS
      The pre-defined Payment Alerts group
      See Also:
    • GROUP_TYPE_ALERT

      public static final String GROUP_TYPE_ALERT
      The 'Alert' group type.
      See Also:
    • GROUP_TYPE_FORM

      public static final String GROUP_TYPE_FORM
      The 'Form' group type.
      See Also:
    • GROUP_TYPE_JOB

      public static final String GROUP_TYPE_JOB
      The 'Job' group type.
      See Also:
    • GROUP_TYPES

      public static final List<String> GROUP_TYPES
      The valid group types.
  • Constructor Details

    • Group

      public Group()
  • Method Details

    • isFormGroup

      public boolean isFormGroup()
      Return whether this group is of type GROUP_TYPE_FORM
      Returns:
      whether this group is a form group
    • isJobGroup

      public boolean isJobGroup()
      Return whether this group is of type GROUP_TYPE_JOB
      Returns:
      whether this group is a form group
      Since:
      17.10.0