Static Public Member Functions | |
static Power | get (config.Configuration db, config.ConfigObject obj) |
Method to get an object by config object. | |
static Power | get (config.Configuration db, String id) |
Method to get an object by identity. | |
static Power[] | get (config.Configuration db, config.Query query) |
Method to get objects of class. | |
static Power | create (config.Configuration db, String file, String id) |
Method to create object of this class in given database file. | |
static Power | create (config.Configuration db, config.DalObject at, String id) |
Method to create object of this class in database file storing existing object. |
If something goes wrong the methods can throw several exceptions:
config.NotFoundException
- in case if given class or object can not be found config.SystemException
- if case of system problems (communication or implementation database failure, etc.)
In addition the methods to create object can throw config.NotAllowedException
exception in case, if there are no write access rights or database is already locked by other process.
Definition at line 29 of file Power_Helper.java.
|
Method to create object of this class in database file storing existing object.
Definition at line 102 of file Power_Helper.java. |
|
Method to create object of this class in given database file.
Definition at line 91 of file Power_Helper.java. |
|
Method to get objects of class. If the query is empty, then all objects of class are returned. Otherwise returns objects which satisfy query.
Definition at line 75 of file Power_Helper.java. References get(). Here is the call graph for this function: ![]() |
|
Method to get an object by identity. If no such object, the method throws exception config.NotFoundException.
Definition at line 56 of file Power_Helper.java. References get(). Here is the call graph for this function: ![]() |
|
Method to get an object by config object. It is used by the config.Configuration class.
Definition at line 38 of file Power_Helper.java. Referenced by get(). |