|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.events.KeyedEvent
wt.lifecycle.LifeCycleServiceEvent
Provides a service specific event extended from KeyedEvent used in conjunction
with the standard implementation of the server-side functionality as
defined by the LifeCycleService interface. The event could be used by
a custom implementation of the LifeCycleService.
Supported API: false
Extendable: false
KeyedEvent
,
Serialized FormField Summary | |
static String |
AUGMENT
A constant that defines an event key that marks the occurrence of the augment Supported API: false |
private static String |
CLASSNAME
|
static String |
DEMOTE
A constant that defines an event key that marks the occurrence of the demote. |
static String |
DENY
A constant that defines an event key that marks the occurrence of the deny. |
static String |
DISABLE_LIFECYCLE
A constant that defines an event key that marks the occurrence of the disable of a Life Cycle Template Master Supported API: false |
static String |
DROP
A constant that defines an event key that marks the occurrence of the drop. |
static String |
ENABLE_LIFECYCLE
A constant that defines an event key that marks the occurrence of the enable of a Life Cycle Template Master Supported API: false |
static String |
PROMOTE
A constant that defines an event key that marks the occurrence of the promote. |
static String |
REASSIGN
A constant that defines an event key that marks the occurrence of the reassign. |
private static String |
RESOURCE
|
static String |
ROLEHOLDER_CHANGE
A constant that defines an event key that marks the occurrence of the ROLEHOLDER_CHANGE event of an object from lifecycle processing. |
private LifeCycleService |
service
|
static String |
SET_STATE
A constant that defines an event key that marks the occurrence of the set state Supported API: false |
static String |
STATE_CHANGE
A constant that defines an event key that marks the occurrence of the promote or demote. |
static String |
SUBMIT
A constant that defines an event key that marks the occurrence of the submit event. |
static String |
VOTE
A constant that defines an event key that marks the occurrence of the vote event. |
Fields inherited from class wt.events.KeyedEvent |
|
Constructor Summary | |
LifeCycleServiceEvent(LifeCycleService service,
String eventType,
Object eventTarget)
Constructs a LifeCycle services event from the specified service and its event type and target. |
|
LifeCycleServiceEvent(String eventType,
Object eventTarget)
Constructs a single object LifeCycle services event from the event type and target. |
|
LifeCycleServiceEvent(String eventType,
WTCollection eventTarget)
Constructs a multi object LifeCycle services event from the event type and collection of target objects. |
Method Summary | |
static String |
generateEventKey(String eventType)
Generates an event key from an event type. |
LifeCycleService |
getService()
Gets the value of the attribute: service; The LifeCycle service that emits events. |
LifeCycleManaged |
getTarget()
Gets the target of the event. |
WTCollection |
getTargets()
Gets the collection of target objects of the event. |
ObjectReference |
getWfProcessReference()
Gets the target of the event. |
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 |
private static final String RESOURCE
private static final String CLASSNAME
public static final String STATE_CHANGE
public static final String ROLEHOLDER_CHANGE
public static final String ENABLE_LIFECYCLE
public static final String DISABLE_LIFECYCLE
private LifeCycleService service
public static final String SUBMIT
public static final String PROMOTE
public static final String VOTE
public static final String DEMOTE
public static final String DENY
public static final String DROP
public static final String REASSIGN
public static final String AUGMENT
public static final String SET_STATE
Constructor Detail |
public LifeCycleServiceEvent(LifeCycleService service, String eventType, Object eventTarget) throws LifeCycleException, WTPropertyVetoException
service
- the LifeCycleService object used to construct the service's eventeventType
- the type of event used to construct the service's eventeventTarget
- the object used to construct the service's event
LifeCycleException
WTPropertyVetoException
public LifeCycleServiceEvent(String eventType, Object eventTarget) throws LifeCycleException, WTPropertyVetoException
eventType
- the type of event used to construct the service's eventeventTarget
- the object used to construct the service's event
LifeCycleException
WTPropertyVetoException
public LifeCycleServiceEvent(String eventType, WTCollection eventTarget) throws LifeCycleException, WTPropertyVetoException
eventType
- the type of event used to construct the service's eventeventTarget
- the object used to construct the service's event
LifeCycleException
WTPropertyVetoException
Method Detail |
public LifeCycleService getService()
public static String generateEventKey(String eventType)
eventType
- the type of event used to generate an event key
public LifeCycleManaged getTarget()
LifeCycleServiceEvent
public WTCollection getTargets()
LifeCycleServiceEvent
public ObjectReference getWfProcessReference()
LifeCycleServiceEvent
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |