public class TomlPersister<T extends Model> extends FilePersisterBase<T>
sortDirection, sortField
Constructor and Description |
---|
TomlPersister() |
Modifier and Type | Method and Description |
---|---|
T |
doFetchOne(File file) |
List |
fetchAll()
Fetch all the items from the underlying data store.
|
Set<String> |
getFileExtensions() |
String |
makePathForObject(T obj) |
void |
persist(T obj)
Persist the object to the underlying data store
|
attachWatcher, fetchOne, fetchOne, fetchOne, filterChain, fullFilePathForId, fullFilePathForObj, getBucketFolderPath, getFileToIdMap, getIdToFileMap, getItemArrayName, hardDelete, init, isManyItemsPerFile, makeIdFromFilePath, matchesExtension, onPostLoadFromFile, relativeFilePathForObj, reloadIfNewer, setBucketFolderPath, setFileToIdMap, setIdToFileMap, setItemArrayName, setManyItemsPerFile, watchEventCallback
getBucket, getItemController, getModelClass, getStash, handleFetchOne, isDbBacked, onFetchOne, onPreRead, setBucket, setItemController, setModelClass, setStash
public TomlPersister()
public Set<String> getFileExtensions()
getFileExtensions
in class FilePersisterBase<T extends Model>
public List fetchAll()
Persister
public String makePathForObject(T obj)
makePathForObject
in class FilePersisterBase<T extends Model>
public T doFetchOne(File file)
doFetchOne
in class FilePersisterBase<T extends Model>
Copyright © 2016. All rights reserved.