wt.project
Class ProjectServiceEvent

java.lang.Object
  extended bywt.events.KeyedEvent
      extended bywt.project.ProjectServiceEvent
All Implemented Interfaces:
Serializable

public class ProjectServiceEvent
extends KeyedEvent
implements Serializable

Provides a service specific event extended from KeyedEvent used in conjunction with the standard implementation of the server-side functionality as defined by the ProjectService interface. The event could be used by a custom implementation of the ProjectService.

Supported API: false

Extendable: false

See Also:
KeyedEvent, Serialized Form

Field Summary
private static String CLASSNAME
           
static String REPROJECT
          A constant that defines an event key that marks the occurrence of the reproject event

Supported API: false
private static String RESOURCE
           
private  ProjectService service
           
 
Fields inherited from class wt.events.KeyedEvent
 
Constructor Summary
ProjectServiceEvent(ProjectService service, String eventType, ProjectManaged eventTarget)
          Constructs a Project services event from the specified service and its event type and target.
 
Method Summary
static String generateEventKey(String eventType)
          Generates an event key from an event type.
 ProjectService getService()
          Gets the value of the attribute: service; The Project service that emits events.
 ProjectManaged getTarget()
          Gets the target of the event.
 void setService(ProjectService a_Service)
          Sets the value of the attribute: service; The Project service that emits events.
 
Methods inherited from class wt.events.KeyedEvent
generateEventKey, generateEventKey, getConceptualClassname, getEventKey, getEventTarget, getEventType, toMultiObjectEvent, toSingleObjectEvents, 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

REPROJECT

public static final String REPROJECT
A constant that defines an event key that marks the occurrence of the reproject event

Supported API: false

See Also:
Constant Field Values

service

private ProjectService service
Constructor Detail

ProjectServiceEvent

public ProjectServiceEvent(ProjectService service,
                           String eventType,
                           ProjectManaged eventTarget)
                    throws ProjectException,
                           WTPropertyVetoException
Constructs a Project services event from the specified service and its event type and target.

Supported API: false

Parameters:
service - the LifeCycleService object used to construct the service's event
eventType - the type of event used to construct the service's event
eventTarget - the object used to construct the service's event
Throws:
ProjectException
WTPropertyVetoException
Method Detail

getService

public ProjectService getService()
Gets the value of the attribute: service; The Project service that emits events.

Supported API: false

Returns:
ProjectService

setService

public void setService(ProjectService a_Service)
                throws WTPropertyVetoException
Sets the value of the attribute: service; The Project service that emits events.

Supported API: false

Parameters:
a_Service -
Throws:
WTPropertyVetoException

getTarget

public ProjectManaged getTarget()
Gets the target of the event.

Supported API: false

Returns:
ProjectManaged
See Also:
ProjectServiceEvent

generateEventKey

public static String generateEventKey(String eventType)
Generates an event key from an event type.

Supported API: false

Parameters:
eventType - the type of event used to generate an event key
Returns:
String