|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RecordStore
Base interface of the RecordStore persistence layer, provides access to stored RecordStore instances
and their schemas.
NOTE: One RecordStore instance corresponds to one metadata format (e.g. DublinCore, MD_Metadata (ISO TC211),
SV_Service (ISO TC211)).
| Method Summary | |
|---|---|
void |
describeRecord(XMLStreamWriter writer,
QName typeName)
Exports the XML schema for the associated metadata format. |
void |
destroy()
Called by the container to indicate that this RecordStore instance is being taken out of service. |
void |
getRecordById(XMLStreamWriter writer,
List<String> idList,
URI outputSchema,
CSWConstants.SetOfReturnableElements elementSetName)
Exports the records by the requested identifier. |
void |
getRecords(XMLStreamWriter writer,
QName typeName,
URI outputSchema,
RecordStoreOptions recordStoreOptions)
Exports the XML for the requested records. |
void |
getRecordsForTransactionInsertStatement(XMLStreamWriter writer,
List<Integer> transactionIds)
Gets the records in dublin core representation for the insert action of the transaction operation. |
Map<QName,Integer> |
getTypeNames()
Returns the typeNames that are known in the backend. |
void |
init()
Called by the container to indicate that this RecordStore instance is being placed into service. |
List<Integer> |
transaction(XMLStreamWriter writer,
TransactionOperation operations,
TransactionOptions opations)
Exports the XML fragment to the recordstore-backend. |
| Method Detail |
|---|
void init()
throws RecordStoreException
RecordStore instance is being placed into service.
RecordStoreException - if the initialization failsvoid destroy()
RecordStore instance is being taken out of service.
void describeRecord(XMLStreamWriter writer,
QName typeName)
writer - writer to export to, must not be nulltypeName - specifies which record profile should be returned in the response.
void getRecords(XMLStreamWriter writer,
QName typeName,
URI outputSchema,
RecordStoreOptions recordStoreOptions)
throws SQLException,
XMLStreamException,
IOException
writer - writer to export to, must not be nulltypeName - of a specific requested record profileoutputSchema - that should present in the response. If there is a DC recordStore requested and the outputSchema is a
ISO schema then there should be presented the ISO representation of the record.recordStoreOptions - RecordStoreOptions
SQLException
XMLStreamException
IOException
void getRecordById(XMLStreamWriter writer,
List<String> idList,
URI outputSchema,
CSWConstants.SetOfReturnableElements elementSetName)
throws SQLException
writer - writer to export to, must not be nullidList - list of the requested identifiersoutputSchema - that should be presented in the responseelementSetName - CSWConstants.SetOfReturnableElements
SQLException
List<Integer> transaction(XMLStreamWriter writer,
TransactionOperation operations,
TransactionOptions opations)
throws SQLException,
XMLStreamException
INSERT-action: inserts one or more records to the backend.
UPDATE-action: updates one or more complete records OR individual properties.
DELETE-action: deletes one or more records by one filter expression.
writer - writer to export to, must not be nulloperations - that are hold by this containeropations - TransactionOptions
SQLException
XMLStreamException
void getRecordsForTransactionInsertStatement(XMLStreamWriter writer,
List<Integer> transactionIds)
throws SQLException,
IOException
writer - to be updated with a brief representation of the inserted recordstransactionIds - that are affected by the transaction
SQLException
IOExceptionMap<QName,Integer> getTypeNames()
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||