Class VOFileStore<V extends VirtualOrganization>
- java.lang.Object
-
- edu.uiuc.ncsa.security.storage.IndexedStreamStore<V>
-
- edu.uiuc.ncsa.security.storage.FileStore<V>
-
- org.oa4mp.delegation.common.monitored.storage.OLDMonitoredFileStore<V>
-
- org.oa4mp.server.loader.oauth2.storage.vi.VOFileStore<V>
-
- All Implemented Interfaces:
VOStore<V>
,edu.uiuc.ncsa.security.core.Store<V>
,edu.uiuc.ncsa.security.storage.ListeningStoreInterface<V>
,Map<edu.uiuc.ncsa.security.core.Identifier,V>
public class VOFileStore<V extends VirtualOrganization> extends MonitoredFileStore<V> implements VOStore<V>
Created by Jeff Gaynor
on 12/14/20 at 9:02 AM
-
-
Constructor Summary
Constructors Constructor Description VOFileStore(File directory, edu.uiuc.ncsa.security.core.IdentifiableProvider<V> idp, edu.uiuc.ncsa.security.storage.data.MapConverter<V> cp, boolean removeEmptyFiles)
VOFileStore(File storeDirectory, File indexDirectory, edu.uiuc.ncsa.security.core.IdentifiableProvider<V> identifiableProvider, edu.uiuc.ncsa.security.storage.data.MapConverter<V> converter, boolean removeEmptyFiles)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
findByPath(String component)
edu.uiuc.ncsa.security.storage.data.MapConverter<V>
getMapConverter()
List<V>
getMostRecent(int n, List<String> attributes)
protected V
realRemove(V oldItem)
void
realSave(boolean checkExists, V t)
-
Methods inherited from class edu.uiuc.ncsa.oa4mp.delegation.common.storage.monitored.MonitoredFileStore
addLastAccessedEventListener, fireLastAccessedEvent, get, getLastAccessedEventListeners, getUuid, isMonitorEnabled, lastAccessUpdate, setMonitorEnabled
-
Methods inherited from class edu.uiuc.ncsa.security.storage.FileStore
checkPermissions, clear, containsKey, containsValue, create, createIndexEntry, delete, doSetup, entrySet, getAll, getIndexEntry, getItemFile, getItemFile, getXMLConverter, keySet, loadByIdentifier, loadFile, loadFromIndex, putAll, register, remove, remove, removeIndexEntry, save, search, search, search, size, size, toString, update, values
-
Methods inherited from class edu.uiuc.ncsa.security.storage.IndexedStreamStore
createIndexEntry, getCreatedItems, hashString, isEmpty, loadStream, put, put
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Method Detail
-
getMapConverter
public edu.uiuc.ncsa.security.storage.data.MapConverter<V> getMapConverter()
- Specified by:
getMapConverter
in interfaceVOStore<V extends VirtualOrganization>
- Overrides:
getMapConverter
in classedu.uiuc.ncsa.security.storage.FileStore<V extends VirtualOrganization>
-
findByPath
public V findByPath(String component)
- Specified by:
findByPath
in interfaceVOStore<V extends VirtualOrganization>
-
realRemove
protected V realRemove(V oldItem)
- Overrides:
realRemove
in classedu.uiuc.ncsa.security.storage.FileStore<V extends VirtualOrganization>
-
realSave
public void realSave(boolean checkExists, V t)
- Overrides:
realSave
in classedu.uiuc.ncsa.security.storage.FileStore<V extends VirtualOrganization>
-
getMostRecent
public List<V> getMostRecent(int n, List<String> attributes)
- Specified by:
getMostRecent
in interfaceedu.uiuc.ncsa.security.core.Store<V extends VirtualOrganization>
- Overrides:
getMostRecent
in classMonitoredFileStore<V extends VirtualOrganization>
-
-