|
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 | |||||||||
java.lang.Objectorg.deegree.record.persistence.genericrecordstore.ISORecordStore
public class ISORecordStore
RecordStore implementation of Dublin Core and ISO Profile.
| Constructor Summary | |
|---|---|
ISORecordStore(String connectionId)
Creates a new ISORecordStore instance with a registered connectionId. |
|
| 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 options)
Exports the XML fragment to the recordstore-backend. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ISORecordStore(String connectionId)
ISORecordStore instance with a registered connectionId.
connectionId - | Method Detail |
|---|
public void describeRecord(XMLStreamWriter writer,
QName typeName)
RecordStore
describeRecord in interface RecordStorewriter - writer to export to, must not be nulltypeName - specifies which record profile should be returned in the response.public void destroy()
RecordStoreRecordStore instance is being taken out of service.
destroy in interface RecordStore
public void init()
throws RecordStoreException
RecordStoreRecordStore instance is being placed into service.
init in interface RecordStoreRecordStoreException - if the initialization failspublic Map<QName,Integer> getTypeNames()
RecordStore
getTypeNames in interface RecordStore
public void getRecords(XMLStreamWriter writer,
QName typeName,
URI outputSchema,
RecordStoreOptions recordStoreOptions)
throws SQLException,
XMLStreamException,
IOException
RecordStore
getRecords in interface RecordStorewriter - 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
public List<Integer> transaction(XMLStreamWriter writer,
TransactionOperation operations,
TransactionOptions options)
throws SQLException,
XMLStreamException
RecordStore
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.
transaction in interface RecordStorewriter - writer to export to, must not be nulloperations - that are hold by this containeroptions - TransactionOptions
SQLException
XMLStreamException
public void getRecordById(XMLStreamWriter writer,
List<String> idList,
URI outputSchema,
CSWConstants.SetOfReturnableElements elementSetName)
throws SQLException
RecordStore
getRecordById in interface RecordStorewriter - writer to export to, must not be nullidList - list of the requested identifiersoutputSchema - that should be presented in the responseelementSetName - CSWConstants.SetOfReturnableElements
SQLException
public void getRecordsForTransactionInsertStatement(XMLStreamWriter writer,
List<Integer> transactionIds)
throws SQLException,
IOException
RecordStore
getRecordsForTransactionInsertStatement in interface RecordStorewriter - to be updated with a brief representation of the inserted recordstransactionIds - that are affected by the transaction
SQLException
IOException
|
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 | |||||||||