|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc für Elexis version 2.1.7.dev vom 01.09.2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IPersistentObjectManager
A PersistentObjectFactory can create Instances of any class that is in the classpath and implements IPersistentObject
| Method Summary | |
|---|---|
IPersistentObject |
create(java.lang.Class<?> typ,
java.lang.String id,
boolean persistent)
Create an IPersistentObject. |
IPersistentObject[] |
executeQuery(Query qbe)
|
IPersistentObject |
fetch(java.lang.Class<?> typ,
java.lang.String id)
Fetch an IPersistentObject from the storage. |
void |
setBinding(java.util.Map<java.lang.String,java.lang.Class<? extends IPersistentObject>> map)
get an arbitrary Property from an IPersistentObject |
| Method Detail |
|---|
IPersistentObject fetch(java.lang.Class<?> typ,
java.lang.String id)
throws ElexisCoreException
clazz - full qualified class name of the Object to loadid - GUID of the object to load
ElexisCoreException - if access to the Object was not possible (e.g. due to missing class or missing
access to the storage)
IPersistentObject create(java.lang.Class<?> typ,
java.lang.String id,
boolean persistent)
throws ElexisCoreException
clazz - full qualified class name of the Object to createid - id of the Object to create. Can be null, then the id will be created by the
frameworkpersistent - true if the Object should be persisted in the storage
ElexisCoreException - if Creation wos not possiblevoid setBinding(java.util.Map<java.lang.String,java.lang.Class<? extends IPersistentObject>> map)
object - IPersistentObject to querypropertyName - name of the Property to read
ElexisStorageException - id the storage is not readyIPersistentObject[] executeQuery(Query qbe)
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc für Elexis version 2.1.7.dev vom 01.09.2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||