public class UIPresentation extends UIBaseNodePresentation
| Modifier and Type | Class and Description |
|---|---|
static class |
UIPresentation.DownloadActionListener |
static class |
UIPresentation.SwitchToAudioDescriptionActionListener |
static class |
UIPresentation.SwitchToOriginalActionListener |
UIBaseNodePresentation.OpenDocInDesktopActionListenerdescription, 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 |
|---|
UIPresentation() |
| Modifier and Type | Method and Description |
|---|---|
List<javax.jcr.Node> |
getAttachments()
Gets the attachment nodes.
|
org.exoplatform.webui.core.UIComponent |
getCommentComponent()
Get UIComponent for comment
|
javax.jcr.Node |
getDisplayNode() |
String |
getFastPublicLink(javax.jcr.Node viewNode) |
String |
getFastPublishLink() |
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.UIPopupContainer |
getPopupContainer() |
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.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
|
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()
Checks if is node type supported.
|
boolean |
playAudioDescription() |
void |
setNode(javax.jcr.Node node)
Sets the 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, getPostedTimeString, getRelations, getRepository, getRssLink, getSortedComments, getSupportedLocalise, getTags, getTemplateSkin, getViewTemplate, getVotingRate, getWebDAVServerPrefix, getWorkspaceName, isEnableComment, isEnableVote, isRssLink, setEnableComment, setEnableVote, setLanguage, 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 javax.jcr.Node getOriginalNode()
throws Exception
NodePresentationgetOriginalNode in interface NodePresentationgetOriginalNode in class UIBaseNodePresentationException - the exceptionpublic javax.jcr.Node getNode()
throws Exception
NodePresentationgetNode in interface NodePresentationgetNode in class UIBaseNodePresentationException - the exceptionpublic String getFastPublicLink(javax.jcr.Node viewNode)
public void setNode(javax.jcr.Node node)
NodePresentationnode - the new nodepublic String getRepositoryName()
UIBaseNodePresentationgetRepositoryName in class UIBaseNodePresentationpublic String getTemplate()
getTemplate in class org.exoplatform.portal.webui.portal.UIPortalComponentpublic String getTemplatePath() throws Exception
NodePresentationgetTemplatePath in interface NodePresentationgetTemplatePath in class UIBaseNodePresentationException - the exceptionpublic 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 String getNodeType() throws Exception
NodePresentationException - the exceptionpublic boolean isNodeTypeSupported()
NodePresentationpublic boolean isFastPublishLink()
isFastPublishLink in class UIBaseNodePresentationpublic org.exoplatform.webui.core.UIComponent getCommentComponent()
NodePresentationpublic org.exoplatform.webui.core.UIComponent getRemoveAttach()
throws Exception
NodePresentationExceptionpublic org.exoplatform.webui.core.UIComponent getRemoveComment()
throws Exception
NodePresentationExceptionpublic org.exoplatform.webui.core.UIComponent getUIComponent(String mimeType) throws Exception
NodePresentationExceptionpublic String getViewableLink(javax.jcr.Node node, org.exoplatform.web.application.Parameter[] params) throws Exception
getViewableLink in interface NodePresentationgetViewableLink in class UIBaseNodePresentationnode - the nodeException - the exceptionpublic List<javax.jcr.Node> getAttachments() throws Exception
getAttachments in interface NodePresentationgetAttachments in class UIBaseNodePresentationException - the exceptionpublic boolean isDisplayAlternativeText()
isDisplayAlternativeText in interface NodePresentationisDisplayAlternativeText in class UIBaseNodePresentationpublic boolean playAudioDescription()
playAudioDescription in interface NodePresentationplayAudioDescription in class UIBaseNodePresentationpublic boolean switchBackAudioDescription()
switchBackAudioDescription in interface NodePresentationswitchBackAudioDescription in class UIBaseNodePresentationpublic org.exoplatform.webui.core.UIPopupContainer getPopupContainer()
throws Exception
getPopupContainer in interface NodePresentationgetPopupContainer in class UIBaseNodePresentationExceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.