arta.synergy.web.common.client.data.api
Enum APIEvent
java.lang.Object
java.lang.Enum<APIEvent>
arta.synergy.web.common.client.data.api.APIEvent
- All Implemented Interfaces:
- arta.synergy.common.event.IEvent, java.io.Serializable, java.lang.Comparable<APIEvent>
public enum APIEvent
- extends java.lang.Enum<APIEvent>
- implements arta.synergy.common.event.IEvent
Created by IntelliJ IDEA.
User: topa
Date: 04.05.13
Time: 17:42
To change this template use File | Settings | File Templates.
| Fields inherited from interface arta.synergy.common.event.IEvent |
API_EVENT, DOC_EVENT |
|
Method Summary |
static APIEvent |
getByName(java.lang.String eventName)
|
java.lang.String |
getEventName()
|
int |
getType()
|
static APIEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static APIEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
USER_ADD
public static final APIEvent USER_ADD
- Событие генерируется при создании нового пользователя - event.users.account.add
USER_CHANGE
public static final APIEvent USER_CHANGE
USER_DELETE
public static final APIEvent USER_DELETE
USER_FORM_DATA_CHANGED
public static final APIEvent USER_FORM_DATA_CHANGED
USER_CONTACTS_CHANGED
public static final APIEvent USER_CONTACTS_CHANGED
REGISTER_FORMDATA_ADD
public static final APIEvent REGISTER_FORMDATA_ADD
REGISTER_FORMDATA_CHANGE
public static final APIEvent REGISTER_FORMDATA_CHANGE
REGISTER_FORMDATA_DELETE
public static final APIEvent REGISTER_FORMDATA_DELETE
values
public static APIEvent[] 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 (APIEvent c : APIEvent.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static APIEvent valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
getEventName
public java.lang.String getEventName()
- Specified by:
getEventName in interface arta.synergy.common.event.IEvent
getByName
public static APIEvent getByName(java.lang.String eventName)
getType
public int getType()
- Specified by:
getType in interface arta.synergy.common.event.IEvent
Copyright © 2000 Dummy Corp. All Rights Reserved.