Package com.orchestranetworks.schema.trigger

# Interface TableTriggerExecutionContext

All Superinterfaces:
  `TriggerExecutionContext`

All Known Subinterfaces:
  `AfterCreateOccurrenceContext`, `AfterDeleteOccurrenceContext`, `AfterModifyOccurrenceContext`, `BeforeCreateOccurrenceContext`, `BeforeDeleteOccurrenceContext`, `BeforeModifyOccurrenceContext`, `BeforeTransactionCancelContext`, `BeforeTransactionCommitContext`, `NewTransientOccurrenceContext`

public interface TableTriggerExecutionContext extends TriggerExecutionContext
Common abstract superclass that provides an execution context for table triggers.

See Also:
  - `TableTrigger`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `AdaptationHome`
  `getAdaptationHome()`
  Returns the current dataspace.
  `ValueContext`
  `getOccurrenceContext()`
  Returns the record read context.
  `AdaptationTable`
  `getTable()`
  Returns the table targeted by the current operation.
  `boolean`
  `isHistoryRestore()`
  Returns `true` if the current operation is a restoration from history.

  ### Methods inherited from interface com.orchestranetworks.schema.trigger.TriggerExecutionContext

  `getSession`

- ## Method Details

  - ### getTable

    AdaptationTable getTable()
    Returns the table targeted by the current operation.

  - ### getOccurrenceContext

    ValueContext getOccurrenceContext()
    Returns the record read context.

  - ### getAdaptationHome

    AdaptationHome getAdaptationHome()
    Returns the current dataspace.

  - ### isHistoryRestore

    boolean isHistoryRestore()
    Returns `true` if the current operation is a restoration from history.