com.ibm.commerce.contract.tc.commands

Interface ContractTCDeployCmd

  • All Superinterfaces:
    com.ibm.commerce.command.AsyncCommand
    All Known Implementing Classes:
    ContractTCDeployCmdImpl


    public interface ContractTCDeployCmd
    extends com.ibm.commerce.command.AsyncCommand
    This controller command is used to Deploys the specified terms and conditions (WebSphere Commerce Enterprise only). The default implementation of this command is ContractTCDeployCmdImpl. The ContractTCDeploy URL is mapped to this command by default.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
      static java.lang.String defaultCommandClassName
      The default implementation class name of this interface.
      static java.lang.String NAME
      The name of this interface.
      static java.lang.String URLNAME
      The URL name of this interface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.Long getContractId()
      Returns the ID of the contract to be updated.
      void setContractId(java.lang.Long contractId)
      Sets the ID of the contract to be updated.
      void setRedirectURL(java.lang.String url)
      Sets the redirect URL.
      void setTCIds(java.lang.String[] tcIds)
      Sets the IDs of the terms and conditions to be deployed.
      • Methods inherited from interface com.ibm.commerce.command.AsyncCommand

        getJobInstanceId, getJobReferenceId, setJobInstanceId, setJobReferenceId
    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String defaultCommandClassName
        The default implementation class name of this interface.
        See Also:
        Constant Field Values
      • URLNAME

        static final java.lang.String URLNAME
        The URL name of this interface
        See Also:
        Constant Field Values
    • Method Detail

      • getContractId

        java.lang.Long getContractId()
        Returns the ID of the contract to be updated.
        Returns:
        the ID of the contract to be updated.
      • setContractId

        void setContractId(java.lang.Long contractId)
        Sets the ID of the contract to be updated.
        Parameters:
        contractId - The contract ID.
      • setRedirectURL

        void setRedirectURL(java.lang.String url)
        Sets the redirect URL.
        Parameters:
        url - The redirect URL.
      • setTCIds

        void setTCIds(java.lang.String[] tcIds)
        Sets the IDs of the terms and conditions to be deployed.
        Parameters:
        tcIds - The XML string contains the terms and conditions.