com.ptc.wvs.server.loader
Class GraphicsServerLoaderServiceEvent

java.lang.Object
  extended bywt.events.KeyedEvent
      extended bycom.ptc.wvs.server.loader.GraphicsServerLoaderServiceEvent
All Implemented Interfaces:
Serializable

public class GraphicsServerLoaderServiceEvent
extends KeyedEvent
implements Serializable

This event can be used to indicate when a Representation or Markup has been created, or updated

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private  Vector changedObjects
           
private static String CLASSNAME
           
static String MARKUP_SAVED
          Constant containing the event type for the markup_saved event

Supported API: false
static String REPRESENTATION_SAVED
          Constant containing the event type for the representation_saved event

Supported API: false
private static String RESOURCE
           
 
Fields inherited from class wt.events.KeyedEvent
 
Constructor Summary
GraphicsServerLoaderServiceEvent(String eventType, Persistable persistable, Vector objs)
          Constructs a GraphicsServerLoaderServiceEvent

Supported API: false
GraphicsServerLoaderServiceEvent(String eventType, WTKeyedMap target)
          Constructs a multi object GraphicsServerLoaderServiceEvent

Supported API: false
 
Method Summary
static String generateEventKey(String eventType)
          Generates a unique event key for the event type

Supported API: false
 Vector getChangedObjects()
          

Supported API: false
 Vector getChangedObjects(Persistable persistable)
           
 WTKeyedMap getTargetMap()
           
 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

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

REPRESENTATION_SAVED

public static final String REPRESENTATION_SAVED
Constant containing the event type for the representation_saved event

Supported API: false

See Also:
Constant Field Values

MARKUP_SAVED

public static final String MARKUP_SAVED
Constant containing the event type for the markup_saved event

Supported API: false

See Also:
Constant Field Values

changedObjects

private Vector changedObjects
Constructor Detail

GraphicsServerLoaderServiceEvent

public GraphicsServerLoaderServiceEvent(String eventType,
                                        Persistable persistable,
                                        Vector objs)
Constructs a GraphicsServerLoaderServiceEvent

Supported API: false

Parameters:
eventType -
persistable -

GraphicsServerLoaderServiceEvent

public GraphicsServerLoaderServiceEvent(String eventType,
                                        WTKeyedMap target)
Constructs a multi object GraphicsServerLoaderServiceEvent

Supported API: false

Parameters:
eventType -
target -
Method Detail

generateEventKey

public static String generateEventKey(String eventType)
Generates a unique event key for the event type

Supported API: false

Parameters:
eventType -
Returns:
String

getChangedObjects

public Vector getChangedObjects()


Supported API: false

Returns:
Vector

toSingleObjectEvents

public KeyedEvent[] toSingleObjectEvents()
                                  throws WTException


Supported API: false

Overrides:
toSingleObjectEvents in class KeyedEvent
Returns:
KeyedEvent[]
Throws:
WTException

toMultiObjectEvent

public KeyedEvent toMultiObjectEvent()


Supported API: false

Overrides:
toMultiObjectEvent in class KeyedEvent
Returns:
KeyedEvent

getChangedObjects

public Vector getChangedObjects(Persistable persistable)

getTargetMap

public WTKeyedMap getTargetMap()