|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.elexis.data.PersistentObject
ch.elexis.omnivore.data.DocHandle
public class DocHandle
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ch.elexis.data.PersistentObject |
|---|
PersistentObject.FieldType |
| Field Summary | |
|---|---|
static java.lang.String |
createDB
|
static java.lang.String |
DBVERSION
|
static java.lang.String |
TABLENAME
|
static java.lang.String |
upd120
|
| Fields inherited from class ch.elexis.data.PersistentObject |
|---|
CACHE_DEFAULT_LIFETIME, CACHE_MIN_LIFETIME, CFG_CONNECTSTRING, CFG_DRIVER, CFG_PWD, CFG_TYPE, CFG_USER, DELETED, EXISTS, INEXISTENT, INVALID_ID, MATCH_AUTO, MATCH_CONTAINS, MATCH_EXACT, MATCH_REGEXP, MATCH_START |
| Fields inherited from interface ch.elexis.core.data.IPersistentObject |
|---|
FLD_DATE, FLD_DELETED, FLD_EXTINFO, FLD_ID, FLD_LASTUPDATE, STATE_EXISTING, STATE_INEXISTENT, STATE_INVALID_ID |
| Constructor Summary | |
|---|---|
DocHandle(byte[] doc,
Patient pat,
java.lang.String title,
java.lang.String mime,
java.lang.String keyw)
|
|
| Method Summary | |
|---|---|
static void |
assimilate(java.lang.String f)
|
boolean |
delete()
Ein Objekt und ggf. dessen XID's aus der Datenbank löschen the object is not deleted but rather marked as deleted. |
void |
execute()
|
java.lang.String |
getCategory()
Category of the document. |
byte[] |
getContentsAsBytes()
A representation of the contents as byte array |
java.io.InputStream |
getContentsAsStream()
A representation of the contents a stream |
java.lang.String |
getCreationDate()
Date this document was created |
java.lang.String |
getGUID()
A globally unique identifier for this document. |
java.lang.String |
getKeywords()
Arbitrary keywords for this document |
java.lang.String |
getLabel()
Einen menschenlesbaren Identifikationsstring für dieses Objet liefern |
java.lang.String |
getMimeType()
Mime-Type of the contents. |
java.lang.String |
getPatientID()
The Patient this document belongs to. |
java.lang.String |
getTitle()
Title for the document. |
static void |
init()
Tabelle neu erstellen |
static DocHandle |
load(java.lang.String id)
|
| Methods inherited from class ch.elexis.data.PersistentObject |
|---|
addChangeListener, addSticker, addToList, addXid, begin, checkNull, checkZero, checkZeroDouble, clearCache, connect, connect, deleteList, disconnect, equals, executeSQLScript, exists, exportData, fireChangeEvent, flatten, fold, get, get, getCacheTime, getConnection, getDefaultCacheLifetime, getFieldType, getId, getInt, getLastUpdate, getList, getList, getMap, getSticker, getStickers, getWrappedId, getXid, getXid, getXids, hashCode, isAvailable, isDeleted, isDragOK, isMatching, isMatching, isMatching, isMatching, isShowDeleted, isValid, lock, map, relock, removeChangeListener, removeFromList, removeFromList, removeSticker, resetCache, set, set, setDefaultCacheLifetime, setInt, setMap, setShowDeleted, setTrace, state, storeToString, tableExists, ts, undelete, unlock |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TABLENAME
public static final java.lang.String DBVERSION
public static final java.lang.String createDB
public static final java.lang.String upd120
| Constructor Detail |
|---|
public DocHandle(byte[] doc,
Patient pat,
java.lang.String title,
java.lang.String mime,
java.lang.String keyw)
| Method Detail |
|---|
public static void init()
public static DocHandle load(java.lang.String id)
public java.lang.String getLabel()
PersistentObject
getLabel in interface IPersistentObjectgetLabel in class PersistentObjectpublic boolean delete()
PersistentObject
delete in class PersistentObjectpublic byte[] getContentsAsBytes()
IOpaqueDocument
getContentsAsBytes in interface IOpaqueDocumentpublic java.io.InputStream getContentsAsStream()
IOpaqueDocument
getContentsAsStream in interface IOpaqueDocumentpublic void execute()
public static void assimilate(java.lang.String f)
public java.lang.String getTitle()
IOpaqueDocument
getTitle in interface IOpaqueDocumentpublic java.lang.String getMimeType()
IOpaqueDocument
getMimeType in interface IOpaqueDocumentpublic java.lang.String getKeywords()
IOpaqueDocument
getKeywords in interface IOpaqueDocumentpublic java.lang.String getCategory()
IOpaqueDocument
getCategory in interface IOpaqueDocumentpublic java.lang.String getCreationDate()
IOpaqueDocument
getCreationDate in interface IOpaqueDocumentpublic java.lang.String getPatientID()
IOpaqueDocument
getPatientID in interface IOpaqueDocumentpublic java.lang.String getGUID()
IOpaqueDocument
getGUID in interface IOpaqueDocument
|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||