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, setStash
public DummyPersister()
public List fetchAll()
Persister
public T fetchOne(Long id)
Persister
public T fetchOne(T obj)
Persister
public void watchEventCallback(String relativePath)
Persister
public void persist(Model obj)
Persister
public void hardDelete(Model obj)
Persister
public void attachWatcher()
Persister
public void onPreRead()
Persister
public FilterChain<T> filterChain()
Copyright © 2016. All rights reserved.