|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.events.KeyedEvent
wt.projmgmt.ProjMgmtServiceEvent
Event emitted by project management when there is a significant change
on the project. Examples of these changes are status change and object
deletion.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static String |
CONTAINMENT_CHANGE
Parent summary change. |
static String |
DEPENDENCY_CHANGE
Predecessor change. |
private Object |
emitter
|
private Timestamp |
eventTime
|
static String |
EXPORT_OBJECT
Supported API: false |
static String |
NODE_ID_CHANGE
Project id change. |
private Object |
oldValue
|
private static String |
RESOURCE
|
static String |
TASK_COMPLETION
Project workitem completion. |
static String |
VIEW_CONTENT
Supported API: false |
Fields inherited from class wt.events.KeyedEvent |
|
Constructor Summary | |
ProjMgmtServiceEvent(String event_type,
Object source)
Constructor of the event. |
Method Summary | |
static void |
checkEventType(String event_type)
Throws an exception if event type passed as argument is not valid. |
static String |
generateEventKey(ProjectEventType event_type)
Supported API: false |
static String |
generateEventKey(String event_type)
Helper function used to generate event key. |
Object |
getEmitter()
Gets the value of the attribute: emitter; Service or class that originated the event. |
Timestamp |
getEventTime()
Gets the value of the attribute: eventTime; Time when the event occurred. |
Object |
getOldValue()
Gets the value of the attribute: oldValue; In case of change events, this is the old value of the object. |
ProjectEventType |
getProjEventType()
Supported API: false |
void |
setEmitter(Object a_Emitter)
Sets the value of the attribute: emitter; Service or class that originated the event. |
void |
setEventTime(Timestamp a_EventTime)
Sets the value of the attribute: eventTime; Time when the event occurred. |
void |
setOldValue(Object a_OldValue)
Sets the value of the attribute: oldValue; In case of change events, this is the old value of the object. |
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 CONTAINMENT_CHANGE
public static final String DEPENDENCY_CHANGE
private Object emitter
private Timestamp eventTime
public static final String EXPORT_OBJECT
public static final String NODE_ID_CHANGE
private Object oldValue
public static final String TASK_COMPLETION
public static final String VIEW_CONTENT
Constructor Detail |
public ProjMgmtServiceEvent(String event_type, Object source)
event_type
- source
- Method Detail |
public Object getEmitter()
public void setEmitter(Object a_Emitter)
a_Emitter
- public Timestamp getEventTime()
public void setEventTime(Timestamp a_EventTime)
a_EventTime
- public Object getOldValue()
public void setOldValue(Object a_OldValue)
a_OldValue
- public static void checkEventType(String event_type)
event_type
- public static String generateEventKey(String event_type)
event_type
-
public static String generateEventKey(ProjectEventType event_type)
event_type
-
public ProjectEventType getProjEventType()
public KeyedEvent[] toSingleObjectEvents() throws WTException
toSingleObjectEvents
in class KeyedEvent
WTException
public KeyedEvent toMultiObjectEvent()
toMultiObjectEvent
in class KeyedEvent
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |