com.ibm.commerce.contract.commands

Interface AddContractNLDescriptionCmd

  • 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:
    AddContractNLDescriptionCmdImpl


    public interface AddContractNLDescriptionCmd
    extends com.ibm.commerce.command.TaskCommand
    This task command is used to add the contract national language description (WebSphere Commerce Enterprise only). The default implementation of this command is AddContractNLDescriptionCmdImpl. Normally this command will add the national language description to the database. If an error occurred, an ECException will be thrown.
    See Also:
    ContractImportDraftVersionCmd, ContractImportApprovedVersionCmd
    • 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 class name of this interface.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.Long getContractId()
      Gets the ID of the contract.
      void setContractNLDescriptionElement(org.w3c.dom.Element element)
      Sets the contract national language description element.
      • 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 class name of this interface.
        See Also:
        Constant Field Values
    • Method Detail

      • getContractId

        java.lang.Long getContractId()
        Gets the ID of the contract.
        Returns:
        the contract ID
      • setContractNLDescriptionElement

        void setContractNLDescriptionElement(org.w3c.dom.Element element)
        Sets the contract national language description element.
        Parameters:
        element - the ContractNationalLanguageDescription element