org.exoplatform.contentvalidation.webui
Class UIDocumentContent
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.contentvalidation.webui.UIDocumentContent
- All Implemented Interfaces:
- NodePresentation
public class UIDocumentContent
- extends org.exoplatform.webui.core.UIContainer
- implements NodePresentation
Created by The eXo Platform SARL
Author : Ly Dinh Quang
quang.ly@exoplatform.com
xxx5669@gmail.com
Jan 16, 2009
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
| 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, processRender, 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 |
DEFAULT_LANGUAGE
public static final java.lang.String DEFAULT_LANGUAGE
UIDocumentContent
public UIDocumentContent()
throws java.lang.Exception
- Throws:
java.lang.Exception
setNode
public void setNode(javax.jcr.Node node)
- Specified by:
setNode in interface NodePresentation
getNode
public javax.jcr.Node getNode()
throws java.lang.Exception
- Specified by:
getNode in interface NodePresentation
- Throws:
java.lang.Exception
getOriginalNode
public javax.jcr.Node getOriginalNode()
throws java.lang.Exception
- Specified by:
getOriginalNode in interface NodePresentation
- Throws:
java.lang.Exception
getNodeType
public java.lang.String getNodeType()
throws java.lang.Exception
- Specified by:
getNodeType 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
isNodeTypeSupported
public boolean isNodeTypeSupported()
- Specified by:
isNodeTypeSupported in interface NodePresentation
getImage
public java.lang.String getImage(javax.jcr.Node node,
java.lang.String nodeTypeName)
throws java.lang.Exception
- Throws:
java.lang.Exception
getNodeByPath
public javax.jcr.Node getNodeByPath(java.lang.String nodePath,
java.lang.String workspace)
throws java.lang.Exception
- Throws:
java.lang.Exception
getCapacityOfFile
public java.lang.String getCapacityOfFile(javax.jcr.Node file)
throws java.lang.Exception
- 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
getNodeByUUID
public javax.jcr.Node getNodeByUUID(java.lang.String uuid)
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
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
getAttachments
public java.util.List<javax.jcr.Node> getAttachments()
throws java.lang.Exception
- Specified by:
getAttachments 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
getSupportedLocalise
public java.util.List getSupportedLocalise()
throws java.lang.Exception
- Specified by:
getSupportedLocalise in interface NodePresentation
- Throws:
java.lang.Exception
getTemplatePath
public java.lang.String getTemplatePath()
throws java.lang.Exception
- Specified by:
getTemplatePath 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
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
getComments
public java.util.List<javax.jcr.Node> getComments()
throws java.lang.Exception
- Specified by:
getComments in interface NodePresentation
- Throws:
java.lang.Exception
getIcons
public java.lang.String getIcons(javax.jcr.Node node,
java.lang.String appended)
throws java.lang.Exception
- Specified by:
getIcons 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
getLanguage
public java.lang.String getLanguage()
- Specified by:
getLanguage in interface NodePresentation
setLanguage
public void setLanguage(java.lang.String language)
- Specified by:
setLanguage in interface NodePresentation
getComponentInstanceOfType
public java.lang.Object getComponentInstanceOfType(java.lang.String className)
- Specified by:
getComponentInstanceOfType 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
getPortalName
public java.lang.String getPortalName()
- Specified by:
getPortalName in interface NodePresentation
getWorkspaceName
public java.lang.String getWorkspaceName()
throws java.lang.Exception
- Specified by:
getWorkspaceName in interface NodePresentation
- Throws:
java.lang.Exception
getRepository
public java.lang.String getRepository()
throws java.lang.Exception
- Specified by:
getRepository 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
Copyright © 2010 eXo Platform SAS. All Rights Reserved.