org.eclipse.stardust.engine.api.model
Interface EventHandler

All Superinterfaces:
ModelElement, Serializable

public interface EventHandler
extends ModelElement

A client side view of a workflow event handler.

Version:
$Revision$
Author:
ubirkemeyer

Method Summary
 List getAllBindActions()
          Gets all the bind actions registered for this event handler.
 List getAllEventActions()
          Gets all the event actions registered for this event handler.
 Map getAllTypeAttributes()
          Gets all the attributes of the event handler type.
 List getAllUnbindActions()
          Gets all the unbind actions registered for this event handler.
 EventAction getBindAction(String id)
          Gets the specified bind action.
 EventAction getEventAction(String id)
          Gets the specified event action.
 long getRuntimeElementOID()
          Gets the runtime OID of the model element.
 Object getTypeAttribute(String name)
          Gets a specific type attribute.
 EventAction getUnbindAction(String id)
          Gets the specified unbind action.
 
Methods inherited from interface org.eclipse.stardust.engine.api.model.ModelElement
getAllAttributes, getAttribute, getDescription, getElementOID, getId, getModelOID, getName, getNamespace, getPartitionId, getPartitionOID, getQualifiedId
 

Method Detail

getRuntimeElementOID

long getRuntimeElementOID()
Gets the runtime OID of the model element.

Contrary to the element OID, runtime element OIDs are guaranteed to be stable over model versions for model elements of same type and identical fully qualified IDs.

The fully qualified ID of a model element consists of the concatenation of the fully qualified element ID of its parent element, if existent, and the element ID.

Returns:
the runtime model element OID
See Also:
ModelElement.getElementOID()

getAllTypeAttributes

Map getAllTypeAttributes()
Gets all the attributes of the event handler type.

Returns:
an unmodifiable Map containing the type attributes.

getTypeAttribute

Object getTypeAttribute(String name)
Gets a specific type attribute.

Parameters:
name - the name of the attribute.
Returns:
the value of the attribute.

getAllEventActions

List getAllEventActions()
Gets all the event actions registered for this event handler.

Returns:
a List of EventAction objects.

getEventAction

EventAction getEventAction(String id)
Gets the specified event action.

Parameters:
id - the id of the event action.
Returns:
the corresponding event action.

getAllBindActions

List getAllBindActions()
Gets all the bind actions registered for this event handler.

Returns:
a List of EventAction objects.

getBindAction

EventAction getBindAction(String id)
Gets the specified bind action.

Parameters:
id - the id of the bind action.
Returns:
the corresponding bind action.

getAllUnbindActions

List getAllUnbindActions()
Gets all the unbind actions registered for this event handler.

Returns:
a List of EventAction objects.

getUnbindAction

EventAction getUnbindAction(String id)
Gets the specified unbind action.

Parameters:
id - the id of the unbind action.
Returns:
the corresponding unbind action.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.