added catalogue event support

This commit is contained in:
Massimiliano Assante 2022-05-09 10:32:22 +02:00
parent 9012b0bc58
commit fc66567776
1 changed files with 18 additions and 2 deletions

View File

@ -2,9 +2,25 @@ package org.gcube.social_networking.socialnetworking.model.beans.catalogue;
public enum CatalogueEventType {
/**
* use to notify a user she got a workspace item new in some of her workspace shared folder
* Someone publishes a new item
*/
ITEM_PUBLISHED;
ITEM_PUBLISHED,
/**
* Someone submits an item for consideration (only for catalogue moderators)
*/
ITEM_SUBMITTED,
/**
* Someone rejects a submitted item (only for item creators and catalogue moderators)
*/
ITEM_REJECTED,
/**
* Someone removes an item
*/
ITEM_REMOVED,
/**
* Someone updates an item
*/
ITEM_UPDATED;
}