Interface AfterCreateOccurrenceContext
- All Superinterfaces:
TableTriggerExecutionContext
,TriggerExecutionContext
Provides a context for executing post-record creation operations.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the record that has been created.Returns the definition mode of the record that has been created.Returns the current procedure context.boolean
Returnstrue
if this post-record creation context is for a record duplication.Methods inherited from interface com.orchestranetworks.schema.trigger.TableTriggerExecutionContext
getAdaptationHome, getOccurrenceContext, getTable, isHistoryRestore
Methods inherited from interface com.orchestranetworks.schema.trigger.TriggerExecutionContext
getSession
-
Method Details
-
getAdaptationOccurrence
Adaptation getAdaptationOccurrence()Returns the record that has been created. -
getProcedureContext
ProcedureContext getProcedureContext()Returns the current procedure context. This context provides the opportunity to perform additional updates in the current dataspace. -
getDefinitionMode
DefinitionMode getDefinitionMode()Returns the definition mode of the record that has been created. -
isDuplicatingOccurrence
boolean isDuplicatingOccurrence()Returnstrue
if this post-record creation context is for a record duplication.In this case, the context returned by the method
TableTriggerExecutionContext.getOccurrenceContext()
is pre-populated with the values of the record being duplicated.
-