Liferay 7.0-ce-b4

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  Portlet getPortletInstance(Portlet portlet)
           
protected  List<AssetRendererFactory<?>> newAssetRendererFactoryInstances(Portlet portlet, com.liferay.registry.Filter filter, Map<String,Object> properties)
           
protected  List<AtomCollectionAdapter<?>> newAtomCollectionAdapterInstances(Portlet portlet, com.liferay.registry.Filter filter, Map<String,Object> properties)
           
protected  List<ConfigurationAction> newConfigurationActions(Portlet portlet, com.liferay.registry.Filter filter, Map<String,Object> properties)
           
protected  List<ControlPanelEntry> newControlPanelEntryInstances(Portlet portlet, com.liferay.registry.Filter filter, Map<String,Object> properties)
           
protected  List<CustomAttributesDisplay> newCustomAttributesDisplayInstances(Portlet portlet, com.liferay.registry.Filter filter, Map<String,Object> properties)
           
protected  FriendlyURLMapperTracker newFriendlyURLMappers(Portlet portlet)
           
protected  List<Indexer<?>> newIndexers(Portlet portlet, com.liferay.registry.Filter filter, Map<String,Object> properties)
           
protected  Object newInstance(Class<?>[] interfaceClasses, String implClassName)
           
protected  Object newInstance(Class<?> interfaceClass, String implClassName)
           
protected  List<OpenSearch> newOpenSearches(Portlet portlet, com.liferay.registry.Filter filter, Map<String,Object> properties)
           
protected  List<PermissionPropagator> newPermissionPropagators(Portlet portlet, com.liferay.registry.Filter filter, Map<String,Object> properties)
           
protected  List<PollerProcessor> newPollerProcessors(Portlet portlet, com.liferay.registry.Filter filter, Map<String,Object> properties)
           
protected  List<MessageListener> newPOPMessageListeners(Portlet portlet, com.liferay.registry.Filter filter, Map<String,Object> properties)
           
protected  List<PortletDataHandler> newPortletDataHandlers(Portlet portlet, com.liferay.registry.Filter filter, Map<String,Object> properties)
           
protected  List<PortletLayoutListener> newPortletLayoutListeners(Portlet portlet, com.liferay.registry.Filter filter, Map<String,Object> properties)
           
protected  List<PreferencesValidator> newPreferencesValidatorInstances(Portlet portlet, com.liferay.registry.Filter filter, Map<String,Object> properties)
           
protected  List<SchedulerEventMessageListener> newSchedulerEventMessageListeners(Portlet portlet, com.liferay.registry.Filter filter, Map<String,Object> properties)
           
protected  List<SocialActivityInterpreter> newSocialActivityInterpreterInstances(Portlet portlet, com.liferay.registry.Filter filter, Map<String,Object> properties)
           
protected  List<SocialRequestInterpreter> newSocialRequestInterpreterInstances(Portlet portlet, com.liferay.registry.Filter filter, Map<String,Object> properties)
           
protected  List<StagedModelDataHandler<?>> newStagedModelDataHandler(Portlet portlet, com.liferay.registry.Filter filter, Map<String,Object> properties)
           
protected  List<TemplateHandler> newTemplateHandlers(Portlet portlet, com.liferay.registry.Filter filter, Map<String,Object> properties)
           
protected  List<TrashHandler> newTrashHandlerInstances(Portlet portlet, com.liferay.registry.Filter filter, Map<String,Object> properties)
           
protected  List<URLEncoder> newURLEncoders(Portlet portlet, com.liferay.registry.Filter filter, Map<String,Object> properties)
           
protected  List<UserNotificationDefinition> newUserNotificationDefinitionInstances(Portlet portlet, com.liferay.registry.Filter filter, Map<String,Object> properties)
           
protected  List<UserNotificationHandler> newUserNotificationHandlerInstances(Portlet portlet, com.liferay.registry.Filter filter, Map<String,Object> properties)
           
protected  List<WebDAVStorage> newWebDAVStorageInstances(Portlet portlet, com.liferay.registry.Filter filter, Map<String,Object> properties)
           
protected  List<WorkflowHandler<?>> newWorkflowHandlerInstances(Portlet portlet, com.liferay.registry.Filter filter, Map<String,Object> properties)
           
protected  List<Method> newXmlRpcMethodInstances(Portlet portlet, com.liferay.registry.Filter filter, Map<String,Object> properties)
           
 void setClassLoader(ClassLoader classLoader)
           
 void setServletContext(javax.servlet.ServletContext servletContext)
           
 void setWARFile(boolean warFile)
           
protected  void validate()
           
 
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

getPortletInstance

protected Portlet getPortletInstance(Portlet portlet)
                              throws IllegalAccessException,
                                     InstantiationException
Throws:
IllegalAccessException
InstantiationException

newAssetRendererFactoryInstances

protected List<AssetRendererFactory<?>> newAssetRendererFactoryInstances(Portlet portlet,
                                                                         com.liferay.registry.Filter filter,
                                                                         Map<String,Object> properties)
                                                                  throws Exception
Throws:
Exception

newAtomCollectionAdapterInstances

protected List<AtomCollectionAdapter<?>> newAtomCollectionAdapterInstances(Portlet portlet,
                                                                           com.liferay.registry.Filter filter,
                                                                           Map<String,Object> properties)
                                                                    throws Exception
Throws:
Exception

newConfigurationActions

protected List<ConfigurationAction> newConfigurationActions(Portlet portlet,
                                                            com.liferay.registry.Filter filter,
                                                            Map<String,Object> properties)
                                                     throws Exception
Throws:
Exception

newControlPanelEntryInstances

protected List<ControlPanelEntry> newControlPanelEntryInstances(Portlet portlet,
                                                                com.liferay.registry.Filter filter,
                                                                Map<String,Object> properties)
                                                         throws Exception
Throws:
Exception

newCustomAttributesDisplayInstances

protected List<CustomAttributesDisplay> newCustomAttributesDisplayInstances(Portlet portlet,
                                                                            com.liferay.registry.Filter filter,
                                                                            Map<String,Object> properties)
                                                                     throws Exception
Throws:
Exception

newFriendlyURLMappers

protected FriendlyURLMapperTracker newFriendlyURLMappers(Portlet portlet)
                                                  throws Exception
Throws:
Exception

newIndexers

protected List<Indexer<?>> newIndexers(Portlet portlet,
                                       com.liferay.registry.Filter filter,
                                       Map<String,Object> properties)
                                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

newOpenSearches

protected List<OpenSearch> newOpenSearches(Portlet portlet,
                                           com.liferay.registry.Filter filter,
                                           Map<String,Object> properties)
                                    throws Exception
Throws:
Exception

newPermissionPropagators

protected List<PermissionPropagator> newPermissionPropagators(Portlet portlet,
                                                              com.liferay.registry.Filter filter,
                                                              Map<String,Object> properties)
                                                       throws Exception
Throws:
Exception

newPollerProcessors

protected List<PollerProcessor> newPollerProcessors(Portlet portlet,
                                                    com.liferay.registry.Filter filter,
                                                    Map<String,Object> properties)
                                             throws Exception
Throws:
Exception

newPOPMessageListeners

protected List<MessageListener> newPOPMessageListeners(Portlet portlet,
                                                       com.liferay.registry.Filter filter,
                                                       Map<String,Object> properties)
                                                throws Exception
Throws:
Exception

newPortletDataHandlers

protected List<PortletDataHandler> newPortletDataHandlers(Portlet portlet,
                                                          com.liferay.registry.Filter filter,
                                                          Map<String,Object> properties)
                                                   throws Exception
Throws:
Exception

newPortletLayoutListeners

protected List<PortletLayoutListener> newPortletLayoutListeners(Portlet portlet,
                                                                com.liferay.registry.Filter filter,
                                                                Map<String,Object> properties)
                                                         throws Exception
Throws:
Exception

newPreferencesValidatorInstances

protected List<PreferencesValidator> newPreferencesValidatorInstances(Portlet portlet,
                                                                      com.liferay.registry.Filter filter,
                                                                      Map<String,Object> properties)
                                                               throws Exception
Throws:
Exception

newSchedulerEventMessageListeners

protected List<SchedulerEventMessageListener> newSchedulerEventMessageListeners(Portlet portlet,
                                                                                com.liferay.registry.Filter filter,
                                                                                Map<String,Object> properties)
                                                                         throws Exception
Throws:
Exception

newSocialActivityInterpreterInstances

protected List<SocialActivityInterpreter> newSocialActivityInterpreterInstances(Portlet portlet,
                                                                                com.liferay.registry.Filter filter,
                                                                                Map<String,Object> properties)
                                                                         throws Exception
Throws:
Exception

newSocialRequestInterpreterInstances

protected List<SocialRequestInterpreter> newSocialRequestInterpreterInstances(Portlet portlet,
                                                                              com.liferay.registry.Filter filter,
                                                                              Map<String,Object> properties)
                                                                       throws Exception
Throws:
Exception

newStagedModelDataHandler

protected List<StagedModelDataHandler<?>> newStagedModelDataHandler(Portlet portlet,
                                                                    com.liferay.registry.Filter filter,
                                                                    Map<String,Object> properties)
                                                             throws Exception
Throws:
Exception

newTemplateHandlers

protected List<TemplateHandler> newTemplateHandlers(Portlet portlet,
                                                    com.liferay.registry.Filter filter,
                                                    Map<String,Object> properties)
                                             throws Exception
Throws:
Exception

newTrashHandlerInstances

protected List<TrashHandler> newTrashHandlerInstances(Portlet portlet,
                                                      com.liferay.registry.Filter filter,
                                                      Map<String,Object> properties)
                                               throws Exception
Throws:
Exception

newURLEncoders

protected List<URLEncoder> newURLEncoders(Portlet portlet,
                                          com.liferay.registry.Filter filter,
                                          Map<String,Object> properties)
                                   throws Exception
Throws:
Exception

newUserNotificationDefinitionInstances

protected List<UserNotificationDefinition> newUserNotificationDefinitionInstances(Portlet portlet,
                                                                                  com.liferay.registry.Filter filter,
                                                                                  Map<String,Object> properties)
                                                                           throws Exception
Throws:
Exception

newUserNotificationHandlerInstances

protected List<UserNotificationHandler> newUserNotificationHandlerInstances(Portlet portlet,
                                                                            com.liferay.registry.Filter filter,
                                                                            Map<String,Object> properties)
                                                                     throws Exception
Throws:
Exception

newWebDAVStorageInstances

protected List<WebDAVStorage> newWebDAVStorageInstances(Portlet portlet,
                                                        com.liferay.registry.Filter filter,
                                                        Map<String,Object> properties)
                                                 throws Exception
Throws:
Exception

newWorkflowHandlerInstances

protected List<WorkflowHandler<?>> newWorkflowHandlerInstances(Portlet portlet,
                                                               com.liferay.registry.Filter filter,
                                                               Map<String,Object> properties)
                                                        throws Exception
Throws:
Exception

newXmlRpcMethodInstances

protected List<Method> newXmlRpcMethodInstances(Portlet portlet,
                                                com.liferay.registry.Filter filter,
                                                Map<String,Object> properties)
                                         throws Exception
Throws:
Exception

validate

protected void validate()

Liferay 7.0-ce-b4