public class PortletBagFactory
extends java.lang.Object
| Constructor and Description |
|---|
PortletBagFactory() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.portal.kernel.portlet.PortletBag |
create(com.liferay.portal.model.Portlet portlet) |
protected java.lang.String |
getContent(java.lang.String fileName) |
protected java.lang.String |
getPluginPropertyValue(java.lang.String propertyKey) |
protected javax.portlet.Portlet |
getPortletInstance(com.liferay.portal.model.Portlet portlet) |
protected java.io.InputStream |
getResourceBundleInputStream(java.lang.String resourceBundleName,
java.util.Locale locale) |
protected void |
initResourceBundle(java.util.Map<java.lang.String,java.util.ResourceBundle> resourceBundles,
com.liferay.portal.model.Portlet portlet,
java.util.Locale locale) |
protected void |
initScheduler(com.liferay.portal.kernel.scheduler.SchedulerEntry schedulerEntry,
java.lang.String portletId) |
protected void |
initSchedulers(com.liferay.portal.model.Portlet portlet) |
protected void |
initUserNotificationDefinition(com.liferay.portal.model.Portlet portlet) |
protected com.liferay.portlet.asset.model.AssetRendererFactory |
newAssetRendererFactoryInstance(com.liferay.portal.model.Portlet portlet,
java.lang.String assetRendererFactoryClass) |
protected java.util.List<com.liferay.portlet.asset.model.AssetRendererFactory> |
newAssetRendererFactoryInstances(com.liferay.portal.model.Portlet portlet) |
protected java.util.List<com.liferay.portal.kernel.atom.AtomCollectionAdapter<?>> |
newAtomCollectionAdapterInstances(com.liferay.portal.model.Portlet portlet) |
protected com.liferay.portal.kernel.portlet.ConfigurationAction |
newConfigurationAction(com.liferay.portal.model.Portlet portlet) |
protected com.liferay.portlet.dynamicdatamapping.util.DDMDisplay |
newDDMDisplay(com.liferay.portal.model.Portlet portlet) |
protected com.liferay.portal.kernel.portlet.FriendlyURLMapper |
newFriendlyURLMapper(com.liferay.portal.model.Portlet portlet) |
protected com.liferay.portal.kernel.portlet.Router |
newFriendlyURLRouter(com.liferay.portal.model.Portlet portlet) |
protected java.util.List<com.liferay.portal.kernel.search.Indexer> |
newIndexers(com.liferay.portal.model.Portlet portlet) |
protected java.lang.Object |
newInstance(java.lang.Class<?>[] interfaceClasses,
java.lang.String implClassName) |
protected java.lang.Object |
newInstance(java.lang.Class<?> interfaceClass,
java.lang.String implClassName) |
protected com.liferay.portal.kernel.search.OpenSearch |
newOpenSearch(com.liferay.portal.model.Portlet portlet) |
protected com.liferay.portal.security.permission.PermissionPropagator |
newPermissionPropagator(com.liferay.portal.model.Portlet portlet) |
protected com.liferay.portal.kernel.poller.PollerProcessor |
newPollerProcessor(com.liferay.portal.model.Portlet portlet) |
protected com.liferay.portal.kernel.pop.MessageListener |
newPOPMessageListener(com.liferay.portal.model.Portlet portlet) |
protected com.liferay.portal.kernel.lar.PortletDataHandler |
newPortletDataHandler(com.liferay.portal.model.Portlet portlet) |
protected com.liferay.portal.kernel.portlet.PortletLayoutListener |
newPortletLayoutListener(com.liferay.portal.model.Portlet portlet) |
protected com.liferay.portlet.social.model.SocialActivityInterpreter |
newSocialActivityInterpreterInstance(com.liferay.portal.model.Portlet portlet,
java.lang.String socialActivityInterpreterClass) |
protected java.util.List<com.liferay.portlet.social.model.SocialActivityInterpreter> |
newSocialActivityInterpreterInstances(com.liferay.portal.model.Portlet portlet) |
protected java.util.List<com.liferay.portal.kernel.lar.StagedModelDataHandler<?>> |
newStagedModelDataHandler(com.liferay.portal.model.Portlet portlet) |
protected com.liferay.portal.kernel.template.TemplateHandler |
newTemplateHandler(com.liferay.portal.model.Portlet portlet) |
protected com.liferay.portal.kernel.servlet.URLEncoder |
newURLEncoder(com.liferay.portal.model.Portlet portlet) |
protected com.liferay.portal.kernel.notifications.UserNotificationHandler |
newUserNotificationHandlerInstance(java.lang.String userNotificationHandlerClass) |
protected java.util.List<com.liferay.portal.kernel.notifications.UserNotificationHandler> |
newUserNotificationHandlerInstances(com.liferay.portal.model.Portlet portlet) |
void |
setClassLoader(java.lang.ClassLoader classLoader) |
void |
setServletContext(javax.servlet.ServletContext servletContext) |
void |
setWARFile(boolean warFile) |
protected void |
validate() |
public com.liferay.portal.kernel.portlet.PortletBag create(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionpublic void setClassLoader(java.lang.ClassLoader classLoader)
public void setServletContext(javax.servlet.ServletContext servletContext)
public void setWARFile(boolean warFile)
protected java.lang.String getContent(java.lang.String fileName)
throws java.lang.Exception
java.lang.Exceptionprotected java.lang.String getPluginPropertyValue(java.lang.String propertyKey)
throws java.lang.Exception
java.lang.Exceptionprotected javax.portlet.Portlet getPortletInstance(com.liferay.portal.model.Portlet portlet)
throws java.lang.IllegalAccessException,
java.lang.InstantiationException
java.lang.IllegalAccessExceptionjava.lang.InstantiationExceptionprotected java.io.InputStream getResourceBundleInputStream(java.lang.String resourceBundleName,
java.util.Locale locale)
protected void initResourceBundle(java.util.Map<java.lang.String,java.util.ResourceBundle> resourceBundles,
com.liferay.portal.model.Portlet portlet,
java.util.Locale locale)
protected void initScheduler(com.liferay.portal.kernel.scheduler.SchedulerEntry schedulerEntry,
java.lang.String portletId)
throws java.lang.Exception
java.lang.Exceptionprotected void initSchedulers(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected void initUserNotificationDefinition(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected com.liferay.portlet.asset.model.AssetRendererFactory newAssetRendererFactoryInstance(com.liferay.portal.model.Portlet portlet,
java.lang.String assetRendererFactoryClass)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portlet.asset.model.AssetRendererFactory> newAssetRendererFactoryInstances(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portal.kernel.atom.AtomCollectionAdapter<?>> newAtomCollectionAdapterInstances(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected com.liferay.portal.kernel.portlet.ConfigurationAction newConfigurationAction(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected com.liferay.portlet.dynamicdatamapping.util.DDMDisplay newDDMDisplay(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected com.liferay.portal.kernel.portlet.FriendlyURLMapper newFriendlyURLMapper(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected com.liferay.portal.kernel.portlet.Router newFriendlyURLRouter(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portal.kernel.search.Indexer> newIndexers(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.lang.Object newInstance(java.lang.Class<?> interfaceClass,
java.lang.String implClassName)
throws java.lang.Exception
java.lang.Exceptionprotected java.lang.Object newInstance(java.lang.Class<?>[] interfaceClasses,
java.lang.String implClassName)
throws java.lang.Exception
java.lang.Exceptionprotected com.liferay.portal.kernel.search.OpenSearch newOpenSearch(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected com.liferay.portal.security.permission.PermissionPropagator newPermissionPropagator(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected com.liferay.portal.kernel.poller.PollerProcessor newPollerProcessor(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected com.liferay.portal.kernel.pop.MessageListener newPOPMessageListener(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected com.liferay.portal.kernel.lar.PortletDataHandler newPortletDataHandler(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected com.liferay.portal.kernel.portlet.PortletLayoutListener newPortletLayoutListener(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected com.liferay.portlet.social.model.SocialActivityInterpreter newSocialActivityInterpreterInstance(com.liferay.portal.model.Portlet portlet,
java.lang.String socialActivityInterpreterClass)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portlet.social.model.SocialActivityInterpreter> newSocialActivityInterpreterInstances(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portal.kernel.lar.StagedModelDataHandler<?>> newStagedModelDataHandler(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected com.liferay.portal.kernel.template.TemplateHandler newTemplateHandler(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected com.liferay.portal.kernel.servlet.URLEncoder newURLEncoder(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected com.liferay.portal.kernel.notifications.UserNotificationHandler newUserNotificationHandlerInstance(java.lang.String userNotificationHandlerClass)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portal.kernel.notifications.UserNotificationHandler> newUserNotificationHandlerInstances(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected void validate()