Home | Trees | Index | Help |
|
---|
Package g4ds :: Module securitymanager :: Class AlgorithmManager |
|
Method Summary | |
---|---|
Initialises the manager with the subjacent database. | |
Some basic information about the object | |
Add one algorithm to the manager. | |
Returns the algorithm instance for the given algoritm id. | |
Returns the algorithm instance with the name as given. | |
Returns the algorithm with given algorithm name. | |
List of Algorithm
|
Returns a list of all saved algorithms. |
Instance Variable Summary | |
---|---|
Dict (String | Algorithm ) |
_algorithms : Dictionary, maintaining the algorithms - accessable by its id |
Boolean |
_dbconnected : Indicates, whether the manager is connected to a database; hence
whether the changes shall be written through |
securitymanager_db.SecDB |
_sec_db : Security Database Connector |
Method Details |
---|
__init__(self,
loadFromDatabase=1)
Initialises the manager with the subjacent database.
|
__str__(self)
Some basic information about the object
|
addAlgorithm(self, algorithm, persistent=1)Add one algorithm to the manager.
|
getAlgorithm(self, algorithmId)Returns the algorithm instance for the given algoritm id. |
getAlgorithmByName(self, algName)Returns the algorithm instance with the name as given. |
getAlgorithmByNameAndInsert(self, algname)Returns the algorithm with given algorithm name. If the algorithm is not yet in the manager it will be created. |
getAlgorithms(self)Returns a list of all saved algorithms.
|
Instance Variable Details |
---|
_algorithmsDictionary, maintaining the algorithms - accessable by its id
|
_dbconnectedIndicates, whether the manager is connected to a database; hence whether the changes shall be written through
|
_sec_dbSecurity Database Connector
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat Oct 22 22:52:46 2005 | http://epydoc.sf.net |