| |
|
| java.lang.Object org.objectweb.speedo.mim.api.LifeCycle
LifeCycle | abstract public class LifeCycle (Code) | | Representation of the life cycle of a JDO Instance.
author: S.Chassande-Barrioz |
ACTION_COMMIT | final public static byte ACTION_COMMIT(Code) | | |
ACTION_COMMIT_RETAINVALUES | final public static byte ACTION_COMMIT_RETAINVALUES(Code) | | |
ACTION_DELETEPERSISTENT | final public static byte ACTION_DELETEPERSISTENT(Code) | | |
ACTION_EVICT | final public static byte ACTION_EVICT(Code) | | |
ACTION_MAKENONTRANSACTIONAL | final public static byte ACTION_MAKENONTRANSACTIONAL(Code) | | |
ACTION_MAKEPERSISTENT | final public static byte ACTION_MAKEPERSISTENT(Code) | | |
ACTION_MAKETRANSACTIONAL | final public static byte ACTION_MAKETRANSACTIONAL(Code) | | |
ACTION_MAKETRANSIENT | final public static byte ACTION_MAKETRANSIENT(Code) | | |
ACTION_READFIELD_ACTIVEDATASTORETRANSACTION | final public static byte ACTION_READFIELD_ACTIVEDATASTORETRANSACTION(Code) | | |
ACTION_READFIELD_ACTIVEOPTIMISTICTRANSACTION | final public static byte ACTION_READFIELD_ACTIVEOPTIMISTICTRANSACTION(Code) | | |
ACTION_READFIELD_OUTSIDETRANSACTION | final public static byte ACTION_READFIELD_OUTSIDETRANSACTION(Code) | | |
ACTION_REFRESH_ACTIVEDATASTORETRANSACTION | final public static byte ACTION_REFRESH_ACTIVEDATASTORETRANSACTION(Code) | | |
ACTION_REFRESH_ACTIVEOPTIMISTICTRANSACTION | final public static byte ACTION_REFRESH_ACTIVEOPTIMISTICTRANSACTION(Code) | | |
ACTION_ROLLBACK | final public static byte ACTION_ROLLBACK(Code) | | |
ACTION_ROLLBACK_RETAINVALUES | final public static byte ACTION_ROLLBACK_RETAINVALUES(Code) | | |
ACTION_WRITEFIELD_ACTIVEDATASTORETRANSACTION | final public static byte ACTION_WRITEFIELD_ACTIVEDATASTORETRANSACTION(Code) | | |
ACTION_WRITEFIELD_OUTSIDETRANSACTION | final public static byte ACTION_WRITEFIELD_OUTSIDETRANSACTION(Code) | | |
ERROR | final public static byte ERROR(Code) | | |
HOLLOW | final public static byte HOLLOW(Code) | | |
NOT_APPLICABLE | final public static byte NOT_APPLICABLE(Code) | | |
PERSISTENT_CLEAN | final public static byte PERSISTENT_CLEAN(Code) | | |
PERSISTENT_DELETED | final public static byte PERSISTENT_DELETED(Code) | | |
PERSISTENT_DIRTY | final public static byte PERSISTENT_DIRTY(Code) | | |
PERSISTENT_NEW | final public static byte PERSISTENT_NEW(Code) | | |
PERSISTENT_NEW_DELETED | final public static byte PERSISTENT_NEW_DELETED(Code) | | |
PERSISTENT_NONTRANSACTIONAL | final public static byte PERSISTENT_NONTRANSACTIONAL(Code) | | |
TRANSIENT | final public static byte TRANSIENT(Code) | | |
TRANSIENT_CLEAN | final public static byte TRANSIENT_CLEAN(Code) | | |
TRANSIENT_DIRTY | final public static byte TRANSIENT_DIRTY(Code) | | |
actionToString | public static String actionToString(byte action)(Code) | | |
initState | public static byte initState()(Code) | | Gets the initial state
TRANSIENT |
isDeleted | public static boolean isDeleted(byte status)(Code) | | Indicates if the instance is deleted
Parameters: status - current instance status true if the instance is deleted |
isDirty | public static boolean isDirty(byte status)(Code) | | Indicates if the instance is dirty
Parameters: status - current instance status true if the instance is dirty |
isNew | public static boolean isNew(byte status)(Code) | | Indicates if the instance is new
Parameters: status - current instance status true if the instance is bew |
isPersistent | public static boolean isPersistent(byte status)(Code) | | Indicates if the instance is persistent
Parameters: status - current instance status true if the instance is persistent |
isTransactional | public static boolean isTransactional(byte status)(Code) | | Indicates if the instance is transactional
Parameters: status - current instance status true if the instance is transactional |
isTransient | public static boolean isTransient(byte status)(Code) | | Indicates if the instance is transient
Parameters: status - current instance status true if the instance is transient |
makeDirty | public static byte makeDirty(byte status)(Code) | | Make the instance dirty.
Parameters: status - current status new status |
nextStatePersistenceCapable | public static byte nextStatePersistenceCapable(byte status, byte action)(Code) | | Gets the state transition in the JDO instances life cycle
Parameters: status - current instance status Parameters: action - method that is currently invoked the next state according to JDO rules |
statusToString | public static String statusToString(byte status)(Code) | | |
|
|
|