Enum WorkspaceEventType

    • Enum Constant Detail

      • 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 Detail

      • values

        public static WorkspaceEventType[] 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 (WorkspaceEventType c : WorkspaceEventType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static WorkspaceEventType 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