T - public class DummyPersister<T extends Model> extends BasePersister<T>
| Constructor and Description |
|---|
DummyPersister() |
| Modifier and Type | Method and Description |
|---|---|
void |
attachWatcher()
Attach any file system watchers for changed objects
|
List |
fetchAll()
Fetch all the items from the underlying data store.
|
T |
fetchOne(Long id)
Fetch one object with the given ID
|
T |
fetchOne(T obj)
Re-fetch the passed in object from the underlying data stores
|
FilterChain<T> |
filterChain() |
void |
hardDelete(Model obj)
Permanently delete the object from the datastore
|
void |
onPreRead()
Called before any read operation.
|
void |
persist(Model obj)
Persist the object to the underlying data store
|
void |
watchEventCallback(String relativePath)
Callback for file-based datastores when an object is changed in the file system
|
getBucket, getItemController, getModelClass, getStash, handleFetchOne, init, isDbBacked, onFetchOne, reloadIfNewer, setBucket, setItemController, setModelClass, setStashpublic DummyPersister()
public List fetchAll()
Persisterpublic T fetchOne(Long id)
Persisterpublic T fetchOne(T obj)
Persisterpublic void watchEventCallback(String relativePath)
Persisterpublic void persist(Model obj)
Persisterpublic void hardDelete(Model obj)
Persisterpublic void attachWatcher()
Persisterpublic void onPreRead()
Persisterpublic FilterChain<T> filterChain()
Copyright © 2016. All rights reserved.