public interface PersistentModel extends Model
| Modifier and Type | Method and Description |
|---|---|
Model |
cache(xapi.util.api.SuccessHandler<Model> callback) |
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.
|
Model |
load(xapi.util.api.SuccessHandler<Model> callback,
boolean useCache) |
Model |
persist(xapi.util.api.SuccessHandler<Model> callback) |
clear, getKey, getProperties, getProperty, getProperty, getPropertyNames, getPropertyType, getType, removeProperty, setKey, setPropertyModel flush()
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.