Interface BeforeDeleteOccurrenceContext
- All Superinterfaces:
TableTriggerExecutionContext
,TriggerExecutionContext
Provides a context for executing pre-record deletion operations.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the record to be deleted.Returns the definition mode of the record to be deleted.Returns the record context for performing the update.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 to be deleted. -
getOccurrenceContextForUpdate
ValueContextForUpdate getOccurrenceContextForUpdate()Returns the record context for performing the update.When a record is copied as-is from one table to another (see
ProcedureContext.getContext(AdaptationName)
), the default context is a read context. In this case, this method transforms it from a read context to an update context. -
getDefinitionMode
DefinitionMode getDefinitionMode()Returns the definition mode of the record to be deleted.
-