wt.fv
Class FvServiceEvent

java.lang.Object
  extended bywt.events.KeyedEvent
      extended bywt.fv.FvServiceEvent
All Implemented Interfaces:
Serializable

public class FvServiceEvent
extends KeyedEvent
implements Serializable

Provides a service specific event extended from KeyedEvent emitted when a folder or a vault overflows.

Supported API: false

Extendable: false

See Also:
KeyedEvent, Serialized Form

Field Summary
private static String CLASSNAME
           
static String OVERFLOW
          A constant that defines an event key that marks the occurrence of the file folder or file vault overflow.
private static String RESOURCE
           
private  FvService service
           
 
Fields inherited from class wt.events.KeyedEvent
 
Constructor Summary
FvServiceEvent(FvService service, String eventType, Object eventTarget)
          Constructs a LifeCycle services event from the specified service and its event type and target.
FvServiceEvent(String eventType, Object eventTarget)
          Constructs a single object event from the event type and target.
FvServiceEvent(String eventType, WTCollection eventTarget)
          Constructs a multi object event from the event type and target.
 
Method Summary
static String generateEventKey(String eventType)
          Generates an event key from an event type.
 FvService getService()
          Gets the value of the attribute: service; The file vault service that emits events.
 WTCollection getTargets()
          Returns WTCollection of target objects

Supported API: false
 
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

OVERFLOW

public static final String OVERFLOW
A constant that defines an event key that marks the occurrence of the file folder or file vault overflow. File vault overflows when it has no folder to store content in.

Supported API: false

See Also:
Constant Field Values

service

private FvService service
Constructor Detail

FvServiceEvent

public FvServiceEvent(FvService service,
                      String eventType,
                      Object eventTarget)
               throws WTPropertyVetoException
Constructs a LifeCycle 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:
WTPropertyVetoException

FvServiceEvent

public FvServiceEvent(String eventType,
                      Object eventTarget)
               throws WTPropertyVetoException
Constructs a single object event from the event type and target.

Supported API: false

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

FvServiceEvent

public FvServiceEvent(String eventType,
                      WTCollection eventTarget)
               throws WTPropertyVetoException
Constructs a multi object event from the event type and target.

Supported API: false

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

getService

public FvService getService()
Gets the value of the attribute: service; The file vault service that emits events.

Supported API: false

Returns:
FvService

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

getTargets

public WTCollection getTargets()
Returns WTCollection of target objects

Supported API: false

Returns:
WTCollection