com.liferay.portlet
Class PortletBagFactory
java.lang.Object
com.liferay.portlet.PortletBagFactory
public class PortletBagFactory
- extends Object
|
Method Summary |
com.liferay.portal.kernel.portlet.PortletBag |
create(com.liferay.portal.kernel.model.Portlet portlet)
|
com.liferay.portal.kernel.portlet.PortletBag |
create(com.liferay.portal.kernel.model.Portlet portlet,
boolean destroyPrevious)
|
protected String |
getContent(String fileName)
|
protected String |
getPluginPropertyValue(String propertyKey)
|
protected Portlet |
getPortletInstance(com.liferay.portal.kernel.model.Portlet portlet)
|
protected List<com.liferay.asset.kernel.model.AssetRendererFactory<?>> |
newAssetRendererFactoryInstances(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
|
protected List<com.liferay.portal.kernel.atom.AtomCollectionAdapter<?>> |
newAtomCollectionAdapterInstances(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
|
protected List<com.liferay.portal.kernel.portlet.ConfigurationAction> |
newConfigurationActions(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
|
protected List<com.liferay.portal.kernel.portlet.ControlPanelEntry> |
newControlPanelEntryInstances(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
|
protected List<com.liferay.expando.kernel.model.CustomAttributesDisplay> |
newCustomAttributesDisplayInstances(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
|
protected com.liferay.portal.kernel.portlet.FriendlyURLMapperTracker |
newFriendlyURLMappers(com.liferay.portal.kernel.model.Portlet portlet)
|
protected List<com.liferay.portal.kernel.search.Indexer<?>> |
newIndexers(com.liferay.portal.kernel.model.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<com.liferay.portal.kernel.search.OpenSearch> |
newOpenSearches(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
|
protected List<com.liferay.portal.kernel.security.permission.PermissionPropagator> |
newPermissionPropagators(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
|
protected List<com.liferay.portal.kernel.poller.PollerProcessor> |
newPollerProcessors(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
|
protected List<com.liferay.portal.kernel.pop.MessageListener> |
newPOPMessageListeners(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
|
protected List<com.liferay.exportimport.kernel.lar.PortletDataHandler> |
newPortletDataHandlers(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
|
protected List<com.liferay.portal.kernel.portlet.PortletLayoutListener> |
newPortletLayoutListeners(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
|
protected List<PreferencesValidator> |
newPreferencesValidatorInstances(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
|
protected List<com.liferay.portal.kernel.scheduler.messaging.SchedulerEventMessageListener> |
newSchedulerEventMessageListeners(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
|
protected List<com.liferay.social.kernel.model.SocialActivityInterpreter> |
newSocialActivityInterpreterInstances(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
|
protected List<com.liferay.social.kernel.model.SocialRequestInterpreter> |
newSocialRequestInterpreterInstances(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
|
protected List<com.liferay.exportimport.kernel.lar.StagedModelDataHandler<?>> |
newStagedModelDataHandler(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
|
protected List<com.liferay.portal.kernel.template.TemplateHandler> |
newTemplateHandlers(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
|
protected List<com.liferay.portal.kernel.trash.TrashHandler> |
newTrashHandlerInstances(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
|
protected List<com.liferay.portal.kernel.servlet.URLEncoder> |
newURLEncoders(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
|
protected List<com.liferay.portal.kernel.notifications.UserNotificationDefinition> |
newUserNotificationDefinitionInstances(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
|
protected List<com.liferay.portal.kernel.notifications.UserNotificationHandler> |
newUserNotificationHandlerInstances(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
|
protected List<com.liferay.portal.kernel.webdav.WebDAVStorage> |
newWebDAVStorageInstances(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
|
protected List<com.liferay.portal.kernel.workflow.WorkflowHandler<?>> |
newWorkflowHandlerInstances(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
|
protected List<com.liferay.portal.kernel.xmlrpc.Method> |
newXmlRpcMethodInstances(com.liferay.portal.kernel.model.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 |
PortletBagFactory
public PortletBagFactory()
create
public com.liferay.portal.kernel.portlet.PortletBag create(com.liferay.portal.kernel.model.Portlet portlet)
throws Exception
- Throws:
Exception
create
public com.liferay.portal.kernel.portlet.PortletBag create(com.liferay.portal.kernel.model.Portlet portlet,
boolean destroyPrevious)
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- See Also:
FriendlyURLMapperTrackerImpl.getContent(ClassLoader, String)
getPluginPropertyValue
protected String getPluginPropertyValue(String propertyKey)
throws Exception
- Throws:
Exception
getPortletInstance
protected Portlet getPortletInstance(com.liferay.portal.kernel.model.Portlet portlet)
throws IllegalAccessException,
InstantiationException
- Throws:
IllegalAccessException
InstantiationException
newAssetRendererFactoryInstances
protected List<com.liferay.asset.kernel.model.AssetRendererFactory<?>> newAssetRendererFactoryInstances(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
throws Exception
- Throws:
Exception
newAtomCollectionAdapterInstances
protected List<com.liferay.portal.kernel.atom.AtomCollectionAdapter<?>> newAtomCollectionAdapterInstances(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
throws Exception
- Throws:
Exception
newConfigurationActions
protected List<com.liferay.portal.kernel.portlet.ConfigurationAction> newConfigurationActions(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
throws Exception
- Throws:
Exception
newControlPanelEntryInstances
protected List<com.liferay.portal.kernel.portlet.ControlPanelEntry> newControlPanelEntryInstances(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
throws Exception
- Throws:
Exception
newCustomAttributesDisplayInstances
protected List<com.liferay.expando.kernel.model.CustomAttributesDisplay> newCustomAttributesDisplayInstances(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
throws Exception
- Throws:
Exception
newFriendlyURLMappers
protected com.liferay.portal.kernel.portlet.FriendlyURLMapperTracker newFriendlyURLMappers(com.liferay.portal.kernel.model.Portlet portlet)
throws Exception
- Throws:
Exception
newIndexers
protected List<com.liferay.portal.kernel.search.Indexer<?>> newIndexers(com.liferay.portal.kernel.model.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<com.liferay.portal.kernel.search.OpenSearch> newOpenSearches(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
throws Exception
- Throws:
Exception
newPermissionPropagators
protected List<com.liferay.portal.kernel.security.permission.PermissionPropagator> newPermissionPropagators(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
throws Exception
- Throws:
Exception
newPollerProcessors
protected List<com.liferay.portal.kernel.poller.PollerProcessor> newPollerProcessors(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
throws Exception
- Throws:
Exception
newPOPMessageListeners
protected List<com.liferay.portal.kernel.pop.MessageListener> newPOPMessageListeners(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
throws Exception
- Throws:
Exception
newPortletDataHandlers
protected List<com.liferay.exportimport.kernel.lar.PortletDataHandler> newPortletDataHandlers(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
throws Exception
- Throws:
Exception
newPortletLayoutListeners
protected List<com.liferay.portal.kernel.portlet.PortletLayoutListener> newPortletLayoutListeners(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
throws Exception
- Throws:
Exception
newPreferencesValidatorInstances
protected List<PreferencesValidator> newPreferencesValidatorInstances(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
throws Exception
- Throws:
Exception
newSchedulerEventMessageListeners
protected List<com.liferay.portal.kernel.scheduler.messaging.SchedulerEventMessageListener> newSchedulerEventMessageListeners(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
throws Exception
- Throws:
Exception
newSocialActivityInterpreterInstances
protected List<com.liferay.social.kernel.model.SocialActivityInterpreter> newSocialActivityInterpreterInstances(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
throws Exception
- Throws:
Exception
newSocialRequestInterpreterInstances
protected List<com.liferay.social.kernel.model.SocialRequestInterpreter> newSocialRequestInterpreterInstances(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
throws Exception
- Throws:
Exception
newStagedModelDataHandler
protected List<com.liferay.exportimport.kernel.lar.StagedModelDataHandler<?>> newStagedModelDataHandler(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
throws Exception
- Throws:
Exception
newTemplateHandlers
protected List<com.liferay.portal.kernel.template.TemplateHandler> newTemplateHandlers(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
throws Exception
- Throws:
Exception
newTrashHandlerInstances
protected List<com.liferay.portal.kernel.trash.TrashHandler> newTrashHandlerInstances(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
throws Exception
- Throws:
Exception
newURLEncoders
protected List<com.liferay.portal.kernel.servlet.URLEncoder> newURLEncoders(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
throws Exception
- Throws:
Exception
newUserNotificationDefinitionInstances
protected List<com.liferay.portal.kernel.notifications.UserNotificationDefinition> newUserNotificationDefinitionInstances(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
throws Exception
- Throws:
Exception
newUserNotificationHandlerInstances
protected List<com.liferay.portal.kernel.notifications.UserNotificationHandler> newUserNotificationHandlerInstances(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
throws Exception
- Throws:
Exception
newWebDAVStorageInstances
protected List<com.liferay.portal.kernel.webdav.WebDAVStorage> newWebDAVStorageInstances(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
throws Exception
- Throws:
Exception
newWorkflowHandlerInstances
protected List<com.liferay.portal.kernel.workflow.WorkflowHandler<?>> newWorkflowHandlerInstances(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
throws Exception
- Throws:
Exception
newXmlRpcMethodInstances
protected List<com.liferay.portal.kernel.xmlrpc.Method> newXmlRpcMethodInstances(com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.registry.Filter filter,
Map<String,Object> properties)
throws Exception
- Throws:
Exception
validate
protected void validate()