org.exoplatform.social.plugin.doc
Class UIDocViewer
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.portal.webui.portal.UIPortalComponent
org.exoplatform.portal.webui.container.UIContainer
org.exoplatform.ecm.webui.presentation.UIBaseNodePresentation
org.exoplatform.social.plugin.doc.UIDocViewer
- All Implemented Interfaces:
- org.exoplatform.ecm.webui.presentation.NodePresentation
public class UIDocViewer
- extends org.exoplatform.ecm.webui.presentation.UIBaseNodePresentation
UIDocViewer
- Since:
- Aug 10, 2010
- Author:
- Zuanoc
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
| Fields inherited from class org.exoplatform.portal.webui.container.UIContainer |
description, icon, TABLE_COLUMN_CONTAINER |
| Fields inherited from class org.exoplatform.portal.webui.portal.UIPortalComponent |
COMPONENT_EDIT_MODE, COMPONENT_VIEW_MODE, factoryId, height_, mode_, name_, template_, width_ |
| Fields inherited from class org.exoplatform.webui.core.UIComponent |
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent |
| Methods inherited from class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentation |
encodeHTML, getAttachments, getAttachmentURL, getCategories, getComments, getComponentInstanceOfType, getDownloadLink, getIcons, getImage, getImageURIInProperty, getInlineEditingField, getInlineEditingField, getLanguage, getNodeByUUID, getPortalName, getPortletPreferenceValue, getPortletPreferenceValues, getRelations, getRepository, getRssLink, getSupportedLocalise, getTags, getTemplateSkin, getViewableLink, getViewTemplate, getVotingRate, getWebDAVServerPrefix, getWorkspaceName, isEnableComment, isEnableVote, isRssLink, setEnableComment, setEnableVote, setLanguage |
| Methods inherited from class org.exoplatform.portal.webui.container.UIContainer |
getDescription, getIcon, getStorageId, setDescription, setIcon, setStorageId |
| Methods inherited from class org.exoplatform.portal.webui.portal.UIPortalComponent |
getAccessPermissions, getFactoryId, getHeight, getName, getTitle, getWidth, hasPermission, isModifiable, setAccessPermissions, setFactoryId, setHeight, setModifiable, setName, setTemplate, setTitle, setWidth |
| Methods inherited from class org.exoplatform.webui.core.UIContainer |
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes |
| Methods inherited from class org.exoplatform.webui.core.UIComponent |
broadcast, 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, url |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UIDocViewer
public UIDocViewer()
setOriginalNode
public void setOriginalNode(javax.jcr.Node originalNode)
- Sets the original node.
- Parameters:
originalNode -
getOriginalNode
public javax.jcr.Node getOriginalNode()
throws java.lang.Exception
- Gets the original node.
- Specified by:
getOriginalNode in interface org.exoplatform.ecm.webui.presentation.NodePresentation- Specified by:
getOriginalNode in class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentation
- Returns:
-
- Throws:
java.lang.Exception
setNode
public void setNode(javax.jcr.Node node)
- Sets the node.
- Parameters:
node -
getNode
public javax.jcr.Node getNode()
throws java.lang.Exception
- Specified by:
getNode in interface org.exoplatform.ecm.webui.presentation.NodePresentation- Specified by:
getNode in class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentation
- Throws:
java.lang.Exception
getTemplate
public java.lang.String getTemplate()
- Overrides:
getTemplate in class org.exoplatform.portal.webui.portal.UIPortalComponent
getTemplatePath
public java.lang.String getTemplatePath()
throws java.lang.Exception
- Specified by:
getTemplatePath in interface org.exoplatform.ecm.webui.presentation.NodePresentation- Specified by:
getTemplatePath in class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentation
- Throws:
java.lang.Exception
getTemplateResourceResolver
public org.exoplatform.resolver.ResourceResolver getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context,
java.lang.String template)
- Overrides:
getTemplateResourceResolver in class org.exoplatform.webui.core.UIComponent
getNodeType
public java.lang.String getNodeType()
isNodeTypeSupported
public boolean isNodeTypeSupported()
getCommentComponent
public org.exoplatform.webui.core.UIComponent getCommentComponent()
getRemoveAttach
public org.exoplatform.webui.core.UIComponent getRemoveAttach()
getRemoveComment
public org.exoplatform.webui.core.UIComponent getRemoveComment()
getUIComponent
public org.exoplatform.webui.core.UIComponent getUIComponent(java.lang.String mimeType)
throws java.lang.Exception
- Throws:
java.lang.Exception
getRepositoryName
public java.lang.String getRepositoryName()
- Specified by:
getRepositoryName in class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentation
Copyright © 2011 eXo Platform SAS. All Rights Reserved.