Class PortletWindowContextImpl

  • All Implemented Interfaces:
    com.sun.portal.container.PortletWindowContext

    public class PortletWindowContextImpl
    extends Object
    implements com.sun.portal.container.PortletWindowContext
    The PortletWindowContextImpl class provides a default implementation for the PortletWindowContext interface.
    • Constructor Detail

      • PortletWindowContextImpl

        public PortletWindowContextImpl()
      • PortletWindowContextImpl

        public PortletWindowContextImpl​(String userID)
    • Method Detail

      • init

        public void init​(javax.servlet.http.HttpServletRequest request)
        Specified by:
        init in interface com.sun.portal.container.PortletWindowContext
      • getDesktopURL

        public String getDesktopURL​(javax.servlet.http.HttpServletRequest request)
        Specified by:
        getDesktopURL in interface com.sun.portal.container.PortletWindowContext
      • getDesktopURL

        public String getDesktopURL​(javax.servlet.http.HttpServletRequest request,
                                    String query,
                                    boolean escape)
        Specified by:
        getDesktopURL in interface com.sun.portal.container.PortletWindowContext
      • getLocaleString

        public String getLocaleString()
        Specified by:
        getLocaleString in interface com.sun.portal.container.PortletWindowContext
      • getContentType

        public String getContentType()
        Specified by:
        getContentType in interface com.sun.portal.container.PortletWindowContext
      • encodeURL

        public String encodeURL​(String url)
        Specified by:
        encodeURL in interface com.sun.portal.container.PortletWindowContext
      • isAuthless

        public boolean isAuthless​(javax.servlet.http.HttpServletRequest request)
        Specified by:
        isAuthless in interface com.sun.portal.container.PortletWindowContext
      • getAuthenticationType

        public String getAuthenticationType()
        Specified by:
        getAuthenticationType in interface com.sun.portal.container.PortletWindowContext
      • getProperty

        public Object getProperty​(String name)
        Specified by:
        getProperty in interface com.sun.portal.container.PortletWindowContext
      • setProperty

        public void setProperty​(String name,
                                Object value)
        Specified by:
        setProperty in interface com.sun.portal.container.PortletWindowContext
      • getRoles

        public List getRoles()
        Specified by:
        getRoles in interface com.sun.portal.container.PortletWindowContext
      • getUserInfo

        public Map<String,​String> getUserInfo()
        Specified by:
        getUserInfo in interface com.sun.portal.container.PortletWindowContext
      • getMarkupTypes

        public List getMarkupTypes​(String portletName)
                            throws com.sun.portal.container.PortletWindowContextException
        Specified by:
        getMarkupTypes in interface com.sun.portal.container.PortletWindowContext
        Throws:
        com.sun.portal.container.PortletWindowContextException
      • getDescription

        public String getDescription​(String portletName,
                                     String desiredLocale)
                              throws com.sun.portal.container.PortletWindowContextException
        Specified by:
        getDescription in interface com.sun.portal.container.PortletWindowContext
        Throws:
        com.sun.portal.container.PortletWindowContextException
      • getShortTitle

        public String getShortTitle​(String portletName,
                                    String desiredLocale)
                             throws com.sun.portal.container.PortletWindowContextException
        Specified by:
        getShortTitle in interface com.sun.portal.container.PortletWindowContext
        Throws:
        com.sun.portal.container.PortletWindowContextException
      • getTitle

        public String getTitle​(String portletName,
                               String desiredLocale)
                        throws com.sun.portal.container.PortletWindowContextException
        Specified by:
        getTitle in interface com.sun.portal.container.PortletWindowContext
        Throws:
        com.sun.portal.container.PortletWindowContextException
      • getKeywords

        public List getKeywords​(String portletName,
                                String desiredLocale)
                         throws com.sun.portal.container.PortletWindowContextException
        Specified by:
        getKeywords in interface com.sun.portal.container.PortletWindowContext
        Throws:
        com.sun.portal.container.PortletWindowContextException
      • getDisplayName

        public String getDisplayName​(String portletName,
                                     String desiredLocale)
                              throws com.sun.portal.container.PortletWindowContextException
        Specified by:
        getDisplayName in interface com.sun.portal.container.PortletWindowContext
        Throws:
        com.sun.portal.container.PortletWindowContextException
      • getPortletName

        public String getPortletName​(String portletWindowName)
                              throws com.sun.portal.container.PortletWindowContextException
        Specified by:
        getPortletName in interface com.sun.portal.container.PortletWindowContext
        Throws:
        com.sun.portal.container.PortletWindowContextException
      • getPortletWindows

        public List<com.sun.portal.container.EntityID> getPortletWindows​(com.sun.portal.container.PortletType portletType,
                                                                         com.sun.portal.container.service.policy.DistributionType distributionType)
                                                                  throws com.sun.portal.container.PortletWindowContextException
        Specified by:
        getPortletWindows in interface com.sun.portal.container.PortletWindowContext
        Throws:
        com.sun.portal.container.PortletWindowContextException
      • getEntityID

        public com.sun.portal.container.EntityID getEntityID​(String portletWindowName)
                                                      throws com.sun.portal.container.PortletWindowContextException
        Specified by:
        getEntityID in interface com.sun.portal.container.PortletWindowContext
        Throws:
        com.sun.portal.container.PortletWindowContextException
      • getPortletWindowTitle

        public String getPortletWindowTitle​(String portletWindowName,
                                            String locale)
                                     throws com.sun.portal.container.PortletWindowContextException
        Specified by:
        getPortletWindowTitle in interface com.sun.portal.container.PortletWindowContext
        Throws:
        com.sun.portal.container.PortletWindowContextException
      • getRoleMap

        public Map getRoleMap​(String portletWindowName)
                       throws com.sun.portal.container.PortletWindowContextException
        Specified by:
        getRoleMap in interface com.sun.portal.container.PortletWindowContext
        Throws:
        com.sun.portal.container.PortletWindowContextException
      • getUserInfoMap

        public Map getUserInfoMap​(String portletWindowName)
                           throws com.sun.portal.container.PortletWindowContextException
        Specified by:
        getUserInfoMap in interface com.sun.portal.container.PortletWindowContext
        Throws:
        com.sun.portal.container.PortletWindowContextException
      • getPreferences

        public javax.portlet.PortletPreferences getPreferences​(String portletWindowName,
                                                               ResourceBundle bundle,
                                                               boolean isReadOnly)
                                                        throws com.sun.portal.container.PortletWindowContextException
        Specified by:
        getPreferences in interface com.sun.portal.container.PortletWindowContext
        Throws:
        com.sun.portal.container.PortletWindowContextException
      • verifySupportedPublishingEvent

        public com.sun.portal.container.service.EventHolder verifySupportedPublishingEvent​(com.sun.portal.container.EntityID portletEntityId,
                                                                                           com.sun.portal.container.service.EventHolder eventHolder)
        Specified by:
        verifySupportedPublishingEvent in interface com.sun.portal.container.PortletWindowContext
      • getSupportedPublishingEventHolders

        public List<com.sun.portal.container.service.EventHolder> getSupportedPublishingEventHolders​(com.sun.portal.container.EntityID portletEntityId)
        Specified by:
        getSupportedPublishingEventHolders in interface com.sun.portal.container.PortletWindowContext
      • verifySupportedProcessingEvent

        public com.sun.portal.container.service.EventHolder verifySupportedProcessingEvent​(com.sun.portal.container.EntityID portletEntityId,
                                                                                           com.sun.portal.container.service.EventHolder eventHolder)
        Specified by:
        verifySupportedProcessingEvent in interface com.sun.portal.container.PortletWindowContext
      • getSupportedProcessingEventHolders

        public List<com.sun.portal.container.service.EventHolder> getSupportedProcessingEventHolders​(com.sun.portal.container.EntityID portletEntityId)
        Specified by:
        getSupportedProcessingEventHolders in interface com.sun.portal.container.PortletWindowContext
      • verifySupportedPublicRenderParameters

        public Map<String,​String> verifySupportedPublicRenderParameters​(com.sun.portal.container.EntityID portletEntityId,
                                                                              List<com.sun.portal.container.service.PublicRenderParameterHolder> publicRenderParameterHolders)
        Specified by:
        verifySupportedPublicRenderParameters in interface com.sun.portal.container.PortletWindowContext
      • getSupportedPublicRenderParameterHolders

        public List<com.sun.portal.container.service.PublicRenderParameterHolder> getSupportedPublicRenderParameterHolders​(com.sun.portal.container.EntityID portletEntityId,
                                                                                                                           Map<String,​String[]> renderParameters)
        Specified by:
        getSupportedPublicRenderParameterHolders in interface com.sun.portal.container.PortletWindowContext
      • getPortletID

        public String getPortletID​(String portletWindowName)
                            throws com.sun.portal.container.PortletWindowContextException
        Specified by:
        getPortletID in interface com.sun.portal.container.PortletWindowContext
        Throws:
        com.sun.portal.container.PortletWindowContextException
      • getConsumerID

        public String getConsumerID​(String portletWindowName)
                             throws com.sun.portal.container.PortletWindowContextException
        Specified by:
        getConsumerID in interface com.sun.portal.container.PortletWindowContext
        Throws:
        com.sun.portal.container.PortletWindowContextException
      • getPortletHandle

        public String getPortletHandle​(String portletWindowName)
                                throws com.sun.portal.container.PortletWindowContextException
        Specified by:
        getPortletHandle in interface com.sun.portal.container.PortletWindowContext
        Throws:
        com.sun.portal.container.PortletWindowContextException
      • setPortletHandle

        public void setPortletHandle​(String portletWindowName,
                                     String portletHandle)
                              throws com.sun.portal.container.PortletWindowContextException
        Specified by:
        setPortletHandle in interface com.sun.portal.container.PortletWindowContext
        Throws:
        com.sun.portal.container.PortletWindowContextException
      • getProducerEntityID

        public String getProducerEntityID​(String portletWindowName)
                                   throws com.sun.portal.container.PortletWindowContextException
        Specified by:
        getProducerEntityID in interface com.sun.portal.container.PortletWindowContext
        Throws:
        com.sun.portal.container.PortletWindowContextException
      • getPortletLang

        public com.sun.portal.container.PortletLang getPortletLang​(String portletWindowName)
                                                            throws com.sun.portal.container.PortletWindowContextException
        Specified by:
        getPortletLang in interface com.sun.portal.container.PortletWindowContext
        Throws:
        com.sun.portal.container.PortletWindowContextException
      • store

        public void store()
                   throws com.sun.portal.container.PortletWindowContextException
        Specified by:
        store in interface com.sun.portal.container.PortletWindowContext
        Throws:
        com.sun.portal.container.PortletWindowContextException
      • getUserRepresentation

        public String getUserRepresentation()
        Specified by:
        getUserRepresentation in interface com.sun.portal.container.PortletWindowContext