|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.metadata.persistence.iso.ISOMetadataStoreTransaction
public class ISOMetadataStoreTransaction
MetadataStoreException
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(DeleteTransaction delete)
Performs the given DeleteTransaction . |
java.util.List<java.lang.String> |
performInsert(InsertTransaction insert)
Performs the given InsertTransaction . |
int |
performUpdate(UpdateTransaction update)
Performs the given UpdateTransaction . |
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
MetadataStoreTransaction
MetadataStore
.
commit
in interface MetadataStoreTransaction
MetadataStoreException
- if the committing failspublic int performDelete(DeleteTransaction delete) throws MetadataStoreException
MetadataStoreTransaction
DeleteTransaction
.
performDelete
in interface MetadataStoreTransaction
delete
- operation to be performed, must not be null
MetadataStoreException
- if the deletion failedpublic java.util.List<java.lang.String> performInsert(InsertTransaction insert) throws MetadataStoreException, MetadataInspectorException
MetadataStoreTransaction
InsertTransaction
.
performInsert
in interface MetadataStoreTransaction
insert
- operation to be performed, must not be null
null
MetadataStoreException
- if the insertion failed
MetadataInspectorException
public int performUpdate(UpdateTransaction update) throws MetadataStoreException, MetadataInspectorException
MetadataStoreTransaction
UpdateTransaction
.
performUpdate
in interface MetadataStoreTransaction
update
- operation to be performed, must not be null
MetadataStoreException
- if the update failed
MetadataInspectorException
public void rollback() throws MetadataStoreException
MetadataStoreTransaction
MetadataStore
.
rollback
in interface MetadataStoreTransaction
MetadataStoreException
- if the rollback fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |