DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
Defines the contract for the business managers of database objects of a given type. More...
Public Member Functions | |
void | Create () |
Initializes the manager into the underlying system. More... | |
void | CreateObject (IObjectInfo objInfo) |
Create a new object of the ObjectType given the specifications given. More... | |
bool | RealObjectExists (ObjectName objName) |
Checks if an object really exists in the system. More... | |
bool | ObjectExists (ObjectName objName) |
Checks if an object identified by the given name is managed by this instance. More... | |
IDbObject | GetObject (ObjectName objName) |
Gets a database object managed by this manager. More... | |
bool | AlterObject (IObjectInfo objInfo) |
Modifies an existing object managed, identified by IObjectInfo.FullName component of the given specification, with the format given. More... | |
bool | DropObject (ObjectName objName) |
Deletes a database object handled by this manager from the system. More... | |
ObjectName | ResolveName (ObjectName objName, bool ignoreCase) |
Normalizes the input object name using the case sensitivity specified. More... | |
Properties | |
DbObjectType | ObjectType [get] |
Gets the type of objects managed by this instance. More... | |
Defines the contract for the business managers of database objects of a given type.
Implementations of this interface will allow the system to:
Definition at line 37 of file IObjectManager.cs.
bool Deveel.Data.Sql.IObjectManager.AlterObject | ( | IObjectInfo | objInfo | ) |
Modifies an existing object managed, identified by IObjectInfo.FullName component of the given specification, with the format given.
objInfo | The object specification used to alter an existing object. |
true
an object was identified and successfully altered, or false
if none database object was found for the unique name given. ArgumentNullException | If the given objInfo object is null . |
ArgumentException | If the type of the object specified (IObjectInfo.ObjectType) is different than the type of objects handled by this manager. |
Implemented in Deveel.Data.Sql.Tables.TableManager, Deveel.Data.Sql.Sequences.SequenceManager, Deveel.Data.Sql.Triggers.TriggerManager, Deveel.Data.Routines.RoutineManager, Deveel.Data.Sql.Views.ViewManager, Deveel.Data.Sql.Schemas.SchemaManager, Deveel.Data.Sql.Variables.PersistentVariableManager, Deveel.Data.Sql.Cursors.CursorManager, and Deveel.Data.Types.TypeManager.
void Deveel.Data.Sql.IObjectManager.Create | ( | ) |
Initializes the manager into the underlying system.
Typically this method generates the tables required to manage the features relative to the objects.
Implemented in Deveel.Data.Sql.Sequences.SequenceManager, Deveel.Data.Sql.Tables.TableManager, Deveel.Data.Sql.Triggers.TriggerManager, Deveel.Data.Sql.Views.ViewManager, Deveel.Data.Routines.RoutineManager, Deveel.Data.Sql.Cursors.CursorManager, Deveel.Data.Sql.Schemas.SchemaManager, Deveel.Data.Types.TypeManager, and Deveel.Data.Sql.Variables.PersistentVariableManager.
void Deveel.Data.Sql.IObjectManager.CreateObject | ( | IObjectInfo | objInfo | ) |
Create a new object of the ObjectType given the specifications given.
objInfo | The object specifications used to create a new object. |
ArgumentNullException | If the given objInfo is null . |
ArgumentException | If the object type of the specification (IObjectInfo.ObjectType) is different than the ObjectType of this manager. |
Implemented in Deveel.Data.Sql.Sequences.SequenceManager, Deveel.Data.Sql.Tables.TableManager, Deveel.Data.Sql.Triggers.TriggerManager, Deveel.Data.Sql.Views.ViewManager, Deveel.Data.Routines.RoutineManager, Deveel.Data.Sql.Schemas.SchemaManager, Deveel.Data.Sql.Cursors.CursorManager, Deveel.Data.Types.TypeManager, and Deveel.Data.Sql.Variables.PersistentVariableManager.
bool Deveel.Data.Sql.IObjectManager.DropObject | ( | ObjectName | objName | ) |
Deletes a database object handled by this manager from the system.
objName | The unique name of the object to be deleted. |
true
if a database object was found with the given unique name and successfully deleted from the system, or false
if none object was found. Implemented in Deveel.Data.Sql.Tables.TableManager, Deveel.Data.Sql.Sequences.SequenceManager, Deveel.Data.Sql.Triggers.TriggerManager, Deveel.Data.Routines.RoutineManager, Deveel.Data.Sql.Views.ViewManager, Deveel.Data.Sql.Schemas.SchemaManager, Deveel.Data.Sql.Variables.PersistentVariableManager, Deveel.Data.Sql.Cursors.CursorManager, and Deveel.Data.Types.TypeManager.
IDbObject Deveel.Data.Sql.IObjectManager.GetObject | ( | ObjectName | objName | ) |
Gets a database object managed by this manager.
objName | The name that uniquely identifies the object to get. |
null
if this manager was not able to map any object to the name specified. Implemented in Deveel.Data.Sql.Sequences.SequenceManager, Deveel.Data.Sql.Tables.TableManager, Deveel.Data.Sql.Triggers.TriggerManager, Deveel.Data.Routines.RoutineManager, Deveel.Data.Sql.Views.ViewManager, Deveel.Data.Sql.Schemas.SchemaManager, Deveel.Data.Sql.Cursors.CursorManager, Deveel.Data.Sql.Variables.PersistentVariableManager, and Deveel.Data.Types.TypeManager.
bool Deveel.Data.Sql.IObjectManager.ObjectExists | ( | ObjectName | objName | ) |
Checks if an object identified by the given name is managed by this instance.
objName | The name that uniquely identifies the object. |
Implemented in Deveel.Data.Sql.Sequences.SequenceManager, Deveel.Data.Sql.Tables.TableManager, Deveel.Data.Sql.Triggers.TriggerManager, Deveel.Data.Sql.Views.ViewManager, Deveel.Data.Routines.RoutineManager, Deveel.Data.Sql.Schemas.SchemaManager, Deveel.Data.Sql.Cursors.CursorManager, Deveel.Data.Sql.Variables.PersistentVariableManager, and Deveel.Data.Types.TypeManager.
bool Deveel.Data.Sql.IObjectManager.RealObjectExists | ( | ObjectName | objName | ) |
Checks if an object really exists in the system.
objName | The unique name of the object to check. |
true
if an object with the given name concretely exists in the system, or false
otherwise. Implemented in Deveel.Data.Sql.Sequences.SequenceManager, Deveel.Data.Sql.Tables.TableManager, Deveel.Data.Sql.Triggers.TriggerManager, Deveel.Data.Sql.Views.ViewManager, Deveel.Data.Routines.RoutineManager, Deveel.Data.Sql.Schemas.SchemaManager, Deveel.Data.Sql.Cursors.CursorManager, Deveel.Data.Sql.Variables.PersistentVariableManager, and Deveel.Data.Types.TypeManager.
ObjectName Deveel.Data.Sql.IObjectManager.ResolveName | ( | ObjectName | objName, |
bool | ignoreCase | ||
) |
Normalizes the input object name using the case sensitivity specified.
objName | The input object name, that can be partial or complete, to be normalized to the real name of an object. |
ignoreCase | The case sensitivity specification used to compare the input name with the names of the existing objects handled by this manager. |
null
if the input name was not possible to be resolved. Implemented in Deveel.Data.Sql.Tables.TableManager, Deveel.Data.Sql.Sequences.SequenceManager, Deveel.Data.Sql.Triggers.TriggerManager, Deveel.Data.Routines.RoutineManager, Deveel.Data.Sql.Views.ViewManager, Deveel.Data.Sql.Variables.PersistentVariableManager, Deveel.Data.Sql.Schemas.SchemaManager, Deveel.Data.Sql.Cursors.CursorManager, and Deveel.Data.Types.TypeManager.
|
get |
Gets the type of objects managed by this instance.
Definition at line 42 of file IObjectManager.cs.