
public interface ODatabaseObject extends ODatabaseSchemaAware<Object>, OUserObject2RecordHandler
ODatabase.ATTRIBUTES, ODatabase.OPERATION_MODE, ODatabase.OPTIONS, ODatabase.STATUS| Modifier and Type | Method and Description |
|---|---|
<RET> OObjectIteratorClassInterface<RET> |
browseClass(Class<RET> iClusterClass)
Browses all the records of the specified class.
|
<RET> OObjectIteratorClusterInterface<RET> |
browseCluster(String iClusterName)
Browses all the records of the specified cluster.
|
OEntityManager |
getEntityManager()
Returns the entity manager that handle the binding from ODocuments and POJOs.
|
boolean |
isLazyLoading() |
boolean |
isRetainObjects() |
<T> T |
newInstance(Class<T> iType)
Creates a new entity of the specified class.
|
ODocument |
pojo2Stream(Object iPojo,
ODocument iRecord) |
void |
setDirty(Object iPojo)
Sets as dirty a POJO.
|
void |
setLazyLoading(boolean lazyLoading) |
ODatabase |
setRetainObjects(boolean iRetainObjects) |
Object |
stream2pojo(ODocument iRecord,
Object iPojo,
String iFetchPlan) |
void |
unsetDirty(Object iPojo)
Sets as not dirty a POJO.
|
countClass, countClass, newInstanceactivateOnCurrentThread, addBlobCluster, addCluster, addCluster, alterCluster, alterCluster, begin, begin, begin, cleanOutRecord, close, command, commit, commit, countClusterElements, countClusterElements, countClusterElements, countClusterElements, countClusterElements, create, create, create, declareIntent, delete, delete, delete, drop, dropCluster, dropCluster, exists, existsCluster, freeze, freeze, get, getBlobClusterIds, getClusterIdByName, getClusterNameById, getClusterNames, getClusterRecordSizeById, getClusterRecordSizeByName, getClusters, getConfiguration, getConflictStrategy, getDefaultClusterId, getDictionary, getHooks, getListeners, getLocalCache, getMetadata, getName, getProperties, getProperty, getRecordMetadata, getSize, getStatus, getTransaction, getType, getURL, getUser, hide, incrementalBackup, isActiveOnCurrentThread, isClosed, isFrozen, isMVCC, load, load, load, load, load, load, load, load, load, load, newInstance, open, query, registerHook, registerHook, registerListener, release, reload, reload, reload, rollback, rollback, save, save, save, save, set, setConflictStrategy, setConflictStrategy, setMVCC, setProperty, setStatus, truncateCluster, unregisterHook, unregisterListenerbackup, restoreexistsUserObjectByRID, getRecordByUserObject, getUserObjectByRecord, registerUserObject, registerUserObjectAfterLinkSavevoid setDirty(Object iPojo)
iPojo - User objectvoid unsetDirty(Object iPojo)
iPojo - User object<RET> OObjectIteratorClusterInterface<RET> browseCluster(String iClusterName)
iClusterName - Cluster name to iterate<RET> OObjectIteratorClassInterface<RET> browseClass(Class<RET> iClusterClass)
iClusterClass - Class name to iterate<T> T newInstance(Class<T> iType)
iType - Class name where to originate the instanceOEntityManager getEntityManager()
boolean isRetainObjects()
ODatabase setRetainObjects(boolean iRetainObjects)
boolean isLazyLoading()
void setLazyLoading(boolean lazyLoading)
Copyright © 2009–2025 OrientDB. All rights reserved.