|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.events.KeyedEvent
wt.sandbox.SandboxServiceMultiEvent
wt.sandbox.SandboxServiceCheckoutEvent
Encapusulates SandboxService event/occurence data which occur upon sandbox check-outs.
The target object of the event is a WTSet of the original copies when
the event type is PRE_SB_CHECKOUT_EVENT, whereas it is a WTCollection
of the resulting working copies when the event type is POST_SB_CHECKOUT_EVENT.
Except where attempting to treat many service events generically, it
is recommended that the more specific methods provided on this class
be used in preference to getEventTarget(), however.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private WTValuedMap |
origToWorkingCopyMap
|
static String |
POST_SB_CHECKOUT_EVENT
Event type indicating state immediately prior to end of sandbox check out transaction block Supported API: false |
static String |
PRE_SB_CHECKOUT_EVENT
Event type indicating state immediately prior to sandbox check out but within transaction block thereof Supported API: false |
private static String |
RESOURCE
|
Fields inherited from class wt.sandbox.SandboxServiceMultiEvent |
|
Fields inherited from class wt.events.KeyedEvent |
|
Constructor Summary | |
private |
SandboxServiceCheckoutEvent(String eventType,
WTValuedMap origToWorkingCopyMap)
|
Method Summary | |
private static void |
fireCheckOutEvent(ManagerService managerService,
WTValuedMap origToWorkingCopyMap,
boolean preEvent)
|
(package private) static void |
firePostCheckOutEvent(ManagerService managerService,
WTValuedMap origToWorkingCopyMap)
|
(package private) static void |
firePreCheckOutEvent(ManagerService managerService,
WTValuedMap origToWorkingCopyMap)
|
static String |
generateEventKey(String eventType)
Generate an appropriate event key for this class given an event type. |
WTSet |
getOriginalCopies()
Gets set of original copies. |
WTValuedMap |
getOriginalToWorkingCopyMap()
Gets map from original to working copies. |
WTCollection |
getWorkingCopies()
Gets collection of resulting working copies. |
Methods inherited from class wt.sandbox.SandboxServiceMultiEvent |
getEventTarget, toMultiObjectEvent, toSingleObjectEvents |
Methods inherited from class wt.events.KeyedEvent |
generateEventKey, generateEventKey, getConceptualClassname, getEventKey, 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_SB_CHECKOUT_EVENT
public static final String POST_SB_CHECKOUT_EVENT
private WTValuedMap origToWorkingCopyMap
Constructor Detail |
private SandboxServiceCheckoutEvent(String eventType, WTValuedMap origToWorkingCopyMap)
Method Detail |
public WTValuedMap getOriginalToWorkingCopyMap()
public WTSet getOriginalCopies()
public WTCollection getWorkingCopies()
public static String generateEventKey(String eventType)
eventType
- the event type
static void firePreCheckOutEvent(ManagerService managerService, WTValuedMap origToWorkingCopyMap) throws WTException
WTException
static void firePostCheckOutEvent(ManagerService managerService, WTValuedMap origToWorkingCopyMap) throws WTException
WTException
private static void fireCheckOutEvent(ManagerService managerService, WTValuedMap origToWorkingCopyMap, boolean preEvent) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |