|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
de.willuhn.datasource.db.AbstractDBObject
de.willuhn.datasource.db.AbstractDBObjectNode
de.willuhn.jameica.hbci.server.UmsatzTypImpl
public class UmsatzTypImpl
Implementierung eines Umsatz-Typs.
| Field Summary |
|---|
| Fields inherited from class java.rmi.server.RemoteObject |
|---|
ref |
| Fields inherited from interface de.willuhn.jameica.hbci.rmi.UmsatzTyp |
|---|
TYP_AUSGABE, TYP_EGAL, TYP_EINNAHME |
| Constructor Summary | |
|---|---|
UmsatzTypImpl()
ct. |
|
| Method Summary | |
|---|---|
void |
delete()
|
java.lang.Object |
getAttribute(java.lang.String arg0)
|
de.willuhn.datasource.GenericIterator |
getChildren()
|
int[] |
getColor()
Liefert die fuer diese Kategorie zu verwendende Farbe. |
java.lang.String |
getName()
Liefert den Namen des Umsatz-Typs. |
java.lang.String |
getNummer()
Liefert die Nummer des Umsatz-Typs. |
java.lang.String |
getPattern()
Liefert das Suchmuster fuer den Umsatztyp. |
de.willuhn.datasource.GenericIterator |
getPossibleParents()
|
java.lang.String |
getPrimaryAttribute()
|
protected java.lang.String |
getTableName()
|
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(java.util.Date von,
java.util.Date bis)
Liefert eine Liste von Umsaetzen aus dem angegebenen Zeitraum. |
de.willuhn.datasource.GenericIterator |
getUmsaetze(int days)
Liefert eine Liste von Umsaetzen der letzten Tage, die diesem Umsatz-Typ entsprechen. |
double |
getUmsatz()
Liefert die Hoehe des Umsatzes, 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. |
double |
getUmsatz(int days)
Liefert die Hoehe des Umsatzes der letzten Tage, der fuer diesen Umsatztyp auf allen Konten vorliegt. |
protected void |
insertCheck()
|
boolean |
isCustomColor()
Prueft, ob eine benutzerdefinierte Farbe verwendet werden soll. |
boolean |
isRegex()
Prueft, ob es sich bei dem Pattern um einen regulaeren Ausdruck handelt. |
boolean |
matches(Umsatz umsatz)
Prueft, ob der Umsatz diesem Pattern entspricht. |
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 |
setName(java.lang.String name)
Speichert den Namen des Umsatz-Typs. |
void |
setNummer(java.lang.String nummer)
Speichert die Nummer des Umsatz-Typs. |
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()
Ueberschrieben, um den Umsatztyp-Cache zu aktualisieren. |
protected void |
updateCheck()
|
| Methods inherited from class de.willuhn.datasource.db.AbstractDBObjectNode |
|---|
deleteCheck, getNodeField, getParent, getPath, hasChild, setParent |
| Methods inherited from class de.willuhn.datasource.db.AbstractDBObject |
|---|
addDeleteListener, addStoreListener, clear, equals, getAttributeNames, getAttributeType, getForeignObject, getID, getIDField, getInsertSQL, getList, getListQuery, getLoadQuery, getService, getUpdateSQL, hasChanged, hasChanged, init, insert, isNewObject, load, overwrite, removeDeleteListener, removeStoreListener, setAttribute, setID, setService, transactionBegin, transactionCommit, transactionRollback |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
|---|
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
|---|
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
|---|
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface de.willuhn.datasource.rmi.DBObjectNode |
|---|
setParent |
| Methods inherited from interface de.willuhn.datasource.rmi.DBObject |
|---|
addDeleteListener, addStoreListener, equals, getAttributeType, getList, load, removeDeleteListener, removeStoreListener |
| Methods inherited from interface de.willuhn.datasource.rmi.Transactionable |
|---|
transactionBegin, transactionCommit, transactionRollback |
| Methods inherited from interface de.willuhn.datasource.rmi.Changeable |
|---|
clear, isNewObject, overwrite |
| Methods inherited from interface de.willuhn.datasource.GenericObjectNode |
|---|
getParent, getPath, hasChild |
| Methods inherited from interface de.willuhn.datasource.GenericObject |
|---|
getAttributeNames, getID |
| Constructor Detail |
|---|
public UmsatzTypImpl()
throws java.rmi.RemoteException
java.rmi.RemoteException| Method Detail |
|---|
protected java.lang.String getTableName()
getTableName in class de.willuhn.datasource.db.AbstractDBObjectAbstractDBObject.getTableName()
protected void insertCheck()
throws de.willuhn.util.ApplicationException
insertCheck in class de.willuhn.datasource.db.AbstractDBObjectNodede.willuhn.util.ApplicationExceptionAbstractDBObject.insertCheck()
protected void updateCheck()
throws de.willuhn.util.ApplicationException
updateCheck in class de.willuhn.datasource.db.AbstractDBObjectNodede.willuhn.util.ApplicationExceptionAbstractDBObject.updateCheck()
public de.willuhn.datasource.GenericIterator getUmsaetze()
throws java.rmi.RemoteException
UmsatzTyp
getUmsaetze in interface UmsatzTypjava.rmi.RemoteExceptionUmsatzTyp.getUmsaetze()
public de.willuhn.datasource.GenericIterator getUmsaetze(int days)
throws java.rmi.RemoteException
UmsatzTyp
getUmsaetze in interface UmsatzTypdays - Anzahl der Tage.
java.rmi.RemoteExceptionUmsatzTyp.getUmsaetze(int)
public de.willuhn.datasource.GenericIterator getUmsaetze(java.util.Date von,
java.util.Date bis)
throws java.rmi.RemoteException
UmsatzTyp
getUmsaetze 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(Date, Date)
public java.lang.String getPrimaryAttribute()
throws java.rmi.RemoteException
getPrimaryAttribute in interface de.willuhn.datasource.GenericObjectgetPrimaryAttribute in interface de.willuhn.datasource.rmi.DBObjectgetPrimaryAttribute in class de.willuhn.datasource.db.AbstractDBObjectjava.rmi.RemoteExceptionAbstractDBObject.getPrimaryAttribute()
public java.lang.String getName()
throws java.rmi.RemoteException
UmsatzTyp
getName in interface UmsatzTypjava.rmi.RemoteExceptionUmsatzTyp.getName()
public void setName(java.lang.String name)
throws java.rmi.RemoteException
UmsatzTyp
setName in interface UmsatzTypname - Name des Umsatz-Typs.
java.rmi.RemoteExceptionUmsatzTyp.setName(java.lang.String)
public java.lang.String getNummer()
throws java.rmi.RemoteException
UmsatzTyp
getNummer in interface UmsatzTypjava.rmi.RemoteExceptionUmsatzTyp.getNummer()
public void setNummer(java.lang.String nummer)
throws java.rmi.RemoteException
UmsatzTyp
setNummer in interface UmsatzTypnummer - Nummer des Umsatz-Typs
java.rmi.RemoteExceptionUmsatzTyp.setNummer(java.lang.String)
public java.lang.String getPattern()
throws java.rmi.RemoteException
UmsatzTyp
getPattern in interface UmsatzTypjava.rmi.RemoteExceptionUmsatzTyp.getPattern()
public void setPattern(java.lang.String pattern)
throws java.rmi.RemoteException
UmsatzTyp
setPattern in interface UmsatzTyppattern - das Suchmuster.
java.rmi.RemoteExceptionUmsatzTyp.setPattern(java.lang.String)
public boolean matches(Umsatz umsatz)
throws java.rmi.RemoteException
UmsatzTyp
matches in interface UmsatzTypumsatz - zu pruefender Umsatz.
java.rmi.RemoteExceptionUmsatzTyp.matches(de.willuhn.jameica.hbci.rmi.Umsatz)
public boolean isRegex()
throws java.rmi.RemoteException
UmsatzTyp
isRegex in interface UmsatzTypjava.rmi.RemoteExceptionUmsatzTyp.isRegex()
public void setRegex(boolean regex)
throws java.rmi.RemoteException
UmsatzTyp
setRegex in interface UmsatzTypregex - true, wenn es sich um einen regulaeren Ausdruck handelt.
java.rmi.RemoteExceptionUmsatzTyp.setRegex(boolean)
public double getUmsatz()
throws java.rmi.RemoteException
UmsatzTyp
getUmsatz in interface UmsatzTypjava.rmi.RemoteExceptionUmsatzTyp.getUmsatz()
public double getUmsatz(java.util.Date von,
java.util.Date bis)
throws java.rmi.RemoteException
UmsatzTyp
getUmsatz 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(Date, Date)
public double getUmsatz(int days)
throws java.rmi.RemoteException
UmsatzTyp
getUmsatz in interface UmsatzTypdays - Anzahl der Tage.
java.rmi.RemoteExceptionUmsatzTyp.getUmsatz(int)
public java.lang.Object getAttribute(java.lang.String arg0)
throws java.rmi.RemoteException
getAttribute in interface de.willuhn.datasource.GenericObjectgetAttribute in interface de.willuhn.datasource.rmi.DBObjectgetAttribute in class de.willuhn.datasource.db.AbstractDBObjectjava.rmi.RemoteExceptionGenericObject.getAttribute(java.lang.String)
public void delete()
throws java.rmi.RemoteException,
de.willuhn.util.ApplicationException
delete in interface de.willuhn.datasource.rmi.Changeabledelete in class de.willuhn.datasource.db.AbstractDBObjectjava.rmi.RemoteException
de.willuhn.util.ApplicationExceptionAbstractDBObject.delete()
public void store()
throws java.rmi.RemoteException,
de.willuhn.util.ApplicationException
store in interface de.willuhn.datasource.rmi.Changeablestore in class de.willuhn.datasource.db.AbstractDBObjectjava.rmi.RemoteException
de.willuhn.util.ApplicationExceptionAbstractDBObject.store()
public int[] getColor()
throws java.rmi.RemoteException
UmsatzTyp
getColor in interface UmsatzTypjava.rmi.RemoteExceptionUmsatzTyp.getColor()
public void setColor(int[] rgb)
throws java.rmi.RemoteException
UmsatzTyp
setColor in interface UmsatzTyprgb - Farbe.
java.rmi.RemoteExceptionUmsatzTyp.setColor(int[])
public int getTyp()
throws java.rmi.RemoteException
UmsatzTyp
getTyp in interface UmsatzTypjava.rmi.RemoteExceptionUmsatzTyp.getTyp()
public void setTyp(int typ)
throws java.rmi.RemoteException
UmsatzTyp
setTyp in interface UmsatzTyptyp - Typ der Kategorie.
java.rmi.RemoteExceptionUmsatzTyp.setTyp(int)
public de.willuhn.datasource.GenericIterator getPossibleParents()
throws java.rmi.RemoteException
getPossibleParents in interface de.willuhn.datasource.GenericObjectNodegetPossibleParents in class de.willuhn.datasource.db.AbstractDBObjectNodejava.rmi.RemoteExceptionAbstractDBObjectNode.getPossibleParents()
public de.willuhn.datasource.GenericIterator getTopLevelList()
throws java.rmi.RemoteException
getTopLevelList in interface de.willuhn.datasource.rmi.DBObjectNodegetTopLevelList in class de.willuhn.datasource.db.AbstractDBObjectNodejava.rmi.RemoteExceptionAbstractDBObjectNode.getTopLevelList()
public boolean isCustomColor()
throws java.rmi.RemoteException
UmsatzTyp
isCustomColor in interface UmsatzTypjava.rmi.RemoteExceptionUmsatzTyp.isCustomColor()
public void setCustomColor(boolean b)
throws java.rmi.RemoteException
UmsatzTyp
setCustomColor in interface UmsatzTypb - true, wenn eine benutzerdefinierte Farbe verwendet werden soll.
java.rmi.RemoteExceptionUmsatzTyp.setCustomColor(boolean)
public de.willuhn.datasource.GenericIterator getChildren()
throws java.rmi.RemoteException
getChildren in interface de.willuhn.datasource.GenericObjectNodegetChildren in class de.willuhn.datasource.db.AbstractDBObjectNodejava.rmi.RemoteExceptionAbstractDBObjectNode.getChildren()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||