Interface BeforeDeleteOccurrenceContext
-
- All Superinterfaces:
TableTriggerExecutionContext,TriggerExecutionContext
public interface BeforeDeleteOccurrenceContext extends TableTriggerExecutionContext
Provides a context for executing pre-record deletion operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AdaptationgetAdaptationOccurrence()Returns the record to be deleted.DefinitionModegetDefinitionMode()Returns the definition mode of the record to be deleted.ValueContextForUpdategetOccurrenceContextForUpdate()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 Detail
-
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.
-
-