public class UIPresentation
extends org.exoplatform.ecm.webui.presentation.UIBaseNodePresentation
| Modifier and Type | Class and Description |
|---|---|
static class |
UIPresentation.DownloadActionListener |
static class |
UIPresentation.SwitchToAudioDescriptionActionListener |
static class |
UIPresentation.SwitchToOriginalActionListener |
description, icon, TABLE_COLUMN_CONTAINERCOMPONENT_EDIT_MODE, COMPONENT_VIEW_MODE, factoryId, height_, mode_, name_, template_, width_| Constructor and Description |
|---|
UIPresentation() |
| Modifier and Type | Method and Description |
|---|---|
List<javax.jcr.Node> |
getAttachments()
Gets the attachment nodes.
|
org.exoplatform.webui.core.UIComponent |
getCommentComponent() |
javax.jcr.Node |
getDisplayNode() |
String |
getFastPublicLink(javax.jcr.Node viewNode) |
String |
getFastPublishLink() |
javax.jcr.Node |
getNode() |
String |
getNodeType() |
javax.jcr.Node |
getOriginalNode() |
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.resolver.ResourceResolver |
getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context,
String template) |
org.exoplatform.webui.core.UIComponent |
getUIComponent(String mimeType) |
String |
getViewableLink(javax.jcr.Node node,
org.exoplatform.web.application.Parameter[] params)
Gets the viewable link (attachment link, relation document link)
|
boolean |
isDisplayAlternativeText() |
boolean |
isFastPublishLink()
Checks if allow render fast publish link for the inline editting
|
boolean |
isNodeTypeSupported() |
boolean |
playAudioDescription() |
void |
setNode(javax.jcr.Node node) |
void |
setOriginalNode(javax.jcr.Node node) |
void |
setTemplatePath(String templatePath) |
boolean |
switchBackAudioDescription() |
encodeHTML, getActionOpenDocInDesktop, getCategories, getComments, getComponentInstanceOfType, getDownloadLink, getIcons, getImage, getImageURIInProperty, getInlineEditingField, getInlineEditingField, getLanguage, getMediaState, getNodeByUUID, getPortalName, getPortletPreferenceValue, getPortletPreferenceValues, getRelations, getRepository, getRssLink, getSupportedLocalise, getTags, getTemplateSkin, getViewTemplate, getVotingRate, getWebDAVServerPrefix, getWorkspaceName, isEnableComment, isEnableVote, isRssLink, setEnableComment, setEnableVote, setLanguage, switchMediaStategetDescription, getIcon, getStorageId, setDescription, setIcon, setStorageIdgetAccessPermissions, getFactoryId, getHeight, getName, getTitle, getWidth, 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 javax.jcr.Node getOriginalNode()
throws Exception
getOriginalNode in interface org.exoplatform.ecm.webui.presentation.NodePresentationgetOriginalNode in class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentationExceptionpublic javax.jcr.Node getNode()
throws Exception
getNode in interface org.exoplatform.ecm.webui.presentation.NodePresentationgetNode in class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentationExceptionpublic String getFastPublicLink(javax.jcr.Node viewNode)
public void setNode(javax.jcr.Node node)
public String getRepositoryName()
getRepositoryName in class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentationpublic 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 void setTemplatePath(String templatePath)
public org.exoplatform.resolver.ResourceResolver getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context,
String template)
getTemplateResourceResolver in class org.exoplatform.webui.core.UIComponentpublic org.exoplatform.resolver.ResourceResolver getTemplateResourceResolver()
public boolean isNodeTypeSupported()
public boolean isFastPublishLink()
isFastPublishLink in class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentationpublic org.exoplatform.webui.core.UIComponent getCommentComponent()
public org.exoplatform.webui.core.UIComponent getRemoveAttach()
throws Exception
Exceptionpublic org.exoplatform.webui.core.UIComponent getRemoveComment()
throws Exception
Exceptionpublic org.exoplatform.webui.core.UIComponent getUIComponent(String mimeType) throws Exception
Exceptionpublic String getViewableLink(javax.jcr.Node node, org.exoplatform.web.application.Parameter[] params) throws Exception
getViewableLink in interface org.exoplatform.ecm.webui.presentation.NodePresentationgetViewableLink in class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentationnode - the nodeException - the exceptionpublic List<javax.jcr.Node> getAttachments() throws Exception
getAttachments in interface org.exoplatform.ecm.webui.presentation.NodePresentationgetAttachments in class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentationException - the exceptionpublic boolean isDisplayAlternativeText()
isDisplayAlternativeText in interface org.exoplatform.ecm.webui.presentation.NodePresentationisDisplayAlternativeText in class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentationpublic boolean playAudioDescription()
playAudioDescription in interface org.exoplatform.ecm.webui.presentation.NodePresentationplayAudioDescription in class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentationpublic boolean switchBackAudioDescription()
switchBackAudioDescription in interface org.exoplatform.ecm.webui.presentation.NodePresentationswitchBackAudioDescription 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–2015 eXo Platform SAS. All rights reserved.