Package 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.AbstractHibiscusDBObject
-
- 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,HibiscusDBObject,Protokoll,java.io.Serializable,java.rmi.Remote
public class ProtokollImpl extends AbstractHibiscusDBObject implements Protokoll
Implementierung der HBCI-Protokollierung pro Konto.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface de.willuhn.jameica.hbci.rmi.Protokoll
TYP_ERROR, TYP_SUCCESS, TYP_UNKNOWN
-
-
Constructor Summary
Constructors Constructor Description ProtokollImpl()ct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.DategetDatum()Liefert das Datum, an dem der Log-Eintrag erzeugt wurde.protected java.lang.ClassgetForeignObject(java.lang.String field)java.lang.StringgetKommentar()Liefert den Kommentar des Log-Eintrages.KontogetKonto()Liefert das Konto, zu dem dieser Protokoll-Eointrag gehoert.java.lang.StringgetPrimaryAttribute()protected java.lang.StringgetTableName()intgetTyp()Liefert den Typ des Log-Eintrages.protected voidinsertCheck()voidsetKommentar(java.lang.String kommentar)Speichert den Kommentar zu diesem Log-Eintrag.voidsetKonto(Konto konto)Speichert das Konto, zu dem dieser Log-Eintrag gehoert.voidsetTyp(int typ)Speichert den Typ des Log-Eintrages.voidstore()protected voidupdateCheck()-
Methods inherited from class de.willuhn.jameica.hbci.server.AbstractHibiscusDBObject
delete, getMeta, setMeta
-
Methods inherited from class de.willuhn.datasource.db.AbstractDBObject
addDeleteListener, addStoreListener, clear, 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, exportObject, exportObject, unexportObject
-
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.Changeable
clear, delete, isNewObject, overwrite
-
Methods inherited from interface de.willuhn.datasource.rmi.DBObject
addDeleteListener, addStoreListener, equals, getAttribute, getAttributeType, getList, load, removeDeleteListener, removeStoreListener
-
Methods inherited from interface de.willuhn.jameica.hbci.rmi.HibiscusDBObject
getMeta, setMeta
-
-
-
-
Method Detail
-
getTableName
protected java.lang.String getTableName()
- Specified by:
getTableNamein classde.willuhn.datasource.db.AbstractDBObject- See Also:
AbstractDBObject.getTableName()
-
getPrimaryAttribute
public java.lang.String getPrimaryAttribute() throws java.rmi.RemoteException- Specified by:
getPrimaryAttributein interfacede.willuhn.datasource.rmi.DBObject- Specified by:
getPrimaryAttributein interfacede.willuhn.datasource.GenericObject- Specified by:
getPrimaryAttributein classde.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:
storein interfacede.willuhn.datasource.rmi.Changeable- Overrides:
storein classAbstractHibiscusDBObject- Throws:
java.rmi.RemoteExceptionde.willuhn.util.ApplicationException- See Also:
AbstractDBObject.store()
-
insertCheck
protected void insertCheck() throws de.willuhn.util.ApplicationException- Overrides:
insertCheckin classde.willuhn.datasource.db.AbstractDBObject- Throws:
de.willuhn.util.ApplicationException- See Also:
AbstractDBObject.insertCheck()
-
updateCheck
protected void updateCheck() throws de.willuhn.util.ApplicationException- Overrides:
updateCheckin classde.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:
getForeignObjectin classde.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:ProtokollLiefert das Konto, zu dem dieser Protokoll-Eointrag gehoert.- Specified by:
getKontoin interfaceProtokoll- Returns:
- Konto.
- Throws:
java.rmi.RemoteException- See Also:
Protokoll.getKonto()
-
getKommentar
public java.lang.String getKommentar() throws java.rmi.RemoteExceptionDescription copied from interface:ProtokollLiefert den Kommentar des Log-Eintrages.- Specified by:
getKommentarin interfaceProtokoll- Returns:
- Kommentar.
- Throws:
java.rmi.RemoteException- See Also:
Protokoll.getKommentar()
-
getDatum
public java.util.Date getDatum() throws java.rmi.RemoteExceptionDescription copied from interface:ProtokollLiefert das Datum, an dem der Log-Eintrag erzeugt wurde.- Specified by:
getDatumin interfaceProtokoll- Returns:
- Datum.
- Throws:
java.rmi.RemoteException- See Also:
Protokoll.getDatum()
-
getTyp
public int getTyp() throws java.rmi.RemoteExceptionDescription copied from interface:ProtokollLiefert den Typ des Log-Eintrages. Zur Codierung siehe die Konstanten TYP_*.- Specified by:
getTypin interfaceProtokoll- Returns:
- Typ.
- Throws:
java.rmi.RemoteException- See Also:
Protokoll.getTyp()
-
setKonto
public void setKonto(Konto konto) throws java.rmi.RemoteException
Description copied from interface:ProtokollSpeichert das Konto, zu dem dieser Log-Eintrag gehoert.- Specified by:
setKontoin interfaceProtokoll- 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.RemoteExceptionDescription copied from interface:ProtokollSpeichert den Kommentar zu diesem Log-Eintrag.- Specified by:
setKommentarin interfaceProtokoll- Parameters:
kommentar- Kommentar.- Throws:
java.rmi.RemoteException- See Also:
Protokoll.setKommentar(java.lang.String)
-
setTyp
public void setTyp(int typ) throws java.rmi.RemoteExceptionDescription copied from interface:ProtokollSpeichert den Typ des Log-Eintrages. Zur Codierung siehe die Konstanten TYP_*.- Specified by:
setTypin interfaceProtokoll- Parameters:
typ- Typ.- Throws:
java.rmi.RemoteException- See Also:
Protokoll.setTyp(int)
-
-