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 class CurrentLocalTie
012            extends _CurrentLocalBase
013    {
014            private CurrentOperations _delegate;
015    
016            public CurrentLocalTie(CurrentOperations delegate)
017            {
018                    _delegate = delegate;
019            }
020            public CurrentOperations _delegate()
021            {
022                    return _delegate;
023            }
024            public void _delegate(CurrentOperations delegate)
025            {
026                    _delegate = delegate;
027            }
028            public org.omg.CosTransactions.Control suspend()
029            {
030                    return _delegate.suspend();
031            }
032    
033            public org.omg.CosTransactions.Status get_status()
034            {
035                    return _delegate.get_status();
036            }
037    
038            public void rollback() throws org.omg.CosTransactions.NoTransaction
039            {
040    _delegate.rollback();
041            }
042    
043            public void resume(org.omg.CosTransactions.Control which) throws org.omg.CosTransactions.InvalidControl
044            {
045    _delegate.resume(which);
046            }
047    
048            public java.lang.String get_transaction_name()
049            {
050                    return _delegate.get_transaction_name();
051            }
052    
053            public void set_timeout(int seconds)
054            {
055    _delegate.set_timeout(seconds);
056            }
057    
058            public void commit(boolean report_heuristics) throws org.omg.CosTransactions.NoTransaction,org.omg.CosTransactions.HeuristicHazard,org.omg.CosTransactions.HeuristicMixed
059            {
060    _delegate.commit(report_heuristics);
061            }
062    
063            public int get_timeout()
064            {
065                    return _delegate.get_timeout();
066            }
067    
068            public void rollback_only() throws org.omg.CosTransactions.NoTransaction
069            {
070    _delegate.rollback_only();
071            }
072    
073            public org.omg.CosTransactions.Control get_control()
074            {
075                    return _delegate.get_control();
076            }
077    
078            public void begin() throws org.omg.CosTransactions.SubtransactionsUnavailable
079            {
080    _delegate.begin();
081            }
082    
083    }