java.lang.Object
java.lang.Enum<WorkspaceEventType>
org.gcube.social_networking.socialnetworking.model.beans.workspace.WorkspaceEventType
All Implemented Interfaces:
Serializable, Comparable<WorkspaceEventType>, Constable

public enum WorkspaceEventType extends Enum<WorkspaceEventType>
  • Enum Constant Details

    • ITEM_NEW

      public static final WorkspaceEventType ITEM_NEW
      use to notify a user she got a workspace item new in some of her workspace shared folder
    • ITEM_DELETE

      public static final WorkspaceEventType ITEM_DELETE
      use to notify a user she got a workspace item deleted from one of his workspace shared folder
    • ITEM_UPDATE

      public static final WorkspaceEventType ITEM_UPDATE
      use to notify a user he got a workspace item updated from one of his workspace shared folder
    • FOLDER_SHARE

      public static final WorkspaceEventType FOLDER_SHARE
      use to notify a user he got a workspace folder shared
    • FOLDER_UNSHARE

      public static final WorkspaceEventType FOLDER_UNSHARE
      use to notify a workspace folder Unshared
    • FOLDER_RENAME

      public static final WorkspaceEventType FOLDER_RENAME
      use to notify a workspace folder renamed
    • FOLDER_ADMIN_UPGRADE

      public static final WorkspaceEventType FOLDER_ADMIN_UPGRADE
      use to notify a user that he got upgraded to administrator of a shared folder
    • FOLDER_ADMIN_DOWNGRADE

      public static final WorkspaceEventType FOLDER_ADMIN_DOWNGRADE
      use to notify a user that he got downgraded from being administrator of a shared folder
    • FOLDER_ADDEDUSER

      public static final WorkspaceEventType FOLDER_ADDEDUSER
      use to notify that new user(s) were added in on of his workspace shared folder
    • FOLDER_REMOVEDUSER

      public static final WorkspaceEventType FOLDER_REMOVEDUSER
      use to notify user(s) that they were removed from a workspace shared folder
  • Method Details

    • values

      public static WorkspaceEventType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static WorkspaceEventType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getNotificationClass

      public Class<? extends WorkspaceEvent> getNotificationClass()