| java.lang.Object com.versant.core.ejb.StateManagerImp
Method Summary | |
public void | detachOnCommit(VersantDetachedStateManager dsm) Called on commit to detach the pc. | public void | fillNewAppPKField(int fieldNo) | public void | firePostStore(LifecycleListenerManager listeners) | public void | flush() | public boolean | getBooleanField(PersistenceCapable persistenceCapable, int i, boolean b) | public byte | getByteField(PersistenceCapable persistenceCapable, int i, byte b) | public char | getCharField(PersistenceCapable persistenceCapable, int i, char c) | public double | getDoubleField(PersistenceCapable persistenceCapable, int i, double v) | public float | getFloatField(PersistenceCapable persistenceCapable, int i, float v) | FieldMetaData | getFmd(int absFieldNo) | public int | getIntField(PersistenceCapable persistenceCapable, int i, int i1) | public OID | getInternalOID(PersistenceCapable pc) | public PCStateMan | getInternalSM(PersistenceCapable pc) | public long | getLongField(PersistenceCapable persistenceCapable, int i, long l) | public OID | getOID() | public Object | getObjectById(Object oid, boolean b) | public Object | getObjectField(PersistenceCapable persistenceCapable, int i, Object o) | public Object | getObjectId(PersistenceCapable persistenceCapable) | public Object | getOptimisticLockingValue() | public PersistenceCapable | getPersistenceCapable() | public PersistenceManager | getPersistenceManager() | public PersistenceManager | getPersistenceManager(PersistenceCapable persistenceCapable) | public static OID | getRealOIDIfAppId(ClassMetaData cmd, NewObjectOID newOID, State state) Create the real oid for this instance if possible. | public short | getShortField(PersistenceCapable persistenceCapable, int i, short i1) | public String | getStringField(PersistenceCapable persistenceCapable, int i, String s) | public Object | getTransactionalObjectId(PersistenceCapable persistenceCapable) | public boolean | isDeleted(PersistenceCapable persistenceCapable) | public boolean | isDirty() If this sm must be flushed to the store. | public boolean | isDirty(PersistenceCapable persistenceCapable) | public boolean | isLoaded(PersistenceCapable persistenceCapable, int i) | public boolean | isNew(PersistenceCapable persistenceCapable) | public boolean | isPersistent(PersistenceCapable persistenceCapable) | public boolean | isRemoved() | public boolean | isTransactional(PersistenceCapable persistenceCapable) | public void | makeDirty(PersistenceCapable persistenceCapable, int managedFieldNo) | public void | makeDirty(PersistenceCapable persistenceCapable, String s) | public void | manage(OID oidVal, State stateVal, LocalCache cache) Manage an existing instance. | public void | manageNew(PersistenceCapable pc, LocalCache cache, int newOidVal) Accepts a
LifeCycleStatus.NEW entity and manage it. | public void | manageReferences() Manage all the references as per spec. | public StateManagerImp | mergeReferences(com.versant.core.ejb.common.EntrySet mergeSet) | public void | persistReferences(com.versant.core.ejb.common.EntrySet mergeSet) | public void | postStore(StatesReturned sr, boolean flush) Do post commit updated. | public void | preSerialize(PersistenceCapable persistenceCapable) | public void | prepareCommitOrFlush(boolean commit, DeletePacket toDelete, StatesToStore toStore) This is called on all transactional objects so that they can prepare for
the commit or flush. | public void | providedBooleanField(PersistenceCapable persistenceCapable, int i, boolean val) | public void | providedByteField(PersistenceCapable persistenceCapable, int i, byte val) | public void | providedCharField(PersistenceCapable persistenceCapable, int i, char val) | public void | providedDoubleField(PersistenceCapable persistenceCapable, int i, double val) | public void | providedFloatField(PersistenceCapable persistenceCapable, int i, float val) | public void | providedIntField(PersistenceCapable persistenceCapable, int i, int val) | public void | providedLongField(PersistenceCapable persistenceCapable, int i, long val) | public void | providedObjectField(PersistenceCapable persistenceCapable, int i, Object val) | public void | providedShortField(PersistenceCapable persistenceCapable, int i, short val) | public void | providedStringField(PersistenceCapable persistenceCapable, int i, String val) | public void | remove() | public boolean | replacingBooleanField(PersistenceCapable persistenceCapable, int i) | public byte | replacingByteField(PersistenceCapable persistenceCapable, int i) | public char | replacingCharField(PersistenceCapable persistenceCapable, int i) | public double | replacingDoubleField(PersistenceCapable persistenceCapable, int i) | public byte | replacingFlags(PersistenceCapable persistenceCapable) | public float | replacingFloatField(PersistenceCapable persistenceCapable, int i) | public int | replacingIntField(PersistenceCapable persistenceCapable, int i) | public long | replacingLongField(PersistenceCapable persistenceCapable, int i) | public Object | replacingObjectField(PersistenceCapable persistenceCapable, int i) | public short | replacingShortField(PersistenceCapable persistenceCapable, int i) | public StateManager | replacingStateManager(PersistenceCapable persistenceCapable, StateManager stateManager) | public String | replacingStringField(PersistenceCapable persistenceCapable, int i) | public void | setBooleanField(PersistenceCapable persistenceCapable, int i, boolean currentVal, boolean newVal) | public void | setByteField(PersistenceCapable persistenceCapable, int i, byte currentVal, byte newVal) | public void | setCharField(PersistenceCapable persistenceCapable, int i, char currentVal, char newVal) | public void | setDoubleField(PersistenceCapable persistenceCapable, int i, double currentVal, double newVal) | public void | setFloatField(PersistenceCapable persistenceCapable, int i, float currentVal, float newVal) | public void | setIntField(PersistenceCapable persistenceCapable, int i, int currentVal, int newVal) | public void | setLongField(PersistenceCapable persistenceCapable, int i, long currentVal, long newVal) | public void | setObjectField(PersistenceCapable persistenceCapable, int i, Object currentVal, Object newVal) | public void | setShortField(PersistenceCapable persistenceCapable, int i, short currentVal, short newVal) | public void | setStringField(PersistenceCapable persistenceCapable, int i, String currentVal, String newVal) | public void | updateAutoFields(State autoS) Update the state with autoset fields returned from the store operation. | public void | updateState(State state) |
pc | PersistenceCapable pc(Code) | | |
fillNewAppPKField | public void fillNewAppPKField(int fieldNo)(Code) | | |
flush | public void flush()(Code) | | |
getBooleanField | public boolean getBooleanField(PersistenceCapable persistenceCapable, int i, boolean b)(Code) | | |
getByteField | public byte getByteField(PersistenceCapable persistenceCapable, int i, byte b)(Code) | | |
getCharField | public char getCharField(PersistenceCapable persistenceCapable, int i, char c)(Code) | | |
getDoubleField | public double getDoubleField(PersistenceCapable persistenceCapable, int i, double v)(Code) | | |
getFloatField | public float getFloatField(PersistenceCapable persistenceCapable, int i, float v)(Code) | | |
getIntField | public int getIntField(PersistenceCapable persistenceCapable, int i, int i1)(Code) | | |
getInternalOID | public OID getInternalOID(PersistenceCapable pc)(Code) | | |
getLongField | public long getLongField(PersistenceCapable persistenceCapable, int i, long l)(Code) | | |
getObjectField | public Object getObjectField(PersistenceCapable persistenceCapable, int i, Object o)(Code) | | |
getObjectId | public Object getObjectId(PersistenceCapable persistenceCapable)(Code) | | |
getOptimisticLockingValue | public Object getOptimisticLockingValue()(Code) | | |
getPersistenceCapable | public PersistenceCapable getPersistenceCapable()(Code) | | |
getPersistenceManager | public PersistenceManager getPersistenceManager()(Code) | | |
getPersistenceManager | public PersistenceManager getPersistenceManager(PersistenceCapable persistenceCapable)(Code) | | |
getShortField | public short getShortField(PersistenceCapable persistenceCapable, int i, short i1)(Code) | | |
getStringField | public String getStringField(PersistenceCapable persistenceCapable, int i, String s)(Code) | | |
getTransactionalObjectId | public Object getTransactionalObjectId(PersistenceCapable persistenceCapable)(Code) | | |
isDeleted | public boolean isDeleted(PersistenceCapable persistenceCapable)(Code) | | |
isDirty | public boolean isDirty()(Code) | | If this sm must be flushed to the store.
|
isDirty | public boolean isDirty(PersistenceCapable persistenceCapable)(Code) | | |
isLoaded | public boolean isLoaded(PersistenceCapable persistenceCapable, int i)(Code) | | |
isNew | public boolean isNew(PersistenceCapable persistenceCapable)(Code) | | |
isPersistent | public boolean isPersistent(PersistenceCapable persistenceCapable)(Code) | | |
isRemoved | public boolean isRemoved()(Code) | | If this instance is marked for removal/Deletion
|
isTransactional | public boolean isTransactional(PersistenceCapable persistenceCapable)(Code) | | |
makeDirty | public void makeDirty(PersistenceCapable persistenceCapable, int managedFieldNo)(Code) | | |
makeDirty | public void makeDirty(PersistenceCapable persistenceCapable, String s)(Code) | | |
manage | public void manage(OID oidVal, State stateVal, LocalCache cache)(Code) | | Manage an existing instance.
Parameters: oidVal - Parameters: stateVal - |
manageReferences | public void manageReferences()(Code) | | Manage all the references as per spec. Should look at the annotations
and decide on which references to follow.
|
preSerialize | public void preSerialize(PersistenceCapable persistenceCapable)(Code) | | |
prepareCommitOrFlush | public void prepareCommitOrFlush(boolean commit, DeletePacket toDelete, StatesToStore toStore)(Code) | | This is called on all transactional objects so that they can prepare for
the commit or flush. If the state was deleted it will call add itself
to the list of instances to be deleted etc.
|
providedBooleanField | public void providedBooleanField(PersistenceCapable persistenceCapable, int i, boolean val)(Code) | | |
providedByteField | public void providedByteField(PersistenceCapable persistenceCapable, int i, byte val)(Code) | | |
providedCharField | public void providedCharField(PersistenceCapable persistenceCapable, int i, char val)(Code) | | |
providedDoubleField | public void providedDoubleField(PersistenceCapable persistenceCapable, int i, double val)(Code) | | |
providedFloatField | public void providedFloatField(PersistenceCapable persistenceCapable, int i, float val)(Code) | | |
providedIntField | public void providedIntField(PersistenceCapable persistenceCapable, int i, int val)(Code) | | |
providedLongField | public void providedLongField(PersistenceCapable persistenceCapable, int i, long val)(Code) | | |
providedObjectField | public void providedObjectField(PersistenceCapable persistenceCapable, int i, Object val)(Code) | | |
providedShortField | public void providedShortField(PersistenceCapable persistenceCapable, int i, short val)(Code) | | |
providedStringField | public void providedStringField(PersistenceCapable persistenceCapable, int i, String val)(Code) | | |
remove | public void remove()(Code) | | Mark this entity as removed
|
replacingBooleanField | public boolean replacingBooleanField(PersistenceCapable persistenceCapable, int i)(Code) | | |
replacingByteField | public byte replacingByteField(PersistenceCapable persistenceCapable, int i)(Code) | | |
replacingCharField | public char replacingCharField(PersistenceCapable persistenceCapable, int i)(Code) | | |
replacingDoubleField | public double replacingDoubleField(PersistenceCapable persistenceCapable, int i)(Code) | | |
replacingFlags | public byte replacingFlags(PersistenceCapable persistenceCapable)(Code) | | |
replacingFloatField | public float replacingFloatField(PersistenceCapable persistenceCapable, int i)(Code) | | |
replacingIntField | public int replacingIntField(PersistenceCapable persistenceCapable, int i)(Code) | | |
replacingLongField | public long replacingLongField(PersistenceCapable persistenceCapable, int i)(Code) | | |
replacingObjectField | public Object replacingObjectField(PersistenceCapable persistenceCapable, int i)(Code) | | |
replacingShortField | public short replacingShortField(PersistenceCapable persistenceCapable, int i)(Code) | | |
replacingStateManager | public StateManager replacingStateManager(PersistenceCapable persistenceCapable, StateManager stateManager)(Code) | | |
replacingStringField | public String replacingStringField(PersistenceCapable persistenceCapable, int i)(Code) | | |
setBooleanField | public void setBooleanField(PersistenceCapable persistenceCapable, int i, boolean currentVal, boolean newVal)(Code) | | |
setByteField | public void setByteField(PersistenceCapable persistenceCapable, int i, byte currentVal, byte newVal)(Code) | | |
setCharField | public void setCharField(PersistenceCapable persistenceCapable, int i, char currentVal, char newVal)(Code) | | |
setDoubleField | public void setDoubleField(PersistenceCapable persistenceCapable, int i, double currentVal, double newVal)(Code) | | |
setFloatField | public void setFloatField(PersistenceCapable persistenceCapable, int i, float currentVal, float newVal)(Code) | | |
setIntField | public void setIntField(PersistenceCapable persistenceCapable, int i, int currentVal, int newVal)(Code) | | |
setLongField | public void setLongField(PersistenceCapable persistenceCapable, int i, long currentVal, long newVal)(Code) | | |
setObjectField | public void setObjectField(PersistenceCapable persistenceCapable, int i, Object currentVal, Object newVal)(Code) | | |
setShortField | public void setShortField(PersistenceCapable persistenceCapable, int i, short currentVal, short newVal)(Code) | | |
setStringField | public void setStringField(PersistenceCapable persistenceCapable, int i, String currentVal, String newVal)(Code) | | |
updateAutoFields | public void updateAutoFields(State autoS)(Code) | | Update the state with autoset fields returned from the store operation.
|
|
|