Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.modeshape.graph.connector.map
Interface MapRepositoryTransaction

All Known Implementing Classes:
  LockBasedTransaction, SimpleJpaTransaction

    public interface MapRepositoryTransaction

A transaction returned by the `MapRepository.startTransaction(boolean)`.

Method Summary
`void` | `commit()` Commit any changes that have been made to the repository.
`void` | `rollback()` Rollback any changes that have been made to this repository.

Method Detail

### commit

    void commit()

  Commit any changes that have been made to the repository. This method may throw runtime exceptions if there are failures committing the changes, but the transaction is still expected to be closed.

  See Also:
    `rollback()`, `MapRepository.startTransaction(boolean)`

### rollback

    void rollback()

  Rollback any changes that have been made to this repository. This method may throw runtime exceptions if there are failures rolling back the changes, but the transaction is still expected to be closed.

  See Also:
    `commit()`, `MapRepository.startTransaction(boolean)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.