|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.orientechnologies.jdo.oPersistenceManagerST
Orient JDO implementation of PersistenceManager interface, the most important one for the user application. This class works without sychronization. Use oPersistenceManagerMT if you want to use the same persistence manager by more threads cuncurrently. To create a oPersistenceManagerST object you had to use the factory class: oPersistenceManagerFactory.getPersistenceManager() setting single-thread mode.
oPersistenceManagerFactory,
oPersistenceManagerMT,
Serialized Form| Constructor Summary | |
protected |
oPersistenceManagerST(PersistenceManagerFactory iFactory,
com.orientechnologies.jdo.engine.oEngineLoader iEngine,
oOrientURL iUrl,
java.lang.String iUserName,
java.lang.String iUserPasswd,
java.util.Properties iDefProp)
Create a persistence manager based on Orient datastore. |
| Method Summary | |
void |
bindObject(java.lang.String iName,
java.lang.Object iObject)
Bind an object to the database's dictionary assigning a unique name. |
void |
close()
Close the connection with datastore. |
oOID |
createStreamById(java.lang.String iClassName,
oBinary iObject)
Create a new persistent object in the datastore, returning the OID of new object created. |
Transaction |
currentTransaction()
Get current transaction. |
void |
deleteObjectById(java.lang.Object iOid)
Delete an object by OID. |
protected void |
deletePersistent_i(java.lang.Object iObj)
|
void |
deletePersistent(java.lang.Object iObj)
Delete a persistent object from datastore. |
void |
deletePersistentAll(java.util.Collection iObjColl)
Delete a set of persistent objects from datastore. |
void |
deletePersistentAll(java.lang.Object[] iObjArray)
Delete an array of persistent objects from datastore. |
void |
evict(java.lang.Object parm1)
Mark an instance as no longer needed in the cache. |
void |
evictAll()
Mark all persistent-nontransactional instances as no longer needed in the cache. |
void |
evictAll(java.util.Collection parm1)
Mark a Collection of instances as no longer needed in the cache. |
void |
evictAll(java.lang.Object[] parm1)
Mark an array of instances as no longer needed in the cache. |
int |
getConnectionId()
|
int |
getDatabaseId()
|
java.lang.String |
getDatabaseName()
|
java.text.DateFormat |
getDateFormat()
|
java.lang.String |
getDateFormatString()
|
d_Dictionary |
getDictionary()
|
oSysFolder |
getDirectory()
|
com.orientechnologies.jdo.interfaces.oDomain |
getDomain()
|
com.orientechnologies.jdo.engine.oEngineLoader |
getEngine()
|
Extent |
getExtent(java.lang.Class parm1,
boolean parm2)
The PersistenceManager manages a collection of instances in the data
store based on the class of the instances. |
boolean |
getIgnoreCache()
Get the ignoreCache setting for queries. |
boolean |
getMultithreaded()
Return always false, since thread-safe PM class is oPersistenceManagerSTMT |
java.lang.Object |
getObjectById(java.lang.Object iOid,
boolean iValidate)
Get the object id associated to an object. the object id is of class oOID |
java.lang.Object |
getObjectId(java.lang.Object iObject)
Get the object id associated to an object. the object id is of class oOID |
java.lang.Class |
getObjectIdClass(java.lang.Class parm1)
Return the Class that implements the JDO Identity for the
specified PersistenceCapable class. |
oOrientURL |
getOrientURL()
|
PersistenceManagerFactory |
getPersistenceManagerFactory()
This method returns the PersistenceManagerFactory used to create
this PersistenceManager. |
java.util.Properties |
getProperties()
|
oSysDatabase |
getSchema()
|
int |
getSessionId()
|
oBinary |
getStreamById(java.lang.Object iOid)
Get the binary serialized content of object passing an OID. |
java.lang.Object |
getTransactionalObjectId(java.lang.Object p0)
The ObjectId returned by this method represents the JDO identity of the instance. |
java.lang.String |
getURL()
|
java.lang.Object |
getUserObject()
The application can manage the PersistenceManager instances
more easily by having an application object associated with each
PersistenceManager instance. |
boolean |
isClosed()
A PersistenceManager instance can be used until it is closed. |
boolean |
isUsingDynaObjects()
|
java.lang.Object |
lookupObject(java.lang.String iName)
Get an object by name from the database's dictionary. |
void |
makeDirty(java.lang.Object iObj)
|
void |
makeNontransactional(java.lang.Object parm1)
Make an instance non-transactional after commit. |
void |
makeNontransactionalAll(java.util.Collection parm1)
Make a Collection of instances non-transactional after commit. |
void |
makeNontransactionalAll(java.lang.Object[] parm1)
Make an array of instances non-transactional after commit. |
protected void |
makePersistent_i(java.lang.Object iObj)
|
void |
makePersistent(java.lang.Object iObj)
Make the transient instance persistent in this PersistenceManager.
|
void |
makePersistentAll(java.util.Collection iObjColl)
Make a Collection of instances persistent. |
void |
makePersistentAll(java.lang.Object[] iObjArray)
Make an array of instances persistent. |
void |
makeTransactional(java.lang.Object parm1)
Make an instance subject to transactional boundaries. |
void |
makeTransactionalAll(java.util.Collection parm1)
Make a Collection of instances subject to transactional boundaries. |
void |
makeTransactionalAll(java.lang.Object[] parm1)
Make an array of instances subject to transactional boundaries. |
void |
makeTransient(java.lang.Object parm1)
Make an instance transient, removing it from management by this PersistenceManager.
|
void |
makeTransientAll(java.util.Collection parm1)
Make a Collection of instances transient, removing them from
management by this PersistenceManager.
|
void |
makeTransientAll(java.lang.Object[] parm1)
Make an array of instances transient, removing them from management by this PersistenceManager.
|
java.lang.Object |
newObjectIdInstance(java.lang.Class iClass,
java.lang.String iValue)
Create an OID by a value. |
Query |
newQuery()
Create a new Query with no elements. |
Query |
newQuery(java.lang.Class iClass)
Create a new Query specifying the Class of the candidate instances. |
Query |
newQuery(java.lang.Class parm1,
java.util.Collection parm2)
Create a new Query with the candidate Class
and Collection. |
Query |
newQuery(java.lang.Class parm1,
java.util.Collection parm2,
java.lang.String parm3)
Create a new Query with the Class of the candidate instances,
candidate Collection, and filter. |
Query |
newQuery(java.lang.Class p0,
Extent p1)
|
Query |
newQuery(java.lang.Class p0,
Extent p1,
java.lang.String p2)
|
Query |
newQuery(java.lang.Class iClass,
java.lang.String iFilter)
Create a new Query with the Class of the
candidate instances and filter. |
Query |
newQuery(Extent parm1)
Create a new Query with the Class of the
candidate instances and candidate Extent. |
Query |
newQuery(Extent parm1,
java.lang.String parm2)
Create a new Query with the
candidate Extent and filter; the class
is taken from the Extent. |
Query |
newQuery(java.lang.Object parm1)
Create a new Query using elements from another Query.
|
Query |
newQuery(java.lang.String p0,
java.lang.Object p1)
Create a new Query using the specified language. |
Query |
newQuery(java.lang.String iClassName,
java.lang.String iFilter)
|
void |
refresh(java.lang.Object parm1)
Refresh the state of the instance from the data store. |
void |
refreshAll()
Refresh the state of all applicable instances from the data store. |
void |
refreshAll(java.util.Collection parm1)
Refresh the state of a Collection of instances from the data store. |
void |
refreshAll(java.lang.Object[] parm1)
Refresh the state of an array of instances from the data store. |
void |
reopen()
|
void |
retrieve(java.lang.Object iObject)
Retrieve field values of an instance from the store. |
void |
retrieveAll(java.util.Collection iObjects)
Retrieve field values of instances from the store. |
void |
retrieveAll(java.util.Collection iObjects,
boolean iDFGOnly)
Retrieve field values of instances from the store. |
void |
retrieveAll(java.lang.Object[] iObjects)
Retrieve field values of instances from the store. |
void |
retrieveAll(java.lang.Object[] iObjects,
boolean iDFGOnly)
Retrieve field values of instances from the store. |
void |
setConnectionId(int connectionId)
|
void |
setDatabaseId(int iDatabaseId)
|
void |
setIgnoreCache(boolean iValue)
Set the ignoreCache parameter for queries. |
void |
setMultithreaded(boolean iMT)
Set the Multithreaded flag for this PersistenceManager. |
void |
setSessionId(int iSessionId)
|
void |
setStreamById(java.lang.Object iOid,
oBinary iObject)
Update a persistent object in the datastore. |
void |
setUserObject(java.lang.Object iObject)
The application can manage the PersistenceManager instances
more easily by having an application object associated with each
PersistenceManager instance. |
void |
setUsingDynaObjects(boolean iValue)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected oPersistenceManagerST(PersistenceManagerFactory iFactory,
com.orientechnologies.jdo.engine.oEngineLoader iEngine,
oOrientURL iUrl,
java.lang.String iUserName,
java.lang.String iUserPasswd,
java.util.Properties iDefProp)
throws JDOException
iFactory - PersistenceManagerFactory parent instanceiUrl - URL of database to openiUserName - User nameiUserPasswd - User passwordiDefProp - Additional properties for databaseoPersistenceManagerFactory,
oPersistenceManagerMT| Method Detail |
public void close()
close in interface PersistenceManagerpublic Transaction currentTransaction()
currentTransaction in interface PersistenceManagerpublic void deletePersistent(java.lang.Object iObj)
deletePersistent in interface PersistenceManageriObj - Object to deletedeletePersistentAll( Collection iObjColl ), deletePersistentAll( Object[] iObjArray )protected void deletePersistent_i(java.lang.Object iObj)
public void deletePersistentAll(java.util.Collection iObjColl)
deletePersistentAll in interface PersistenceManageriObjColl - Collection object containing the objects to deletedeletePersistent( Object iObj ), deletePersistentAll( Object[] iObjArray )public void deletePersistentAll(java.lang.Object[] iObjArray)
deletePersistentAll in interface PersistenceManageriObjArray - Array of persistent objects to deletedeletePersistent( Object iObj ), deletePersistentAll( Collection iObjColl )public void evict(java.lang.Object parm1)
PersistenceManagerPersistenceManager
at transaction completion. This method allows the application to
explicitly provide a hint to the PersistenceManager that the instance
is no longer needed in the cache.
evict in interface PersistenceManagerparm1 - the instance to evict from the cache.public void evictAll(java.util.Collection parm1)
PersistenceManagerCollection of instances as no longer needed in the cache.
evictAll in interface PersistenceManagerparm1 - the Collection of instances to evict from the cache.PersistenceManager.evict(Object pc)public void evictAll(java.lang.Object[] parm1)
PersistenceManager
evictAll in interface PersistenceManagerparm1 - the array of instances to evict from the cache.PersistenceManager.evict(Object pc)public void evictAll()
PersistenceManager
evictAll in interface PersistenceManagerPersistenceManager.evict(Object pc)
public Extent getExtent(java.lang.Class parm1,
boolean parm2)
PersistenceManagerPersistenceManager manages a collection of instances in the data
store based on the class of the instances. This method returns an
Extent of instances in the data store that might be iterated or
given to a Query. The Extent itself might not reference any
instances, but only hold the class name and an
indicator as to whether subclasses are included in the Extent.
Note that the Extent might be very large.
getExtent in interface PersistenceManagerparm1 - Class of instancesparm2 - whether to include instances of subclasses
Extent of the specified ClassQuerypublic boolean getIgnoreCache()
PersistenceManagerIgnoreCache set to true specifies that for all Query instances created by this
PersistenceManager, the default is the cache should be ignored for queries.
getIgnoreCache in interface PersistenceManager
public java.lang.Object getObjectById(java.lang.Object iOid,
boolean iValidate)
getObjectById in interface PersistenceManageriOid - iValidate -
oOIDpublic oBinary getStreamById(java.lang.Object iOid)
getStreamById in interface oPersistenceManageriOid - OID of object to read from datastore
public void setStreamById(java.lang.Object iOid,
oBinary iObject)
setStreamById in interface oPersistenceManageriOid - OID of object to updateiObject - Binary content of serialized object
public oOID createStreamById(java.lang.String iClassName,
oBinary iObject)
createStreamById in interface oPersistenceManageriClassName - Class name of object to createiObject - Binary content of serialized object
public void deleteObjectById(java.lang.Object iOid)
deleteObjectById in interface oPersistenceManageriOid - oid of object to deletedeletePersistent
public java.lang.Object newObjectIdInstance(java.lang.Class iClass,
java.lang.String iValue)
newObjectIdInstance in interface PersistenceManageriClass - Ignored, use null or anyiValue - String value of OID to create
oOIDpublic java.lang.Object getObjectId(java.lang.Object iObject)
getObjectId in interface PersistenceManageriObject - Persistent object to know its oid
oOIDpublic java.lang.Class getObjectIdClass(java.lang.Class parm1)
PersistenceManagerClass that implements the JDO Identity for the
specified PersistenceCapable class. The application can use the
returned Class to construct a JDO Identity instance for
application identity PersistenceCapable classes. This JDO Identity
instance can then be used to get an instance of the
PersistenceCapable class for use in the application.
In order for the application to construct an instance of the ObjectId class it needs to know the class being used by the JDO implementation.
getObjectIdClass in interface PersistenceManagerparm1 - the PersistenceCapable Class
Class of the ObjectId of the parameterPersistenceManager.getObjectById(java.lang.Object, boolean)public PersistenceManagerFactory getPersistenceManagerFactory()
PersistenceManagerPersistenceManagerFactory used to create
this PersistenceManager.
getPersistenceManagerFactory in interface PersistenceManagerPersistenceManagerFactory that created
this PersistenceManagerpublic java.util.Properties getProperties()
getProperties in interface oPersistenceManagerpublic java.lang.Object getTransactionalObjectId(java.lang.Object p0)
PersistenceManagerIf the object identity is being changed in the transaction, by the application modifying one or more of the application key fields, then this method returns the current identity in the transaction.
If there is no transaction in progress, or if none of the key fields
is being modified, then this method will return the same value as
getObjectId.
getTransactionalObjectId in interface PersistenceManagerp0 - a PersistenceCapable instance
PersistenceManager.getObjectId(Object pc),
PersistenceManager.getObjectById(Object oid, boolean validate)public boolean isClosed()
isClosed in interface PersistenceManagerclose()public void makeNontransactional(java.lang.Object parm1)
PersistenceManagerNormally, at transaction completion, instances are evicted from the cache. This method allows an application to identify an instance as not being evicted from the cache at transaction completion. Instead, the instance remains in the cache with nontransactional state.
makeNontransactional in interface PersistenceManagerparm1 - the instance to make nontransactional.public void makeNontransactionalAll(java.util.Collection parm1)
PersistenceManagerCollection of instances non-transactional after commit.
makeNontransactionalAll in interface PersistenceManagerparm1 - the Collection of instances to make nontransactional.PersistenceManager.makeNontransactional(Object pc)public void makeNontransactionalAll(java.lang.Object[] parm1)
PersistenceManager
makeNontransactionalAll in interface PersistenceManagerparm1 - the array of instances to make nontransactional.PersistenceManager.makeNontransactional(Object pc)public void makeDirty(java.lang.Object iObj)
makeDirty in interface oPersistenceManagerprotected void makePersistent_i(java.lang.Object iObj)
public void makePersistent(java.lang.Object iObj)
PersistenceManagerPersistenceManager.
This method must be called in an active transaction.
The PersistenceManager assigns an ObjectId to the instance and
transitions it to persistent-new.
The instance will be managed in the Extent associated with its Class.
The instance will be put into the data store at commit.
The closure of instances of PersistenceCapable classes
reachable from persistent
fields will be made persistent at commit. [This is known as
persistence by reachability.]
makePersistent in interface PersistenceManageriObj - a transient instance of a Class that implements
PersistenceCapablepublic void makePersistentAll(java.util.Collection iObjColl)
PersistenceManagerCollection of instances persistent.
makePersistentAll in interface PersistenceManageriObjColl - a Collection of transient instancesPersistenceManager.makePersistent(Object pc)public void makePersistentAll(java.lang.Object[] iObjArray)
PersistenceManager
makePersistentAll in interface PersistenceManageriObjArray - an array of transient instancesPersistenceManager.makePersistent(Object pc)public void makeTransactional(java.lang.Object parm1)
PersistenceManagerTransient instances normally do not observe transaction boundaries. This method makes transient instances sensitive to transaction completion. If an instance is modified in a transaction, and the transaction rolls back, the state of the instance is restored to the state before the first change in the transaction.
For persistent instances read in optimistic transactions, this method allows the application to make the state of the instance part of the transactional state. At transaction commit, the state of the instance in the cache is compared to the state of the instance in the data store. If they are not the same, then an exception is thrown.
makeTransactional in interface PersistenceManagerparm1 - the instance to make transactional.public void makeTransactionalAll(java.util.Collection parm1)
PersistenceManagerCollection of instances subject to transactional boundaries.
makeTransactionalAll in interface PersistenceManagerparm1 - the Collection of instances to make transactional.PersistenceManager.makeTransactional(Object pc)public void makeTransactionalAll(java.lang.Object[] parm1)
PersistenceManager
makeTransactionalAll in interface PersistenceManagerparm1 - the array of instances to make transactional.PersistenceManager.makeTransactional(Object pc)public void makeTransient(java.lang.Object parm1)
PersistenceManagerPersistenceManager.
The instance loses its JDO identity and it is no longer associated
with any PersistenceManager. The state of fields is preserved unchanged.
makeTransient in interface PersistenceManagerparm1 - the instance to make transient.public void makeTransientAll(java.util.Collection parm1)
PersistenceManagerCollection of instances transient, removing them from
management by this PersistenceManager.
The instances lose their JDO identity and they are no longer associated
with any PersistenceManager. The state of fields is preserved unchanged.
makeTransientAll in interface PersistenceManagerparm1 - the instances to make transient.public void makeTransientAll(java.lang.Object[] parm1)
PersistenceManagerPersistenceManager.
The instances lose their JDO identity and they are no longer associated
with any PersistenceManager. The state of fields is preserved unchanged.
makeTransientAll in interface PersistenceManagerparm1 - the instances to make transient.public Query newQuery()
PersistenceManagerQuery with no elements.
newQuery in interface PersistenceManagerQuery.
public Query newQuery(java.lang.String p0,
java.lang.Object p1)
PersistenceManagerQuery using the specified language.
newQuery in interface PersistenceManagerp0 - the language of the query parameterp1 - the query, which is of a form determined by the language
Querypublic Query newQuery(java.lang.Class iClass)
PersistenceManagerQuery specifying the Class of the candidate instances.
newQuery in interface PersistenceManageriClass - the Class of the candidate instances
Query
public Query newQuery(java.lang.Class iClass,
java.lang.String iFilter)
PersistenceManagerQuery with the Class of the
candidate instances and filter.
newQuery in interface PersistenceManageriClass - the Class of resultsiFilter - the filter for candidate instances
Query
public Query newQuery(java.lang.String iClassName,
java.lang.String iFilter)
newQuery in interface oPersistenceManager
public Query newQuery(java.lang.Class parm1,
java.util.Collection parm2)
PersistenceManagerQuery with the candidate Class
and Collection.
newQuery in interface PersistenceManagerparm1 - the Class of resultsparm2 - the Collection of candidate instances
Query
public Query newQuery(java.lang.Class parm1,
java.util.Collection parm2,
java.lang.String parm3)
PersistenceManagerQuery with the Class of the candidate instances,
candidate Collection, and filter.
newQuery in interface PersistenceManagerparm1 - the Class of candidate instancesparm2 - the Collection of candidate instancesparm3 - the filter for candidate instances
Query
public Query newQuery(java.lang.Class p0,
Extent p1)
public Query newQuery(java.lang.Class p0,
Extent p1,
java.lang.String p2)
public Query newQuery(java.lang.Object parm1)
PersistenceManagerQuery using elements from another Query.
The other Query must have been created by the same JDO implementation.
It might be active
in a different PersistenceManager or might have been serialized and restored.
All of the settings of the other Query are copied to this Query,
except for the candidate Collection or Extent.
newQuery in interface PersistenceManagerparm1 - another Query from the same JDO implementation
Querypublic Query newQuery(Extent parm1)
PersistenceManagerQuery with the Class of the
candidate instances and candidate Extent.
newQuery in interface PersistenceManagerparm1 - the Extent of candidate instances
Query
public Query newQuery(Extent parm1,
java.lang.String parm2)
PersistenceManagerQuery with the
candidate Extent and filter; the class
is taken from the Extent.
newQuery in interface PersistenceManagerparm1 - the Extent of candidate instancesparm2 - the filter for candidate instances
Querypublic void refresh(java.lang.Object parm1)
PersistenceManagerIn an optimistic transaction, the state of instances in the cache might not match the state in the data store. This method is used to reload the state of the instance from the data store so that a subsequent commit is more likely to succeed.
Outside a transaction, this method will refresh nontransactional state.
refresh in interface PersistenceManagerparm1 - the instance to refresh.public void refreshAll(java.util.Collection parm1)
PersistenceManagerCollection of instances from the data store.
refreshAll in interface PersistenceManagerparm1 - the Collection of instances to refresh.PersistenceManager.refresh(Object pc)public void refreshAll(java.lang.Object[] parm1)
PersistenceManager
refreshAll in interface PersistenceManagerparm1 - the array of instances to refresh.PersistenceManager.refresh(Object pc)public void refreshAll()
PersistenceManagerIf called with an active transaction, all transactional instances will be refreshed. If called outside an active transaction, all nontransactional instances will be refreshed.
refreshAll in interface PersistenceManagerPersistenceManager.refresh(Object pc)public void retrieve(java.lang.Object iObject)
PersistenceManagerPersistenceManager that the application intends to use the
instance, and its field values must be retrieved.
The PersistenceManager might use policy information about the
class to retrieve associated instances.
retrieve in interface PersistenceManageriObject - the instancepublic void retrieveAll(java.util.Collection iObjects)
PersistenceManagerPersistenceManager that the application intends to use the
instances, and all field values must be retrieved.
The PersistenceManager might use policy information about the
class to retrieve associated instances.
retrieveAll in interface PersistenceManageriObjects - the instances
public void retrieveAll(java.util.Collection iObjects,
boolean iDFGOnly)
PersistenceManagerPersistenceManager that the application intends to use the
instances, and their field values should be retrieved. The fields
in the default fetch group must be retrieved, and the implementation
might retrieve more fields than the default fetch group.
The PersistenceManager might use policy information about the
class to retrieve associated instances.
retrieveAll in interface PersistenceManageriObjects - the instancesiDFGOnly - whether to retrieve only the default fetch group fieldspublic void retrieveAll(java.lang.Object[] iObjects)
PersistenceManagerPersistenceManager that the application intends to use the
instances, and all field values must be retrieved.
The PersistenceManager might use policy information about the
class to retrieve associated instances.
retrieveAll in interface PersistenceManageriObjects - the instances
public void retrieveAll(java.lang.Object[] iObjects,
boolean iDFGOnly)
PersistenceManagerPersistenceManager that the application intends to use the
instances, and their field values should be retrieved. The fields
in the default fetch group must be retrieved, and the implementation
might retrieve more fields than the default fetch group.
The PersistenceManager might use policy information about the
class to retrieve associated instances.
retrieveAll in interface PersistenceManageriObjects - the instancesiDFGOnly - whether to retrieve only the default fetch group fieldspublic void reopen()
reopen in interface oPersistenceManagerpublic boolean getMultithreaded()
getMultithreaded in interface PersistenceManagerPersistenceManager.setMultithreaded(boolean)public void setMultithreaded(boolean iMT)
PersistenceManagerPersistenceManager. Applications
that use multiple threads to invoke methods or access fields from
instances managed by this PersistenceManager must set this flag to true.
Instances managed by this PersistenceManager include persistent or
transactional instances of PersistenceCapable classes, as well as
helper instances such as Query, Transaction, or Extent.
setMultithreaded in interface PersistenceManageriMT - the Multithreaded setting.public void setIgnoreCache(boolean iValue)
PersistenceManagerIgnoreCache set to true specifies that for all Query instances created by this
PersistenceManager, the default is the cache should be ignored for queries.
setIgnoreCache in interface PersistenceManageriValue - the ignoreCache setting.public java.lang.Object getUserObject()
PersistenceManagerPersistenceManager instances
more easily by having an application object associated with each
PersistenceManager instance.
getUserObject in interface PersistenceManagerPersistenceManagerPersistenceManager.setUserObject(java.lang.Object)public void setUserObject(java.lang.Object iObject)
PersistenceManagerPersistenceManager instances
more easily by having an application object associated with each
PersistenceManager instance.
setUserObject in interface PersistenceManageriObject - the user instance to be remembered by the PersistenceManagerPersistenceManager.getUserObject()public void setUsingDynaObjects(boolean iValue)
setUsingDynaObjects in interface oPersistenceManagerpublic boolean isUsingDynaObjects()
isUsingDynaObjects in interface oPersistenceManagerpublic java.lang.Object lookupObject(java.lang.String iName)
lookupObject in interface oPersistenceManageriName - Name of object bound in the dictionary
public void bindObject(java.lang.String iName,
java.lang.Object iObject)
bindObject in interface oPersistenceManageriName - Name of object bound in the dictionaryiObject - Object to bindpublic java.lang.String getURL()
getURL in interface oPersistenceManagerpublic oOrientURL getOrientURL()
getOrientURL in interface oPersistenceManagerpublic java.lang.String getDatabaseName()
getDatabaseName in interface oPersistenceManagerpublic oSysDatabase getSchema()
getSchema in interface oPersistenceManagerpublic d_Dictionary getDictionary()
getDictionary in interface oPersistenceManagerpublic com.orientechnologies.jdo.interfaces.oDomain getDomain()
getDomain in interface oPersistenceManagerpublic oSysFolder getDirectory()
getDirectory in interface oPersistenceManagerpublic java.lang.String getDateFormatString()
getDateFormatString in interface oPersistenceManagerpublic java.text.DateFormat getDateFormat()
getDateFormat in interface oPersistenceManagerpublic int getConnectionId()
getConnectionId in interface oPersistenceManagerpublic void setConnectionId(int connectionId)
setConnectionId in interface oPersistenceManagerpublic int getDatabaseId()
getDatabaseId in interface oPersistenceManagerpublic void setDatabaseId(int iDatabaseId)
setDatabaseId in interface oPersistenceManagerpublic int getSessionId()
getSessionId in interface oPersistenceManagerpublic void setSessionId(int iSessionId)
setSessionId in interface oPersistenceManagerpublic com.orientechnologies.jdo.engine.oEngineLoader getEngine()
getEngine in interface oPersistenceManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||