Interface OFetchContext
- All Known Implementing Classes:
OJSONFetchContext,ORemoteFetchContext
public interface OFetchContext
- Author:
- Luca Molino (molino.luca--at--gmail.com)
-
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidonAfterArray(ODocument iRootRecord, String iFieldName, Object iUserObject) voidonAfterCollection(ODocument iRootRecord, String iFieldName, Object iUserObject) voidonAfterDocument(ODocument iRootRecord, ODocument iDocument, String iFieldName, Object iUserObject) voidonAfterFetch(ODocument iRootRecord) voidonAfterMap(ODocument iRootRecord, String iFieldName, Object iUserObject) voidonAfterStandardField(Object iFieldValue, String iFieldName, Object iUserObject, OType fieldType) voidonBeforeArray(ODocument iRootRecord, String iFieldName, Object iUserObject, OIdentifiable[] iArray) voidonBeforeCollection(ODocument iRootRecord, String iFieldName, Object iUserObject, Iterable<?> iterable) voidonBeforeDocument(ODocument iRecord, ODocument iDocument, String iFieldName, Object iUserObject) voidonBeforeFetch(ODocument iRootRecord) voidonBeforeMap(ODocument iRootRecord, String iFieldName, Object iUserObject) voidonBeforeStandardField(Object iFieldValue, String iFieldName, Object iUserObject, OType fieldType)
-
Method Details
-
onBeforeFetch
- Throws:
OFetchException
-
onAfterFetch
- Throws:
OFetchException
-
onBeforeArray
void onBeforeArray(ODocument iRootRecord, String iFieldName, Object iUserObject, OIdentifiable[] iArray) throws OFetchException - Throws:
OFetchException
-
onAfterArray
void onAfterArray(ODocument iRootRecord, String iFieldName, Object iUserObject) throws OFetchException - Throws:
OFetchException
-
onBeforeCollection
void onBeforeCollection(ODocument iRootRecord, String iFieldName, Object iUserObject, Iterable<?> iterable) throws OFetchException - Throws:
OFetchException
-
onAfterCollection
void onAfterCollection(ODocument iRootRecord, String iFieldName, Object iUserObject) throws OFetchException - Throws:
OFetchException
-
onBeforeMap
void onBeforeMap(ODocument iRootRecord, String iFieldName, Object iUserObject) throws OFetchException - Throws:
OFetchException
-
onAfterMap
void onAfterMap(ODocument iRootRecord, String iFieldName, Object iUserObject) throws OFetchException - Throws:
OFetchException
-
onBeforeDocument
void onBeforeDocument(ODocument iRecord, ODocument iDocument, String iFieldName, Object iUserObject) throws OFetchException - Throws:
OFetchException
-
onAfterDocument
void onAfterDocument(ODocument iRootRecord, ODocument iDocument, String iFieldName, Object iUserObject) throws OFetchException - Throws:
OFetchException
-
onBeforeStandardField
-
onAfterStandardField
-
fetchEmbeddedDocuments
boolean fetchEmbeddedDocuments()
-