portal.transaction
Interface I_PortalTransactionalResource

All Known Subinterfaces:
I_PortalJdbcTransaction
All Known Implementing Classes:
A_PortalJdbcTransaction, PortalTransactionalDOMDocument, PortalTransactionalProcessXPathEvaluator

public interface I_PortalTransactionalResource

Version:
$Revision: 1.2 $
Author:
Thomas Weckert

Field Summary
static int STATUS_COMMITTED
           
static int STATUS_IN_TRANSACTION
           
static int STATUS_NO_TRANSACTION
           
static int STATUS_ROLLED_BACK
           
 
Method Summary
 void begin()
           
 void commit()
           
 void end()
           
 boolean isCommitted()
           
 void rollback(java.lang.String errorMessage, java.lang.Throwable cause)
           
 

Field Detail

STATUS_NO_TRANSACTION

public static final int STATUS_NO_TRANSACTION
See Also:
Constant Field Values

STATUS_IN_TRANSACTION

public static final int STATUS_IN_TRANSACTION
See Also:
Constant Field Values

STATUS_COMMITTED

public static final int STATUS_COMMITTED
See Also:
Constant Field Values

STATUS_ROLLED_BACK

public static final int STATUS_ROLLED_BACK
See Also:
Constant Field Values
Method Detail

begin

public void begin()
           throws PortalException
Throws:
PortalException

end

public void end()
         throws PortalException
Throws:
PortalException

rollback

public void rollback(java.lang.String errorMessage,
                     java.lang.Throwable cause)
              throws PortalException
Throws:
PortalException

commit

public void commit()
            throws PortalException
Throws:
PortalException

isCommitted

public boolean isCommitted()