de.willuhn.jameica.hbci.server
Class ProtokollImpl
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
de.willuhn.datasource.db.AbstractDBObject
de.willuhn.jameica.hbci.server.ProtokollImpl
- All Implemented Interfaces:
- de.willuhn.datasource.GenericObject, de.willuhn.datasource.rmi.Changeable, de.willuhn.datasource.rmi.DBObject, de.willuhn.datasource.rmi.Transactionable, Protokoll, java.io.Serializable, java.rmi.Remote
public class ProtokollImpl
- extends de.willuhn.datasource.db.AbstractDBObject
- implements Protokoll
Implementierung der HBCI-Protokollierung pro Konto.
- See Also:
- Serialized Form
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
|
Method Summary |
java.util.Date |
getDatum()
Liefert das Datum, an dem der Log-Eintrag erzeugt wurde. |
protected java.lang.Class |
getForeignObject(java.lang.String field)
|
java.lang.String |
getKommentar()
Liefert den Kommentar des Log-Eintrages. |
Konto |
getKonto()
Liefert das Konto, zu dem dieser Protokoll-Eointrag gehoert. |
java.lang.String |
getPrimaryAttribute()
|
protected java.lang.String |
getTableName()
|
int |
getTyp()
Liefert den Typ des Log-Eintrages. |
protected void |
insertCheck()
|
void |
setKommentar(java.lang.String kommentar)
Speichert den Kommentar zu diesem Log-Eintrag. |
void |
setKonto(Konto konto)
Speichert das Konto, zu dem dieser Log-Eintrag gehoert. |
void |
setTyp(int typ)
Speichert den Typ des Log-Eintrages. |
void |
store()
|
protected void |
updateCheck()
|
| Methods inherited from class de.willuhn.datasource.db.AbstractDBObject |
addDeleteListener, addStoreListener, clear, delete, deleteCheck, equals, getAttribute, getAttributeNames, getAttributeType, 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.DBObject |
addDeleteListener, addStoreListener, equals, getAttribute, getAttributeType, getList, load, removeDeleteListener, removeStoreListener |
| Methods inherited from interface de.willuhn.datasource.GenericObject |
getAttributeNames, getID |
| Methods inherited from interface de.willuhn.datasource.rmi.Transactionable |
transactionBegin, transactionCommit, transactionRollback |
| Methods inherited from interface de.willuhn.datasource.rmi.Changeable |
clear, delete, isNewObject, overwrite |
ProtokollImpl
public ProtokollImpl()
throws java.rmi.RemoteException
- ct.
- Throws:
java.rmi.RemoteException
getTableName
protected java.lang.String getTableName()
- Specified by:
getTableName in class de.willuhn.datasource.db.AbstractDBObject
- See Also:
AbstractDBObject.getTableName()
getPrimaryAttribute
public java.lang.String getPrimaryAttribute()
throws java.rmi.RemoteException
- Specified by:
getPrimaryAttribute in interface de.willuhn.datasource.GenericObject- Specified by:
getPrimaryAttribute in interface de.willuhn.datasource.rmi.DBObject- Specified by:
getPrimaryAttribute in class de.willuhn.datasource.db.AbstractDBObject
- Throws:
java.rmi.RemoteException- See Also:
GenericObject.getPrimaryAttribute()
store
public void store()
throws java.rmi.RemoteException,
de.willuhn.util.ApplicationException
- Specified by:
store in interface de.willuhn.datasource.rmi.Changeable- Overrides:
store in class de.willuhn.datasource.db.AbstractDBObject
- Throws:
java.rmi.RemoteException
de.willuhn.util.ApplicationException- See Also:
AbstractDBObject.store()
insertCheck
protected void insertCheck()
throws de.willuhn.util.ApplicationException
- Overrides:
insertCheck in class de.willuhn.datasource.db.AbstractDBObject
- Throws:
de.willuhn.util.ApplicationException- See Also:
AbstractDBObject.insertCheck()
updateCheck
protected void updateCheck()
throws de.willuhn.util.ApplicationException
- Overrides:
updateCheck in class de.willuhn.datasource.db.AbstractDBObject
- Throws:
de.willuhn.util.ApplicationException- See Also:
AbstractDBObject.updateCheck()
getForeignObject
protected java.lang.Class getForeignObject(java.lang.String field)
throws java.rmi.RemoteException
- Overrides:
getForeignObject in class de.willuhn.datasource.db.AbstractDBObject
- Throws:
java.rmi.RemoteException- See Also:
AbstractDBObject.getForeignObject(java.lang.String)
getKonto
public Konto getKonto()
throws java.rmi.RemoteException
- Description copied from interface:
Protokoll
- Liefert das Konto, zu dem dieser Protokoll-Eointrag gehoert.
- Specified by:
getKonto in interface Protokoll
- Returns:
- Konto.
- Throws:
java.rmi.RemoteException- See Also:
Protokoll.getKonto()
getKommentar
public java.lang.String getKommentar()
throws java.rmi.RemoteException
- Description copied from interface:
Protokoll
- Liefert den Kommentar des Log-Eintrages.
- Specified by:
getKommentar in interface Protokoll
- Returns:
- Kommentar.
- Throws:
java.rmi.RemoteException- See Also:
Protokoll.getKommentar()
getDatum
public java.util.Date getDatum()
throws java.rmi.RemoteException
- Description copied from interface:
Protokoll
- Liefert das Datum, an dem der Log-Eintrag erzeugt wurde.
- Specified by:
getDatum in interface Protokoll
- Returns:
- Datum.
- Throws:
java.rmi.RemoteException- See Also:
Protokoll.getDatum()
getTyp
public int getTyp()
throws java.rmi.RemoteException
- Description copied from interface:
Protokoll
- Liefert den Typ des Log-Eintrages.
Zur Codierung siehe die Konstanten TYP_*.
- Specified by:
getTyp in interface Protokoll
- Returns:
- Typ.
- Throws:
java.rmi.RemoteException- See Also:
Protokoll.getTyp()
setKonto
public void setKonto(Konto konto)
throws java.rmi.RemoteException
- Description copied from interface:
Protokoll
- Speichert das Konto, zu dem dieser Log-Eintrag gehoert.
- Specified by:
setKonto in interface Protokoll
- Parameters:
konto - Konto.
- Throws:
java.rmi.RemoteException- See Also:
Protokoll.setKonto(de.willuhn.jameica.hbci.rmi.Konto)
setKommentar
public void setKommentar(java.lang.String kommentar)
throws java.rmi.RemoteException
- Description copied from interface:
Protokoll
- Speichert den Kommentar zu diesem Log-Eintrag.
- Specified by:
setKommentar in interface Protokoll
- Parameters:
kommentar - Kommentar.
- Throws:
java.rmi.RemoteException- See Also:
Protokoll.setKommentar(java.lang.String)
setTyp
public void setTyp(int typ)
throws java.rmi.RemoteException
- Description copied from interface:
Protokoll
- Speichert den Typ des Log-Eintrages.
Zur Codierung siehe die Konstanten TYP_*.
- Specified by:
setTyp in interface Protokoll
- Parameters:
typ - Typ.
- Throws:
java.rmi.RemoteException- See Also:
Protokoll.setTyp(int)