Enum CatalogueEventType
- java.lang.Object
-
- java.lang.Enum<CatalogueEventType>
-
- org.gcube.social_networking.socialnetworking.model.beans.catalogue.CatalogueEventType
-
- All Implemented Interfaces:
Serializable,Comparable<CatalogueEventType>
public enum CatalogueEventType extends Enum<CatalogueEventType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ITEM_PUBLISHEDSomeone publishes a new itemITEM_REJECTEDSomeone rejects a submitted item (only for item creators and catalogue moderators)ITEM_REMOVEDSomeone removes an itemITEM_SUBMITTEDSomeone submits an item for consideration (only for catalogue moderators)ITEM_UPDATEDSomeone updates an item
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CatalogueEventTypevalueOf(String name)Returns the enum constant of this type with the specified name.static CatalogueEventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ITEM_PUBLISHED
public static final CatalogueEventType ITEM_PUBLISHED
Someone publishes a new item
-
ITEM_SUBMITTED
public static final CatalogueEventType ITEM_SUBMITTED
Someone submits an item for consideration (only for catalogue moderators)
-
ITEM_REJECTED
public static final CatalogueEventType ITEM_REJECTED
Someone rejects a submitted item (only for item creators and catalogue moderators)
-
ITEM_REMOVED
public static final CatalogueEventType ITEM_REMOVED
Someone removes an item
-
ITEM_UPDATED
public static final CatalogueEventType ITEM_UPDATED
Someone updates an item
-
-
Method Detail
-
values
public static CatalogueEventType[] 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 (CatalogueEventType c : CatalogueEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CatalogueEventType 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 nameNullPointerException- if the argument is null
-
-