|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.events.KeyedEvent
wt.vc.sessioniteration.SessionIterationEvent
Events dispatched by the SessionIterationService
during SessionIterationService.createSessionIteration(wt.vc.sessioniteration.SessionEditedIteration, wt.org.WTPrincipal, java.lang.String)
, SessionIterationService#{@link
SessionIterationService#commitSessionIteraiton}, and deleteSessionIteration
.
Supported API: true
Extendable: false
Fields inherited from class wt.events.KeyedEvent |
|
Constructor Summary | |
SessionIterationEvent(String eventType,
Object eventTarget)
Construct a Keyed Event. |
|
SessionIterationEvent(String eventType,
WTCollection eventTarget)
Supported API: false |
Method Summary | |
static String |
generateEventKey(String eventType)
Generates an event key from an event type. |
WTCollection |
getTargetCollection()
Supported API: false |
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 PRE_CREATE_SESSION_ITERATION
SessionIterationService.createSessionIteration(wt.vc.sessioniteration.SessionEditedIteration, wt.org.WTPrincipal, java.lang.String)
immediately before the session iteration is stored. The target of this
event is the new session iteration. To get the original iteration, call
VersionControlService.predecessorOf(wt.vc.Iterated)
API.
public static final String POST_CREATE_SESSION_ITERATION
SessionIterationService.createSessionIteration(wt.vc.sessioniteration.SessionEditedIteration, wt.org.WTPrincipal, java.lang.String)
immediately after the session iteration is stored. The target of this
event is the new session iteration. To get the original iteration, call
VersionControlService.predecessorOf(wt.vc.Iterated)
API.
public static final String PRE_COMMIT_SESSION_ITERATION
SessionIterationService.commitSessionIteration(wt.vc.sessioniteration.SessionEditedIteration, java.lang.String)
immediately before the session iteration is commited (to become the latest
iteration on the predecessor's branch). The target of this event is
the new (succeeding) session iteration. To get the original iteration,
call VersionControlService.predecessorOf(wt.vc.Iterated)
API.
public static final String POST_COMMIT_SESSION_ITERATION
SessionIterationService.commitSessionIteration(wt.vc.sessioniteration.SessionEditedIteration, java.lang.String)
immediately after the session iteration is commited and has become the
latest iteration on the predecessor's branch. The target of this event
is the new (succeeding) session iteration. To get the original iteration,
call VersionControlService.predecessorOf(wt.vc.Iterated)
API.
public static final String PRE_DELETE_SESSION_ITERATION
SessionIterationService.deleteSessionIteration(wt.vc.sessioniteration.SessionEditedIteration)
immediately before the session iteration is deleted. The target of this
event is the session iteration. To get the original iteration, call
VersionControlService.predecessorOf(wt.vc.Iterated)
API.
public static final String POST_DELETE_SESSION_ITERATION
SessionIterationService.deleteSessionIteration(wt.vc.sessioniteration.SessionEditedIteration)
immediately after the session iteration is deleted. The target of this
event is the deleted session iteration. To get the original iteration,
call VersionControlService.predecessorOf(wt.vc.Iterated)
API.
Constructor Detail |
public SessionIterationEvent(String eventType, Object eventTarget)
eventType
- The type of the event, may be nulleventTarget
- The Primary target of the event, may be nullpublic SessionIterationEvent(String eventType, WTCollection eventTarget)
eventType
- eventTarget
- Method Detail |
public WTCollection getTargetCollection()
public static String generateEventKey(String eventType)
eventType
-
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 |