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