public abstract class CMSPortlet
extends org.osivia.portal.api.portlet.PortalGenericPortlet
PortalGenericPortlet| Constructor and Description |
|---|
CMSPortlet()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCommentAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
String content,
String parentId)
Add or reply comment action.
|
protected NuxeoController |
createNuxeoController(javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse)
Creates Nuxeo controller.
|
protected void |
deleteCommentAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
String id)
Delete comment action.
|
void |
destroy()
Performs nuxeo service .
|
String |
formatResourceLastModified()
Format resource last modified.
|
org.osivia.portal.core.cms.ICMSService |
getCMSService()
Get CMS service.
|
INuxeoService |
getNuxeoNavigationService()
Deprecated.
see getNuxeoService
|
INuxeoService |
getNuxeoService()
Get Nuxeo service.
|
void |
init(javax.portlet.PortletConfig config)
Performs nuxeo service initialization.
|
boolean |
isResourceExpired(String sOriginalDate,
javax.portlet.ResourceResponse resourceResponse,
String refreshMs)
Checks if resource has expired.
|
protected void |
processCommentAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
Process comment action.
|
void |
serveResource(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response)
Serve CMS Resource.
|
boolean |
serveResourceByCache(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse)
Serve resource by cache.
|
protected void |
serveResourceEditor(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
String editorId)
Serve resource for editor properties.
|
protected void |
serveResourceException(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse,
NuxeoException e)
Serve ressource exception.
|
protected void |
serveResourceFancytreeLazyLoading(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response)
Serve resource for fancytree lazy loading.
|
addNotification, addNotification, getBundleFactory, getDirectoryService, getMenubarService, getMessage, getMessage, getNotificationsService, getPortalUrlFactory, getTraceServicedoDispatch, doEdit, doHeaders, doHelp, doView, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, getTitle, init, processAction, processEvent, renderpublic org.osivia.portal.core.cms.ICMSService getCMSService()
public INuxeoService getNuxeoService()
@Deprecated public INuxeoService getNuxeoNavigationService() throws Exception
Exception - the exceptionpublic void init(javax.portlet.PortletConfig config)
throws javax.portlet.PortletException
init in interface javax.portlet.Portletinit in class javax.portlet.GenericPortletconfig - the configjavax.portlet.PortletException - the portlet exceptionGenericPortlet.init(javax.portlet.PortletConfig)public void destroy()
destroy in interface javax.portlet.Portletdestroy in class javax.portlet.GenericPortletGenericPortlet.destroy()public String formatResourceLastModified()
public boolean isResourceExpired(String sOriginalDate, javax.portlet.ResourceResponse resourceResponse, String refreshMs)
sOriginalDate - the original dateresourceResponse - the resource responseprotected void processCommentAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws javax.portlet.PortletException,
IOException
request - action requestresponse - action responsejavax.portlet.PortletExceptionIOExceptionprotected void addCommentAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
String content,
String parentId)
throws javax.portlet.PortletException
request - action requestresponse - action responsecontent - comment contentparentId - parent comment identifier, may be nulljavax.portlet.PortletExceptionprotected void deleteCommentAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
String id)
throws javax.portlet.PortletException
request - action requestresponse - action responseid - comment identifierjavax.portlet.PortletExceptionpublic boolean serveResourceByCache(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse)
throws javax.portlet.PortletException,
IOException
resourceRequest - the resource requestresourceResponse - the resource responsejavax.portlet.PortletException - the portlet exceptionIOException - Signals that an I/O exception has occurred.protected void serveResourceException(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse,
NuxeoException e)
throws javax.portlet.PortletException,
IOException
resourceRequest - resource requestresourceResponse - resource responsee - Nuxeo exceptionjavax.portlet.PortletException - the portlet exceptionIOException - Signals that an I/O exception has occurred.public void serveResource(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response)
throws javax.portlet.PortletException,
IOException
serveResource in interface javax.portlet.ResourceServingPortletserveResource in class javax.portlet.GenericPortletrequest - resource requestresponse - resource responsejavax.portlet.PortletException - the portlet exceptionIOException - Signals that an I/O exception has occurred.protected void serveResourceFancytreeLazyLoading(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response)
throws javax.portlet.PortletException,
IOException
request - resource requestresponse - resource responsejavax.portlet.PortletExceptionIOExceptionprotected void serveResourceEditor(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
String editorId)
throws javax.portlet.PortletException,
IOException
request - resource requestresponse - resource responseeditorId - editor identifierjavax.portlet.PortletExceptionIOExceptionprotected NuxeoController createNuxeoController(javax.portlet.PortletRequest portletRequest, javax.portlet.PortletResponse portletResponse)
portletRequest - portlet requestportletResponse - portlet responseCopyright © 2019. All rights reserved.