|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.events.KeyedEvent
wt.inf.sharing.DataSharingServiceEvent
Object that is emitted as a KeyedEvent
when there is
a change of state in a share. Five types of events are supported:
Four the four first types of events the target object of the event
is a Link
contained the shares affected. For the last
one - switchShare - the target is a list contained two elements: the
first one is the share that was deleted while the second is the one that
was created.
Supported API: false
Extendable: false
Field Summary | |
static String |
ADD_SHARE
Supported API: false |
private static String |
CLASSNAME
|
static String |
DISABLE_SHARE
Supported API: false |
static String |
ENABLE_SHARE
Supported API: false |
static String |
REMOVE_SHARE
Supported API: false |
private static String |
RESOURCE
|
static String |
SWITCH_SHARE
Supported API: false |
Fields inherited from class wt.events.KeyedEvent |
|
Constructor Summary | |
DataSharingServiceEvent(String event_type,
List map_list)
Supported API: false |
|
DataSharingServiceEvent(String event_type,
WTCollection map_list)
Supported API: false |
Method Summary | |
static void |
checkEventType(String event_type)
Supported API: false |
static String |
generateEventKey(String event_type)
Supported API: false |
private ArrayList |
getArrayList(WTCollection wt_collection)
|
KeyedEvent |
toMultiObjectEvent()
Supported API: false |
KeyedEvent[] |
toSingleObjectEvents()
Supported API: false |
Methods inherited from class wt.events.KeyedEvent |
generateEventKey, generateEventKey, getConceptualClassname, getEventKey, getEventTarget, getEventType, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String ADD_SHARE
public static final String REMOVE_SHARE
public static final String DISABLE_SHARE
public static final String ENABLE_SHARE
public static final String SWITCH_SHARE
Constructor Detail |
public DataSharingServiceEvent(String event_type, List map_list)
event_type
- map_list
- public DataSharingServiceEvent(String event_type, WTCollection map_list)
event_type
- map_list
- Method Detail |
public static String generateEventKey(String event_type)
event_type
-
public static void checkEventType(String event_type)
event_type
- public KeyedEvent toMultiObjectEvent()
toMultiObjectEvent
in class KeyedEvent
public KeyedEvent[] toSingleObjectEvents() throws WTException
toSingleObjectEvents
in class KeyedEvent
WTException
private ArrayList getArrayList(WTCollection wt_collection) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |