public class PortletBagFactory extends Object
| Constructor and Description |
|---|
PortletBagFactory() |
| Modifier and Type | Method and Description |
|---|---|
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() |
public com.liferay.portal.kernel.portlet.PortletBag create(com.liferay.portal.kernel.model.Portlet portlet)
throws Exception
Exceptionpublic com.liferay.portal.kernel.portlet.PortletBag create(com.liferay.portal.kernel.model.Portlet portlet,
boolean destroyPrevious)
throws Exception
Exceptionpublic void setClassLoader(ClassLoader classLoader)
public void setServletContext(javax.servlet.ServletContext servletContext)
public void setWARFile(boolean warFile)
protected String getPluginPropertyValue(String propertyKey) throws Exception
Exceptionprotected Portlet getPortletInstance(com.liferay.portal.kernel.model.Portlet portlet) throws IllegalAccessException, InstantiationException
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
Exceptionprotected 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
Exceptionprotected 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
Exceptionprotected 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
Exceptionprotected 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
Exceptionprotected com.liferay.portal.kernel.portlet.FriendlyURLMapperTracker newFriendlyURLMappers(com.liferay.portal.kernel.model.Portlet portlet)
throws Exception
Exceptionprotected 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
Exceptionprotected Object newInstance(Class<?> interfaceClass, String implClassName) throws Exception
Exceptionprotected Object newInstance(Class<?>[] interfaceClasses, String implClassName) throws Exception
Exceptionprotected 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
Exceptionprotected 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
Exceptionprotected 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
Exceptionprotected 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
Exceptionprotected 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
Exceptionprotected 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
Exceptionprotected List<PreferencesValidator> newPreferencesValidatorInstances(com.liferay.portal.kernel.model.Portlet portlet, com.liferay.registry.Filter filter, Map<String,Object> properties) throws Exception
Exceptionprotected 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
Exceptionprotected 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
Exceptionprotected 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
Exceptionprotected 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
Exceptionprotected 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
Exceptionprotected 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
Exceptionprotected 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
Exceptionprotected 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
Exceptionprotected 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
Exceptionprotected 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
Exceptionprotected 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
Exceptionprotected 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
Exceptionprotected void validate()