public interface Model
| Modifier and Type | Method and Description |
|---|---|
Model |
cache(xapi.util.api.SuccessHandler<Model> callback) |
Model |
child(String propName) |
void |
clear() |
Model |
delete(xapi.util.api.SuccessHandler<Model> callback) |
Model |
flush()
Anything cached will be persisted,
and on any platforms which can block, this method will block until
all persistence operations have completed.
|
ModelKey |
getKey() |
Map<String,Object> |
getProperties() |
<T> T |
getProperty(String key) |
<T> T |
getProperty(String key,
T dflt) |
Model |
load(xapi.util.api.SuccessHandler<Model> callback,
boolean useCache) |
Model |
parent() |
Model |
persist(xapi.util.api.SuccessHandler<Model> callback) |
Model |
removeProperty(String key) |
Model |
setProperty(String key,
Object value) |
<T> T getProperty(String key)
<T> T getProperty(String key, T dflt)
void clear()
Model parent()
ModelKey getKey()
Model flush()
Copyright © 2012-2013 The Internet Party. All Rights Reserved.