Enum Class ItemSavedEventType

java.lang.Object
java.lang.Enum<ItemSavedEventType>
de.hybris.platform.webhookservices.event.ItemSavedEventType
All Implemented Interfaces:
Serializable, Comparable<ItemSavedEventType>, Constable

@Deprecated(since="2105.0", forRemoval=true) public enum ItemSavedEventType extends Enum<ItemSavedEventType>
Deprecated, for removal: This API element is subject to removal in a future version.
Since 2105.0. Use EventType instead. Values for ItemSavedEvent event type.
  • Enum Constant Details

    • UPDATE

      public static final ItemSavedEventType UPDATE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • CREATE

      public static final ItemSavedEventType CREATE
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • values

      public static ItemSavedEventType[] values()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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 ItemSavedEventType valueOf(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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
    • getType

      public int getType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      The integer value corresponding to the event type
    • fromEventTypeCode

      public static ItemSavedEventType fromEventTypeCode(int type)
      Deprecated, for removal: This API element is subject to removal in a future version.
      This converts AfterSaveEvent event type integer to an enum value to be used by ItemSavedEvent
      Parameters:
      type - An integer that represents the event type from AfterSaveEvent
      Returns:
      Value of the converted event type