| java.lang.Object com.versant.core.jdo.PCStateMan
Method Summary | |
public void | addRefs() Make all PC instances referenced by us persistent. | public void | addToProcessList() | public void | changeToHollowState() The instance is not cleared of its values. | public void | changeToPNonTxForCommit(VersantPersistenceManagerImp rpm) This is called from commit and retainValues is set. | public void | checkModelConsistency() Check the model consistency of all of the fields in our State. | public void | collectReachable(String fetchGroup, Collection result) | public void | commit(VersantPersistenceManagerImp pm) | public EmbeddedStateManager | createEmbeddedSM(FieldMetaData fmd) | public EmbeddedStateManager | createEmbeddedSM(PersistenceCapable embeddedPC, FieldMetaData fmd) | public void | deleteImpForCommit() Helper method for commit to do work for deleting an instance. | public void | deletePersistent() | public boolean | doJDOPreStore(LifecycleListenerManager listeners) If the PC instance implements InstanceCallbacks and has not been deleted
then call its jdoPreStore method and also invoke the store lifecycle
callback if listeners is not null. | public void | dump() | public void | evict() | public void | fillNewAppPKField(int fieldNo) This gets called from the enhanced pc instances. | public void | firePostStore(LifecycleListenerManager listeners) | public void | flushCommit() | public boolean | getBooleanField(PersistenceCapable pc, int field, boolean currentValue) | public boolean | getBooleanFieldImp(PersistenceCapable pc, FieldMetaData fmd, boolean currentValue) | public byte | getByteField(PersistenceCapable pc, int field, byte currentValue) | public byte | getByteFieldImp(PersistenceCapable pc, FieldMetaData fmd, byte currentValue) | public char | getCharField(PersistenceCapable pc, int field, char currentValue) | public char | getCharFieldImp(PersistenceCapable pc, FieldMetaData fmd, char currentValue) | public ClassMetaData | getClassMetaData() | public double | getDoubleField(PersistenceCapable pc, int field, double currentValue) | public double | getDoubleFieldImp(PersistenceCapable pc, FieldMetaData fmd, double currentValue) | public float | getFloatField(PersistenceCapable pc, int field, float currentValue) | public float | getFloatFieldImp(PersistenceCapable pc, FieldMetaData fmd, float currentValue) | public int | getIntField(PersistenceCapable pc, int field, int currentValue) | public int | getIntFieldImp(PersistenceCapable pc, FieldMetaData fmd, int currentValue) | public long | getLOID() Get the LOID of this instance. | public long | getLongField(PersistenceCapable pc, int field, long currentValue) | public long | getLongFieldImp(PersistenceCapable pc, FieldMetaData fmd, long currentValue) | public OID | getOID() | public Object | getObjectField(PersistenceCapable pc, int field, Object currentValue) | public Object | getObjectFieldImp(PersistenceCapable pc, FieldMetaData fmd, Object currentValue) | public Object | getObjectId(PersistenceCapable pcParam) | public Object | getOptimisticLockingValue() | public PersistenceCapable | getPersistenceCapable() | public PersistenceManager | getPersistenceManager(PersistenceCapable pc) | public PMProxy | getPmProxy() | public OID | getRealOID() | public OID | getRealOIDIfAppId() | public short | getShortField(PersistenceCapable pc, int field, short currentValue) | public short | getShortFieldImp(PersistenceCapable pc, FieldMetaData fmd, short currentValue) | public String | getStringField(PersistenceCapable pc, int field, String currentValue) | public String | getStringFieldImp(PersistenceCapable pc, FieldMetaData fmd, String currentValue) | public Object | getTransactionalObjectId(PersistenceCapable pc) | final public void | handleException(Exception x) | public void | init(OID oid, ClassMetaData cmd, State aState, VersantPersistenceManagerImp rpm) This initialises the pcStateObject when it is being pushed in from the server
as a by product of a query or navigation. | public void | init(VersantDetachable d, OID oid, VersantPersistenceManagerImp rpm) | public void | init(OID oid, VersantPersistenceManagerImp rpm) This is to create a hollow sm for a getObjectById with validate = false. | public void | init(PersistenceCapable pc, OID oid, boolean isTransactional) This is to init the sm for a new OID. | public void | initTransient(PersistenceCapable pc, OID oid) This will initialise for transient managed use. | public boolean | isDeleted(PersistenceCapable pc) | public boolean | isDirty() | public boolean | isDirty(PersistenceCapable pc) | public boolean | isHollow() | public boolean | isInDirtyList(PCStateMan head) | public boolean | isLoaded(PersistenceCapable pc, FieldMetaData fmd) | public boolean | isLoaded(PersistenceCapable pc, int field) | public boolean | isLoadedImp(int field) | public boolean | isLoadedInternal(PersistenceCapable pc, int field) This is the same as isLoaded but will not trigger any state
transitions. | public boolean | isNew(PersistenceCapable pc) | public boolean | isPClean() | public boolean | isPDeleted() | public boolean | isPDirty() | public boolean | isPNew() | public boolean | isPNewDeleted() | public boolean | isPNonTx() | public boolean | isPersistent(PersistenceCapable pc) | public boolean | isPersistentNew() | public boolean | isTClean() | public boolean | isTDirty() | public boolean | isTransactional(PersistenceCapable pc) | public boolean | isTransientManaged() Check if the instance is in a managed transient state. | public boolean | isTx() | public void | loadDFGIntoPC(VersantPersistenceManagerImp rpm) This will load all the dfg fields into the PC instance. | public void | loadDfgFromHollow() This will load the defaulFetchGroup fields into the state and in
the mananged instance. | public void | loadFetchGroup(String name) | public void | makeDirty(PersistenceCapable pc, String fieldName) | public void | makeDirty(PersistenceCapable persistenceCapable, int fieldNo) | public void | makeNonTransactional() | public void | makeTransactional() | public void | makeTransient() | public void | makeTransientRecursive() | public void | preSerialize(PersistenceCapable pc) This will only load the fields for the pc instance. | public void | prepareCommitOrFlush(boolean commit) This is called on all transactional objects so that they can prepare for
the commit or flush. | public void | providedBooleanField(PersistenceCapable pc, int field, boolean currentValue) | public void | providedBooleanFieldImp(PersistenceCapable pc, FieldMetaData fmd, boolean currentValue) | public void | providedByteField(PersistenceCapable pc, int field, byte currentValue) | public void | providedByteFieldImp(PersistenceCapable pc, FieldMetaData fmd, byte currentValue) | public void | providedCharField(PersistenceCapable pc, int field, char currentValue) | public void | providedCharFieldImp(PersistenceCapable pc, FieldMetaData fmd, char currentValue) | public void | providedDoubleField(PersistenceCapable pc, int field, double currentValue) | public void | providedDoubleFieldImp(PersistenceCapable pc, FieldMetaData fmd, double currentValue) | public void | providedFloatField(PersistenceCapable pc, int field, float currentValue) | public void | providedFloatFieldImp(PersistenceCapable pc, FieldMetaData fmd, float currentValue) | public void | providedIntField(PersistenceCapable pc, int field, int currentValue) | public void | providedIntFieldImp(PersistenceCapable pc, FieldMetaData fmd, int currentValue) | public void | providedLongField(PersistenceCapable pc, int field, long currentValue) | public void | providedLongFieldImp(PersistenceCapable pc, FieldMetaData fmd, long currentValue) | public void | providedObjectField(PersistenceCapable pc, int field, Object currentValue) | public void | providedObjectFieldImp(PersistenceCapable pc, FieldMetaData fmd, Object currentValue) | public void | providedShortField(PersistenceCapable pc, int field, short currentValue) | public void | providedShortFieldImp(PersistenceCapable pc, FieldMetaData fmd, short currentValue) | public void | providedStringField(PersistenceCapable pc, int field, String currentValue) | public void | providedStringFieldImp(PersistenceCapable pc, FieldMetaData fmd, String currentValue) | public boolean | readInTx(boolean strict) | public void | refresh() The idea behind refresh is to reload the already loaded data from the server. | public boolean | replacingBooleanField(PersistenceCapable pc, int field) | public boolean | replacingBooleanFieldImp(PersistenceCapable pc, FieldMetaData fmd) | public byte | replacingByteField(PersistenceCapable pc, int field) | public byte | replacingByteFieldImp(PersistenceCapable pc, FieldMetaData fmd) | public char | replacingCharField(PersistenceCapable pc, int field) | public char | replacingCharFieldImp(PersistenceCapable pc, FieldMetaData fmd) | public double | replacingDoubleField(PersistenceCapable pc, int field) | public double | replacingDoubleFieldImp(PersistenceCapable pc, FieldMetaData fmd) | public byte | replacingFlags(PersistenceCapable pc) | public float | replacingFloatField(PersistenceCapable pc, int field) | public float | replacingFloatFieldImp(PersistenceCapable pc, FieldMetaData fmd) | public int | replacingIntField(PersistenceCapable pc, int field) | public int | replacingIntFieldImp(PersistenceCapable pc, FieldMetaData fmd) | public long | replacingLongField(PersistenceCapable pc, int field) | public long | replacingLongFieldImp(PersistenceCapable pc, FieldMetaData fmd) | public Object | replacingObjectField(PersistenceCapable pc, int field) | public Object | replacingObjectFieldImp(PersistenceCapable pc, FieldMetaData fmd) | public short | replacingShortField(PersistenceCapable pc, int field) | public short | replacingShortFieldImp(PersistenceCapable pc, FieldMetaData fmd) | public StateManager | replacingStateManager(PersistenceCapable pc, StateManager sm) | public String | replacingStringField(PersistenceCapable pc, int field) | public String | replacingStringFieldImp(PersistenceCapable pc, FieldMetaData fmd) | final public void | resetLoadedFields() | public void | retrieve(VersantPersistenceManagerImp rpm) This is an recursive operation. | public void | rollback() | public void | setBeforeState(FieldMetaData fmd, boolean currentValue) | public void | setBooleanField(PersistenceCapable pc, int field, boolean currentValue, boolean newValue) | public void | setBooleanFieldImp(PersistenceCapable pc, FieldMetaData fmd, boolean currentValue, boolean newValue) | public void | setByteField(PersistenceCapable pc, int field, byte currentValue, byte newValue) | public void | setByteFieldImp(PersistenceCapable pc, FieldMetaData fmd, byte currentValue, byte newValue) | public void | setCharField(PersistenceCapable pc, int field, char currentValue, char newValue) | public void | setCharFieldImp(PersistenceCapable pc, FieldMetaData fmd, char currentValue, char newValue) | public void | setDoubleField(PersistenceCapable pc, int field, double currentValue, double newValue) | public void | setDoubleFieldImp(PersistenceCapable pc, FieldMetaData fmd, double currentValue, double newValue) | public void | setFakeMaster(int stateFieldNo, VersantStateManager master, boolean remove) This is called from managed SCO classes to ensure that the back
reference of a newly added detail is updated property. | public void | setFloatField(PersistenceCapable pc, int field, float currentValue, float newValue) | public void | setFloatFieldImp(PersistenceCapable pc, FieldMetaData fmd, float currentValue, float newValue) | public void | setIntField(PersistenceCapable pc, int field, int currentValue, int newValue) | public void | setIntFieldImp(PersistenceCapable pc, FieldMetaData fmd, int currentValue, int newValue) | public void | setInterceptDfgFieldAccess(boolean on) | void | setLoadRequired() Utils method to reset the flag of the pc instance to indicate that fields
must be reloaded. | final void | setLoaded(FieldMetaData fmd) | public void | setLongField(PersistenceCapable pc, int field, long currentValue, long newValue) | public void | setLongFieldImp(PersistenceCapable pc, FieldMetaData fmd, long currentValue, long newValue) | public void | setMaster(int field, Object newMaster, boolean removeFromCurrentMaster) This is called from managed SCO classes to ensure that the back
reference of a newly added detail is updated property. | public void | setObjectField(PersistenceCapable pc, int field, Object currentValue, Object newValue) | public void | setObjectFieldImp(PersistenceCapable pc, FieldMetaData fmd, Object currentValue, Object newValue) | public void | setShortField(PersistenceCapable pc, int field, short currentValue, short newValue) | public void | setShortFieldImp(PersistenceCapable pc, FieldMetaData fmd, short currentValue, short newValue) | public void | setStringField(PersistenceCapable pc, int field, String currentValue, String newValue) | public void | setStringFieldImp(PersistenceCapable pc, FieldMetaData fmd, String currentValue, String newValue) | public String | toString() | public void | updateAutoFields(State autoS) | public PCStateMan | updateWith(State suppliedState, VersantPersistenceManagerImp pm, boolean overWrite) This is a new State that was received from the server via indirect means.
This state must be updated with the supplied state. | final void | updated(VersantPersistenceManagerImp rpm, boolean addToProccessList) This will be called when ever the state has been updated as result of a
query/navigation that brought extra info back for this state. |
cacheEntry | public PMCacheEntry cacheEntry(Code) | | The wrapper for this instance in the managed cache.
|
doChangeChecking | public boolean doChangeChecking(Code) | | |
inDirtyList | public boolean inDirtyList(Code) | | |
oid | public OID oid(Code) | | The OID of the managed instance.
|
pc | public PersistenceCapable pc(Code) | | The PersistenceCapable instance that is managed.
|
toBeEvictedFlag | public boolean toBeEvictedFlag(Code) | | A flag that is set if this instance is to be evicted at commit.
|
addRefs | public void addRefs()(Code) | | Make all PC instances referenced by us persistent. This is called by
the PM on makePersistent and commit as part of the reachability
search.
|
addToProcessList | public void addToProcessList()(Code) | | |
changeToHollowState | public void changeToHollowState()(Code) | | The instance is not cleared of its values. The loaded fields and the JDO_FLAGS is
reset to force the pc to ask the sm for new values.
|
changeToPNonTxForCommit | public void changeToPNonTxForCommit(VersantPersistenceManagerImp rpm)(Code) | | This is called from commit and retainValues is set.
The state must be P-Non-Tx after this.
|
checkModelConsistency | public void checkModelConsistency()(Code) | | Check the model consistency of all of the fields in our State.
This currently only makes sure that bidirectional relationships have
been properly completed but other checks may be added in future.
|
deleteImpForCommit | public void deleteImpForCommit()(Code) | | Helper method for commit to do work for deleting an instance. This must remove all
resources held by this instance.
|
deletePersistent | public void deletePersistent()(Code) | | |
doJDOPreStore | public boolean doJDOPreStore(LifecycleListenerManager listeners)(Code) | | If the PC instance implements InstanceCallbacks and has not been deleted
then call its jdoPreStore method and also invoke the store lifecycle
callback if listeners is not null. Returns true if jdoPreStore was
called or there were store listeners.
|
evict | public void evict()(Code) | | |
fillNewAppPKField | public void fillNewAppPKField(int fieldNo)(Code) | | This gets called from the enhanced pc instances. This is only for
Application identity key fields. It gives us a chance to
fill the field with a valid keygened value.
|
flushCommit | public void flushCommit()(Code) | | |
getBooleanField | public boolean getBooleanField(PersistenceCapable pc, int field, boolean currentValue)(Code) | | |
getBooleanFieldImp | public boolean getBooleanFieldImp(PersistenceCapable pc, FieldMetaData fmd, boolean currentValue)(Code) | | |
getByteField | public byte getByteField(PersistenceCapable pc, int field, byte currentValue)(Code) | | |
getByteFieldImp | public byte getByteFieldImp(PersistenceCapable pc, FieldMetaData fmd, byte currentValue)(Code) | | |
getCharField | public char getCharField(PersistenceCapable pc, int field, char currentValue)(Code) | | |
getCharFieldImp | public char getCharFieldImp(PersistenceCapable pc, FieldMetaData fmd, char currentValue)(Code) | | |
getDoubleField | public double getDoubleField(PersistenceCapable pc, int field, double currentValue)(Code) | | |
getDoubleFieldImp | public double getDoubleFieldImp(PersistenceCapable pc, FieldMetaData fmd, double currentValue)(Code) | | |
getFloatField | public float getFloatField(PersistenceCapable pc, int field, float currentValue)(Code) | | |
getFloatFieldImp | public float getFloatFieldImp(PersistenceCapable pc, FieldMetaData fmd, float currentValue)(Code) | | |
getIntField | public int getIntField(PersistenceCapable pc, int field, int currentValue)(Code) | | |
getIntFieldImp | public int getIntFieldImp(PersistenceCapable pc, FieldMetaData fmd, int currentValue)(Code) | | |
getLOID | public long getLOID()(Code) | | Get the LOID of this instance. This should only be called for classes
stored in VDS. This will assign it real LOID if it does not already
have one.
|
getLongField | public long getLongField(PersistenceCapable pc, int field, long currentValue)(Code) | | |
getLongFieldImp | public long getLongFieldImp(PersistenceCapable pc, FieldMetaData fmd, long currentValue)(Code) | | |
getObjectField | public Object getObjectField(PersistenceCapable pc, int field, Object currentValue)(Code) | | |
getObjectId | public Object getObjectId(PersistenceCapable pcParam)(Code) | | |
getOptimisticLockingValue | public Object getOptimisticLockingValue()(Code) | | |
getPersistenceCapable | public PersistenceCapable getPersistenceCapable()(Code) | | |
getPersistenceManager | public PersistenceManager getPersistenceManager(PersistenceCapable pc)(Code) | | |
getRealOID | public OID getRealOID()(Code) | | This is called from VersantOid if it need the
|
getRealOIDIfAppId | public OID getRealOIDIfAppId()(Code) | | This will return a internal oid created from the state if
- app id
- keygen == null
or state containsvalid pk fields
|
getShortField | public short getShortField(PersistenceCapable pc, int field, short currentValue)(Code) | | |
getShortFieldImp | public short getShortFieldImp(PersistenceCapable pc, FieldMetaData fmd, short currentValue)(Code) | | |
getStringField | public String getStringField(PersistenceCapable pc, int field, String currentValue)(Code) | | |
getTransactionalObjectId | public Object getTransactionalObjectId(PersistenceCapable pc)(Code) | | |
init | public void init(OID oid, VersantPersistenceManagerImp rpm)(Code) | | This is to create a hollow sm for a getObjectById with validate = false.
Must the oid be resolved.
Parameters: oid - |
init | public void init(PersistenceCapable pc, OID oid, boolean isTransactional)(Code) | | This is to init the sm for a new OID. Therefore either an P-New instance
or a transient instance.
TODO must test a transient instance that refs other instances. What must happen to them.
Must they also propagate to transient.
|
initTransient | public void initTransient(PersistenceCapable pc, OID oid)(Code) | | This will initialise for transient managed use.
Parameters: pc - Parameters: oid - |
isDeleted | public boolean isDeleted(PersistenceCapable pc)(Code) | | |
isDirty | public boolean isDirty()(Code) | | |
isDirty | public boolean isDirty(PersistenceCapable pc)(Code) | | |
isHollow | public boolean isHollow()(Code) | | |
isLoaded | public boolean isLoaded(PersistenceCapable pc, int field)(Code) | | |
isLoadedImp | public boolean isLoadedImp(int field)(Code) | | |
isLoadedInternal | public boolean isLoadedInternal(PersistenceCapable pc, int field)(Code) | | This is the same as isLoaded but will not trigger any state
transitions.
|
isNew | public boolean isNew(PersistenceCapable pc)(Code) | | |
isPClean | public boolean isPClean()(Code) | | |
isPDeleted | public boolean isPDeleted()(Code) | | |
isPDirty | public boolean isPDirty()(Code) | | |
isPNew | public boolean isPNew()(Code) | | |
isPNewDeleted | public boolean isPNewDeleted()(Code) | | |
isPNonTx | public boolean isPNonTx()(Code) | | |
isPersistent | public boolean isPersistent(PersistenceCapable pc)(Code) | | |
isPersistentNew | public boolean isPersistentNew()(Code) | | |
isTClean | public boolean isTClean()(Code) | | |
isTDirty | public boolean isTDirty()(Code) | | |
isTransactional | public boolean isTransactional(PersistenceCapable pc)(Code) | | |
isTransientManaged | public boolean isTransientManaged()(Code) | | Check if the instance is in a managed transient state.
|
isTx | public boolean isTx()(Code) | | |
loadDfgFromHollow | public void loadDfgFromHollow()(Code) | | This will load the defaulFetchGroup fields into the state and in
the mananged instance. This is only called to change from hollow.
|
makeDirty | public void makeDirty(PersistenceCapable pc, String fieldName)(Code) | | |
makeDirty | public void makeDirty(PersistenceCapable persistenceCapable, int fieldNo)(Code) | | |
makeNonTransactional | public void makeNonTransactional()(Code) | | |
makeTransactional | public void makeTransactional()(Code) | | |
makeTransient | public void makeTransient()(Code) | | |
makeTransientRecursive | public void makeTransientRecursive()(Code) | | |
preSerialize | public void preSerialize(PersistenceCapable pc)(Code) | | This will only load the fields for the pc instance. It does not force aload and not any reachable pc instances.
Parameters: pc - |
prepareCommitOrFlush | public void prepareCommitOrFlush(boolean commit)(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 pc, int field, boolean currentValue)(Code) | | |
providedBooleanFieldImp | public void providedBooleanFieldImp(PersistenceCapable pc, FieldMetaData fmd, boolean currentValue)(Code) | | |
providedByteField | public void providedByteField(PersistenceCapable pc, int field, byte currentValue)(Code) | | |
providedByteFieldImp | public void providedByteFieldImp(PersistenceCapable pc, FieldMetaData fmd, byte currentValue)(Code) | | |
providedCharField | public void providedCharField(PersistenceCapable pc, int field, char currentValue)(Code) | | |
providedCharFieldImp | public void providedCharFieldImp(PersistenceCapable pc, FieldMetaData fmd, char currentValue)(Code) | | |
providedDoubleField | public void providedDoubleField(PersistenceCapable pc, int field, double currentValue)(Code) | | |
providedDoubleFieldImp | public void providedDoubleFieldImp(PersistenceCapable pc, FieldMetaData fmd, double currentValue)(Code) | | |
providedFloatField | public void providedFloatField(PersistenceCapable pc, int field, float currentValue)(Code) | | |
providedFloatFieldImp | public void providedFloatFieldImp(PersistenceCapable pc, FieldMetaData fmd, float currentValue)(Code) | | |
providedIntField | public void providedIntField(PersistenceCapable pc, int field, int currentValue)(Code) | | |
providedIntFieldImp | public void providedIntFieldImp(PersistenceCapable pc, FieldMetaData fmd, int currentValue)(Code) | | |
providedLongField | public void providedLongField(PersistenceCapable pc, int field, long currentValue)(Code) | | |
providedLongFieldImp | public void providedLongFieldImp(PersistenceCapable pc, FieldMetaData fmd, long currentValue)(Code) | | |
providedObjectField | public void providedObjectField(PersistenceCapable pc, int field, Object currentValue)(Code) | | |
providedObjectFieldImp | public void providedObjectFieldImp(PersistenceCapable pc, FieldMetaData fmd, Object currentValue)(Code) | | |
providedShortField | public void providedShortField(PersistenceCapable pc, int field, short currentValue)(Code) | | |
providedShortFieldImp | public void providedShortFieldImp(PersistenceCapable pc, FieldMetaData fmd, short currentValue)(Code) | | |
providedStringField | public void providedStringField(PersistenceCapable pc, int field, String currentValue)(Code) | | |
providedStringFieldImp | public void providedStringFieldImp(PersistenceCapable pc, FieldMetaData fmd, String currentValue)(Code) | | |
readInTx | public boolean readInTx(boolean strict)(Code) | | |
refresh | public void refresh()(Code) | | The idea behind refresh is to reload the already loaded data from the server.
This is mostly needed for optismistic transactions to minimize the concurrent
updates.
The only state change that occurs is for P-Dirty instances that change to
P-Clean.
This call is a no-op for all new instances, because there is nothing to
relaod from the server.
Hollow instances are also an no-op because nothing has been fetched.
For all the rest this is a relead of the currently loaded fields.
|
replacingBooleanField | public boolean replacingBooleanField(PersistenceCapable pc, int field)(Code) | | |
replacingBooleanFieldImp | public boolean replacingBooleanFieldImp(PersistenceCapable pc, FieldMetaData fmd)(Code) | | |
replacingByteField | public byte replacingByteField(PersistenceCapable pc, int field)(Code) | | |
replacingByteFieldImp | public byte replacingByteFieldImp(PersistenceCapable pc, FieldMetaData fmd)(Code) | | |
replacingCharField | public char replacingCharField(PersistenceCapable pc, int field)(Code) | | |
replacingCharFieldImp | public char replacingCharFieldImp(PersistenceCapable pc, FieldMetaData fmd)(Code) | | |
replacingDoubleField | public double replacingDoubleField(PersistenceCapable pc, int field)(Code) | | |
replacingDoubleFieldImp | public double replacingDoubleFieldImp(PersistenceCapable pc, FieldMetaData fmd)(Code) | | |
replacingFlags | public byte replacingFlags(PersistenceCapable pc)(Code) | | |
replacingFloatField | public float replacingFloatField(PersistenceCapable pc, int field)(Code) | | |
replacingFloatFieldImp | public float replacingFloatFieldImp(PersistenceCapable pc, FieldMetaData fmd)(Code) | | |
replacingIntField | public int replacingIntField(PersistenceCapable pc, int field)(Code) | | |
replacingIntFieldImp | public int replacingIntFieldImp(PersistenceCapable pc, FieldMetaData fmd)(Code) | | |
replacingLongField | public long replacingLongField(PersistenceCapable pc, int field)(Code) | | |
replacingLongFieldImp | public long replacingLongFieldImp(PersistenceCapable pc, FieldMetaData fmd)(Code) | | |
replacingObjectField | public Object replacingObjectField(PersistenceCapable pc, int field)(Code) | | |
replacingShortField | public short replacingShortField(PersistenceCapable pc, int field)(Code) | | |
replacingShortFieldImp | public short replacingShortFieldImp(PersistenceCapable pc, FieldMetaData fmd)(Code) | | |
replacingStateManager | public StateManager replacingStateManager(PersistenceCapable pc, StateManager sm)(Code) | | |
replacingStringField | public String replacingStringField(PersistenceCapable pc, int field)(Code) | | |
resetLoadedFields | final public void resetLoadedFields()(Code) | | |
rollback | public void rollback()(Code) | | |
setBooleanField | public void setBooleanField(PersistenceCapable pc, int field, boolean currentValue, boolean newValue)(Code) | | |
setBooleanFieldImp | public void setBooleanFieldImp(PersistenceCapable pc, FieldMetaData fmd, boolean currentValue, boolean newValue)(Code) | | |
setByteField | public void setByteField(PersistenceCapable pc, int field, byte currentValue, byte newValue)(Code) | | |
setByteFieldImp | public void setByteFieldImp(PersistenceCapable pc, FieldMetaData fmd, byte currentValue, byte newValue)(Code) | | |
setCharField | public void setCharField(PersistenceCapable pc, int field, char currentValue, char newValue)(Code) | | |
setCharFieldImp | public void setCharFieldImp(PersistenceCapable pc, FieldMetaData fmd, char currentValue, char newValue)(Code) | | |
setDoubleField | public void setDoubleField(PersistenceCapable pc, int field, double currentValue, double newValue)(Code) | | |
setDoubleFieldImp | public void setDoubleFieldImp(PersistenceCapable pc, FieldMetaData fmd, double currentValue, double newValue)(Code) | | |
setFakeMaster | public void setFakeMaster(int stateFieldNo, VersantStateManager master, boolean remove)(Code) | | This is called from managed SCO classes to ensure that the back
reference of a newly added detail is updated property. It is
not possible to just call setObject in this case as this will result
in an endless loop as setObject adds the detail to its master.
If removeFromCurrentMaster is true then this instance is removed
from its current master (if any and if different).
|
setFloatField | public void setFloatField(PersistenceCapable pc, int field, float currentValue, float newValue)(Code) | | |
setFloatFieldImp | public void setFloatFieldImp(PersistenceCapable pc, FieldMetaData fmd, float currentValue, float newValue)(Code) | | |
setIntField | public void setIntField(PersistenceCapable pc, int field, int currentValue, int newValue)(Code) | | |
setIntFieldImp | public void setIntFieldImp(PersistenceCapable pc, FieldMetaData fmd, int currentValue, int newValue)(Code) | | |
setInterceptDfgFieldAccess | public void setInterceptDfgFieldAccess(boolean on)(Code) | | |
setLoadRequired | void setLoadRequired()(Code) | | Utils method to reset the flag of the pc instance to indicate that fields
must be reloaded.
|
setLongField | public void setLongField(PersistenceCapable pc, int field, long currentValue, long newValue)(Code) | | |
setLongFieldImp | public void setLongFieldImp(PersistenceCapable pc, FieldMetaData fmd, long currentValue, long newValue)(Code) | | |
setMaster | public void setMaster(int field, Object newMaster, boolean removeFromCurrentMaster)(Code) | | This is called from managed SCO classes to ensure that the back
reference of a newly added detail is updated property. It is
not possible to just call setObject in this case as this will result
in an endless loop as setObject adds the detail to its master.
If removeFromCurrentMaster is true then this instance is removed
from its current master (if any and if different).
|
setObjectField | public void setObjectField(PersistenceCapable pc, int field, Object currentValue, Object newValue)(Code) | | |
setShortField | public void setShortField(PersistenceCapable pc, int field, short currentValue, short newValue)(Code) | | |
setShortFieldImp | public void setShortFieldImp(PersistenceCapable pc, FieldMetaData fmd, short currentValue, short newValue)(Code) | | |
setStringField | public void setStringField(PersistenceCapable pc, int field, String currentValue, String newValue)(Code) | | |
updateAutoFields | public void updateAutoFields(State autoS)(Code) | | |
updateWith | public PCStateMan updateWith(State suppliedState, VersantPersistenceManagerImp pm, boolean overWrite)(Code) | | This is a new State that was received from the server via indirect means.
This state must be updated with the supplied state. Any state changes nec must
also be done.
Parameters: suppliedState - |
updated | final void updated(VersantPersistenceManagerImp rpm, boolean addToProccessList)(Code) | | This will be called when ever the state has been updated as result of a
query/navigation that brought extra info back for this state.
This method will ensure that the proper state changes takes place.
|
|
|