com.ibm.commerce.account.commands

Interface UpdateAccountCmd

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


    public interface UpdateAccountCmd
    extends com.ibm.commerce.command.TaskCommand
    This task command is called by AccountSave to update an existing account. The default implementation of this command is UpdateAccountCmdImpl.
    See Also:
    AccountSaveCmd
    • 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 name of the default implementation class.
      static java.lang.String NAME
      The name of this interface.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void setAccountElement(org.w3c.dom.Element accountElement)
      Sets the account XML element.
      void setAccountId(java.lang.Long accountId)
      Sets the business account ID
      void setTermConditionId(java.lang.Long tcId)
      Sets the term and condition ID.
      • 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 name of the default implementation class.
        See Also:
        Constant Field Values
    • Method Detail

      • setAccountElement

        void setAccountElement(org.w3c.dom.Element accountElement)
        Sets the account XML element.
        Parameters:
        accountElement - the business account Element object
      • setAccountId

        void setAccountId(java.lang.Long accountId)
        Sets the business account ID
        Parameters:
        accountId - the business account ID to be updated
      • setTermConditionId

        void setTermConditionId(java.lang.Long tcId)
        Sets the term and condition ID.
        Parameters:
        tcId - ID of a term and condition