|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.ojb.otm.states.State org.apache.ojb.otm.states.PersistentNewDeleted
public class PersistentNewDeleted
this state represents new objects which have been mrked for deletion during tx (ODMG StateNewDelete).
Field Summary |
---|
Fields inherited from class org.apache.ojb.otm.states.State |
---|
HOLLOW, PERSISTENT_CLEAN, PERSISTENT_DELETED, PERSISTENT_DIRTY, PERSISTENT_NEW, PERSISTENT_NEW_DELETED, TRANSIENT |
Fields inherited from interface org.apache.ojb.broker.util.ObjectModification |
---|
INSERT, serialVersionUID, UPDATE |
Method Summary | |
---|---|
State |
commit()
Describes the state transition on commit() |
State |
deletePersistent()
Describes the state transition on deletePersistent() |
boolean |
isDeleted()
returns true is this state means that the object has been deleted |
State |
makePersistent()
Describes the state transition on makePersistent() |
State |
rollback()
Describes the state transition on rollback() |
String |
toString()
return a String representation |
Methods inherited from class org.apache.ojb.otm.states.State |
---|
getObject, markDirty, needsDelete, needsInsert, needsUpdate, refresh |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public String toString()
toString
in class Object
public State makePersistent() throws IllegalObjectStateException
makePersistent
in class State
IllegalObjectStateException
public State deletePersistent() throws IllegalObjectStateException
deletePersistent
in class State
IllegalObjectStateException
public State commit() throws IllegalObjectStateException
commit
in class State
IllegalObjectStateException
public State rollback() throws IllegalObjectStateException
rollback
in class State
IllegalObjectStateException
public boolean isDeleted()
State
isDeleted
in class State
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |