|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.portletcontainer.impl.PortletContainerServiceImpl
public class PortletContainerServiceImpl
Created by the Exo Development team. Author : Mestrallet Benjamin benjamin.mestrallet@exoplatform.com
| Constructor Summary | |
|---|---|
PortletContainerServiceImpl(org.exoplatform.container.ExoContainerContext context,
PortletContainerConf config)
|
|
| Method Summary | |
|---|---|
void |
addPlugin(PortletContainerPlugin plugin)
Overridden method. |
protected PortletContainerPlugin |
findPluginByPAPPName(String papp)
|
Map<String,PortletData> |
getAllPortletMetaData()
Get all portlet metadata. |
Map<String,PortletData> |
getAllPortletMetaData(boolean localPortlet)
Get all portlet metadata with boolean option which indicate should we return local or remote portlets. |
Map<String,PortletData> |
getAllPortletMetaData(String pluginName)
Get all portlet metadata with string option which indicate the plugin's prefix or the exact name. |
ResourceBundle |
getBundle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String portletAppName,
String portletName,
Locale locale)
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<String> |
getPortletAppNames(boolean localPortlet)
Get portlet app names with boolean option which indicate should we return local or remote portlets. |
Collection<String> |
getPortletAppNames(String pluginName)
Get portlet app names with string option which indicate the plugin's prefix or the exact name. |
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)
|
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. |
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 request,
javax.servlet.http.HttpServletResponse response,
ActionInput input)
Overridden method. |
EventOutput |
processEvent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
EventInput input)
Overridden method. |
RenderOutput |
render(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
RenderInput input)
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 request,
javax.servlet.http.HttpServletResponse response,
ResourceInput input)
Overridden method. |
void |
setDescription(String description)
Overridden method. |
void |
setMajorVersion(int version)
Overridden method. |
void |
setMinorVersion(int version)
Overridden method. |
void |
setName(String name)
Overridden method. |
void |
setPortletPreference(Input input,
Map<String,String> preferences)
Overridden method. |
void |
setPortletPreference2(Input input,
Map<String,String[]> preferences)
|
void |
setPortletPreferences(Input input,
javax.portlet.PortletPreferences preferences)
|
void |
setProperties(Map<String,String> properties)
Overridden method. |
void |
start()
Overridden method. |
void |
stop()
Overridden method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PortletContainerServiceImpl(org.exoplatform.container.ExoContainerContext context,
PortletContainerConf config)
context - exo container context| Method Detail |
|---|
public final void addPlugin(PortletContainerPlugin plugin)
addPlugin in interface PortletContainerServiceplugin - pluginPortletContainerService.addPlugin(org.exoplatform.services.portletcontainer.PortletContainerPlugin)public final void start()
start in interface org.picocontainer.StartableStartable.start()public final void stop()
stop in interface org.picocontainer.StartableStartable.stop()public final void setName(String name)
setName in interface PortletContainerServicename - namePortletContainerService.setName(java.lang.String)public final void setDescription(String description)
setDescription in interface PortletContainerServicedescription - descriptionPortletContainerService.setDescription(java.lang.String)public final void setMajorVersion(int version)
setMajorVersion in interface PortletContainerServiceversion - majorPortletContainerService.setMajorVersion(int)public final void setMinorVersion(int version)
setMinorVersion in interface PortletContainerServiceversion - minorPortletContainerService.setMinorVersion(int)public final void setProperties(Map<String,String> properties)
setProperties in interface PortletContainerServiceproperties - propertiesPortletContainerService.setProperties(java.util.Map)public final Collection<javax.portlet.PortletMode> getSupportedPortletModes()
getSupportedPortletModes in interface PortletContainerServicePortletContainerService.getSupportedPortletModes()public final Collection<javax.portlet.WindowState> getSupportedWindowStates()
getSupportedWindowStates in interface PortletContainerServicePortletContainerService.getSupportedWindowStates()
public final Collection<javax.portlet.PortletMode> getPortletModes(String portletAppName,
String portletName,
String markup)
getPortletModes in interface PortletContainerServiceportletAppName - app nameportletName - portlet namemarkup - makrup type
PortletContainerService.getPortletModes(java.lang.String,
java.lang.String, java.lang.String)
public final String[] getPortalManagedPortletModes(String portletAppName,
String portletName)
PortletContainerService
getPortalManagedPortletModes in interface PortletContainerService
public final boolean isModeSuported(String portletAppName,
String portletName,
String markup,
javax.portlet.PortletMode mode)
isModeSuported in interface PortletContainerServiceportletAppName - app nameportletName - portlet namemarkup - markup typemode - portlet mode
PortletContainerService.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 PortletContainerServiceportletAppName - app nameportletName - portlet namemarkup - markup type
PortletContainerService.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 PortletContainerServiceportletAppName - app nameportletName - portlet namemarkup - markup type (MIME type)state - window state
PortletContainerService.isStateSupported(java.lang.String,
java.lang.String, java.lang.String, javax.portlet.WindowState)public final Map<String,PortletData> getAllPortletMetaData()
getAllPortletMetaData in interface PortletContainerServicePortletContainerService.getAllPortletMetaData()public final Map<String,PortletData> getAllPortletMetaData(boolean localPortlet)
getAllPortletMetaData in interface PortletContainerServicePortletContainerService.getAllPortletMetaData()public final Map<String,PortletData> getAllPortletMetaData(String pluginName)
getAllPortletMetaData in interface PortletContainerServicePortletContainerService.getAllPortletMetaData()public final Collection<String> getPortletAppNames()
getPortletAppNames in interface PortletContainerServicepublic final Collection<String> getPortletAppNames(String pluginName)
getPortletAppNames in interface PortletContainerServicepublic final Collection<String> getPortletAppNames(boolean localPortlet)
getPortletAppNames in interface PortletContainerServicepublic final PortletApp getPortletApp(String portletAppName)
getPortletApp in interface PortletContainerServiceportletAppName - app name
PortletContainerService.getPortletApp(java.lang.String)
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 PortletContainerServicerequest - requestresponse - responseportletAppName - app nameportletName - portlet namelocale - locale
PortletContainerException - exceptionPortletContainerService.getBundle(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse, java.lang.String,
java.lang.String, java.util.Locale)protected final PortletContainerPlugin findPluginByPAPPName(String papp)
papp - portlet app
public final void setPortletPreference(Input input,
Map<String,String> preferences)
throws PortletContainerException
setPortletPreference in interface PortletContainerServiceinput - inputpreferences - preferences
PortletContainerException - exceptionPortletContainerService.setPortletPreference(org.exoplatform.services.portletcontainer.pci.Input,
java.util.Map)
public final void setPortletPreference2(Input input,
Map<String,String[]> preferences)
throws PortletContainerException
setPortletPreference2 in interface PortletContainerServiceinput - inputpreferences - preferences
PortletContainerException - exceptionpublic final Map<String,String[]> getPortletPreference(Input input)
getPortletPreference in interface PortletContainerServiceinput - input
PortletContainerService.getPortletPreference(org.exoplatform.services.portletcontainer.pci.Input)
public final void setPortletPreferences(Input input,
javax.portlet.PortletPreferences preferences)
throws PortletContainerException
setPortletPreferences in interface PortletContainerServiceinput - inputpreferences - preferences
PortletContainerException - exceptionpublic final javax.portlet.PortletPreferences getPortletPreferences(Input input)
getPortletPreferences in interface PortletContainerServiceinput - input
public final ActionOutput processAction(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ActionInput input)
throws PortletContainerException
processAction in interface PortletContainerServicerequest - requestresponse - responseinput - input
PortletContainerException - exceptionPortletContainerService.processAction(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse,
org.exoplatform.services.portletcontainer.pci.ActionInput)
public final EventOutput processEvent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
EventInput input)
throws PortletContainerException
processEvent in interface PortletContainerServicerequest - requestresponse - responseinput - input
PortletContainerException - exceptionPortletContainerService.processEvent(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse,
org.exoplatform.services.portletcontainer.pci.EventInput)
public final ResourceOutput serveResource(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ResourceInput input)
throws PortletContainerException
serveResource in interface PortletContainerServicerequest - requestresponse - responseinput - input
PortletContainerException - exceptionPortletContainerService.serveResource(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse,
org.exoplatform.services.portletcontainer.pci.ResourceInput)
public final RenderOutput render(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
RenderInput input)
throws PortletContainerException
render in interface PortletContainerServicerequest - requestresponse - responseinput - input
PortletContainerException - exceptionPortletContainerService.render(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse,
org.exoplatform.services.portletcontainer.pci.RenderInput)
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 PortletContainerServicerequest - requestresponse - responseattrs - attrsportletApplicationName - app name
PortletContainerException - exceptionPortletContainerService.sendAttrs(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse, java.util.Map,
java.lang.String)
public final boolean isEventPayloadTypeMatches(String portletAppName,
QName eventName,
Serializable payload)
throws PortletContainerException
isEventPayloadTypeMatches in interface PortletContainerServiceportletAppName - app nameeventName - event namepayload - payload
PortletContainerException - exceptionorg.exoplatform.services.portletcontainer.PortletContainerService#isEventPayloadTypeMatches(java.lang.String,
Serializable, java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||