public static enum Item.events extends java.lang.Enum<Item.events>
Enum Constant and Description |
---|
changeCustomProperty
custom property value property has changed, custom property data represented com {n: name, v: value} hash
|
changeDataFlags
dataFlags property has changed
|
changeMeasureUnits
item measure units has changed
|
changeName
name property has changed
|
changeUserAccess
userAccess property has changed
|
itemDeleted |
messageRegistered
messages registry
|
updateAdminField |
updateCustomField
item has been deleted
EventHandler.onEvent(java.lang.Enum event, java.lang.Object object, java.lang.Object oldData, java.lang.Object newData) with:event - itemDeleted object - Item item oldData - Long itemID newData - null |
Modifier and Type | Method and Description |
---|---|
static Item.events |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Item.events[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Item.events changeName
public static final Item.events changeDataFlags
public static final Item.events changeUserAccess
public static final Item.events changeCustomProperty
public static final Item.events updateCustomField
EventHandler.onEvent(java.lang.Enum event, java.lang.Object object, java.lang.Object oldData, java.lang.Object newData)
with:event -
itemDeleted
object -
Item
item
oldData -
Long
itemID
newData - null
public static final Item.events updateAdminField
public static final Item.events itemDeleted
public static final Item.events messageRegistered
public static final Item.events changeMeasureUnits
public static Item.events[] values()
for (Item.events c : Item.events.values()) System.out.println(c);
public static Item.events valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null