com.ibm.commerce.beans

Class SmartDataBeanImpl

    • Field Detail

      • COPYRIGHT

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

      • SmartDataBeanImpl

        public SmartDataBeanImpl()
        This is the default constructor for this class. It calls the constructor from the superclass.
    • Method Detail

      • getViewCommandContext

        public ViewCommandContext getViewCommandContext()
        This method gets the view command context.
        Returns:
        This method returns the view command context.
      • getResources

        public java.lang.Object[] getResources()
                                        throws ECException
        This method gets the resources accessed by this data bean It will return null if no resource if being accessed by this data bean.
        Returns:
        This method returns null.
        Throws:
        ECException - This should never be thrown because the method always returns null.
      • populate

        public void populate()
                      throws java.lang.Exception
        This method populates the data bean with elements.
        Specified by:
        populate in interface SmartDataBean
        Throws:
        java.lang.Exception - This method should never be thrown because there is no data retrieved to populate the data bean.
      • setCommandContext

        public void setCommandContext(CommandContext context)
        This method sets the command context.
        Specified by:
        setCommandContext in interface SmartDataBean
        Parameters:
        context - This is the command context.
      • fulfills

        public boolean fulfills(java.lang.Long member,
                                java.lang.String relationship)
                         throws java.lang.Exception
        This method determines if a given member fulfills a given relationship with the resource.
        Parameters:
        member - This is the identity of the member.
        relationship - This is the relationship the member has with the resource.
        Returns:
        This method returns false.
        Throws:
        java.lang.Exception - This should never be thrown because the method always returns false.
      • setViewCommandContext

        public void setViewCommandContext(ViewCommandContext context)
        This method sets the view command context.
        Parameters:
        context - This is the view command context.
      • setHttpRequest

        public void setHttpRequest(javax.servlet.http.HttpServletRequest req)
        This method sets the HttpServletRequest object.
        Parameters:
        req - This is an HttpServletRequest object.
      • setHttpResponse

        public void setHttpResponse(javax.servlet.http.HttpServletResponse res)
        This method sets the HttpServletResponse object.
        Parameters:
        res - This is an HttpServletResponse object.
      • getHttpRequest

        public javax.servlet.http.HttpServletRequest getHttpRequest()
        This method gets the HttpServletRequest object.
        Returns:
        This method returns an HttpServletRequest object.
      • getHttpResponse

        public javax.servlet.http.HttpServletResponse getHttpResponse()
        This method gets the HttpServletResponse object.
        Returns:
        This method returns an HttpServletResponse object.