public abstract class HyperTrackFactory<T extends HyperTrackModel> extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
HyperTrackFactory(HyperTrackClient client) |
| Modifier and Type | Method and Description |
|---|---|
T |
create(Map<String,Object> params) |
protected T |
getAndCreateFromId(String id) |
HyperTrackClient |
getClient() |
protected ArrayList<T> |
getListAndCreate(Map<String,Object> filters) |
protected abstract String |
getModelUrl() |
ArrayList<T> |
list(Map<String,Object> filters) |
protected abstract T |
makeNew(Map<String,Object> params) |
protected T |
postAndCreateFromParams(Map<String,Object> params) |
T |
retrieve(String id) |
void |
setClient(HyperTrackClient client) |
protected HyperTrackFactory(HyperTrackClient client)
protected abstract String getModelUrl()
protected T postAndCreateFromParams(Map<String,Object> params) throws Exception
Exceptionprotected ArrayList<T> getListAndCreate(Map<String,Object> filters) throws Exception
Exceptionpublic HyperTrackClient getClient()
public void setClient(HyperTrackClient client)
Copyright © 2016. All rights reserved.