public class AbstractEvent
extends java.lang.Object
Base class for event. An event is a representation of the operations being performed by users in the OpenPages system that can be handled by triggers. An example event would be a "Create" of a new GRC object.
Each unique class of trigger operations is represented by an event of a different TriggerEventType
and the attributes and data for that event will differ depending on the context and arguments for
the operation. For example the TriggerEventType.CREATE_OBJECT event for a GRC object will provide different information than
a TriggerEventType.DISASSOCIATE_OBJECTS event for multiple GRC objects.
| Constructor and Description |
|---|
AbstractEvent(TriggerEventType triggerEventType,
TriggerPositionType position,
Context context)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
Context |
getContext()
Provides access to the API context object.
|
TriggerPositionType |
getPosition()
Returns type of the trigger position.
|
TriggerEventType |
getTriggerEventType()
Returns type of the trigger event.
|
boolean |
hasOuterCreateWithRelationsEvent()
Returns whether the event is triggered within the CreateWithRelationsResourceEvent.
|
public AbstractEvent(TriggerEventType triggerEventType, TriggerPositionType position, Context context)
triggerEventType - one of the trigger event typesposition - either pre or postcontext - the Context for the APIpublic TriggerEventType getTriggerEventType()
public Context getContext()
public TriggerPositionType getPosition()
public boolean hasOuterCreateWithRelationsEvent()
Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2020. All Rights Reserved.
US Government Users Restricted Rights -
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.