public class AbstractModelCache extends Object implements ModelCache
| Constructor and Description |
|---|
AbstractModelCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
cacheModel(Model model,
xapi.util.api.SuccessHandler<Model> callback) |
void |
deleteModel(Model model,
xapi.util.api.SuccessHandler<Model> callback) |
Model |
getModel(String key) |
void |
saveModel(Model model,
xapi.util.api.SuccessHandler<Model> callback) |
public Model getModel(String key)
getModel in interface ModelCachepublic void cacheModel(Model model, xapi.util.api.SuccessHandler<Model> callback)
cacheModel in interface ModelCachepublic void saveModel(Model model, xapi.util.api.SuccessHandler<Model> callback)
saveModel in interface ModelCachepublic void deleteModel(Model model, xapi.util.api.SuccessHandler<Model> callback)
deleteModel in interface ModelCacheCopyright © 2012-2013 The Internet Party. All Rights Reserved.