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.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.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:
getTableName
in classde.willuhn.datasource.db.AbstractDBObject
- See Also:
AbstractDBObject.getTableName()
-
getPrimaryAttribute
public java.lang.String getPrimaryAttribute() throws java.rmi.RemoteException
- Specified by:
getPrimaryAttribute
in interfacede.willuhn.datasource.rmi.DBObject
- Specified by:
getPrimaryAttribute
in interfacede.willuhn.datasource.GenericObject
- Specified by:
getPrimaryAttribute
in 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:
store
in interfacede.willuhn.datasource.rmi.Changeable
- Overrides:
store
in classAbstractHibiscusDBObject
- Throws:
java.rmi.RemoteException
de.willuhn.util.ApplicationException
- See Also:
AbstractDBObject.store()
-
insertCheck
protected void insertCheck() throws de.willuhn.util.ApplicationException
- Overrides:
insertCheck
in classde.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 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:
getForeignObject
in 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:Protokoll
Liefert das Konto, zu dem dieser Protokoll-Eointrag gehoert.- Specified by:
getKonto
in interfaceProtokoll
- 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 interfaceProtokoll
- 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 interfaceProtokoll
- 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 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:Protokoll
Speichert das Konto, zu dem dieser Log-Eintrag gehoert.- Specified by:
setKonto
in 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.RemoteException
Description copied from interface:Protokoll
Speichert den Kommentar zu diesem Log-Eintrag.- Specified by:
setKommentar
in interfaceProtokoll
- 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 interfaceProtokoll
- Parameters:
typ
- Typ.- Throws:
java.rmi.RemoteException
- See Also:
Protokoll.setTyp(int)
-
-