C# Class Deveel.Data.Sql.Triggers.TriggerManager

Inheritance: IObjectManager, ITriggerManager
Show file Open project: deveel/deveeldb Class Usage Examples

Public Properties

Property Type Description
TriggerTableName ObjectName

Private Properties

Property Type Description
BuildTriggerCache void
DeserializeArguments Deveel.Data.Routines.InvokeArgument[]
Dispose void
FindTrigger ITable
FormTrigger TriggerInfo
IObjectManager IDbObject
IObjectManager bool
IObjectManager bool
IObjectManager void
ITriggerManager void
InvalidateTriggerCache void
OnTableCommit void
SerializeArguments byte[]

Public Methods

Method Description
AlterTrigger ( TriggerInfo triggerInfo ) : bool
CreateTrigger ( TriggerInfo triggerInfo ) : void
Dispose ( ) : void
DropTrigger ( ObjectName triggerName ) : bool
FireTriggers ( IRequest context, TableEvent tableEvent ) : void
GetTrigger ( ObjectName triggerName ) : Trigger
ResolveName ( ObjectName objName, bool ignoreCase ) : ObjectName
TriggerExists ( ObjectName triggerName ) : bool
TriggerManager ( ITransaction transaction ) : System

Private Methods

Method Description
BuildTriggerCache ( ) : void
DeserializeArguments ( byte bytes ) : Deveel.Data.Routines.InvokeArgument[]
Dispose ( bool disposing ) : void
FindTrigger ( ITable table, string schema, string name ) : ITable
FormTrigger ( Deveel.Data.Sql.Tables.Row row ) : TriggerInfo
IObjectManager ( ObjectName objName ) : IDbObject
IObjectManager ( IObjectInfo objInfo ) : bool
IObjectManager ( ObjectName objName ) : bool
IObjectManager ( IObjectInfo objInfo ) : void
ITriggerManager ( TriggerInfo triggerInfo ) : void
InvalidateTriggerCache ( ) : void
OnTableCommit ( TableCommitEvent commitEvent ) : void
SerializeArguments ( TriggerArgument args ) : byte[]

Method Details

AlterTrigger() public method

public AlterTrigger ( TriggerInfo triggerInfo ) : bool
triggerInfo TriggerInfo
return bool

CreateTrigger() public method

public CreateTrigger ( TriggerInfo triggerInfo ) : void
triggerInfo TriggerInfo
return void

Dispose() public method

public Dispose ( ) : void
return void

DropTrigger() public method

public DropTrigger ( ObjectName triggerName ) : bool
triggerName ObjectName
return bool

FireTriggers() public method

public FireTriggers ( IRequest context, TableEvent tableEvent ) : void
context IRequest
tableEvent TableEvent
return void

GetTrigger() public method

public GetTrigger ( ObjectName triggerName ) : Trigger
triggerName ObjectName
return Trigger

ResolveName() public method

public ResolveName ( ObjectName objName, bool ignoreCase ) : ObjectName
objName ObjectName
ignoreCase bool
return ObjectName

TriggerExists() public method

public TriggerExists ( ObjectName triggerName ) : bool
triggerName ObjectName
return bool

TriggerManager() public method

public TriggerManager ( ITransaction transaction ) : System
transaction ITransaction
return System

Property Details

TriggerTableName public static property

public static ObjectName TriggerTableName
return ObjectName