|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.metadata.iso.persistence.ISOMetadataStoreTransaction
public class ISOMetadataStoreTransaction
MetadataStoreTransaction implementation for the ISOMetadataStore.
| 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 delete)
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 |
| Method Detail |
|---|
public void commit()
throws MetadataStoreException
MetadataStoreTransactionMetadataStore.
commit in interface MetadataStoreTransactionMetadataStoreException - if the committing fails
public int performDelete(DeleteOperation delete)
throws MetadataStoreException
MetadataStoreTransactionDeleteOperation.
performDelete in interface MetadataStoreTransactiondelete - operation to be performed, must not be null
MetadataStoreException - if the deletion failed
public List<String> performInsert(InsertOperation insert)
throws MetadataStoreException,
MetadataInspectorException
MetadataStoreTransactionInsertOperation.
TODO for scalabilitiy reasons and simplicitly, consider changing this to #performInsert (MetadataRecord)
performInsert in interface MetadataStoreTransactioninsert - operation to be performed, must not be null
null
MetadataStoreException - if the insertion failed
MetadataInspectorException
public int performUpdate(UpdateOperation update)
throws MetadataStoreException,
MetadataInspectorException
MetadataStoreTransactionUpdateOperation.
performUpdate in interface MetadataStoreTransactionupdate - operation to be performed, must not be null
MetadataStoreException - if the update failed
MetadataInspectorException
public void rollback()
throws MetadataStoreException
MetadataStoreTransactionMetadataStore.
rollback in interface MetadataStoreTransactionMetadataStoreException - if the rollback fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||