|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStoreTransaction
public class EbrimEOMDStoreTransaction
MetadataStoreTransaction
implementation for the EbrimEOMDStore
.
Constructor Summary | |
---|---|
EbrimEOMDStoreTransaction(Connection conn,
boolean useLegacyPredicates)
|
Method Summary | |
---|---|
void |
commit()
Makes the changes persistent that have been performed in this transaction and releases the transaction instance so other clients may acquire a transaction on the MetadataStore . |
int |
performDelete(DeleteOperation operation)
Performs the given DeleteOperation . |
List<String> |
performInsert(InsertOperation insert)
Performs the given InsertOperation . |
int |
performUpdate(UpdateOperation update)
Performs the given UpdateOperation . |
void |
rollback()
Aborts the changes that have been performed in this transaction and releases the transaction instance so other clients may acquire a transaction on the MetadataStore . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EbrimEOMDStoreTransaction(Connection conn, boolean useLegacyPredicates)
Method Detail |
---|
public void commit() throws MetadataStoreException
MetadataStoreTransaction
MetadataStore
.
commit
in interface MetadataStoreTransaction
MetadataStoreException
- if the committing failspublic void rollback() throws MetadataStoreException
MetadataStoreTransaction
MetadataStore
.
rollback
in interface MetadataStoreTransaction
MetadataStoreException
- if the rollback failspublic List<String> performInsert(InsertOperation insert) throws MetadataStoreException, MetadataInspectorException
MetadataStoreTransaction
InsertOperation
.
TODO for scalabilitiy reasons and simplicitly, consider changing this to #performInsert (MetadataRecord)
performInsert
in interface MetadataStoreTransaction
insert
- operation to be performed, must not be null
null
MetadataStoreException
- if the insertion failed
MetadataInspectorException
public int performDelete(DeleteOperation operation) throws MetadataStoreException
MetadataStoreTransaction
DeleteOperation
.
performDelete
in interface MetadataStoreTransaction
operation
- operation to be performed, must not be null
MetadataStoreException
- if the deletion failedpublic int performUpdate(UpdateOperation update) throws MetadataStoreException, MetadataInspectorException
MetadataStoreTransaction
UpdateOperation
.
performUpdate
in interface MetadataStoreTransaction
update
- operation to be performed, must not be null
MetadataStoreException
- if the update failed
MetadataInspectorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |