public class UIContentViewer extends UIBaseNodePresentation
UIBaseNodePresentation.OpenDocInDesktopActionListener| Modifier and Type | Field and Description |
|---|---|
static String |
TEMPLATE_NOT_SUPPORT |
description, icon, moveAppsPermissions, moveContainersPermissions, TABLE_COLUMN_CONTAINERCOMPONENT_EDIT_MODE, COMPONENT_VIEW_MODE, factoryId, height_, mode_, name_, template_, width_AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparentMEDIA_STATE_DISPLAY, MEDIA_STATE_NONE| Constructor and Description |
|---|
UIContentViewer() |
| Modifier and Type | Method and Description |
|---|---|
org.exoplatform.webui.core.UIComponent |
getCommentComponent()
Get UIComponent for comment
|
javax.jcr.Node |
getNode()
Gets the node.
|
String |
getNodeType()
Gets the node type.
|
javax.jcr.Node |
getOriginalNode()
Gets the original node.
|
org.exoplatform.webui.core.UIComponent |
getRemoveAttach()
Get UIComponent to remove attachment in document
|
org.exoplatform.webui.core.UIComponent |
getRemoveComment()
Get UIComponent to remove comment in document
|
String |
getRepositoryName()
Gets the repository name.
|
String |
getTemplate() |
String |
getTemplatePath()
Gets the template path.
|
org.exoplatform.resolver.ResourceResolver |
getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context,
String template) |
org.exoplatform.webui.core.UIComponent |
getUIComponent(String mimeType)
Get the UIComponent which to display file
|
boolean |
isNodeTypeSupported()
Checks if is node type supported.
|
void |
setNode(javax.jcr.Node viewNode)
Sets the node.
|
void |
setOriginalNode(javax.jcr.Node originalNode) |
encodeHTML, getActionOpenDocInDesktop, getAttachments, getCategories, getComments, getComponentInstanceOfType, getDownloadLink, getIcons, getImage, getImageURIInProperty, getInlineEditingField, getInlineEditingField, getLanguage, getMediaState, getNodeByUUID, getPopupContainer, getPortalName, getPortletPreferenceValue, getPortletPreferenceValues, getPostedTimeString, getRelations, getRepository, getRssLink, getSortedComments, 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, urlpublic static final String TEMPLATE_NOT_SUPPORT
public javax.jcr.Node getOriginalNode()
NodePresentationgetOriginalNode in interface NodePresentationgetOriginalNode in class UIBaseNodePresentationpublic void setOriginalNode(javax.jcr.Node originalNode)
throws Exception
Exceptionpublic javax.jcr.Node getNode()
NodePresentationgetNode in interface NodePresentationgetNode in class UIBaseNodePresentationpublic void setNode(javax.jcr.Node viewNode)
NodePresentationviewNode - the new nodepublic String getTemplate()
getTemplate in class org.exoplatform.portal.webui.portal.UIPortalComponentpublic org.exoplatform.resolver.ResourceResolver getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context,
String template)
getTemplateResourceResolver in class org.exoplatform.webui.core.UIComponentpublic String getRepositoryName()
UIBaseNodePresentationgetRepositoryName in class UIBaseNodePresentationpublic String getTemplatePath()
NodePresentationgetTemplatePath in interface NodePresentationgetTemplatePath in class UIBaseNodePresentationpublic String getNodeType()
NodePresentationpublic boolean isNodeTypeSupported()
NodePresentationpublic org.exoplatform.webui.core.UIComponent getCommentComponent()
NodePresentationpublic org.exoplatform.webui.core.UIComponent getRemoveAttach()
NodePresentationpublic org.exoplatform.webui.core.UIComponent getRemoveComment()
NodePresentationpublic org.exoplatform.webui.core.UIComponent getUIComponent(String mimeType) throws Exception
NodePresentationExceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.