public class UIDocViewer
extends org.exoplatform.ecm.webui.presentation.UIBaseNodePresentation
| Modifier and Type | Class and Description |
|---|---|
static class |
UIDocViewer.DownloadActionListener |
| Modifier and Type | Field and Description |
|---|---|
String |
docPath |
protected javax.jcr.Node |
originalNode |
String |
repository |
String |
workspace |
description, icon, moveAppsPermissions, moveContainersPermissions, TABLE_COLUMN_CONTAINERCOMPONENT_EDIT_MODE, COMPONENT_VIEW_MODE, factoryId, height_, mode_, name_, template_, width_| Constructor and Description |
|---|
UIDocViewer() |
| Modifier and Type | Method and Description |
|---|---|
org.exoplatform.webui.core.UIComponent |
getCommentComponent() |
javax.jcr.Node |
getNode() |
String |
getNodeType() |
javax.jcr.Node |
getOriginalNode()
Gets the original node.
|
org.exoplatform.webui.core.UIPopupContainer |
getPopupContainer() |
org.exoplatform.webui.core.UIComponent |
getRemoveAttach() |
org.exoplatform.webui.core.UIComponent |
getRemoveComment() |
String |
getRepositoryName() |
String |
getTemplate() |
String |
getTemplatePath() |
org.exoplatform.resolver.ResourceResolver |
getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context,
String template) |
org.exoplatform.webui.core.UIComponent |
getUIComponent(String mimeType) |
boolean |
isNodeTypeSupported() |
void |
setNode(javax.jcr.Node node)
Sets the node.
|
void |
setOriginalNode(javax.jcr.Node originalNode)
Sets the original node.
|
encodeHTML, getActionOpenDocInDesktop, getAttachments, getCategories, getComments, getComponentInstanceOfType, getDownloadLink, getIcons, getImage, getImageURIInProperty, getInlineEditingField, getInlineEditingField, getLanguage, getMediaState, getNodeByUUID, getPortalName, getPortletPreferenceValue, getPortletPreferenceValues, getRelations, getRepository, getRssLink, getSupportedLocalise, getTags, getTemplateSkin, getViewableLink, getViewTemplate, getVotingRate, getWebDAVServerPrefix, getWorkspaceName, isDisplayAlternativeText, isEnableComment, isEnableVote, isFastPublishLink, isRssLink, playAudioDescription, setEnableComment, setEnableVote, setLanguage, switchBackAudioDescription, switchMediaStategetDescription, getIcon, getMoveAppsPermissions, getMoveContainersPermissions, getPermissionClasses, getStorageId, hasMoveAppsPermission, hasMoveContainersPermission, setDescription, setIcon, setMoveAppsPermissions, setMoveContainersPermissions, setStorageIdgetAccessPermissions, getFactoryId, getHeight, getName, getTitle, getWidth, hasAccessPermission, hasPermission, isModifiable, setAccessPermissions, setFactoryId, setHeight, setModifiable, setName, setTemplate, setTitle, setWidthaddChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypesbroadcast, buildModelObject, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getParent, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, processRender, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, urlprotected javax.jcr.Node originalNode
public String docPath
public String repository
public String workspace
public void setOriginalNode(javax.jcr.Node originalNode)
originalNode - public javax.jcr.Node getOriginalNode()
throws Exception
getOriginalNode in interface org.exoplatform.ecm.webui.presentation.NodePresentationgetOriginalNode in class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentationExceptionpublic void setNode(javax.jcr.Node node)
node - public javax.jcr.Node getNode()
throws Exception
getNode in interface org.exoplatform.ecm.webui.presentation.NodePresentationgetNode in class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentationExceptionpublic String getTemplate()
getTemplate in class org.exoplatform.portal.webui.portal.UIPortalComponentpublic String getTemplatePath() throws Exception
getTemplatePath in interface org.exoplatform.ecm.webui.presentation.NodePresentationgetTemplatePath in class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentationExceptionpublic org.exoplatform.resolver.ResourceResolver getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context,
String template)
getTemplateResourceResolver in class org.exoplatform.webui.core.UIComponentpublic String getNodeType()
public boolean isNodeTypeSupported()
public org.exoplatform.webui.core.UIComponent getCommentComponent()
public org.exoplatform.webui.core.UIComponent getRemoveAttach()
public org.exoplatform.webui.core.UIComponent getRemoveComment()
public org.exoplatform.webui.core.UIComponent getUIComponent(String mimeType) throws Exception
Exceptionpublic String getRepositoryName()
getRepositoryName in class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentationpublic org.exoplatform.webui.core.UIPopupContainer getPopupContainer()
throws Exception
getPopupContainer in interface org.exoplatform.ecm.webui.presentation.NodePresentationgetPopupContainer in class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentationExceptionCopyright © 2003–2016 eXo Platform SAS. All rights reserved.