|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.portletcontainer.plugins.pc.PortletContainerDispatcher
public class PortletContainerDispatcher
Created by the Exo Development team. Author : Mestrallet Benjamin
| Nested Class Summary | |
|---|---|
class |
PortletContainerDispatcher.ExceptionHolder
|
| Field Summary | |
|---|---|
static String |
ATTRS
Attrs attribute. |
static String |
BUNDLE
Bundle attribute. |
protected org.exoplatform.container.ExoContainer |
container
Exo container. |
static String |
CONTAINER
Container attribute. |
static String |
EXCEPTION
Portlet processing exception. |
static String |
INPUT
Input attribute. |
static String |
IS_ACTION
Action type attribute. |
static String |
IS_TO_GET_BUNDLE
Is to get bundle attribute. |
static String |
LOCALE_FOR_BUNDLE
Locale attribute. |
static String |
OUTPUT
Output attribute. |
static String |
PORTLET_APPLICATION_NAME
Portlet app name attribute. |
static String |
PORTLET_NAME
Portlet name attribute. |
static String |
SERVLET_MAPPING
Servlet mapping attribute. |
static String |
WINDOW_INFO
Window info attribute. |
| Constructor Summary | |
|---|---|
PortletContainerDispatcher(PortletContainerConf containerConf,
PersistenceManager manager,
PortletApplicationsHolder holder,
PortletApplicationHandler standAloneHandler,
org.exoplatform.container.ExoContainerContext context)
|
|
| Method Summary | |
|---|---|
Map<String,PortletData> |
getAllPortletMetaData()
Overridden method. |
ResourceBundle |
getBundle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String portletAppName,
String portletName,
Locale locale)
Overridden method. |
String |
getDescription()
Overridden method. |
String |
getName()
Overridden method. |
String[] |
getPortalManagedPortletModes(String portletAppName,
String portletName)
Get portal managed portlet modes. |
PortletApp |
getPortletApp(String portletAppName)
Overridden method. |
Collection<String> |
getPortletAppNames()
Get portlet app names. |
Collection<javax.portlet.PortletMode> |
getPortletModes(String portletAppName,
String portletName,
String markup)
Overridden method. |
Map<String,String[]> |
getPortletPreference(Input input)
Overridden method. |
javax.portlet.PortletPreferences |
getPortletPreferences(Input input)
Get portlet preferences. |
Collection<javax.portlet.PortletMode> |
getSupportedPortletModes()
Overridden method. |
Collection<javax.portlet.WindowState> |
getSupportedWindowStates()
Overridden method. |
Collection<javax.portlet.WindowState> |
getWindowStates(String portletAppName,
String portletName,
String markup)
Overridden method. |
static boolean |
isEventPayloadTypeMatches(List<EventDefinition> eds,
Serializable payload,
QName eventName)
Is event payload type matches. |
boolean |
isEventPayloadTypeMatches(String portletAppName,
QName eventName,
Serializable payload)
Overridden method. |
boolean |
isModeSuported(String portletAppName,
String portletName,
String markup,
javax.portlet.PortletMode mode)
Overridden method. |
boolean |
isStateSupported(String portletAppName,
String portletName,
String markup,
javax.portlet.WindowState state)
Overridden method. |
ActionOutput |
processAction(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
ActionInput actionInput)
Overridden method. |
EventOutput |
processEvent(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
EventInput eventInput)
Overridden method. |
RenderOutput |
render(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
RenderInput renderInput)
Overridden method. |
void |
sendAttrs(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Map<String,Object> attrs,
String portletApplicationName)
Overridden method. |
ResourceOutput |
serveResource(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
ResourceInput resourceInput)
Overridden method. |
void |
setDescription(String description)
Overridden method. |
void |
setMajorVersion(int majorVersion)
Overridden method. |
void |
setMinorVersion(int minorVersion)
Overridden method. |
void |
setName(String name)
Overridden method. |
void |
setPortletPreference(Input input,
Map<String,String> preferencesMap)
Overridden method. |
void |
setPortletPreference2(Input input,
Map<String,String[]> preferencesMap)
Set portlet preference with string array. |
void |
setPortletPreferences(Input input,
javax.portlet.PortletPreferences preferences)
Set portlet preferences. |
void |
setProperties(Map<String,String> properties)
Overridden method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String INPUT
public static final String OUTPUT
public static final String WINDOW_INFO
public static final String IS_ACTION
public static final String IS_TO_GET_BUNDLE
public static final String LOCALE_FOR_BUNDLE
public static final String BUNDLE
public static final String PORTLET_APPLICATION_NAME
public static final String PORTLET_NAME
public static final String CONTAINER
public static final String EXCEPTION
public static final String SERVLET_MAPPING
public static final String ATTRS
protected org.exoplatform.container.ExoContainer container
| Constructor Detail |
|---|
public PortletContainerDispatcher(PortletContainerConf containerConf,
PersistenceManager manager,
PortletApplicationsHolder holder,
PortletApplicationHandler standAloneHandler,
org.exoplatform.container.ExoContainerContext context)
containerConf - PC confmanager - persistence managerholder - application holderstandAloneHandler - standalone app handlercontext - exo container context| Method Detail |
|---|
public final void setName(String name)
setName in interface org.exoplatform.container.component.ComponentPluginsetName in interface PortletContainerPluginname - plugin namePortletContainerPlugin.setName(java.lang.String)public final String getName()
getName in interface org.exoplatform.container.component.ComponentPluginComponentPlugin.getName()public final void setDescription(String description)
setDescription in interface org.exoplatform.container.component.ComponentPluginsetDescription in interface PortletContainerPlugindescription - descriptionPortletContainerPlugin.setDescription(java.lang.String)public final String getDescription()
getDescription in interface org.exoplatform.container.component.ComponentPluginComponentPlugin.getDescription()public final void setMajorVersion(int majorVersion)
setMajorVersion in interface PortletContainerPluginmajorVersion - major versionPortletContainerPlugin.setMajorVersion(int)public final void setMinorVersion(int minorVersion)
setMinorVersion in interface PortletContainerPluginminorVersion - minor versionPortletContainerPlugin.setMinorVersion(int)public final void setProperties(Map<String,String> properties)
setProperties in interface PortletContainerPluginproperties - propertiesPortletContainerPlugin.setProperties(java.util.Map)public final Collection<javax.portlet.PortletMode> getSupportedPortletModes()
getSupportedPortletModes in interface PortletContainerPluginPortletContainerPlugin.getSupportedPortletModes()public final Collection<javax.portlet.WindowState> getSupportedWindowStates()
getSupportedWindowStates in interface PortletContainerPluginPortletContainerPlugin.getSupportedWindowStates()
public final Collection<javax.portlet.PortletMode> getPortletModes(String portletAppName,
String portletName,
String markup)
getPortletModes in interface PortletContainerPluginportletAppName - portlet app nameportletName - portlet namemarkup - markup
PortletContainerPlugin.getPortletModes(java.lang.String,
java.lang.String, java.lang.String)
public final String[] getPortalManagedPortletModes(String portletAppName,
String portletName)
PortletContainerPlugin
getPortalManagedPortletModes in interface PortletContainerPlugin
public final boolean isModeSuported(String portletAppName,
String portletName,
String markup,
javax.portlet.PortletMode mode)
isModeSuported in interface PortletContainerPluginportletAppName - portlet app nameportletName - portlet namemarkup - markupmode - portlet mode
PortletContainerPlugin.isModeSuported(java.lang.String,
java.lang.String, java.lang.String, javax.portlet.PortletMode)
public final Collection<javax.portlet.WindowState> getWindowStates(String portletAppName,
String portletName,
String markup)
getWindowStates in interface PortletContainerPluginportletAppName - portlet app nameportletName - portlet namemarkup - markup
PortletContainerPlugin.getWindowStates(java.lang.String,
java.lang.String, java.lang.String)
public final boolean isStateSupported(String portletAppName,
String portletName,
String markup,
javax.portlet.WindowState state)
isStateSupported in interface PortletContainerPluginportletAppName - portlet app nameportletName - portlet namemarkup - markupstate - window state
PortletContainerPlugin.isStateSupported(java.lang.String,
java.lang.String, java.lang.String, javax.portlet.WindowState)public final Map<String,PortletData> getAllPortletMetaData()
getAllPortletMetaData in interface PortletContainerPluginPortletContainerPlugin.getAllPortletMetaData()public final Collection<String> getPortletAppNames()
getPortletAppNames in interface PortletContainerPluginpublic final PortletApp getPortletApp(String portletAppName)
getPortletApp in interface PortletContainerPluginportletAppName - portlet application name
PortletContainerPlugin.getPortletApp(java.lang.String)
public final boolean isEventPayloadTypeMatches(String portletAppName,
QName eventName,
Serializable payload)
isEventPayloadTypeMatches in interface PortletContainerPluginportletAppName - portlet application nameeventName - event namepayload - payload
PortletContainerPlugin.isEventPayloadTypeMatches(java.lang.String,
javax.xml.namespace.QName, Serializable)
public static boolean isEventPayloadTypeMatches(List<EventDefinition> eds,
Serializable payload,
QName eventName)
eds - payload - eventName -
public final void setPortletPreference(Input input,
Map<String,String> preferencesMap)
throws PortletContainerException
setPortletPreference in interface PortletContainerPlugininput - inputpreferencesMap - preferences map
PortletContainerException - exceptionPortletContainerPlugin.setPortletPreference(org.exoplatform.services.portletcontainer.pci.Input,
java.util.Map)public final Map<String,String[]> getPortletPreference(Input input)
getPortletPreference in interface PortletContainerPlugininput - input
PortletContainerPlugin.getPortletPreference(org.exoplatform.services.portletcontainer.pci.Input)public javax.portlet.PortletPreferences getPortletPreferences(Input input)
PortletContainerPlugin
getPortletPreferences in interface PortletContainerPlugininput - input
public void setPortletPreference2(Input input,
Map<String,String[]> preferencesMap)
throws PortletContainerException
PortletContainerPlugin
setPortletPreference2 in interface PortletContainerPlugininput - inputpreferencesMap - preferences
PortletContainerException - exception
public void setPortletPreferences(Input input,
javax.portlet.PortletPreferences preferences)
throws PortletContainerException
PortletContainerPlugin
setPortletPreferences in interface PortletContainerPlugininput - inputpreferences - preferences
PortletContainerException - exception
public final ResourceBundle getBundle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String portletAppName,
String portletName,
Locale locale)
throws PortletContainerException
getBundle in interface PortletContainerPluginrequest - requestresponse - responseportletAppName - portlet application nameportletName - portlet namelocale - locale
PortletContainerException - exceptionPortletContainerPlugin.getBundle(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse, java.lang.String,
java.lang.String, java.util.Locale)
public final ActionOutput processAction(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
ActionInput actionInput)
throws PortletContainerException
processAction in interface PortletContainerPluginhttpServletRequest - requesthttpServletResponse - responseactionInput - input
PortletContainerException - exceptionPortletContainerPlugin.processAction(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse,
org.exoplatform.services.portletcontainer.pci.ActionInput)
public final EventOutput processEvent(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
EventInput eventInput)
throws PortletContainerException
processEvent in interface PortletContainerPluginhttpServletRequest - requesthttpServletResponse - responseeventInput - input
PortletContainerException - exceptionPortletContainerPlugin.processEvent(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse,
org.exoplatform.services.portletcontainer.pci.EventInput)
public final RenderOutput render(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
RenderInput renderInput)
throws PortletContainerException
render in interface PortletContainerPluginhttpServletRequest - requetshttpServletResponse - responserenderInput - input
PortletContainerException - exceptionPortletContainerPlugin.render(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse,
org.exoplatform.services.portletcontainer.pci.RenderInput)
public final ResourceOutput serveResource(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
ResourceInput resourceInput)
throws PortletContainerException
serveResource in interface PortletContainerPluginhttpServletRequest - requesthttpServletResponse - responseresourceInput - input
PortletContainerException - exceptionPortletContainerPlugin.serveResource(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse,
org.exoplatform.services.portletcontainer.pci.ResourceInput)
public final void sendAttrs(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Map<String,Object> attrs,
String portletApplicationName)
throws PortletContainerException
sendAttrs in interface PortletContainerPluginrequest - requestresponse - responseattrs - attrsportletApplicationName - portlet application name
PortletContainerException - exceptionPortletContainerPlugin.sendAttrs(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse, java.util.Map,
java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||