public abstract class ResourceUpsert extends Object implements BaseController
| Modifier and Type | Field and Description |
|---|---|
protected ResourceRegistry |
resourceRegistry |
protected TypeParser |
typeParser |
| Constructor and Description |
|---|
ResourceUpsert(ResourceRegistry resourceRegistry,
TypeParser typeParser) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
buildNewResource(RegistryEntry registryEntry,
DataBody dataBody,
String resourceName) |
protected void |
saveRelationField(Object savedResource,
RegistryEntry registryEntry,
Map.Entry<String,LinkageData> property,
ResourceInformation resourceInformation) |
protected void |
saveRelations(Object savedResource,
RegistryEntry registryEntry,
DataBody dataBody) |
protected void |
setAttributes(DataBody dataBody,
Object instance,
ResourceInformation resourceInformation) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandle, isAcceptableprotected ResourceRegistry resourceRegistry
protected TypeParser typeParser
public ResourceUpsert(ResourceRegistry resourceRegistry, TypeParser typeParser)
protected void setAttributes(DataBody dataBody, Object instance, ResourceInformation resourceInformation) throws IllegalAccessException, NoSuchMethodException, InvocationTargetException, InstantiationException
protected void saveRelations(Object savedResource, RegistryEntry registryEntry, DataBody dataBody) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException
protected void saveRelationField(Object savedResource, RegistryEntry registryEntry, Map.Entry<String,LinkageData> property, ResourceInformation resourceInformation) throws NoSuchMethodException, IllegalAccessException, InstantiationException, InvocationTargetException
protected Object buildNewResource(RegistryEntry registryEntry, DataBody dataBody, String resourceName) throws IllegalAccessException, NoSuchMethodException, InvocationTargetException, InstantiationException
Copyright © 2015. All Rights Reserved.