com.imaginary.lwp
Class BaseEntity
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--com.imaginary.lwp.BaseEntity
- Direct Known Subclasses:
- AnnotationImpl, AudioImpl, EntryImpl, ManufacturerImpl, ProductEntryItemImpl, ProductImpl, QueryImpl
- public abstract class BaseEntity
- extends java.rmi.server.UnicastRemoteObject
- implements Entity, Persistent
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
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 |
BaseEntity
public BaseEntity()
throws java.rmi.RemoteException,
PersistenceException
create
public void create()
throws PersistenceException
- Specified by:
- create in interface Persistent
getLastUpdateID
public java.lang.String getLastUpdateID()
- Specified by:
- getLastUpdateID in interface Entity
getLastUpdateTime
public long getLastUpdateTime()
- Specified by:
- getLastUpdateTime in interface Entity
getObjectID
public long getObjectID()
- Specified by:
- getObjectID in interface Entity
getReference
public BaseReference getReference()
- Specified by:
- getReference in interface Entity
load
protected abstract void load(Memento mem)
throws LoadException
load
public void load(long oid)
throws PersistenceException
- Specified by:
- load in interface Persistent
reload
public void reload()
throws PersistenceException
- Specified by:
- reload in interface Persistent
remove
public void remove()
throws PersistenceException
- Specified by:
- remove in interface Entity
save
protected final void save()
throws PersistenceException
store
public void store()
throws PersistenceException
- Specified by:
- store in interface Persistent
store
protected abstract void store(Memento mem)
throws StoreException