|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetadataStore
Base interface of the MetadataStore
persistence layer, provides access to stored MetadataStore
instances and their schemas.
NOTE: One MetadataStore
instance corresponds to one metadata format (e.g. DublinCore, MD_Metadata (ISO
TC211), SV_Service (ISO TC211)).
Method Summary | |
---|---|
MetadataStoreTransaction |
acquireTransaction()
Acquires transactional access to the metadata store. |
void |
destroy()
Called by the container to indicate that this MetadataStore instance is being taken out of service. |
java.lang.String |
getConnId()
Returns the JDBC connection id. |
MetadataResultSet |
getRecords(MetadataQuery query)
Exports the XML for the requested records. |
MetadataResultSet |
getRecordsById(java.util.List<java.lang.String> idList)
Exports the records by the requested identifier. |
void |
init()
Called by the container to indicate that this MetadataStore instance is being placed into service. |
void |
setupMetametadata()
|
Method Detail |
---|
void init() throws MetadataStoreException
MetadataStore
instance is being placed into service.
MetadataStoreException
- if the initialization failsvoid destroy()
MetadataStore
instance is being taken out of service.
java.lang.String getConnId()
null
void setupMetametadata() throws MetadataStoreException
MetadataStoreException
MetadataResultSet getRecords(MetadataQuery query) throws MetadataStoreException
query
- MetadataQuery
MetadataStoreException
MetadataResultSet getRecordsById(java.util.List<java.lang.String> idList) throws MetadataStoreException
idList
- list of the requested identifiers
MetadataStoreException
MetadataStoreTransaction acquireTransaction() throws MetadataStoreException
null
MetadataStoreException
- if the transactional access could not be acquired or is not implemented for this
MetadataStore
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |