Class PortletBagImpl

Object
com.liferay.portlet.internal.PortletBagImpl
All Implemented Interfaces:
com.liferay.portal.kernel.portlet.PortletBag, Cloneable

public class PortletBagImpl extends Object implements com.liferay.portal.kernel.portlet.PortletBag
Author:
Brian Wing Shun Chan, Jorge Ferrer
  • Constructor Details

    • PortletBagImpl

      public PortletBagImpl(String portletName, javax.servlet.ServletContext servletContext, Portlet portletInstance, String resourceBundleBaseName, com.liferay.portal.kernel.portlet.FriendlyURLMapperTracker friendlyURLMapperTracker, List<org.osgi.framework.ServiceRegistration<?>> serviceRegistrations)
  • Method Details

    • clone

      public Object clone()
      Specified by:
      clone in interface com.liferay.portal.kernel.portlet.PortletBag
      Overrides:
      clone in class Object
    • destroy

      public void destroy()
      Specified by:
      destroy in interface com.liferay.portal.kernel.portlet.PortletBag
    • getConfigurationActionInstance

      public com.liferay.portal.kernel.portlet.ConfigurationAction getConfigurationActionInstance()
      Specified by:
      getConfigurationActionInstance in interface com.liferay.portal.kernel.portlet.PortletBag
    • getConfigurationActionInstances

      @Deprecated public List<com.liferay.portal.kernel.portlet.ConfigurationAction> getConfigurationActionInstances()
      Deprecated.
      As of Cavanaugh (7.4.x), replaced by getConfigurationActionInstance()
      Specified by:
      getConfigurationActionInstances in interface com.liferay.portal.kernel.portlet.PortletBag
    • getControlPanelEntryInstance

      public com.liferay.portal.kernel.portlet.ControlPanelEntry getControlPanelEntryInstance()
      Specified by:
      getControlPanelEntryInstance in interface com.liferay.portal.kernel.portlet.PortletBag
    • getControlPanelEntryInstances

      @Deprecated public List<com.liferay.portal.kernel.portlet.ControlPanelEntry> getControlPanelEntryInstances()
      Deprecated.
      As of Cavanaugh (7.4.x), replaced by getControlPanelEntryInstance()
      Specified by:
      getControlPanelEntryInstances in interface com.liferay.portal.kernel.portlet.PortletBag
    • getCustomAttributesDisplayInstances

      public List<com.liferay.expando.kernel.model.CustomAttributesDisplay> getCustomAttributesDisplayInstances()
      Specified by:
      getCustomAttributesDisplayInstances in interface com.liferay.portal.kernel.portlet.PortletBag
    • getFriendlyURLMapperTracker

      public com.liferay.portal.kernel.portlet.FriendlyURLMapperTracker getFriendlyURLMapperTracker()
      Specified by:
      getFriendlyURLMapperTracker in interface com.liferay.portal.kernel.portlet.PortletBag
    • getIndexerInstances

      public List<com.liferay.portal.kernel.search.Indexer<?>> getIndexerInstances()
      Specified by:
      getIndexerInstances in interface com.liferay.portal.kernel.portlet.PortletBag
    • getOpenSearchInstance

      public com.liferay.portal.kernel.search.OpenSearch getOpenSearchInstance()
      Specified by:
      getOpenSearchInstance in interface com.liferay.portal.kernel.portlet.PortletBag
    • getOpenSearchInstances

      @Deprecated public List<com.liferay.portal.kernel.search.OpenSearch> getOpenSearchInstances()
      Deprecated.
      As of Cavanaugh (7.4.x), replaced by getOpenSearchInstance()
      Specified by:
      getOpenSearchInstances in interface com.liferay.portal.kernel.portlet.PortletBag
    • getPermissionPropagatorInstance

      public com.liferay.portal.kernel.security.permission.propagator.PermissionPropagator getPermissionPropagatorInstance()
      Specified by:
      getPermissionPropagatorInstance in interface com.liferay.portal.kernel.portlet.PortletBag
    • getPermissionPropagatorInstances

      @Deprecated public List<com.liferay.portal.kernel.security.permission.propagator.PermissionPropagator> getPermissionPropagatorInstances()
      Deprecated.
      As of Cavanaugh (7.4.x), replaced by getPermissionPropagatorInstance()
      Specified by:
      getPermissionPropagatorInstances in interface com.liferay.portal.kernel.portlet.PortletBag
    • getPopMessageListenerInstance

      public com.liferay.portal.kernel.pop.MessageListener getPopMessageListenerInstance()
      Specified by:
      getPopMessageListenerInstance in interface com.liferay.portal.kernel.portlet.PortletBag
    • getPopMessageListenerInstances

      @Deprecated public List<com.liferay.portal.kernel.pop.MessageListener> getPopMessageListenerInstances()
      Deprecated.
      As of Cavanaugh (7.4.x), replaced by getPopMessageListenerInstance()
      Specified by:
      getPopMessageListenerInstances in interface com.liferay.portal.kernel.portlet.PortletBag
    • getPortletConfigurationListenerInstance

      public com.liferay.portal.kernel.portlet.PortletConfigurationListener getPortletConfigurationListenerInstance()
      Specified by:
      getPortletConfigurationListenerInstance in interface com.liferay.portal.kernel.portlet.PortletBag
    • getPortletConfigurationListenerInstances

      @Deprecated public List<com.liferay.portal.kernel.portlet.PortletConfigurationListener> getPortletConfigurationListenerInstances()
      Deprecated.
      As of Cavanaugh (7.4.x), replaced by getPortletConfigurationListenerInstance()
      Specified by:
      getPortletConfigurationListenerInstances in interface com.liferay.portal.kernel.portlet.PortletBag
    • getPortletDataHandlerInstance

      public com.liferay.exportimport.kernel.lar.PortletDataHandler getPortletDataHandlerInstance()
      Specified by:
      getPortletDataHandlerInstance in interface com.liferay.portal.kernel.portlet.PortletBag
    • getPortletDataHandlerInstances

      @Deprecated public List<com.liferay.exportimport.kernel.lar.PortletDataHandler> getPortletDataHandlerInstances()
      Deprecated.
      As of Cavanaugh (7.4.x), replaced by getPortletDataHandlerInstance()
      Specified by:
      getPortletDataHandlerInstances in interface com.liferay.portal.kernel.portlet.PortletBag
    • getPortletInstance

      public Portlet getPortletInstance()
      Specified by:
      getPortletInstance in interface com.liferay.portal.kernel.portlet.PortletBag
    • getPortletLayoutListenerInstance

      public com.liferay.portal.kernel.portlet.PortletLayoutListener getPortletLayoutListenerInstance()
      Specified by:
      getPortletLayoutListenerInstance in interface com.liferay.portal.kernel.portlet.PortletBag
    • getPortletLayoutListenerInstances

      @Deprecated public List<com.liferay.portal.kernel.portlet.PortletLayoutListener> getPortletLayoutListenerInstances()
      Deprecated.
      As of Cavanaugh (7.4.x), replaced by getPortletLayoutListenerInstance()
      Specified by:
      getPortletLayoutListenerInstances in interface com.liferay.portal.kernel.portlet.PortletBag
    • getPortletName

      public String getPortletName()
      Specified by:
      getPortletName in interface com.liferay.portal.kernel.portlet.PortletBag
    • getPreferencesValidatorInstance

      public PreferencesValidator getPreferencesValidatorInstance()
      Specified by:
      getPreferencesValidatorInstance in interface com.liferay.portal.kernel.portlet.PortletBag
    • getPreferencesValidatorInstances

      @Deprecated public List<PreferencesValidator> getPreferencesValidatorInstances()
      Deprecated.
      As of Cavanaugh (7.4.x), replaced by getPreferencesValidatorInstance()
      Specified by:
      getPreferencesValidatorInstances in interface com.liferay.portal.kernel.portlet.PortletBag
    • getResourceBundle

      public ResourceBundle getResourceBundle(Locale locale)
      Specified by:
      getResourceBundle in interface com.liferay.portal.kernel.portlet.PortletBag
    • getResourceBundleBaseName

      public String getResourceBundleBaseName()
      Specified by:
      getResourceBundleBaseName in interface com.liferay.portal.kernel.portlet.PortletBag
    • getServletContext

      public javax.servlet.ServletContext getServletContext()
      Specified by:
      getServletContext in interface com.liferay.portal.kernel.portlet.PortletBag
    • getSocialActivityInterpreterInstances

      public List<com.liferay.social.kernel.model.SocialActivityInterpreter> getSocialActivityInterpreterInstances()
      Specified by:
      getSocialActivityInterpreterInstances in interface com.liferay.portal.kernel.portlet.PortletBag
    • getSocialRequestInterpreterInstance

      public com.liferay.social.kernel.model.SocialRequestInterpreter getSocialRequestInterpreterInstance()
      Specified by:
      getSocialRequestInterpreterInstance in interface com.liferay.portal.kernel.portlet.PortletBag
    • getSocialRequestInterpreterInstances

      @Deprecated public List<com.liferay.social.kernel.model.SocialRequestInterpreter> getSocialRequestInterpreterInstances()
      Deprecated.
      As of Cavanaugh (7.4.x), replaced by getSocialRequestInterpreterInstance()
      Specified by:
      getSocialRequestInterpreterInstances in interface com.liferay.portal.kernel.portlet.PortletBag
    • getStagedModelDataHandlerInstances

      public List<com.liferay.exportimport.kernel.lar.StagedModelDataHandler<?>> getStagedModelDataHandlerInstances()
      Specified by:
      getStagedModelDataHandlerInstances in interface com.liferay.portal.kernel.portlet.PortletBag
    • getTemplateHandlerInstance

      public com.liferay.portal.kernel.template.TemplateHandler getTemplateHandlerInstance()
      Specified by:
      getTemplateHandlerInstance in interface com.liferay.portal.kernel.portlet.PortletBag
    • getTemplateHandlerInstances

      @Deprecated public List<com.liferay.portal.kernel.template.TemplateHandler> getTemplateHandlerInstances()
      Deprecated.
      As of Cavanaugh (7.4.x), replaced by getTemplateHandlerInstance()
      Specified by:
      getTemplateHandlerInstances in interface com.liferay.portal.kernel.portlet.PortletBag
    • getTrashHandlerInstances

      public List<com.liferay.portal.kernel.trash.TrashHandler> getTrashHandlerInstances()
      Specified by:
      getTrashHandlerInstances in interface com.liferay.portal.kernel.portlet.PortletBag
    • getURLEncoderInstance

      public com.liferay.portal.kernel.servlet.URLEncoder getURLEncoderInstance()
      Specified by:
      getURLEncoderInstance in interface com.liferay.portal.kernel.portlet.PortletBag
    • getURLEncoderInstances

      @Deprecated public List<com.liferay.portal.kernel.servlet.URLEncoder> getURLEncoderInstances()
      Deprecated.
      As of Cavanaugh (7.4.x), replaced by getURLEncoderInstance()
      Specified by:
      getURLEncoderInstances in interface com.liferay.portal.kernel.portlet.PortletBag
    • getUserNotificationDefinitionInstances

      @Deprecated public List<com.liferay.portal.kernel.notifications.UserNotificationDefinition> getUserNotificationDefinitionInstances()
      Deprecated.
      As of Cavanaugh (7.4.x), with no direct replacement
      Specified by:
      getUserNotificationDefinitionInstances in interface com.liferay.portal.kernel.portlet.PortletBag
    • getUserNotificationHandlerInstances

      public List<com.liferay.portal.kernel.notifications.UserNotificationHandler> getUserNotificationHandlerInstances()
      Specified by:
      getUserNotificationHandlerInstances in interface com.liferay.portal.kernel.portlet.PortletBag
    • getWebDAVStorageInstance

      public com.liferay.portal.kernel.webdav.WebDAVStorage getWebDAVStorageInstance()
      Specified by:
      getWebDAVStorageInstance in interface com.liferay.portal.kernel.portlet.PortletBag
    • getWebDAVStorageInstances

      @Deprecated public List<com.liferay.portal.kernel.webdav.WebDAVStorage> getWebDAVStorageInstances()
      Deprecated.
      As of Cavanaugh (7.4.x), replaced by getWebDAVStorageInstance()
      Specified by:
      getWebDAVStorageInstances in interface com.liferay.portal.kernel.portlet.PortletBag
    • getWorkflowHandlerInstances

      public List<com.liferay.portal.kernel.workflow.WorkflowHandler<?>> getWorkflowHandlerInstances()
      Specified by:
      getWorkflowHandlerInstances in interface com.liferay.portal.kernel.portlet.PortletBag
    • getXmlRpcMethodInstance

      public com.liferay.portal.kernel.xmlrpc.Method getXmlRpcMethodInstance()
      Specified by:
      getXmlRpcMethodInstance in interface com.liferay.portal.kernel.portlet.PortletBag
    • getXmlRpcMethodInstances

      @Deprecated public List<com.liferay.portal.kernel.xmlrpc.Method> getXmlRpcMethodInstances()
      Deprecated.
      As of Cavanaugh (7.4.x), replaced by getXmlRpcMethodInstance()
      Specified by:
      getXmlRpcMethodInstances in interface com.liferay.portal.kernel.portlet.PortletBag
    • setPortletInstance

      public void setPortletInstance(Portlet portletInstance)
      Specified by:
      setPortletInstance in interface com.liferay.portal.kernel.portlet.PortletBag
    • setPortletName

      public void setPortletName(String portletName)
      Specified by:
      setPortletName in interface com.liferay.portal.kernel.portlet.PortletBag