com.ibm.commerce.component

Interface WebAdapterComponent

  • All Superinterfaces:
    BaseComponent


    public interface WebAdapterComponent
    extends BaseComponent
    The interface to be used to invoke a WebSphere Commerce command from a Web application.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Copyright notice field.
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
    • Method Detail

      • executeCommand

        java.util.Map executeCommand(CommandContext cmdCtx,
                                     java.util.Map input,
                                     java.lang.String interfaceName)
                              throws ECException
        Runs a WebSphere Commerce command.
        Parameters:
        cmdCtx - the command context to be used to run this command
        input - the name-value pairs from the URL in the Web application
        interfaceName - the interface name to be used to look up the command in the command registry
        Returns:
        the list of name-value pairs representing the result of the command
        Throws:
        ECException - if a problem running the command is encountered