|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ojb.server.states.ModificationState | +--ojb.server.states.StateOldDelete
this state represents old objects which have been marked for deletion during tx.
Method Summary | |
void |
checkpoint(ObjectTransactionWrapper mod)
rollback the transaction |
void |
commit(ObjectTransactionWrapper mod)
commit the associated transaction |
static StateOldDelete |
getInstance()
perform a checkpoint, i.e. perform updates on underlying db but keep locks on objects |
ModificationState |
markClean()
return resulting state after marking clean |
ModificationState |
markDelete()
return resulting state after marking delete |
ModificationState |
markDirty()
return resulting state after marking dirty |
ModificationState |
markNew()
return resulting state after marking new |
ModificationState |
markOld()
return resulting state after marking old |
void |
rollback(ObjectTransactionWrapper mod)
Method declaration |
Methods inherited from class ojb.server.states.ModificationState |
moveToCache, needsInsert, removeFromCache, toString |
Methods inherited from class java.lang.Object |
|
Method Detail |
public ModificationState markClean()
markClean
in class ModificationState
public ModificationState markDelete()
markDelete
in class ModificationState
public ModificationState markDirty()
markDirty
in class ModificationState
public ModificationState markNew()
markNew
in class ModificationState
public ModificationState markOld()
markOld
in class ModificationState
public static StateOldDelete getInstance()
public void checkpoint(ObjectTransactionWrapper mod) throws PersistenceBrokerException
checkpoint
in class ModificationState
ojb.server.states.ModificationState
mod
- PersistenceBrokerException
- public void commit(ObjectTransactionWrapper mod) throws PersistenceBrokerException
commit
in class ModificationState
ojb.server.states.ModificationState
mod
- PersistenceBrokerException
- public void rollback(ObjectTransactionWrapper mod)
rollback
in class ModificationState
mod
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |