public interface SharedDataStore
| Modifier and Type | Interface and Description |
|---|---|
static class |
SharedDataStore.Type
Explicitly identifies the type of the data store
|
| Modifier and Type | Method and Description |
|---|---|
void |
addMetadataRecord(java.io.File f,
java.lang.String name)
Adds the root record.
|
void |
addMetadataRecord(java.io.InputStream stream,
java.lang.String name)
Adds the root record.
|
void |
deleteAllMetadataRecords(java.lang.String prefix)
Deletes all records matching the given prefix.
|
boolean |
deleteMetadataRecord(java.lang.String name)
Deletes the root record represented by the given parameters.
|
java.util.List<DataRecord> |
getAllMetadataRecords(java.lang.String prefix)
Gets the all root records.
|
java.util.Iterator<DataRecord> |
getAllRecords()
Retrieved an iterator over all DataRecords.
|
DataRecord |
getMetadataRecord(java.lang.String name)
Retrieves the metadata record with the given name
|
DataRecord |
getRecordForId(DataIdentifier id)
Retrieves the record for the given identifier
|
SharedDataStore.Type |
getType()
Gets the type.
|
boolean |
metadataRecordExists(java.lang.String name)
Checks if the metadata record with the name exists
|
void addMetadataRecord(java.io.InputStream stream,
java.lang.String name)
throws DataStoreException
stream - the streamname - the name of the root recordDataStoreException - the data store exceptionvoid addMetadataRecord(java.io.File f,
java.lang.String name)
throws DataStoreException
f - the filename - the name of the root recordDataStoreException - the data store exceptionDataRecord getMetadataRecord(java.lang.String name)
name - the name of the recordboolean metadataRecordExists(java.lang.String name)
name - java.util.List<DataRecord> getAllMetadataRecords(java.lang.String prefix)
boolean deleteMetadataRecord(java.lang.String name)
name - the name of the root recordvoid deleteAllMetadataRecords(java.lang.String prefix)
prefix - metadata type identifierjava.util.Iterator<DataRecord> getAllRecords() throws DataStoreException
DataStoreExceptionDataRecord getRecordForId(DataIdentifier id) throws DataStoreException
id - the if of the recordDataStoreExceptionSharedDataStore.Type getType()
Copyright © 2010 - 2023 Adobe. All Rights Reserved