Enum Class CatalogueEventType
java.lang.Object
java.lang.Enum<CatalogueEventType>
org.gcube.social_networking.socialnetworking.model.beans.catalogue.CatalogueEventType
- All Implemented Interfaces:
Serializable,Comparable<CatalogueEventType>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSomeone publishes a new itemSomeone rejects a submitted item (only for item creators and catalogue moderators)Someone removes an itemSomeone submits an item for consideration (only for catalogue moderators)Someone updates an item -
Method Summary
Modifier and TypeMethodDescriptionstatic CatalogueEventTypeReturns the enum constant of this class with the specified name.static CatalogueEventType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ITEM_PUBLISHED
Someone publishes a new item -
ITEM_SUBMITTED
Someone submits an item for consideration (only for catalogue moderators) -
ITEM_REJECTED
Someone rejects a submitted item (only for item creators and catalogue moderators) -
ITEM_REMOVED
Someone removes an item -
ITEM_UPDATED
Someone updates an item
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-