com.ibm.commerce.command

Interface ViewCommand

    • Field Detail

      • COPYRIGHT

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

      • getRequestProperties

        TypedProperty getRequestProperties()
        This method gets the request properties.
        Returns:
        This method returns the request properties.
      • getResponseProperties

        TypedProperty getResponseProperties()
        This method gets the response properties.
        Returns:
        This method returns response properties.
      • getViewName

        java.lang.String getViewName()
        This method gets the view task name for this view command. This is an internal method used by the command framework.
        Returns:
        This method returns the view name .
      • mergeProperties

        TypedProperty mergeProperties(TypedProperty reqProp,
                                      TypedProperty resProp)
        This method merges three different types of properties. They are the request properties of the controller command, the response properties of the controller command and the default properties associated with this view command.
        Parameters:
        reqProp - This is an object that represents the request properties passed to the controller command.
        resProp - This is an object that represents the response properties returned by the controller command.
        Returns:
        This method returns request properties for this command.
      • setRequestProperties

        void setRequestProperties(TypedProperty param)
                           throws ECException
        This method sets the request properties for this command.
        Parameters:
        param - This is an object that represents the request properties.
        Throws:
        ECException
      • setViewName

        void setViewName(java.lang.String value)
        This method sets the view task name for this view command. This is an internal method used by the command framework.
        Parameters:
        value - This is the view name.