public class ViewDocumentPortlet
extends fr.toutatice.portail.cms.nuxeo.api.CMSPortlet
CMSPortlet| Modifier and Type | Field and Description |
|---|---|
static String |
HIDE_ATTACHMENTS_WINDOW_PROPERTY
Hide attachment indicator window property name.
|
static String |
HIDE_METADATA_WINDOW_PROPERTY
Hide metadata indicator window property name.
|
static String |
ONLY_DESCRIPTION_WINDOW_PROPERTY
Display only description indicator window property name.
|
static String |
ONLY_REMOTE_SECTIONS_WINDOW_PROPERTY
Display only remote sections indicator window property name.
|
static String |
PATH_WINDOW_PROPERTY
Path window property name.
|
static String |
REMOTE_SECTIONS_PAGE_WINDOW_PROPERTY
Indicates if portlet is in remote sections list page.
|
| Constructor and Description |
|---|
ViewDocumentPortlet()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
areCommentsEnabled(org.osivia.portal.core.cms.ICMSService cmsService,
org.osivia.portal.core.cms.CMSPublicationInfos publicationInfos,
org.osivia.portal.core.cms.CMSServiceCtx cmsContext) |
void |
doAdmin(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
Admin view display.
|
protected void |
doView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response) |
protected void |
generatePublishedDocumentsInfos(fr.toutatice.portail.cms.nuxeo.api.NuxeoController nuxeoController,
org.nuxeo.ecm.automation.client.model.Document document,
fr.toutatice.portail.cms.nuxeo.api.domain.DocumentDTO documentDTO,
Boolean readFilter)
Get remote published documents.
|
void |
init(javax.portlet.PortletConfig config) |
void |
processAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response) |
addCommentAction, createNuxeoController, deleteCommentAction, destroy, formatResourceLastModified, getCMSService, getNuxeoNavigationService, getNuxeoService, isResourceExpired, processCommentAction, serveResource, serveResourceByCache, serveResourceException, serveResourceFancytreeLazyLoadingaddNotification, addNotification, getBundleFactory, getDirectoryService, getMenubarService, getMessage, getMessage, getNotificationsService, getPortalUrlFactory, getTraceServicedoDispatch, doEdit, doHeaders, doHelp, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, getTitle, init, processEvent, renderpublic static final String PATH_WINDOW_PROPERTY
public static final String ONLY_DESCRIPTION_WINDOW_PROPERTY
public static final String ONLY_REMOTE_SECTIONS_WINDOW_PROPERTY
public static final String REMOTE_SECTIONS_PAGE_WINDOW_PROPERTY
public static final String HIDE_METADATA_WINDOW_PROPERTY
public static final String HIDE_ATTACHMENTS_WINDOW_PROPERTY
public void init(javax.portlet.PortletConfig config)
throws javax.portlet.PortletException
init in interface javax.portlet.Portletinit in class fr.toutatice.portail.cms.nuxeo.api.CMSPortletjavax.portlet.PortletExceptionpublic void processAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws IOException,
javax.portlet.PortletException
processAction in interface javax.portlet.PortletprocessAction in class javax.portlet.GenericPortletIOExceptionjavax.portlet.PortletExceptionpublic void doAdmin(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws IOException,
javax.portlet.PortletException
request - requestresponse - responsejavax.portlet.PortletExceptionIOExceptionprotected void doView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
IOException
doView in class javax.portlet.GenericPortletjavax.portlet.PortletExceptionIOExceptionprotected boolean areCommentsEnabled(org.osivia.portal.core.cms.ICMSService cmsService,
org.osivia.portal.core.cms.CMSPublicationInfos publicationInfos,
org.osivia.portal.core.cms.CMSServiceCtx cmsContext)
throws org.osivia.portal.core.cms.CMSException
cmsService - publicationInfos - cmsContext - org.osivia.portal.core.cms.CMSExceptionprotected void generatePublishedDocumentsInfos(fr.toutatice.portail.cms.nuxeo.api.NuxeoController nuxeoController,
org.nuxeo.ecm.automation.client.model.Document document,
fr.toutatice.portail.cms.nuxeo.api.domain.DocumentDTO documentDTO,
Boolean readFilter)
readFilter - filter published documents on user read permissionnuxeoController - document - documentDTO - Copyright © 2020. All rights reserved.