org.exoplatform.wcm.webui.viewer
Class UIContentViewer

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.portal.webui.portal.UIPortalComponent
              extended by org.exoplatform.portal.webui.container.UIContainer
                  extended by org.exoplatform.ecm.webui.presentation.UIBaseNodePresentation
                      extended by org.exoplatform.wcm.webui.viewer.UIContentViewer
All Implemented Interfaces:
org.exoplatform.ecm.webui.presentation.NodePresentation

public class UIContentViewer
extends org.exoplatform.ecm.webui.presentation.UIBaseNodePresentation

Created by The eXo Platform SAS Author : Phan Le Thanh Chuong chuong.phan@exoplatform.com, phan.le.thanh.chuong@gmail.com Nov 9, 2009


Nested Class Summary
 
Nested classes/interfaces inherited from class org.exoplatform.portal.webui.container.UIContainer
org.exoplatform.portal.webui.container.UIContainer.SelectTabActionListener
 
Field Summary
static java.lang.String TEMPLATE_NOT_SUPPORT
           
 
Fields inherited from class org.exoplatform.portal.webui.container.UIContainer
creator, description, icon, modifier
 
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
config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIContentViewer()
           
 
Method Summary
 org.exoplatform.webui.core.UIComponent getCommentComponent()
           
 javax.jcr.Node getNode()
           
 java.lang.String getNodeType()
           
 javax.jcr.Node getOriginalNode()
           
 org.exoplatform.webui.core.UIComponent getRemoveAttach()
           
 org.exoplatform.webui.core.UIComponent getRemoveComment()
           
 java.lang.String getRepositoryName()
           
 java.lang.String getTemplate()
           
 java.lang.String getTemplatePath()
           
 org.exoplatform.resolver.ResourceResolver getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context, java.lang.String template)
           
 boolean isNodeTypeSupported()
           
 void setNode(javax.jcr.Node viewNode)
           
 void setOriginalNode(javax.jcr.Node originalNode)
           
 
Methods inherited from class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentation
encodeHTML, getAttachments, getCategories, getCmtOwner, getComments, getComponentInstanceOfType, getDownloadLink, getIcons, getImage, getImageURIInProperty, getLanguage, getNodeByUUID, getPortalName, getPortletPreferenceValue, getPortletPreferenceValues, getRelations, getRepository, getRssLink, getSupportedLocalise, getTags, getTemplateSkin, getViewTemplate, getVotingRate, getWebDAVServerPrefix, getWorkspaceName, isEnableComment, isEnableVote, isRssLink, setEnableComment, setEnableVote, setLanguage
 
Methods inherited from class org.exoplatform.portal.webui.container.UIContainer
getCreator, getDescription, getIcon, getModifier, setCreator, setDescription, setIcon, setModifier
 
Methods inherited from class org.exoplatform.portal.webui.portal.UIPortalComponent
getFactoryId, getHeight, getMode, getName, getTitle, getWidth, isEditMode, isModifiable, isShowEditControl, setFactoryId, setHeight, setMode, setModifiable, setName, setShowEditControl, 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, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes, visit
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, event, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getParent, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, processRender, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibbling, url, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEMPLATE_NOT_SUPPORT

public static final java.lang.String TEMPLATE_NOT_SUPPORT
See Also:
Constant Field Values
Constructor Detail

UIContentViewer

public UIContentViewer()
Method Detail

getOriginalNode

public javax.jcr.Node getOriginalNode()
Specified by:
getOriginalNode in interface org.exoplatform.ecm.webui.presentation.NodePresentation
Specified by:
getOriginalNode in class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentation

setOriginalNode

public void setOriginalNode(javax.jcr.Node originalNode)
                     throws java.lang.Exception
Throws:
java.lang.Exception

getNode

public javax.jcr.Node getNode()
Specified by:
getNode in interface org.exoplatform.ecm.webui.presentation.NodePresentation
Specified by:
getNode in class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentation

setNode

public void setNode(javax.jcr.Node viewNode)

getTemplate

public java.lang.String getTemplate()
Overrides:
getTemplate in class org.exoplatform.portal.webui.portal.UIPortalComponent

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

getRepositoryName

public java.lang.String getRepositoryName()
Specified by:
getRepositoryName in class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentation

getTemplatePath

public java.lang.String getTemplatePath()
Specified by:
getTemplatePath in interface org.exoplatform.ecm.webui.presentation.NodePresentation
Specified by:
getTemplatePath in class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentation

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()


Copyright © 2011 eXo Platform SAS. All Rights Reserved.