6.121. sibl_gui.components.core.database.database
database.py
- Platform:
- Windows, Linux, Mac Os X.
- Description:
- Defines the Database Component Interface class.
Others:
6.121.1. Module Attributes
-
sibl_gui.components.core.database.database.LOGGER
6.121.2. Classes
-
class sibl_gui.components.core.database.database.Database(name=None)[source]
Bases: manager.component.Component
Initializes the class.
Parameters: | name (unicode) – Component name. |
-
engine[source]
Property for self.__engine attribute.
Returns: | self.__engine. |
Return type: | QObject |
-
databaseName[source]
Property for self.__databaseName attribute.
Returns: | self.__databaseName. |
Return type: | unicode |
-
databaseEngine[source]
Property for self.__databaseEngine attribute.
Returns: | self.__databaseEngine. |
Return type: | object |
-
databaseCatalog[source]
Property for self.__databaseCatalog attribute.
Returns: | self.__databaseCatalog. |
Return type: | object |
-
databaseSession[source]
Property for self.__databaseSession attribute.
Returns: | self.__databaseSession. |
Return type: | object |
-
databaseSessionMaker[source]
Property for self.__databaseSessionMaker attribute.
Returns: | self.__databaseSessionMaker. |
Return type: | object |
-
databaseConnectionString[source]
Property for self.__databaseConnectionString attribute.
Returns: | self.__databaseConnectionString. |
Return type: | unicode |
-
databaseBackupDirectory[source]
Property for self.__databaseBackupDirectory attribute.
Returns: | self.__databaseBackupDirectory. |
Return type: | unicode |
-
databaseBackupCount[source]
Property for self.__databaseBackupCount attribute.
Returns: | self.__databaseBackupCount. |
Return type: | unicode |
-
activate(engine)[source]
Activates the Component.
Parameters: | engine (QObject) – Engine to attach the Component to. |
Returns: | Method success. |
Return type: | bool |
-
deactivate()[source]
Deactivates the Component.
-
initialize()[source]
Initializes the Component.
Returns: | Method success. |
Return type: | bool |
-
uninitialize()[source]
Uninitializes the Component.
-
commit()[source]
Commits pending changes in the Database.
Returns: | Method success. |
Return type: | bool |