public interface ResourceManager
| Modifier and Type | Method and Description |
|---|---|
Object |
collectionAction(String type,
ApiRequest request) |
Collection |
convertResponse(List<?> object,
ApiRequest request) |
Resource |
convertResponse(Object obj,
ApiRequest request) |
Object |
create(String type,
ApiRequest request) |
Object |
delete(String type,
String id,
ApiRequest request) |
Object |
getById(String type,
String id,
ListOptions options) |
Object |
getLink(String type,
String id,
String link,
ApiRequest request) |
Class<?>[] |
getTypeClasses() |
String[] |
getTypes() |
boolean |
handleException(Throwable t,
ApiRequest request) |
Object |
list(String type,
ApiRequest request) |
List<?> |
list(String type,
Map<Object,Object> criteria,
ListOptions options) |
Object |
resourceAction(String type,
ApiRequest request) |
Object |
update(String type,
String id,
ApiRequest request) |
String[] getTypes()
Class<?>[] getTypeClasses()
Object getById(String type, String id, ListOptions options)
Object getLink(String type, String id, String link, ApiRequest request)
Object list(String type, ApiRequest request)
Object create(String type, ApiRequest request)
Object update(String type, String id, ApiRequest request)
Object delete(String type, String id, ApiRequest request)
Object resourceAction(String type, ApiRequest request)
Object collectionAction(String type, ApiRequest request)
Collection convertResponse(List<?> object, ApiRequest request)
Resource convertResponse(Object obj, ApiRequest request)
boolean handleException(Throwable t, ApiRequest request)
Copyright © 2014. All rights reserved.