com.elasticpath.persistence
Interface Transaction

All Known Implementing Classes:
HibernateTransactionImpl

public interface Transaction

Represents a transaction in ElasticPath.


Method Summary
 void commit()
          Commit changes.
 void rollback()
          Rollback changes.
 

Method Detail

commit

void commit()
            throws EpPersistenceException
Commit changes.

Throws:
EpPersistenceException - in case of any error

rollback

void rollback()
              throws EpPersistenceException
Rollback changes.

Throws:
EpPersistenceException - in case of any error