|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetadataStore<T extends MetadataRecord>
Base interface of the MetadataRecord
persistence layer, provides access to stored MetadataRecord
instances.
Method Summary | |
---|---|
MetadataStoreTransaction |
acquireTransaction()
Acquires transactional access to this MetadataStore . |
String |
getConnId()
Returns the JDBC connection id. |
MetadataResultSet<T> |
getRecordById(List<String> idList,
QName[] recordTypeNames)
Looks up the given MetadataRecord identifiers and provides access to matching MetadataRecord s. |
int |
getRecordCount(MetadataQuery query)
Returns the number of MetadataRecord s that match the given MetadataQuery . |
MetadataResultSet<T> |
getRecords(MetadataQuery query)
Performs the given MetadataQuery and provides access to the MetadataRecord s that match it. |
String |
getType()
|
Methods inherited from interface org.deegree.commons.config.Resource |
---|
destroy, init |
Method Detail |
---|
MetadataResultSet<T> getRecords(MetadataQuery query) throws MetadataStoreException
MetadataQuery
and provides access to the MetadataRecord
s that match it.
NOTE: A caller must ensure to call MetadataResultSet.close()
after working with the result set.
Otherwise, DB resources may be left open.
query
- query that selects the records, must not be null
null
MetadataStoreException
int getRecordCount(MetadataQuery query) throws MetadataStoreException
MetadataRecord
s that match the given MetadataQuery
.
query
- query that selects the records, must not be null
MetadataStoreException
MetadataResultSet<T> getRecordById(List<String> idList, QName[] recordTypeNames) throws MetadataStoreException
MetadataRecord
identifiers and provides access to matching MetadataRecord
s.
NOTE: A caller must ensure to call MetadataResultSet.close()
after working with the result set.
Otherwise, DB resources may be left open.
idList
- list of the requested record identifiers, can be empty, but must not be null
recordTypeNames
- requested record type names, can be empty or null
MetadataStoreException
MetadataStoreTransaction acquireTransaction() throws MetadataStoreException
MetadataStore
.
null
MetadataStoreException
- if the transactional access could not be acquired or is not available for this implementationString getConnId()
null
String getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |