Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.elexis.data
Class Bestellung

java.lang.Object
  extended by ch.elexis.data.PersistentObject
      extended by ch.elexis.data.Bestellung
All Implemented Interfaces:
IPersistentObject, ISelectable

public class Bestellung
extends PersistentObject


Nested Class Summary
static class Bestellung.Item
           
static class Bestellung.ListenTyp
           
 
Nested classes/interfaces inherited from class ch.elexis.data.PersistentObject
PersistentObject.FieldType
 
Field Summary
 
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
Bestellung(java.lang.String name, Anwender an)
           
 
Method Summary
 void addItem(Artikel art, int num)
           
 java.util.List<Bestellung.Item> asList()
           
 java.lang.String asString(Bestellung.ListenTyp type)
           
 Bestellung.Item findItem(Artikel art)
           
 java.lang.String getLabel()
          Einen menschenlesbaren Identifikationsstring für dieses Objet liefern
 void load()
           
static Bestellung load(java.lang.String id)
           
 void removeItem(Bestellung.Item art)
           
 void save()
           
 
Methods inherited from class ch.elexis.data.PersistentObject
addChangeListener, addSticker, addToList, addXid, begin, checkNull, checkZero, checkZeroDouble, clearCache, connect, connect, delete, 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
 

Constructor Detail

Bestellung

public Bestellung(java.lang.String name,
                  Anwender an)
Method Detail

getLabel

public java.lang.String getLabel()
Description copied from class: PersistentObject
Einen menschenlesbaren Identifikationsstring für dieses Objet liefern

Specified by:
getLabel in interface IPersistentObject
Specified by:
getLabel in class PersistentObject

asString

public java.lang.String asString(Bestellung.ListenTyp type)

asList

public java.util.List<Bestellung.Item> asList()

addItem

public void addItem(Artikel art,
                    int num)

findItem

public Bestellung.Item findItem(Artikel art)

removeItem

public void removeItem(Bestellung.Item art)

save

public void save()

load

public void load()

load

public static Bestellung load(java.lang.String id)

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis