com.ibm.openpages.api.trigger.events

## Class SearchEvent

- java.lang.Object
- - com.ibm.openpages.api.trigger.events.AbstractEvent
  - - com.ibm.openpages.api.trigger.events.SearchEvent

-     public class SearchEvent
      extends AbstractEvent

  Represents the event type to search for objects. The search operations that this event represents are performed via the internal OpenPages platform calls and are referred to as "SDK search methods". The SDK search methods have low-level arguments which are not directly applicable to the public interfaces available in the GRC API. The raw arguments to the search methods invoked in the platform are provided by the getSdkArgs() method which returns them as an array of Objects.

  This event does not represent the searches performed by IQueryService, for events generated from query service see `QueryEvent`

  See Also:
    `TriggerEventType.SEARCH_OBJECTS`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SearchEvent(TriggerPositionType position, Context context, java.lang.Object[] sdkArgs)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object[]` | `getSdkArgs()` Returns the raw arguments used to invoke the SDK search method in the OpenPages platform for this event.

    - ### Methods inherited from class com.ibm.openpages.api.trigger.events.AbstractEvent

      `getContext, getPosition, getTriggerEventType, hasOuterCreateWithRelationsEvent`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SearchEvent

          public SearchEvent(TriggerPositionType position,
                             Context context,
                             java.lang.Object[] sdkArgs)

      Parameters:
        `position` - either pre or post
        `context` - the Context for the API
        `sdkArgs` - the actual parameters for SDK search method

  - ### Method Detail

    - #### getSdkArgs

          public java.lang.Object[] getSdkArgs()

      Returns the raw arguments used to invoke the SDK search method in the OpenPages platform for this event.
      Returns:
        the raw SDK search arguments

Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2022. All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.