|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ojb.odmg.states.ModificationState
org.apache.ojb.odmg.states.StateOldClean
public class StateOldClean
this state represents old Objects (i.e. already persistent but not changed during tx) --> no need to do anything for commit or rollback
| Method Summary | |
|---|---|
void |
checkpoint(ObjectEnvelope mod)
rollback the ObjectModification |
void |
commit(ObjectEnvelope mod)
commit the associated transaction |
static StateOldClean |
getInstance()
perform a checkpoint, i.e. |
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(ObjectEnvelope mod)
|
| Methods inherited from class org.apache.ojb.odmg.states.ModificationState |
|---|
isTransient, needsDelete, needsInsert, needsUpdate, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static StateOldClean getInstance()
public ModificationState markClean()
markClean in class ModificationStatepublic ModificationState markDelete()
markDelete in class ModificationStatepublic ModificationState markDirty()
markDirty in class ModificationStatepublic ModificationState markNew()
markNew in class ModificationStatepublic ModificationState markOld()
markOld in class ModificationStatepublic void checkpoint(ObjectEnvelope mod)
checkpoint in class ModificationStatepublic void commit(ObjectEnvelope mod)
commit in class ModificationStatepublic void rollback(ObjectEnvelope mod)
rollback in class ModificationState
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||