com.ibm.commerce.account.commands

Interface AccountImportCmd

  • All Superinterfaces:
    com.ibm.commerce.command.AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.commerce.command.ControllerCommand, com.ibm.commerce.command.ECCommand, com.ibm.commerce.security.Protectable
    All Known Implementing Classes:
    AccountImportCmdImpl


    public interface AccountImportCmd
    extends com.ibm.commerce.command.ControllerCommand
    This controller command is used to create new accounts by importing an account XML file. The CreateAccountCmd task command is called for each account XML element found in the XML file. The default implementation of this command is AccountImportCmdImpl. The AccountImport URL is mapped to this command by default.
    See Also:
    CreateAccountCmd
    • 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 name of this command.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void setAccountXMLFileName(java.lang.String istrAccountFileName)
      Sets the name of the account XML file.
      void setRootElement(org.w3c.dom.Element rootElement)
      Sets the root Element of the contract XML files.
      void setStoreId(java.lang.Integer storeId)
      Sets the storeId.
      void setValidationFlag(boolean validationFlag)
      Sets the validation flag to indicate if the XML file will be validated by the XML parser against the XSD.
      void setXMLEntityPath(java.lang.String path)
      Sets the XML entity path.
      void setXSDFlag(boolean xsdFlag)
      Sets the XSD flag to indicate the XML instance file is based on XSD or DTD.
      • Methods inherited from class java.lang.Object

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

        checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
      • Methods inherited from interface com.ibm.commerce.command.AccCommand

        accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
      • Methods inherited from interface com.ibm.commerce.command.ECCommand

        checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
      • Methods inherited from interface com.ibm.commerce.security.Protectable

        fulfills, getOwner
    • 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
    • Method Detail

      • setAccountXMLFileName

        void setAccountXMLFileName(java.lang.String istrAccountFileName)
        Sets the name of the account XML file.
        Parameters:
        istrAccountFileName - the name of the account xml files
      • setRootElement

        void setRootElement(org.w3c.dom.Element rootElement)
        Sets the root Element of the contract XML files.
        Parameters:
        rootElement - the document Element object of the account XML
      • setStoreId

        void setStoreId(java.lang.Integer storeId)
        Sets the storeId.
        Parameters:
        storeId - the id of a store
      • setValidationFlag

        void setValidationFlag(boolean validationFlag)
        Sets the validation flag to indicate if the XML file will be validated by the XML parser against the XSD.
        Parameters:
        validationFlag - boolean - validation flag, true: validate the xml instance file against the xsd, false: not
      • setXMLEntityPath

        void setXMLEntityPath(java.lang.String path)
        Sets the XML entity path.
        Parameters:
        path - the path where it can find the DTD or XML Schema file(s)
      • setXSDFlag

        void setXSDFlag(boolean xsdFlag)
        Sets the XSD flag to indicate the XML instance file is based on XSD or DTD.
        Parameters:
        xsdFlag - boolean - xsd flag, true for XSD, false for DTD