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.Remote
public 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.DBObject
getAttribute
in interface de.willuhn.datasource.GenericObject
java.rmi.RemoteException
DBObject.getAttribute(java.lang.String)
public de.willuhn.datasource.GenericIterator getTopLevelList() throws java.rmi.RemoteException
getTopLevelList
in interface de.willuhn.datasource.rmi.DBObjectNode
java.rmi.RemoteException
DBObjectNode.getTopLevelList()
public void setParent(de.willuhn.datasource.rmi.DBObjectNode arg0) throws java.rmi.RemoteException
setParent
in interface de.willuhn.datasource.rmi.DBObjectNode
java.rmi.RemoteException
DBObjectNode.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.DBObject
java.rmi.RemoteException
DBObject.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.DBObject
java.rmi.RemoteException
DBObject.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.DBObject
equals
in interface de.willuhn.datasource.GenericObject
java.rmi.RemoteException
DBObject.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.DBObject
java.rmi.RemoteException
DBObject.getAttributeType(java.lang.String)
public de.willuhn.datasource.rmi.DBIterator getList() throws java.rmi.RemoteException
getList
in interface de.willuhn.datasource.rmi.DBObject
java.rmi.RemoteException
DBObject.getList()
public java.lang.String getPrimaryAttribute() throws java.rmi.RemoteException
getPrimaryAttribute
in interface de.willuhn.datasource.rmi.DBObject
getPrimaryAttribute
in interface de.willuhn.datasource.GenericObject
java.rmi.RemoteException
DBObject.getPrimaryAttribute()
public void load(java.lang.String arg0) throws java.rmi.RemoteException
load
in interface de.willuhn.datasource.rmi.DBObject
java.rmi.RemoteException
DBObject.load(java.lang.String)
public void removeDeleteListener(de.willuhn.datasource.rmi.Listener arg0) throws java.rmi.RemoteException
removeDeleteListener
in interface de.willuhn.datasource.rmi.DBObject
java.rmi.RemoteException
DBObject.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.DBObject
java.rmi.RemoteException
DBObject.removeStoreListener(de.willuhn.datasource.rmi.Listener)
public java.lang.String[] getAttributeNames() throws java.rmi.RemoteException
getAttributeNames
in interface de.willuhn.datasource.GenericObject
java.rmi.RemoteException
GenericObject.getAttributeNames()
public java.lang.String getID() throws java.rmi.RemoteException
getID
in interface de.willuhn.datasource.GenericObject
java.rmi.RemoteException
GenericObject.getID()
public void transactionBegin() throws java.rmi.RemoteException
transactionBegin
in interface de.willuhn.datasource.rmi.Transactionable
java.rmi.RemoteException
Transactionable.transactionBegin()
public void transactionCommit() throws java.rmi.RemoteException
transactionCommit
in interface de.willuhn.datasource.rmi.Transactionable
java.rmi.RemoteException
Transactionable.transactionCommit()
public void transactionRollback() throws java.rmi.RemoteException
transactionRollback
in interface de.willuhn.datasource.rmi.Transactionable
java.rmi.RemoteException
Transactionable.transactionRollback()
public void clear() throws java.rmi.RemoteException
clear
in interface de.willuhn.datasource.rmi.Changeable
java.rmi.RemoteException
Changeable.clear()
public void delete() throws java.rmi.RemoteException, de.willuhn.util.ApplicationException
delete
in interface de.willuhn.datasource.rmi.Changeable
java.rmi.RemoteException
de.willuhn.util.ApplicationException
Changeable.delete()
public boolean isNewObject() throws java.rmi.RemoteException
isNewObject
in interface de.willuhn.datasource.rmi.Changeable
java.rmi.RemoteException
Changeable.isNewObject()
public void overwrite(de.willuhn.datasource.rmi.DBObject arg0) throws java.rmi.RemoteException
overwrite
in interface de.willuhn.datasource.rmi.Changeable
java.rmi.RemoteException
Changeable.overwrite(de.willuhn.datasource.rmi.DBObject)
public void store() throws java.rmi.RemoteException, de.willuhn.util.ApplicationException
store
in interface de.willuhn.datasource.rmi.Changeable
java.rmi.RemoteException
de.willuhn.util.ApplicationException
Changeable.store()
public de.willuhn.datasource.GenericIterator getChildren() throws java.rmi.RemoteException
getChildren
in interface de.willuhn.datasource.GenericObjectNode
java.rmi.RemoteException
GenericObjectNode.getChildren()
public de.willuhn.datasource.GenericObjectNode getParent() throws java.rmi.RemoteException
getParent
in interface de.willuhn.datasource.GenericObjectNode
java.rmi.RemoteException
GenericObjectNode.getParent()
public de.willuhn.datasource.GenericIterator getPath() throws java.rmi.RemoteException
getPath
in interface de.willuhn.datasource.GenericObjectNode
java.rmi.RemoteException
GenericObjectNode.getPath()
public de.willuhn.datasource.GenericIterator getPossibleParents() throws java.rmi.RemoteException
getPossibleParents
in interface de.willuhn.datasource.GenericObjectNode
java.rmi.RemoteException
GenericObjectNode.getPossibleParents()
public boolean hasChild(de.willuhn.datasource.GenericObjectNode arg0) throws java.rmi.RemoteException
hasChild
in interface de.willuhn.datasource.GenericObjectNode
java.rmi.RemoteException
GenericObjectNode.hasChild(de.willuhn.datasource.GenericObjectNode)
public java.lang.String getName() throws java.rmi.RemoteException
UmsatzTyp
getName
in interface UmsatzTyp
java.rmi.RemoteException
UmsatzTyp.getName()
public void setName(java.lang.String name) throws java.rmi.RemoteException
UmsatzTyp
setName
in interface UmsatzTyp
name
- Name des Umsatz-Typs.java.rmi.RemoteException
UmsatzTyp.setName(java.lang.String)
public java.lang.String getNummer() throws java.rmi.RemoteException
UmsatzTyp
getNummer
in interface UmsatzTyp
java.rmi.RemoteException
UmsatzTyp.getNummer()
public void setNummer(java.lang.String nummer) throws java.rmi.RemoteException
UmsatzTyp
setNummer
in interface UmsatzTyp
nummer
- Nummer des Umsatz-Typsjava.rmi.RemoteException
UmsatzTyp.setNummer(java.lang.String)
public java.lang.String getPattern() throws java.rmi.RemoteException
UmsatzTyp
getPattern
in interface UmsatzTyp
java.rmi.RemoteException
UmsatzTyp.getPattern()
public void setPattern(java.lang.String pattern) throws java.rmi.RemoteException
UmsatzTyp
setPattern
in interface UmsatzTyp
pattern
- das Suchmuster.java.rmi.RemoteException
UmsatzTyp.setPattern(java.lang.String)
public de.willuhn.datasource.GenericIterator getUmsaetze() throws java.rmi.RemoteException
UmsatzTyp
getUmsaetze
in interface UmsatzTyp
java.rmi.RemoteException
UmsatzTyp.getUmsaetze()
public de.willuhn.datasource.GenericIterator getUmsaetze(java.util.Date von, java.util.Date bis) throws java.rmi.RemoteException
UmsatzTyp
getUmsaetze
in interface UmsatzTyp
von
- Start-Datum. Wenn == null, dann bleibt es unberücksichtigt.bis
- Ende-Datum. Wenn == null, dann bleibt es unberücksichtigt.java.rmi.RemoteException
UmsatzTyp.getUmsaetze(java.util.Date, java.util.Date)
public de.willuhn.datasource.GenericIterator getUmsaetze(int days) throws java.rmi.RemoteException
UmsatzTyp
getUmsaetze
in interface UmsatzTyp
days
- Anzahl der Tage.java.rmi.RemoteException
UmsatzTyp.getUmsaetze(int)
public double getUmsatz() throws java.rmi.RemoteException
UmsatzTyp
getUmsatz
in interface UmsatzTyp
java.rmi.RemoteException
UmsatzTyp.getUmsatz()
public double getUmsatz(java.util.Date von, java.util.Date bis) throws java.rmi.RemoteException
UmsatzTyp
getUmsatz
in interface UmsatzTyp
von
- Start-Datum. Wenn == null, dann bleibt es unberücksichtigt.bis
- Ende-Datum. Wenn == null, dann bleibt es unberücksichtigt.java.rmi.RemoteException
UmsatzTyp.getUmsatz(java.util.Date, java.util.Date)
public double getUmsatz(int days) throws java.rmi.RemoteException
UmsatzTyp
getUmsatz
in interface UmsatzTyp
days
- Anzahl der Tage.java.rmi.RemoteException
UmsatzTyp.getUmsatz(int)
public boolean isRegex() throws java.rmi.RemoteException
UmsatzTyp
isRegex
in interface UmsatzTyp
java.rmi.RemoteException
UmsatzTyp.isRegex()
public int getTyp() throws java.rmi.RemoteException
UmsatzTyp
getTyp
in interface UmsatzTyp
java.rmi.RemoteException
UmsatzTyp.getTyp()
public void setTyp(int typ) throws java.rmi.RemoteException
UmsatzTyp
setTyp
in interface UmsatzTyp
typ
- Typ der Kategorie.java.rmi.RemoteException
UmsatzTyp.setTyp(int)
public void setRegex(boolean regex) throws java.rmi.RemoteException
UmsatzTyp
setRegex
in interface UmsatzTyp
regex
- true, wenn es sich um einen regulaeren Ausdruck handelt.java.rmi.RemoteException
UmsatzTyp.setRegex(boolean)
public boolean matches(Umsatz umsatz, boolean allowReassign) throws java.rmi.RemoteException, java.util.regex.PatternSyntaxException
UmsatzTyp
matches
in interface UmsatzTyp
umsatz
- 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.RemoteException
java.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
UmsatzTyp
matches
in interface UmsatzTyp
umsatz
- zu pruefender Umsatz.java.rmi.RemoteException
UmsatzTyp.matches(de.willuhn.jameica.hbci.rmi.Umsatz)
public int[] getColor() throws java.rmi.RemoteException
UmsatzTyp
getColor
in interface UmsatzTyp
java.rmi.RemoteException
UmsatzTyp.getColor()
public void setColor(int[] rgb) throws java.rmi.RemoteException
UmsatzTyp
setColor
in interface UmsatzTyp
rgb
- Farbe.java.rmi.RemoteException
UmsatzTyp.setColor(int[])
public boolean isCustomColor() throws java.rmi.RemoteException
UmsatzTyp
isCustomColor
in interface UmsatzTyp
java.rmi.RemoteException
UmsatzTyp.isCustomColor()
public void setCustomColor(boolean b) throws java.rmi.RemoteException
UmsatzTyp
setCustomColor
in interface UmsatzTyp
b
- true, wenn eine benutzerdefinierte Farbe verwendet werden soll.java.rmi.RemoteException
UmsatzTyp.setCustomColor(boolean)
public void setKommentar(java.lang.String kommentar) throws java.rmi.RemoteException
UmsatzTyp
setKommentar
in interface UmsatzTyp
kommentar
- der Kommentar.java.rmi.RemoteException
public java.lang.String getKommentar() throws java.rmi.RemoteException
UmsatzTyp
getKommentar
in interface UmsatzTyp
java.rmi.RemoteException