001    package org.omg.CosTransactions;
002    
003    
004    /**
005     * Generated from IDL interface "Current".
006     *
007     * @author JacORB IDL compiler V 2.3.0 (JBoss patch 6), 06-Jun-2007
008     * @version generated at Jun 18, 2012 10:37:57 AM
009     */
010    
011    public interface CurrentOperations
012            extends org.omg.CORBA.Current
013    {
014            /* constants */
015            /* operations  */
016            void begin() throws org.omg.CosTransactions.SubtransactionsUnavailable;
017            void commit(boolean report_heuristics) throws org.omg.CosTransactions.NoTransaction,org.omg.CosTransactions.HeuristicHazard,org.omg.CosTransactions.HeuristicMixed;
018            void rollback() throws org.omg.CosTransactions.NoTransaction;
019            void rollback_only() throws org.omg.CosTransactions.NoTransaction;
020            org.omg.CosTransactions.Status get_status();
021            java.lang.String get_transaction_name();
022            void set_timeout(int seconds);
023            int get_timeout();
024            org.omg.CosTransactions.Control get_control();
025            org.omg.CosTransactions.Control suspend();
026            void resume(org.omg.CosTransactions.Control which) throws org.omg.CosTransactions.InvalidControl;
027    }