com.ibm.commerce.server

Class TransactionHandle

  • java.lang.Object
    • com.ibm.commerce.server.TransactionHandle


  • public class TransactionHandle
    extends java.lang.Object
    This class returns a transaction handle when the begin() method is called.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Constructor Summary

      Constructors 
      Constructor and Description
      TransactionHandle()
      This is the default constructor for this class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean isTransactionOwner()
      This method determines whether the handle owner is the transaction owner.
      void setTransactionOwner(boolean owner)
      This method sets the transaction owner flag.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • TransactionHandle

        public TransactionHandle()
        This is the default constructor for this class. It calls the constructor from the superclass.
    • Method Detail

      • isTransactionOwner

        public boolean isTransactionOwner()
        This method determines whether the handle owner is the transaction owner.
        Returns:
        This method returns true if the handle owner is the transaction owner and false otherwise.
      • setTransactionOwner

        public void setTransactionOwner(boolean owner)
        This method sets the transaction owner flag.
        Parameters:
        owner - A boolean value; true if this is the transaction owner and false otherwise.