org.apache.lenya.transaction
Interface Transactionable

All Superinterfaces:
Lockable, Versionable

public interface Transactionable
extends Versionable

Object to take part in a transaction.

Version:
$Id: Transactionable.java 479620 2006-11-27 14:02:13Z andreas $

Method Summary
 void createTransactionable()
          Creates the object.
 void deleteTransactionable()
          Deletes the object.
 void saveTransactionable()
          Saves the object.
 
Methods inherited from interface org.apache.lenya.transaction.Versionable
checkin, checkout, hasChanged, isCheckedOut, isCheckedOutBySession
 
Methods inherited from interface org.apache.lenya.transaction.Lockable
getLock, isLocked, lock, unlock
 

Method Detail

saveTransactionable

void saveTransactionable()
                         throws TransactionException
Saves the object.

Throws:
TransactionException - if an error occurs.

deleteTransactionable

void deleteTransactionable()
                           throws TransactionException
Deletes the object.

Throws:
TransactionException - if an error occurs.

createTransactionable

void createTransactionable()
                           throws TransactionException
Creates the object.

Throws:
TransactionException - if an error occurs.


Copyright © 1999-2006 Apache Software Foundation. All Rights Reserved.