public abstract class AbstractDataStore extends java.lang.Object implements DataStore
Constructor and Description |
---|
AbstractDataStore() |
Modifier and Type | Method and Description |
---|---|
DataRecord |
getRecord(DataIdentifier identifier)
Returns the identified data record.
|
DataRecord |
getRecordFromReference(java.lang.String reference)
Returns the record that matches the given binary reference.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addRecord, clearInUse, close, deleteAllOlderThan, getAllIdentifiers, getMinRecordLength, getRecordIfStored, init, updateModifiedDateOnAccess
public DataRecord getRecord(DataIdentifier identifier) throws DataStoreException
DataStore
getRecord
in interface DataStore
identifier
- data identifierDataStoreException
- if the data store could not be accessed,
or if the given identifier is invalidpublic DataRecord getRecordFromReference(java.lang.String reference) throws DataStoreException
DataStore
null
if the reference is invalid, for example if it
points to a record that does not exist.getRecordFromReference
in interface DataStore
reference
- binary referencenull
DataStoreException
- if the data store could not be accessedCopyright © 2010 - 2023 Adobe. All Rights Reserved