public abstract class PortalGenericPortlet
extends javax.portlet.GenericPortlet
| Modifier and Type | Field and Description |
|---|---|
static ThreadLocal<ClassLoader> |
CLASS_LOADER_CONTEXT
Class loader context.
|
| Constructor and Description |
|---|
PortalGenericPortlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addNotification(PortalControllerContext pcc,
String label,
NotificationsType notificationType)
Display a notification with a key label
|
protected void |
addNotification(PortalControllerContext pcc,
String label,
NotificationsType notificationType,
Object... args)
Display a notification with a key label and variables
|
IBundleFactory |
getBundleFactory() |
IDirectoryService |
getDirectoryService() |
IMenubarService |
getMenubarService() |
protected String |
getMessage(PortalControllerContext pcc,
String label)
Return a label in resources files
|
protected String |
getMessage(PortalControllerContext pcc,
String label,
Object... args)
Return a label in resources files
|
INotificationsService |
getNotificationsService() |
IPortalUrlFactory |
getPortalUrlFactory() |
ITraceService |
getTraceService() |
destroy, doDispatch, doEdit, doHeaders, doHelp, doView, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, getTitle, init, init, processAction, processEvent, render, serveResourcepublic static final ThreadLocal<ClassLoader> CLASS_LOADER_CONTEXT
public IDirectoryService getDirectoryService()
public ITraceService getTraceService()
public INotificationsService getNotificationsService()
public IBundleFactory getBundleFactory()
public IPortalUrlFactory getPortalUrlFactory()
public IMenubarService getMenubarService()
protected String getMessage(PortalControllerContext pcc, String label)
pcc - label - the key in resources bundleprotected String getMessage(PortalControllerContext pcc, String label, Object... args)
pcc - label - the key in resources bundleargs - some argsprotected void addNotification(PortalControllerContext pcc, String label, NotificationsType notificationType)
pcc - label - the key in resources bundlenotificationType - the notification typeprotected void addNotification(PortalControllerContext pcc, String label, NotificationsType notificationType, Object... args)
pcc - label - the key in resources bundlenotificationType - the notification typeargs - variablesCopyright © 2021. All rights reserved.