com.softwareag.mdm.schema.trigger
Interface BeforeDeleteOccurrenceContext

All Superinterfaces:
TableTriggerExecutionContext, TriggerExecutionContext

public interface BeforeDeleteOccurrenceContext
extends TableTriggerExecutionContext

Provides an execution context for handling before delete occurrence operation.

See Also:
TableTrigger.handleBeforeDelete(BeforeDeleteOccurrenceContext)

Method Summary
 Adaptation getAdaptationOccurrence()
          Returns the adaptation occurrence that will be deleted.
 DefinitionMode getDefinitionMode()
          Returns the definition mode of the occurrence that will be deleted.
 ValueContextForUpdate getOccurrenceContextForUpdate()
          Returns the occurrence context for update.
 
Methods inherited from interface com.softwareag.mdm.schema.trigger.TableTriggerExecutionContext
getAdaptationHome, getOccurrenceContext, getTable
 
Methods inherited from interface com.softwareag.mdm.schema.trigger.TriggerExecutionContext
getSession
 

Method Detail

getAdaptationOccurrence

public Adaptation getAdaptationOccurrence()
Returns the adaptation occurrence that will be deleted.


getOccurrenceContextForUpdate

public ValueContextForUpdate getOccurrenceContextForUpdate()
Returns the occurrence context for update.

When an occurrence is copied as-is from a table to another table (see ProcedureContext.getContext(AdaptationName)), the default context is a context for read. In this case, this method has the effect of transforming the context for read to a context for update.

See Also:
TableTriggerExecutionContext.getOccurrenceContext()

getDefinitionMode

public DefinitionMode getDefinitionMode()
Returns the definition mode of the occurrence that will be deleted.



(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.