public class RestJSONPersistenceManager
extends oracle.maf.impl.cdm.persistence.manager.RestPersistenceManager
| Constructor and Description |
|---|
RestJSONPersistenceManager() |
| Modifier and Type | Method and Description |
|---|---|
String |
getSerializedDataObject(Entity entity,
String elementName,
String rowElementName,
boolean deleteRow)
See getSerializedDataObject method with attributesToExclude parameter.
|
String |
getSerializedDataObject(Entity entity,
String elementName,
String rowElementName,
java.util.List<String> attributesToExclude,
boolean deleteRow)
Returns the entity instance as JSON-formatted string.
|
<E extends Entity> |
handleReadResponse(String jsonResponse,
Class entityClass,
String collectionElementName,
String rowElementName,
java.util.List<BindParamInfo> parentBindParamInfos,
boolean deleteAllRows)
Handle JSON response payload from read methods.
|
<E extends Entity> |
handleResponse(String json,
Class entityClass,
String collectionElementName,
String rowElementName,
java.util.List<BindParamInfo> parentBindParamInfos,
E currentEntity,
boolean deleteAllRows)
Process JSON response payload for all REST resources called through a CRUD or custom method as configured in
persistence-mapping.xml
|
commmit, createParameterMap, find, find, findAll, findAllInParent, getAsParent, getCanonical, getLastResponseHeaders, getLastResponseStatus, getMaxValue, getPayloadKeyValuePairs, getRestNullValue, invokeByteArrayRestService, invokeCustomMethod, invokeRestService, invokeRestService, rollback, sendRemoveRequest, sendWriteRequest, setLastResponseHeaders, setLastResponseStatus, setupRestServiceCallfindConnection, getLocalPersistenceManager, insertEntity, isCreateSupported, isFindAllInParentSupported, isFindAllSupported, isFindSupported, isGetAsParentSupported, isGetCanonicalSupported, isMergeSupported, isRemoveSupported, isUpdateSupported, mergeEntity, removeEntity, setLocalPersistenceManager, updateEntityaddPropertyChangeListener, constructBindParamInfo, constructBindParamInfo, findByKey, findByKey, getBindParamInfos, getBindParamInfos, getBindParamInfos, getNewBindParamInfoInstance, removePropertyChangeListenerpublic String getSerializedDataObject(Entity entity, String elementName, String rowElementName, boolean deleteRow)
getSerializedDataObject in class oracle.maf.impl.cdm.persistence.manager.RestPersistenceManagerentity - elementName - rowElementName - deleteRow - public String getSerializedDataObject(Entity entity, String elementName, String rowElementName, java.util.List<String> attributesToExclude, boolean deleteRow)
getSerializedDataObject in class oracle.maf.impl.cdm.persistence.manager.RestPersistenceManagerentity - elementName - rowElementName - attributesToExclude - deleteRow - public <E extends Entity> java.util.List<E> handleReadResponse(String jsonResponse, Class entityClass, String collectionElementName, String rowElementName, java.util.List<BindParamInfo> parentBindParamInfos, boolean deleteAllRows)
handleReadResponse in class oracle.maf.impl.cdm.persistence.manager.RestPersistenceManagerE - jsonResponse - entityClass - collectionElementName - rowElementName - parentBindParamInfos - deleteAllRows - no longer used (delete performed in calling method)public <E extends Entity> java.util.List<E> handleResponse(String json, Class entityClass, String collectionElementName, String rowElementName, java.util.List<BindParamInfo> parentBindParamInfos, E currentEntity, boolean deleteAllRows)
handleResponse in class oracle.maf.impl.cdm.persistence.manager.RestPersistenceManagerE - json - entityClass - collectionElementName - rowElementName - parentBindParamInfos - currentEntity - deleteAllRows - no longer used (delete performed in calling method)