Liferay 6.1.2-ce-ga3

com.liferay.portlet
Class PortletBagFactory

java.lang.Object
  extended by com.liferay.portlet.PortletBagFactory

public class PortletBagFactory
extends Object


Constructor Summary
PortletBagFactory()
           
 
Method Summary
 PortletBag create(Portlet portlet)
           
protected  String getContent(String fileName)
           
protected  String getPluginPropertyValue(String propertyKey)
           
protected  InputStream getResourceBundleInputStream(String resourceBundleName, Locale locale)
           
protected  void initResourceBundle(Map<String,ResourceBundle> resourceBundles, Portlet portlet, Locale locale)
           
protected  void initScheduler(SchedulerEntry schedulerEntry, String portletId)
           
protected  void initSchedulers(Portlet portlet)
           
protected  SocialActivityInterpreter initSocialActivityInterpreterInstance(Portlet portlet)
           
protected  AssetRendererFactory newAssetRendererFactoryInstance(Portlet portlet, String assetRendererFactoryClass)
           
protected  List<AssetRendererFactory> newAssetRendererFactoryInstances(Portlet portlet)
           
protected  List<AtomCollectionAdapter<?>> newAtomCollectionAdapterInstances(Portlet portlet)
           
protected  ConfigurationAction newConfigurationAction(Portlet portlet)
           
protected  FriendlyURLMapper newFriendlyURLMapper(Portlet portlet)
           
protected  Router newFriendlyURLRouter(Portlet portlet)
           
protected  List<Indexer> newIndexers(Portlet portlet)
           
protected  Object newInstance(Class<?>[] interfaceClasses, String implClassName)
           
protected  Object newInstance(Class<?> interfaceClass, String implClassName)
           
protected  OpenSearch newOpenSearch(Portlet portlet)
           
protected  PermissionPropagator newPermissionPropagator(Portlet portlet)
           
protected  PollerProcessor newPollerProcessor(Portlet portlet)
           
protected  MessageListener newPOPMessageListener(Portlet portlet)
           
protected  PortletDataHandler newPortletDataHandler(Portlet portlet)
           
protected  PortletLayoutListener newPortletLayoutListener(Portlet portlet)
           
protected  URLEncoder newURLEncoder(Portlet portlet)
           
 void setClassLoader(ClassLoader classLoader)
           
 void setServletContext(javax.servlet.ServletContext servletContext)
           
 void setWARFile(boolean warFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletBagFactory

public PortletBagFactory()
Method Detail

create

public PortletBag create(Portlet portlet)
                  throws Exception
Throws:
Exception

setClassLoader

public void setClassLoader(ClassLoader classLoader)

setServletContext

public void setServletContext(javax.servlet.ServletContext servletContext)

setWARFile

public void setWARFile(boolean warFile)

getContent

protected String getContent(String fileName)
                     throws Exception
Throws:
Exception

getPluginPropertyValue

protected String getPluginPropertyValue(String propertyKey)
                                 throws Exception
Throws:
Exception

getResourceBundleInputStream

protected InputStream getResourceBundleInputStream(String resourceBundleName,
                                                   Locale locale)

initResourceBundle

protected void initResourceBundle(Map<String,ResourceBundle> resourceBundles,
                                  Portlet portlet,
                                  Locale locale)

initScheduler

protected void initScheduler(SchedulerEntry schedulerEntry,
                             String portletId)
                      throws Exception
Throws:
Exception

initSchedulers

protected void initSchedulers(Portlet portlet)
                       throws Exception
Throws:
Exception

initSocialActivityInterpreterInstance

protected SocialActivityInterpreter initSocialActivityInterpreterInstance(Portlet portlet)
                                                                   throws Exception
Throws:
Exception

newAssetRendererFactoryInstance

protected AssetRendererFactory newAssetRendererFactoryInstance(Portlet portlet,
                                                               String assetRendererFactoryClass)
                                                        throws Exception
Throws:
Exception

newAssetRendererFactoryInstances

protected List<AssetRendererFactory> newAssetRendererFactoryInstances(Portlet portlet)
                                                               throws Exception
Throws:
Exception

newAtomCollectionAdapterInstances

protected List<AtomCollectionAdapter<?>> newAtomCollectionAdapterInstances(Portlet portlet)
                                                                    throws Exception
Throws:
Exception

newConfigurationAction

protected ConfigurationAction newConfigurationAction(Portlet portlet)
                                              throws Exception
Throws:
Exception

newFriendlyURLMapper

protected FriendlyURLMapper newFriendlyURLMapper(Portlet portlet)
                                          throws Exception
Throws:
Exception

newFriendlyURLRouter

protected Router newFriendlyURLRouter(Portlet portlet)
                               throws Exception
Throws:
Exception

newIndexers

protected List<Indexer> newIndexers(Portlet portlet)
                             throws Exception
Throws:
Exception

newInstance

protected Object newInstance(Class<?> interfaceClass,
                             String implClassName)
                      throws Exception
Throws:
Exception

newInstance

protected Object newInstance(Class<?>[] interfaceClasses,
                             String implClassName)
                      throws Exception
Throws:
Exception

newOpenSearch

protected OpenSearch newOpenSearch(Portlet portlet)
                            throws Exception
Throws:
Exception

newPermissionPropagator

protected PermissionPropagator newPermissionPropagator(Portlet portlet)
                                                throws Exception
Throws:
Exception

newPollerProcessor

protected PollerProcessor newPollerProcessor(Portlet portlet)
                                      throws Exception
Throws:
Exception

newPOPMessageListener

protected MessageListener newPOPMessageListener(Portlet portlet)
                                         throws Exception
Throws:
Exception

newPortletDataHandler

protected PortletDataHandler newPortletDataHandler(Portlet portlet)
                                            throws Exception
Throws:
Exception

newPortletLayoutListener

protected PortletLayoutListener newPortletLayoutListener(Portlet portlet)
                                                  throws Exception
Throws:
Exception

newURLEncoder

protected URLEncoder newURLEncoder(Portlet portlet)
                            throws Exception
Throws:
Exception

Liferay 6.1.2-ce-ga3