# Package com.ibm.openpages.api.trigger.events

All types of events supported by the GRC Trigger framework.

See: Description

- Class Summary
  Class | Description
  --- | ---
  AbstractEvent | Base class for event.
  AbstractResourceEvent | Base class for events that involve Resource objects.
  AbstractResourceOperationEvent | Base class for event type that involves resource operations on multiple objects such as copy, associate and disassociate.
  AssociateResourceEvent | Represents the event type to associate resource objects.
  CopyResourceEvent | Represents the event type to copy resource objects.
  CreateResourceEvent | Represents the event type for creating a resource object.
  CreateResourceWithRelationsEvent | Represents an event type for creating a resource object with parent or child relationships.
  DeleteResourceEvent | Represents the event type for deleting one or more resource objects.
  DisassociateResourceEvent | Represents the event type to dissociate resource objects.
  GRCTriggerEventFactory | Utility class which creates instances of Events based on the TriggerEventType, Position and other method/operation specific parameters.
  MoveResourceEvent | Represents an event for moving a resource object.
  QueryEvent | Represents the event type for GRC API's IQueryService query operations.
  ReassignPrimaryParentEvent | Represents an event for reassigning primary parent of a resource object.
  RenameResourceEvent | Represents an event for renaming a resource object
  SearchEvent | Represents the event type to search for objects.
  UpdateResourceEvent | Represents the event type for updating a resource object.

- Enum Summary
  Enum | Description
  --- | ---
  TriggerEventType | Defines event type for all current supported trigger operations.

## Package com.ibm.openpages.api.trigger.events Description

All types of events supported by the GRC Trigger framework.

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.

Events are classified by event type. The `TriggerEventType` defines the possible events currently supported by the trigger framework. Each event type will have a corresponding class in this package extending from `AbstractEvent`. These events are generated by the trigger framework as operations are performed by the system. These generated event objects are used to pass information about the operation to any registered triggers so that their rules and corresponding event handlers can process the event and decide whether to handle it. Events do not need to be constructed outside of this usage.

All event classes will provide the `TriggerEventType`, `TriggerPositionType` and `Context`. Additionally, depending on the type of event there will be other information relating to the operation taking place, for example `IResource` of `Id` for the objects involved. Note: unless otherwise specified "resource" refers to instances of `IResource` which may be either Folders or GRC Objects.

The only non-resource type events currently supported by the framework are for search operations, sometimes referred to as "read triggers" which represent resource retrieval or search operations. See: `SearchEvent` and `QueryEvent`

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.