Enum NotifAction

    • Enum Constant Detail

      • CREATE

        public static final NotifAction CREATE
        A contribution has been created.
      • UPDATE

        public static final NotifAction UPDATE
        A contribution has been updated.
      • DELETE

        public static final NotifAction DELETE
        A contribution has been deleted.
      • REPORT

        public static final NotifAction REPORT
        A report of information about a contribution. For example, a request for validation of a contribution in order to be published.
      • COMMENT

        public static final NotifAction COMMENT
        A contribution has been commented.
      • SUSPEND

        public static final NotifAction SUSPEND
        The publishing of a contribution has been suspended.
      • PENDING_VALIDATION

        public static final NotifAction PENDING_VALIDATION
        A contribution is in validation pending.
      • REFUSE

        public static final NotifAction REFUSE
        The publishing of a contribution has been refused.
      • VALIDATE

        public static final NotifAction VALIDATE
        The publishing of a contribution has been validated.
      • RESPONSE

        public static final NotifAction RESPONSE
        In waiting of response.
      • CLASSIFIED

        public static final NotifAction CLASSIFIED
        A contribution has been classified.
      • DECLASSIFIED

        public static final NotifAction DECLASSIFIED
        A contribution has been unclassified.
      • PUBLISHED

        public static final NotifAction PUBLISHED
        A contribution has been published.
      • POPULATED

        public static final NotifAction POPULATED
        A container has been populated.
      • CANCELED

        public static final NotifAction CANCELED
        A contribution has been canceled.
    • Method Detail

      • values

        public static NotifAction[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (NotifAction c : NotifAction.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static NotifAction valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getId

        public int getId()
      • getPriority

        public int getPriority()