Class PortletWindowInvoker

  • All Implemented Interfaces:
    WindowInvokerConstants

    public class PortletWindowInvoker
    extends WindowInvoker
    PortletWindowInvoker, is dervied from the abstract base class WindowInvoker.
    • Constructor Detail

      • PortletWindowInvoker

        public PortletWindowInvoker()
    • Method Detail

      • init

        public void init​(javax.servlet.ServletContext servletContext,
                         javax.servlet.http.HttpServletRequest request,
                         javax.servlet.http.HttpServletResponse response)
                  throws InvokerException
        Description copied from class: WindowInvoker
        Initializes the WindowInvoker.

        Overrides:
        init in class WindowInvoker
        Parameters:
        servletContext - The ServletContext object.
        request - The HTTP request object.
        response - The HTTP response object.
        Throws:
        InvokerException
      • getUserInfoMap

        public Map getUserInfoMap​(javax.servlet.http.HttpServletRequest request)
                           throws InvokerException
        Implementation of the abstract method defined in the base class. Get the user profile information for the current user. The implementation uses the configured logical to physical user info mapping configured at deployment time to calculate this.
        Specified by:
        getUserInfoMap in class WindowInvoker
        Throws:
        InvokerException
      • getContainer

        public com.sun.portal.container.Container getContainer()
        Implementation of the abstract method defined in the base class. Gets the container implementation configured to be used
        Specified by:
        getContainer in class WindowInvoker
      • getEntityID

        public com.sun.portal.container.EntityID getEntityID​(javax.servlet.http.HttpServletRequest request)
                                                      throws InvokerException
        Implementation of the abstract method defined in the base class. EntityID is represented as // / is stored in the display profile during deployment time.
        Specified by:
        getEntityID in class WindowInvoker
        Throws:
        InvokerException
      • getTitle

        public String getTitle()
                        throws InvokerException
        Description copied from class: WindowInvoker
        Gets the title for the portletWindow. This method returns the title from the portlet. Portlet uses javax.portlet.title namespace for its title.
        Overrides:
        getTitle in class WindowInvoker
        Returns:
        A string title.
        Throws:
        InvokerException - if error occurs when getting the title for the portletWindow.
      • getRoleList

        public List getRoleList​(javax.servlet.http.HttpServletRequest request)
                         throws InvokerException
        Implementation of the abstract method defined in the base class. Get the list of logical roles that the current user belongs to. The implementation uses the configured logical to physical role mapping configured at deployment time to calculate this.
        Specified by:
        getRoleList in class WindowInvoker
        Throws:
        InvokerException
      • getErrorCode

        protected com.sun.portal.container.ErrorCode getErrorCode​(com.sun.portal.container.ContentException ex)
        Overrides:
        getErrorCode in class WindowInvoker