|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface a state of an user instance.
Method Summary | |
void |
attachCopy(ProxyManager pm,
java.util.Map map,
SpeedoAccessor fieldsDetached,
boolean makeTransactional)
|
void |
deletePersistent(ProxyManager pm)
|
void |
detachCopy(ProxyManager pm,
java.util.Map map,
SpeedoAccessor fieldsClone,
java.util.Collection fgHints)
|
byte |
getDetachedStatus()
Gets the current status of this detached object |
SpeedoProxy |
getSpeedoProxy()
|
long |
getTimeStamp()
Version management is performed via the use of timestamps. |
boolean |
hasBeenFlush()
indicates if the object has been flushed on the support in a writing before the end of the working set (commit | rollback | close). |
void |
jdoChangeStatus(byte action)
Changes the status of this object |
byte |
jdoGetStatus()
Gets the current status of this object |
void |
jdoSetStatus(byte newValue)
Forces the new value of the status |
void |
loadFields(ProxyManager pm,
long[] fields)
|
void |
makePersistent(ProxyManager pm)
|
void |
prepareWrite()
Prepare to write (relations consistency management) |
void |
refresh(ProxyManager pm,
java.util.Map map,
java.util.Collection fgHints)
|
void |
retrieve(ProxyManager pm,
java.util.Map map,
java.util.Collection fgHints)
|
void |
setDetachedStatus(byte newValue)
Forces the new value of the detached status |
void |
setFlushed(boolean val)
Assignates a boolean value to indicate if the object has been flushed on the support in a writing before the end of the working set (commit | rollback | close). |
void |
setSpeedoProxy(SpeedoProxy sp)
Assignes the SpeedoProxy attached to this state representation. |
void |
setTimeStamp(long ts)
|
void |
workingSetClosed()
The context has been closed (ex: transaction end). |
Method Detail |
public void jdoChangeStatus(byte action)
action
- the action that may change the statusLifeCycle
public byte jdoGetStatus()
LifeCycle
public void jdoSetStatus(byte newValue)
newValue
- the new status of this objectLifeCycle
public long getTimeStamp()
public void setTimeStamp(long ts)
public byte getDetachedStatus()
public void setDetachedStatus(byte newValue)
newValue
- the new status of this objectpublic SpeedoProxy getSpeedoProxy()
public void setSpeedoProxy(SpeedoProxy sp)
public void prepareWrite()
public void workingSetClosed()
public boolean hasBeenFlush()
public void setFlushed(boolean val)
val
- is the boolean which must be assigned.public void makePersistent(ProxyManager pm)
public void deletePersistent(ProxyManager pm)
public void loadFields(ProxyManager pm, long[] fields)
public void detachCopy(ProxyManager pm, java.util.Map map, SpeedoAccessor fieldsClone, java.util.Collection fgHints)
public void attachCopy(ProxyManager pm, java.util.Map map, SpeedoAccessor fieldsDetached, boolean makeTransactional)
public void refresh(ProxyManager pm, java.util.Map map, java.util.Collection fgHints)
public void retrieve(ProxyManager pm, java.util.Map map, java.util.Collection fgHints)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |