| java.lang.Object com.triactive.jdo.state.LifeCycleState
All known Subclasses: com.triactive.jdo.state.PersistentNontransactional, com.triactive.jdo.state.PersistentDirty, com.triactive.jdo.state.TransientDirty, com.triactive.jdo.state.PersistentDeleted, com.triactive.jdo.state.PersistentClean, com.triactive.jdo.state.TransientClean, com.triactive.jdo.state.PersistentNewDeleted, com.triactive.jdo.state.PersistentNew, com.triactive.jdo.state.Hollow,
LifeCycleState | abstract class LifeCycleState (Code) | | |
Method Summary | |
final protected LifeCycleState | changeState(StateManagerImpl sm, int newStateType) | public static LifeCycleState | getLifeCycleState(int stateType) Returns the LifeCycleState for the state constant. | final public boolean | isDeleted() Return whether the state represents a deleted object. | final public boolean | isDirty() Returns whether the state is dirty, ie the object has been changed
(created, updated, deleted) in this Tx. | final public boolean | isNew() Returns whether the state represents a newly created object. | final public boolean | isPersistent() Returns whether the state is persistent. | final public boolean | isTransactional() Returns whether the state is transactional. | final public int | stateType() | public LifeCycleState | transitionCommit(StateManagerImpl sm, Transaction tx) | public LifeCycleState | transitionDeletePersistent(StateManagerImpl sm, Transaction tx) | public LifeCycleState | transitionEvict(StateManagerImpl sm) | public LifeCycleState | transitionMakeNontransactional(StateManagerImpl sm) | public LifeCycleState | transitionMakePersistent(StateManagerImpl sm, Transaction tx) | public LifeCycleState | transitionMakeTransactional(StateManagerImpl sm, Transaction tx) | public LifeCycleState | transitionMakeTransient(StateManagerImpl sm) | public LifeCycleState | transitionReadField(StateManagerImpl sm, Transaction tx) | public LifeCycleState | transitionRefresh(StateManagerImpl sm, Transaction tx) | public LifeCycleState | transitionRetrieve(StateManagerImpl sm, Transaction tx, boolean DFGOnly) | public LifeCycleState | transitionRollback(StateManagerImpl sm, Transaction tx) | public LifeCycleState | transitionRollbackState(StateManagerImpl sm, LifeCycleState oldState) | public LifeCycleState | transitionWriteField(StateManagerImpl sm, Transaction tx) |
HOLLOWP_CLEANP_DIRTYP_NEWP_NEW_DELETEDP_DELETEDP_NONTRANST_CLEANT_DIRTYTRANSIENTTOTAL | final public static int HOLLOWP_CLEANP_DIRTYP_NEWP_NEW_DELETEDP_DELETEDP_NONTRANST_CLEANT_DIRTYTRANSIENTTOTAL(Code) | | |
LOG | final protected static Category LOG(Code) | | |
isDeleted | protected boolean isDeleted(Code) | | |
isDirty | protected boolean isDirty(Code) | | |
isNew | protected boolean isNew(Code) | | |
isPersistent | protected boolean isPersistent(Code) | | |
isTransactional | protected boolean isTransactional(Code) | | |
stateType | protected int stateType(Code) | | |
getLifeCycleState | public static LifeCycleState getLifeCycleState(int stateType)(Code) | | Returns the LifeCycleState for the state constant.
Parameters: stateType - the type as integer the type as LifeCycleState object |
isDeleted | final public boolean isDeleted()(Code) | | Return whether the state represents a deleted object.
|
isDirty | final public boolean isDirty()(Code) | | Returns whether the state is dirty, ie the object has been changed
(created, updated, deleted) in this Tx.
|
isNew | final public boolean isNew()(Code) | | Returns whether the state represents a newly created object.
|
isPersistent | final public boolean isPersistent()(Code) | | Returns whether the state is persistent.
|
isTransactional | final public boolean isTransactional()(Code) | | Returns whether the state is transactional.
|
stateType | final public int stateType()(Code) | | Returns the type of the life cycle state
the type of this life cycle state |
|
|