public interface OUserObject2RecordHandler
Modifier and Type | Method and Description |
---|---|
boolean |
existsUserObjectByRID(ORID iRID)
Tells if e user object exists for a certain RecordId.
|
ORecord |
getRecordByUserObject(Object iUserObject,
boolean iCreateIfNotAvailable)
Returns the record associated to a user object.
|
Object |
getUserObjectByRecord(OIdentifiable iRecord,
String iFetchPlan)
Returns the user object associated to a record.
|
void |
registerUserObject(Object iUserObject,
ORecord iRecord)
Registers the association between a user object and a record.
|
void |
registerUserObjectAfterLinkSave(ORecord iRecord)
Registers the saved linked record.
|
ORecord getRecordByUserObject(Object iUserObject, boolean iCreateIfNotAvailable)
iUserObject
- User objectiCreateIfNotAvailable
- Create the record if not availableObject getUserObjectByRecord(OIdentifiable iRecord, String iFetchPlan)
iRecord
- RecordiFetchPlan
- If the record is not loaded yet, use this as fetch planboolean existsUserObjectByRID(ORID iRID)
void registerUserObject(Object iUserObject, ORecord iRecord)
iUserObject
- User objectiRecord
- recordvoid registerUserObjectAfterLinkSave(ORecord iRecord)
iRecord
- recordCopyright © 2009–2020 OrientDB. All rights reserved.