Interface WebBean

    • Method Detail

      • getSessionInfo

        WebSessionInfo getSessionInfo()
        Returns the WebSessionInfo instance from this bean. A WebSessionInfo object is where you can get or set the session ID to the intelligence server, user credentials and localization, etc.
        Returns:
        a WebSessionInfo instance.
      • setSessionInfo

        void setSessionInfo​(WebSessionInfo sessionInfo)
        Sets a new WebSessionInfo instance on this bean. A WebSessionInfo object is where you can get or set the session ID to the intelligence server, user credentials and localization, etc.
        Parameters:
        sessionInfo - a WebSessionInfo instance.
      • getErrorInfo

        WebBeanError getErrorInfo()
        Returns a WebBeanError object indicating processing error during the collectData method call. Null is returned if there is no error.
        Returns:
        a WebBeanError object; null if there is no error.
      • getDocument

        org.w3c.dom.Document getDocument()
                                  throws WebBeanException
        Returns a org.w3c.dom.Document parsed from the XML representation of this bean.
        Returns:
        the XML representation of this bean.
        Throws:
        WebBeanException - thrown if there is error when collecting data for this bean.
      • isStale

        boolean isStale()
        Returns a boolean value indicating whether the content of this bean is stale.
        Returns:
        true if this bean is stale.
      • setStale

        void setStale​(boolean stale)
        Sets a flag indicating whether this bean is stale or fresh.
        Parameters:
        stale - true if this bean is stale.