com.ibm.commerce.context.content.resources.metadata

Class CommitRequest

  • java.lang.Object
    • com.ibm.commerce.context.content.resources.metadata.CommitRequest


  • public class CommitRequest
    extends java.lang.Object
    This class defines the metadata that represents the commit request.
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addCommitTask(CommitTask commitTask)
      This method adds a new commit task.
      CommitTask[] getCommitTasks()
      This method returns the commit tasks.
      boolean isTransactionUnique()
      This method returns whether the commit request should have a unique transaction.
      void setUniqueTransaction(boolean uniqueTransaction)
      This method sets whether the commit request requires a separate transaction.
      java.lang.String toString()
      This method returns a String representation of the object.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CommitRequest

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

      • isTransactionUnique

        public boolean isTransactionUnique()
        This method returns whether the commit request should have a unique transaction.
        Returns:
        Whether the commit request should have a unique transaction.
      • setUniqueTransaction

        public void setUniqueTransaction(boolean uniqueTransaction)
        This method sets whether the commit request requires a separate transaction.
        Parameters:
        uniqueTransaction - A boolean value; true if a separate transaction is required and false otherwise.
      • addCommitTask

        public void addCommitTask(CommitTask commitTask)
        This method adds a new commit task.
        Parameters:
        commitTask - A commit task.
      • getCommitTasks

        public CommitTask[] getCommitTasks()
        This method returns the commit tasks.
        Returns:
        The commit tasks.
      • toString

        public java.lang.String toString()
        This method returns a String representation of the object.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A readable String version of the object.