Deveel.Data.Sql.Variables.PersistentVariableManager.PersistentVariableManager |
( |
ITransaction |
transaction | ) |
|
|
inline |
Definition at line 24 of file PersistentVariableManager.cs.
The system implementation of a transaction model that handles isolated operations within a database c...
bool IObjectManager. Deveel.Data.Sql.Variables.PersistentVariableManager.AlterObject |
( |
IObjectInfo |
objInfo | ) |
|
|
inlineprivate |
Modifies an existing object managed, identified by IObjectInfo.FullName component of the given specification, with the format given.
- Parameters
-
objInfo | The object specification used to alter an existing object. |
- Returns
- Returns
true
an object was identified and successfully altered, or false
if none database object was found for the unique name given.
- Exceptions
-
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. |
Implements Deveel.Data.Sql.IObjectManager.
Definition at line 87 of file PersistentVariableManager.cs.
88 throw new NotSupportedException();
void IObjectManager. Deveel.Data.Sql.Variables.PersistentVariableManager.Create |
( |
| ) |
|
|
inlineprivate |
void IObjectManager. Deveel.Data.Sql.Variables.PersistentVariableManager.CreateObject |
( |
IObjectInfo |
objInfo | ) |
|
|
inlineprivate |
Create a new object of the ObjectType given the specifications given.
- Parameters
-
objInfo | The object specifications used to create a new object. |
- Exceptions
-
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. |
Implements Deveel.Data.Sql.IObjectManager.
Definition at line 39 of file PersistentVariableManager.cs.
40 var variableInfo = objInfo as VariableInfo;
41 if (variableInfo == null)
42 throw new ArgumentException();
Variable DefineVariable(VariableInfo variableInfo)
Variable Deveel.Data.Sql.Variables.PersistentVariableManager.DefineVariable |
( |
VariableInfo |
variableInfo | ) |
|
|
inline |
void Deveel.Data.Sql.Variables.PersistentVariableManager.Dispose |
( |
| ) |
|
|
inline |
Definition at line 129 of file PersistentVariableManager.cs.
The system implementation of a transaction model that handles isolated operations within a database c...
bool IObjectManager. Deveel.Data.Sql.Variables.PersistentVariableManager.DropObject |
( |
ObjectName |
objName | ) |
|
|
inlineprivate |
Deletes a database object handled by this manager from the system.
- Parameters
-
objName | The unique name of the object to be deleted. |
- Returns
- Returns
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.
Implements Deveel.Data.Sql.IObjectManager.
Definition at line 91 of file PersistentVariableManager.cs.
93 throw new ArgumentNullException(
"objName");
95 if (objName.Parent != null)
96 throw new ArgumentException();
bool DropVariable(string variableName)
bool Deveel.Data.Sql.Variables.PersistentVariableManager.DropVariable |
( |
string |
variableName | ) |
|
|
inline |
IDbObject IObjectManager. Deveel.Data.Sql.Variables.PersistentVariableManager.GetObject |
( |
ObjectName |
objName | ) |
|
|
inlineprivate |
Gets a database object managed by this manager.
- Parameters
-
objName | The name that uniquely identifies the object to get. |
- Returns
- Returns a IDbObject instance that is identified by the given unique name, or
null
if this manager was not able to map any object to the name specified.
Implements Deveel.Data.Sql.IObjectManager.
Definition at line 77 of file PersistentVariableManager.cs.
79 throw new ArgumentNullException(
"objName");
81 if (objName.Parent != null)
82 throw new ArgumentException();
Variable GetVariable(string variableName)
Variable Deveel.Data.Sql.Variables.PersistentVariableManager.GetVariable |
( |
string |
variableName | ) |
|
|
inline |
bool IObjectManager. Deveel.Data.Sql.Variables.PersistentVariableManager.ObjectExists |
( |
ObjectName |
objName | ) |
|
|
inlineprivate |
Checks if an object identified by the given name is managed by this instance.
- Parameters
-
objName | The name that uniquely identifies the object. |
- Returns
Implements Deveel.Data.Sql.IObjectManager.
Definition at line 51 of file PersistentVariableManager.cs.
53 throw new ArgumentNullException(
"objName");
55 if (objName.Parent != null)
56 throw new ArgumentException();
bool VariableExists(string name)
bool IObjectManager. Deveel.Data.Sql.Variables.PersistentVariableManager.RealObjectExists |
( |
ObjectName |
objName | ) |
|
|
inlineprivate |
Checks if an object really exists in the system.
- Parameters
-
objName | The unique name of the object to check. |
- Returns
- Returns
true
if an object with the given name concretely exists in the system, or false
otherwise.
Implements Deveel.Data.Sql.IObjectManager.
Definition at line 47 of file PersistentVariableManager.cs.
48 return (
this as IObjectManager).ObjectExists(objName);
DataObject IVariableResolver. Deveel.Data.Sql.Variables.PersistentVariableManager.Resolve |
( |
ObjectName |
variable | ) |
|
|
inlineprivate |
ObjectName IObjectManager. Deveel.Data.Sql.Variables.PersistentVariableManager.ResolveName |
( |
ObjectName |
objName, |
|
|
bool |
ignoreCase |
|
) |
| |
|
inlineprivate |
Normalizes the input object name using the case sensitivity specified.
- Parameters
-
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. |
- Returns
- Returns the fully normalized ObjectName that is the real name of an object matching the input name, or
null
if the input name was not possible to be resolved.
Implements Deveel.Data.Sql.IObjectManager.
Definition at line 101 of file PersistentVariableManager.cs.
102 if (objName.Parent != null)
106 return new ObjectName(objName.Name);
bool VariableExists(string name)
SqlType IVariableResolver. Deveel.Data.Sql.Variables.PersistentVariableManager.ReturnType |
( |
ObjectName |
variable | ) |
|
|
inlineprivate |
bool Deveel.Data.Sql.Variables.PersistentVariableManager.VariableExists |
( |
string |
name | ) |
|
|
inline |
bool Deveel.Data.Sql.Variables.PersistentVariableManager.VariableExists |
( |
string |
name, |
|
|
bool |
ignoreCase |
|
) |
| |
|
inlineprivate |
DbObjectType IObjectManager. Deveel.Data.Sql.Variables.PersistentVariableManager.ObjectType |
|
getprivate |
ITransaction Deveel.Data.Sql.Variables.PersistentVariableManager.Transaction |
|
getprivate set |
The documentation for this class was generated from the following file: