org.exoplatform.ecm.webui.component.browsecontent
Class UIDocumentDetail
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.ecm.webui.component.browsecontent.UIDocumentDetail
- All Implemented Interfaces:
- NodePresentation, org.exoplatform.webui.core.UIPopupComponent
public class UIDocumentDetail
- extends org.exoplatform.webui.core.UIContainer
- implements NodePresentation, org.exoplatform.webui.core.UIPopupComponent
Created by The eXo Platform SARL
Author : Tuan Pham
phamtuanchip@gmail.com
Jan 15, 2007
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
|
Field Summary |
protected javax.jcr.Node |
node_
|
| Fields inherited from class org.exoplatform.webui.core.UIComponent |
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent |
| 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, getName, getParent, getRendererFor, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, registerRendererFor, 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 |
node_
protected javax.jcr.Node node_
UIDocumentDetail
public UIDocumentDetail()
processRender
public void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
throws java.lang.Exception
- Overrides:
processRender in class org.exoplatform.webui.core.UIComponent
- Throws:
java.lang.Exception
isValidNode
protected boolean isValidNode()
throws java.lang.Exception
- Throws:
java.lang.Exception
getCommentComponent
public org.exoplatform.webui.core.UIComponent getCommentComponent()
- Specified by:
getCommentComponent in interface NodePresentation
getRemoveAttach
public org.exoplatform.webui.core.UIComponent getRemoveAttach()
throws java.lang.Exception
- Specified by:
getRemoveAttach in interface NodePresentation
- Throws:
java.lang.Exception
getRemoveComment
public org.exoplatform.webui.core.UIComponent getRemoveComment()
throws java.lang.Exception
- Specified by:
getRemoveComment in interface NodePresentation
- Throws:
java.lang.Exception
getTemplatePath
public java.lang.String getTemplatePath()
- Specified by:
getTemplatePath in interface NodePresentation
getIcons
public java.lang.String getIcons(javax.jcr.Node node,
java.lang.String type)
throws java.lang.Exception
- Specified by:
getIcons in interface NodePresentation
- Throws:
java.lang.Exception
getTemplate
public java.lang.String getTemplate()
- Overrides:
getTemplate in class org.exoplatform.webui.core.UIComponent
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
newJCRTemplateResourceResolver
public void newJCRTemplateResourceResolver()
getComponentInstanceOfType
public java.lang.Object getComponentInstanceOfType(java.lang.String className)
- Specified by:
getComponentInstanceOfType in interface NodePresentation
getNode
public javax.jcr.Node getNode()
throws java.lang.Exception
- Specified by:
getNode in interface NodePresentation
- Throws:
java.lang.Exception
setOriginalNode
public void setOriginalNode(javax.jcr.Node node)
getOriginalNode
public javax.jcr.Node getOriginalNode()
throws java.lang.Exception
- Specified by:
getOriginalNode in interface NodePresentation
- Throws:
java.lang.Exception
getPortletPreferences
public javax.portlet.PortletPreferences getPortletPreferences()
setLanguage
public void setLanguage(java.lang.String language)
- Specified by:
setLanguage in interface NodePresentation
getLanguage
public java.lang.String getLanguage()
- Specified by:
getLanguage in interface NodePresentation
getDownloadLink
public java.lang.String getDownloadLink(javax.jcr.Node node)
throws java.lang.Exception
- Specified by:
getDownloadLink in interface NodePresentation
- Throws:
java.lang.Exception
getImage
public java.lang.String getImage(javax.jcr.Node node)
throws java.lang.Exception
- Specified by:
getImage in interface NodePresentation
- Throws:
java.lang.Exception
getWebDAVServerPrefix
public java.lang.String getWebDAVServerPrefix()
throws java.lang.Exception
- Specified by:
getWebDAVServerPrefix in interface NodePresentation
- Throws:
java.lang.Exception
setNode
public void setNode(javax.jcr.Node docNode)
- Specified by:
setNode in interface NodePresentation
getAttachments
public java.util.List<javax.jcr.Node> getAttachments()
throws java.lang.Exception
- Specified by:
getAttachments in interface NodePresentation
- Throws:
java.lang.Exception
getRelations
public java.util.List<javax.jcr.Node> getRelations()
throws java.lang.Exception
- Specified by:
getRelations in interface NodePresentation
- Throws:
java.lang.Exception
isNodeTypeSupported
public boolean isNodeTypeSupported()
- Specified by:
isNodeTypeSupported in interface NodePresentation
isNodeTypeSupported
public boolean isNodeTypeSupported(java.lang.String nodeTypeName)
getNodeByUUID
public javax.jcr.Node getNodeByUUID(java.lang.String uuid)
throws java.lang.Exception
- Throws:
java.lang.Exception
hasPropertyContent
public boolean hasPropertyContent(javax.jcr.Node node,
java.lang.String property)
getNodeType
public java.lang.String getNodeType()
throws java.lang.Exception
- Specified by:
getNodeType in interface NodePresentation
- Throws:
java.lang.Exception
getRssLink
public java.lang.String getRssLink()
- Specified by:
getRssLink in interface NodePresentation
isRssLink
public boolean isRssLink()
- Specified by:
isRssLink in interface NodePresentation
getComments
public java.util.List<javax.jcr.Node> getComments()
throws java.lang.Exception
- Specified by:
getComments in interface NodePresentation
- Throws:
java.lang.Exception
getSupportedLocalise
public java.util.List<java.lang.String> getSupportedLocalise()
throws java.lang.Exception
- Specified by:
getSupportedLocalise in interface NodePresentation
- Throws:
java.lang.Exception
getViewTemplate
public java.lang.String getViewTemplate(java.lang.String nodeTypeName,
java.lang.String templateName)
throws java.lang.Exception
- Specified by:
getViewTemplate in interface NodePresentation
- Throws:
java.lang.Exception
activate
public void activate()
throws java.lang.Exception
- Specified by:
activate in interface org.exoplatform.webui.core.UIPopupComponent
- Throws:
java.lang.Exception
deActivate
public void deActivate()
throws java.lang.Exception
- Specified by:
deActivate in interface org.exoplatform.webui.core.UIPopupComponent
- Throws:
java.lang.Exception
getPortalName
public java.lang.String getPortalName()
- Specified by:
getPortalName in interface NodePresentation
getRepository
public java.lang.String getRepository()
throws java.lang.Exception
- Specified by:
getRepository in interface NodePresentation
- Throws:
java.lang.Exception
getWorkspaceName
public java.lang.String getWorkspaceName()
throws java.lang.Exception
- Specified by:
getWorkspaceName in interface NodePresentation
- Throws:
java.lang.Exception
encodeHTML
public java.lang.String encodeHTML(java.lang.String text)
throws java.lang.Exception
- Specified by:
encodeHTML in interface NodePresentation
- Throws:
java.lang.Exception
isShowPlanView
public boolean isShowPlanView(javax.jcr.Node node)
throws java.lang.Exception
- Throws:
java.lang.Exception
getListNodes
public java.util.List<javax.jcr.Node> getListNodes(javax.jcr.Node node)
throws java.lang.Exception
- Throws:
java.lang.Exception
getTemplateSkin
public java.lang.String getTemplateSkin(java.lang.String nodeTypeName,
java.lang.String skinName)
throws java.lang.Exception
- Specified by:
getTemplateSkin in interface NodePresentation
- Throws:
java.lang.Exception
getUIComponent
public org.exoplatform.webui.core.UIComponent getUIComponent(java.lang.String mimeType)
throws java.lang.Exception
- Specified by:
getUIComponent in interface NodePresentation
- Throws:
java.lang.Exception
isEnableComment
public boolean isEnableComment()
- Specified by:
isEnableComment in interface NodePresentation
isEnableVote
public boolean isEnableVote()
- Specified by:
isEnableVote in interface NodePresentation
setEnableComment
public void setEnableComment(boolean value)
- Specified by:
setEnableComment in interface NodePresentation
setEnableVote
public void setEnableVote(boolean value)
- Specified by:
setEnableVote in interface NodePresentation
Copyright © 2010 eXo Platform SAS. All Rights Reserved.