com.ibm.commerce.contract.commands

Interface UpdateXSDContractCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.commerce.command.ECCommand, com.ibm.commerce.command.TaskCommand
    All Known Implementing Classes:
    UpdateXSDContractCmdImpl


    public interface UpdateXSDContractCmd
    extends com.ibm.commerce.command.TaskCommand
    This contract task command is used to update a contract based on the given Contract element (WebSphere Commerce Enterprise only). The default implementation of this command is UpdateXSDContractCmdImpl.
    • Field Summary

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.Long getContractId()
      Returns the ID of the updated contract.
      void setContractElement(org.w3c.dom.Element contractElement)
      Sets the contract Element.
      void setContractId(java.lang.Long contractId)
      Sets the ID of the contract to update.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.ibm.commerce.command.CacheableECCommand

        execute
      • Methods inherited from interface com.ibm.commerce.command.ECCommand

        checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String defaultCommandClassName
        The default implementation of this command.
        See Also:
        Constant Field Values
      • NAME

        static final java.lang.String NAME
        The full name of this command.
        See Also:
        Constant Field Values
    • Method Detail

      • getContractId

        java.lang.Long getContractId()
        Returns the ID of the updated contract.
        Returns:
        the updated contract ID
      • setContractElement

        void setContractElement(org.w3c.dom.Element contractElement)
        Sets the contract Element.
        Parameters:
        contractElement - the contract Element objects
      • setContractId

        void setContractId(java.lang.Long contractId)
        Sets the ID of the contract to update.
        Parameters:
        contractId - the ID of the contract to update