# OSGeo::FDO::Commands::LongTransaction::IRollbackLongTransaction Interface Reference
[OSGeo::FDO::Commands::LongTransaction]

Inheritance diagram for OSGeo::FDO::Commands::LongTransaction::IRollbackLongTransaction:

[legend]

## Detailed Description

The IRollbackLongTransaction interface defines the RollbackLongTransaction command, which allows a user to execute rollback operations on a long transaction. Two different rollback operations are distinguished: full and partial.

()

1. A full rollback operation is executed on all data within a long transaction and all its descendents. The data is removed from the database and all versions involved in the process deleted.
2. A partial rollback operation is executed on a subset of the data within a long transaction (which could be all data). The specified data in this long transaction and all its descendents are removed from the database. The versions involved in the process are not removed. The subset of the data to be rolled back is defined by a class name and a set of filter criteria.

To perform a rollback operation, the user requires the access and rollback privileges for the long transaction to be rolled back (in the case of a full rollback, the user also requires the remove privilege for the long transaction) and the access privilege for all the descendent versions.