|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.events.KeyedEvent
wt.team.TeamServiceEvent
Provides a service specific event extended from KeyedEvent used in conjunction
with the standard implementation of the server-side functionality as
defined by the TeamService interface. The event could be used by a custom
implementation of the TeamService.
Supported API: true
Extendable: false
KeyedEvent
,
Serialized FormField Summary | |
private static String |
CLASSNAME
|
private static String |
RESOURCE
|
static String |
RETEAM
A constant that defines an event key that marks the occurrence of the reteam event Supported API: false |
private TeamService |
service
|
Fields inherited from class wt.events.KeyedEvent |
|
Constructor Summary | |
TeamServiceEvent(String eventType,
Object target)
Constructs a Team services event from the specified event type and target. |
|
TeamServiceEvent(String eventType,
WTCollection eventTargets)
Constructs a Team services event from the specified event type and target. |
|
TeamServiceEvent(TeamService service,
String eventType,
TeamManaged eventTarget)
Constructs a Team services event from the specified service and its event type and target. |
Method Summary | |
static String |
generateEventKey(String eventType)
Generates an event key from an event type Supported API: false |
TeamService |
getService()
Gets the value of the attribute: service; The Team service that emits events. |
TeamManaged |
getTarget()
Gets the target of the event. |
WTCollection |
getTargets()
Returns WTCollection of event targets. |
void |
setService(TeamService a_Service)
Sets the value of the attribute: service; The Team service that emits events. |
KeyedEvent |
toMultiObjectEvent()
Given a single object event convert it to a multi object event with a WTCollection target. |
KeyedEvent[] |
toSingleObjectEvents()
Given an event with a target object of type WTCollection convert it to an array of single object KeyedEvents. |
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 RETEAM
private TeamService service
Constructor Detail |
public TeamServiceEvent(TeamService service, String eventType, TeamManaged eventTarget) throws TeamException, WTPropertyVetoException
service
- eventType
- eventTarget
-
TeamException
WTPropertyVetoException
public TeamServiceEvent(String eventType, WTCollection eventTargets)
eventType
- public TeamServiceEvent(String eventType, Object target)
eventType
- Method Detail |
public TeamService getService()
public void setService(TeamService a_Service) throws WTPropertyVetoException
a_Service
-
WTPropertyVetoException
public TeamManaged getTarget()
TeamServiceEvent
public static String generateEventKey(String eventType)
eventType
-
public KeyedEvent toMultiObjectEvent()
toMultiObjectEvent
in class KeyedEvent
public KeyedEvent[] toSingleObjectEvents() throws WTException
toSingleObjectEvents
in class KeyedEvent
WTException
public WTCollection getTargets()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |