|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.events.KeyedEvent
wt.representation.RepresentationServiceEvent
This event can be used to trigger the creation of a Representation for
a Representable. It indicates all business information/objects needed
for generation of the Representation are present in the database.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private ConfigSpec |
configSpec
|
static String |
MULTI_READY_TO_PUBLISH
Constant containing the event type for the multi_ready_to_publish event. |
static String |
READY_TO_PUBLISH
Constant containing the event type for the ready_to_publish event. |
private static String |
RESOURCE
|
Fields inherited from class wt.events.KeyedEvent |
|
Constructor Summary | |
RepresentationServiceEvent(String eventType,
Map targetMap)
Create a RepresentationServiceEvent with a Map target. |
|
RepresentationServiceEvent(String eventType,
Object target)
Creates a RepresentationServiceEvent instance. |
|
RepresentationServiceEvent(String eventType,
Persistable persistable)
Constructs a RepresentationServiceEvent Supported API: false |
|
RepresentationServiceEvent(String eventType,
Vector objectsToPublish,
ConfigSpec configSpec)
Constructs a RepresentationServiceEvent Supported API: false |
|
RepresentationServiceEvent(String eventType,
WTCollection targets)
Create a multi-object instance of RepresentationServiceEvent. |
Method Summary | |
static String |
generateEventKey(String eventType)
Generates a unique event key for the event type Supported API: false |
ConfigSpec |
getConfigSpec()
Get the ConfigSpec from the Event Supported API: false |
Vector |
getObjectsToPublish()
Get the objects to be published from the Event Supported API: false |
KeyedEvent |
toMultiObjectEvent()
If the target is an instance of Persistable then a KeyedEvent with a single element WTCollection as its target is returned. |
KeyedEvent[] |
toSingleObjectEvents()
If the target is a WTCollection a KeyedEvent[] is returned where each KeyedEvent has a Persistable target. |
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 READY_TO_PUBLISH
public static final String MULTI_READY_TO_PUBLISH
private ConfigSpec configSpec
Constructor Detail |
public RepresentationServiceEvent(String eventType, Persistable persistable)
eventType
- persistable
- public RepresentationServiceEvent(String eventType, WTCollection targets)
eventType
- targets
- public RepresentationServiceEvent(String eventType, Map targetMap)
eventType
- targetMap
- public RepresentationServiceEvent(String eventType, Object target)
eventType
- target
- public RepresentationServiceEvent(String eventType, Vector objectsToPublish, ConfigSpec configSpec)
eventType
- objectsToPublish
- configSpec
- should be an EPMDocConfigSpecMethod Detail |
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 ConfigSpec getConfigSpec()
public Vector getObjectsToPublish()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |