de.willuhn.datasource.GenericObject, de.willuhn.datasource.GenericObjectNode, de.willuhn.datasource.rmi.Changeable, de.willuhn.datasource.rmi.DBObject, de.willuhn.datasource.rmi.DBObjectNode, de.willuhn.datasource.rmi.Transactionable, UmsatzTyp, java.rmi.Remotepublic static class UmsatzTypUtil.UmsatzTypUnassigned extends java.lang.Object implements UmsatzTyp
MAXLENGTH_PATTERN, TYP_AUSGABE, TYP_EGAL, TYP_EINNAHME| Constructor | Description |
|---|---|
UmsatzTypUnassigned() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addDeleteListener(de.willuhn.datasource.rmi.Listener arg0) |
|
void |
addStoreListener(de.willuhn.datasource.rmi.Listener arg0) |
|
void |
clear() |
|
void |
delete() |
|
boolean |
equals(de.willuhn.datasource.GenericObject arg0) |
|
java.lang.Object |
getAttribute(java.lang.String attribute) |
|
java.lang.String[] |
getAttributeNames() |
|
java.lang.String |
getAttributeType(java.lang.String arg0) |
|
de.willuhn.datasource.GenericIterator |
getChildren() |
|
int[] |
getColor() |
Liefert die fuer diese Kategorie zu verwendende Farbe.
|
java.lang.String |
getID() |
|
java.lang.String |
getKommentar() |
Liefert den Kommentar fuer den Umsatztyp.
|
de.willuhn.datasource.rmi.DBIterator |
getList() |
|
java.lang.String |
getName() |
Liefert den Namen des Umsatz-Typs.
|
java.lang.String |
getNummer() |
Liefert die Nummer des Umsatz-Typs.
|
de.willuhn.datasource.GenericObjectNode |
getParent() |
|
de.willuhn.datasource.GenericIterator |
getPath() |
|
java.lang.String |
getPattern() |
Liefert das Suchmuster fuer den Umsatztyp.
|
de.willuhn.datasource.GenericIterator |
getPossibleParents() |
|
java.lang.String |
getPrimaryAttribute() |
|
de.willuhn.datasource.GenericIterator |
getTopLevelList() |
|
int |
getTyp() |
Liefert den Typ der Kategorie.
|
de.willuhn.datasource.GenericIterator |
getUmsaetze() |
Liefert eine Liste von Umsaetzen, die diesem Umsatz-Typ entsprechen.
|
de.willuhn.datasource.GenericIterator |
getUmsaetze(int days) |
Liefert eine Liste von Umsaetzen der letzten Tage, die diesem Umsatz-Typ entsprechen.
|
de.willuhn.datasource.GenericIterator |
getUmsaetze(java.util.Date von,
java.util.Date bis) |
Liefert eine Liste von Umsaetzen aus dem angegebenen Zeitraum.
|
double |
getUmsatz() |
Liefert die Hoehe des Umsatzes, der fuer diesen Umsatztyp auf allen Konten vorliegt.
|
double |
getUmsatz(int days) |
Liefert die Hoehe des Umsatzes der letzten Tage, der fuer diesen Umsatztyp auf allen Konten vorliegt.
|
double |
getUmsatz(java.util.Date von,
java.util.Date bis) |
Liefert die Hoehe des Umsatzes aus dem angegebenen Zeitraum.
|
boolean |
hasChild(de.willuhn.datasource.GenericObjectNode arg0) |
|
boolean |
isCustomColor() |
Prueft, ob eine benutzerdefinierte Farbe verwendet werden soll.
|
boolean |
isNewObject() |
|
boolean |
isRegex() |
Prueft, ob es sich bei dem Pattern um einen regulaeren Ausdruck handelt.
|
void |
load(java.lang.String arg0) |
|
boolean |
matches(Umsatz umsatz) |
Prueft, ob der Umsatz diesem Pattern entspricht.
|
boolean |
matches(Umsatz umsatz,
boolean allowReassign) |
Prueft, ob der Umsatz diesem Pattern entspricht.
|
void |
overwrite(de.willuhn.datasource.rmi.DBObject arg0) |
|
void |
removeDeleteListener(de.willuhn.datasource.rmi.Listener arg0) |
|
void |
removeStoreListener(de.willuhn.datasource.rmi.Listener arg0) |
|
void |
setColor(int[] rgb) |
Speichert die Farbe fuer die Umsatz-Kategorie.
|
void |
setCustomColor(boolean b) |
Legt fest, ob eine benutzerdefinierte Farbe verwendet werden soll.
|
void |
setKommentar(java.lang.String kommentar) |
Speichert den Kommentar fuer den Umsatztyp.
|
void |
setName(java.lang.String name) |
Speichert den Namen des Umsatz-Typs.
|
void |
setNummer(java.lang.String nummer) |
Speichert die Nummer des Umsatz-Typs.
|
void |
setParent(de.willuhn.datasource.rmi.DBObjectNode arg0) |
|
void |
setPattern(java.lang.String pattern) |
Speichert das Suchmuster fuer den Umsatztyp.
|
void |
setRegex(boolean regex) |
Speichert, ob es sich bei dem Pattern um einen regulaeren Ausdruck handelt.
|
void |
setTyp(int typ) |
Speichert den Typ der Kategorie.
|
void |
store() |
|
void |
transactionBegin() |
|
void |
transactionCommit() |
|
void |
transactionRollback() |
public java.lang.Object getAttribute(java.lang.String attribute)
throws java.rmi.RemoteException
getAttribute in interface de.willuhn.datasource.rmi.DBObjectgetAttribute in interface de.willuhn.datasource.GenericObjectjava.rmi.RemoteExceptionDBObject.getAttribute(java.lang.String)public de.willuhn.datasource.GenericIterator getTopLevelList()
throws java.rmi.RemoteException
getTopLevelList in interface de.willuhn.datasource.rmi.DBObjectNodejava.rmi.RemoteExceptionDBObjectNode.getTopLevelList()public void setParent(de.willuhn.datasource.rmi.DBObjectNode arg0)
throws java.rmi.RemoteException
setParent in interface de.willuhn.datasource.rmi.DBObjectNodejava.rmi.RemoteExceptionDBObjectNode.setParent(de.willuhn.datasource.rmi.DBObjectNode)public void addDeleteListener(de.willuhn.datasource.rmi.Listener arg0)
throws java.rmi.RemoteException
addDeleteListener in interface de.willuhn.datasource.rmi.DBObjectjava.rmi.RemoteExceptionDBObject.addDeleteListener(de.willuhn.datasource.rmi.Listener)public void addStoreListener(de.willuhn.datasource.rmi.Listener arg0)
throws java.rmi.RemoteException
addStoreListener in interface de.willuhn.datasource.rmi.DBObjectjava.rmi.RemoteExceptionDBObject.addStoreListener(de.willuhn.datasource.rmi.Listener)public boolean equals(de.willuhn.datasource.GenericObject arg0)
throws java.rmi.RemoteException
equals in interface de.willuhn.datasource.rmi.DBObjectequals in interface de.willuhn.datasource.GenericObjectjava.rmi.RemoteExceptionDBObject.equals(de.willuhn.datasource.GenericObject)public java.lang.String getAttributeType(java.lang.String arg0)
throws java.rmi.RemoteException
getAttributeType in interface de.willuhn.datasource.rmi.DBObjectjava.rmi.RemoteExceptionDBObject.getAttributeType(java.lang.String)public de.willuhn.datasource.rmi.DBIterator getList()
throws java.rmi.RemoteException
getList in interface de.willuhn.datasource.rmi.DBObjectjava.rmi.RemoteExceptionDBObject.getList()public java.lang.String getPrimaryAttribute()
throws java.rmi.RemoteException
getPrimaryAttribute in interface de.willuhn.datasource.rmi.DBObjectgetPrimaryAttribute in interface de.willuhn.datasource.GenericObjectjava.rmi.RemoteExceptionDBObject.getPrimaryAttribute()public void load(java.lang.String arg0)
throws java.rmi.RemoteException
load in interface de.willuhn.datasource.rmi.DBObjectjava.rmi.RemoteExceptionDBObject.load(java.lang.String)public void removeDeleteListener(de.willuhn.datasource.rmi.Listener arg0)
throws java.rmi.RemoteException
removeDeleteListener in interface de.willuhn.datasource.rmi.DBObjectjava.rmi.RemoteExceptionDBObject.removeDeleteListener(de.willuhn.datasource.rmi.Listener)public void removeStoreListener(de.willuhn.datasource.rmi.Listener arg0)
throws java.rmi.RemoteException
removeStoreListener in interface de.willuhn.datasource.rmi.DBObjectjava.rmi.RemoteExceptionDBObject.removeStoreListener(de.willuhn.datasource.rmi.Listener)public java.lang.String[] getAttributeNames()
throws java.rmi.RemoteException
getAttributeNames in interface de.willuhn.datasource.GenericObjectjava.rmi.RemoteExceptionGenericObject.getAttributeNames()public java.lang.String getID()
throws java.rmi.RemoteException
getID in interface de.willuhn.datasource.GenericObjectjava.rmi.RemoteExceptionGenericObject.getID()public void transactionBegin()
throws java.rmi.RemoteException
transactionBegin in interface de.willuhn.datasource.rmi.Transactionablejava.rmi.RemoteExceptionTransactionable.transactionBegin()public void transactionCommit()
throws java.rmi.RemoteException
transactionCommit in interface de.willuhn.datasource.rmi.Transactionablejava.rmi.RemoteExceptionTransactionable.transactionCommit()public void transactionRollback()
throws java.rmi.RemoteException
transactionRollback in interface de.willuhn.datasource.rmi.Transactionablejava.rmi.RemoteExceptionTransactionable.transactionRollback()public void clear()
throws java.rmi.RemoteException
clear in interface de.willuhn.datasource.rmi.Changeablejava.rmi.RemoteExceptionChangeable.clear()public void delete()
throws java.rmi.RemoteException,
de.willuhn.util.ApplicationException
delete in interface de.willuhn.datasource.rmi.Changeablejava.rmi.RemoteExceptionde.willuhn.util.ApplicationExceptionChangeable.delete()public boolean isNewObject()
throws java.rmi.RemoteException
isNewObject in interface de.willuhn.datasource.rmi.Changeablejava.rmi.RemoteExceptionChangeable.isNewObject()public void overwrite(de.willuhn.datasource.rmi.DBObject arg0)
throws java.rmi.RemoteException
overwrite in interface de.willuhn.datasource.rmi.Changeablejava.rmi.RemoteExceptionChangeable.overwrite(de.willuhn.datasource.rmi.DBObject)public void store()
throws java.rmi.RemoteException,
de.willuhn.util.ApplicationException
store in interface de.willuhn.datasource.rmi.Changeablejava.rmi.RemoteExceptionde.willuhn.util.ApplicationExceptionChangeable.store()public de.willuhn.datasource.GenericIterator getChildren()
throws java.rmi.RemoteException
getChildren in interface de.willuhn.datasource.GenericObjectNodejava.rmi.RemoteExceptionGenericObjectNode.getChildren()public de.willuhn.datasource.GenericObjectNode getParent()
throws java.rmi.RemoteException
getParent in interface de.willuhn.datasource.GenericObjectNodejava.rmi.RemoteExceptionGenericObjectNode.getParent()public de.willuhn.datasource.GenericIterator getPath()
throws java.rmi.RemoteException
getPath in interface de.willuhn.datasource.GenericObjectNodejava.rmi.RemoteExceptionGenericObjectNode.getPath()public de.willuhn.datasource.GenericIterator getPossibleParents()
throws java.rmi.RemoteException
getPossibleParents in interface de.willuhn.datasource.GenericObjectNodejava.rmi.RemoteExceptionGenericObjectNode.getPossibleParents()public boolean hasChild(de.willuhn.datasource.GenericObjectNode arg0)
throws java.rmi.RemoteException
hasChild in interface de.willuhn.datasource.GenericObjectNodejava.rmi.RemoteExceptionGenericObjectNode.hasChild(de.willuhn.datasource.GenericObjectNode)public java.lang.String getName()
throws java.rmi.RemoteException
UmsatzTypgetName in interface UmsatzTypjava.rmi.RemoteExceptionUmsatzTyp.getName()public void setName(java.lang.String name)
throws java.rmi.RemoteException
UmsatzTypsetName in interface UmsatzTypname - Name des Umsatz-Typs.java.rmi.RemoteExceptionUmsatzTyp.setName(java.lang.String)public java.lang.String getNummer()
throws java.rmi.RemoteException
UmsatzTypgetNummer in interface UmsatzTypjava.rmi.RemoteExceptionUmsatzTyp.getNummer()public void setNummer(java.lang.String nummer)
throws java.rmi.RemoteException
UmsatzTypsetNummer in interface UmsatzTypnummer - Nummer des Umsatz-Typsjava.rmi.RemoteExceptionUmsatzTyp.setNummer(java.lang.String)public java.lang.String getPattern()
throws java.rmi.RemoteException
UmsatzTypgetPattern in interface UmsatzTypjava.rmi.RemoteExceptionUmsatzTyp.getPattern()public void setPattern(java.lang.String pattern)
throws java.rmi.RemoteException
UmsatzTypsetPattern in interface UmsatzTyppattern - das Suchmuster.java.rmi.RemoteExceptionUmsatzTyp.setPattern(java.lang.String)public de.willuhn.datasource.GenericIterator getUmsaetze()
throws java.rmi.RemoteException
UmsatzTypgetUmsaetze in interface UmsatzTypjava.rmi.RemoteExceptionUmsatzTyp.getUmsaetze()public de.willuhn.datasource.GenericIterator getUmsaetze(java.util.Date von,
java.util.Date bis)
throws java.rmi.RemoteException
UmsatzTypgetUmsaetze in interface UmsatzTypvon - Start-Datum. Wenn == null, dann bleibt es unberücksichtigt.bis - Ende-Datum. Wenn == null, dann bleibt es unberücksichtigt.java.rmi.RemoteExceptionUmsatzTyp.getUmsaetze(java.util.Date, java.util.Date)public de.willuhn.datasource.GenericIterator getUmsaetze(int days)
throws java.rmi.RemoteException
UmsatzTypgetUmsaetze in interface UmsatzTypdays - Anzahl der Tage.java.rmi.RemoteExceptionUmsatzTyp.getUmsaetze(int)public double getUmsatz()
throws java.rmi.RemoteException
UmsatzTypgetUmsatz in interface UmsatzTypjava.rmi.RemoteExceptionUmsatzTyp.getUmsatz()public double getUmsatz(java.util.Date von,
java.util.Date bis)
throws java.rmi.RemoteException
UmsatzTypgetUmsatz in interface UmsatzTypvon - Start-Datum. Wenn == null, dann bleibt es unberücksichtigt.bis - Ende-Datum. Wenn == null, dann bleibt es unberücksichtigt.java.rmi.RemoteExceptionUmsatzTyp.getUmsatz(java.util.Date, java.util.Date)public double getUmsatz(int days)
throws java.rmi.RemoteException
UmsatzTypgetUmsatz in interface UmsatzTypdays - Anzahl der Tage.java.rmi.RemoteExceptionUmsatzTyp.getUmsatz(int)public boolean isRegex()
throws java.rmi.RemoteException
UmsatzTypisRegex in interface UmsatzTypjava.rmi.RemoteExceptionUmsatzTyp.isRegex()public int getTyp()
throws java.rmi.RemoteException
UmsatzTypgetTyp in interface UmsatzTypjava.rmi.RemoteExceptionUmsatzTyp.getTyp()public void setTyp(int typ)
throws java.rmi.RemoteException
UmsatzTypsetTyp in interface UmsatzTyptyp - Typ der Kategorie.java.rmi.RemoteExceptionUmsatzTyp.setTyp(int)public void setRegex(boolean regex)
throws java.rmi.RemoteException
UmsatzTypsetRegex in interface UmsatzTypregex - true, wenn es sich um einen regulaeren Ausdruck handelt.java.rmi.RemoteExceptionUmsatzTyp.setRegex(boolean)public boolean matches(Umsatz umsatz, boolean allowReassign) throws java.rmi.RemoteException, java.util.regex.PatternSyntaxException
UmsatzTypmatches in interface UmsatzTypumsatz - zu pruefender Umsatz.allowReassign - true, wenn der Umsatz auch dann als passend gewertet werden
soll, wenn er bereits fest einer anderen Kategorie zugeordnet ist. Per Default (also
wenn die "matches(Umsatz)"-Funktion ohne diesen Boolean-Parameter aufgerufen wird)
ist dieser Parameter "false". Das heisst, ein Umsatz, der bereits manuell (nicht per Suchbegriff)
einer anderen Kategorie zugeordnet ist, liefert hier false, wenn "this" nicht
die zugeordnete Kategorie ist.java.rmi.RemoteExceptionjava.util.regex.PatternSyntaxException - wird geworden, wenn es ein regulaerer Ausdruck mit Fehlern ist.UmsatzTyp.matches(de.willuhn.jameica.hbci.rmi.Umsatz, boolean)public boolean matches(Umsatz umsatz) throws java.rmi.RemoteException
UmsatzTypmatches in interface UmsatzTypumsatz - zu pruefender Umsatz.java.rmi.RemoteExceptionUmsatzTyp.matches(de.willuhn.jameica.hbci.rmi.Umsatz)public int[] getColor()
throws java.rmi.RemoteException
UmsatzTypgetColor in interface UmsatzTypjava.rmi.RemoteExceptionUmsatzTyp.getColor()public void setColor(int[] rgb)
throws java.rmi.RemoteException
UmsatzTypsetColor in interface UmsatzTyprgb - Farbe.java.rmi.RemoteExceptionUmsatzTyp.setColor(int[])public boolean isCustomColor()
throws java.rmi.RemoteException
UmsatzTypisCustomColor in interface UmsatzTypjava.rmi.RemoteExceptionUmsatzTyp.isCustomColor()public void setCustomColor(boolean b)
throws java.rmi.RemoteException
UmsatzTypsetCustomColor in interface UmsatzTypb - true, wenn eine benutzerdefinierte Farbe verwendet werden soll.java.rmi.RemoteExceptionUmsatzTyp.setCustomColor(boolean)public void setKommentar(java.lang.String kommentar)
throws java.rmi.RemoteException
UmsatzTypsetKommentar in interface UmsatzTypkommentar - der Kommentar.java.rmi.RemoteExceptionpublic java.lang.String getKommentar()
throws java.rmi.RemoteException
UmsatzTypgetKommentar in interface UmsatzTypjava.rmi.RemoteException