org.exoplatform.wcm.webui.pcv
Class UIPCVPresentation
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.wcm.webui.pcv.UIPCVPresentation
- All Implemented Interfaces:
- NodePresentation
public class UIPCVPresentation
- extends UIBaseNodePresentation
The Class UIContentViewer.
| 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, getIcons, getImage, getImageURIInProperty, getInlineEditingField, getLanguage, getNodeByUUID, getPortalName, getPortletPreferenceValue, getPortletPreferenceValues, getRelations, getRepository, getRssLink, getSupportedLocalise, getTags, getTemplateSkin, getViewTemplate, getVotingRate, getWebDAVServerPrefix, 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, isShowEditControl, setAccessPermissions, setFactoryId, setHeight, 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, 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, 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 |
CONTENT_NOT_FOUND_EXC
public static final java.lang.String CONTENT_NOT_FOUND_EXC
- The Constant CONTENT_NOT_FOUND_EXC.
- See Also:
- Constant Field Values
ACCESS_CONTROL_EXC
public static final java.lang.String ACCESS_CONTROL_EXC
- The Constant ACCESS_CONTROL_EXC.
- See Also:
- Constant Field Values
CONTENT_UNSUPPORT_EXC
public static final java.lang.String CONTENT_UNSUPPORT_EXC
- The Constant CONTENT_UNSUPPORT_EXC.
- See Also:
- Constant Field Values
CONTENT_NOT_PRINTED
public static final java.lang.String CONTENT_NOT_PRINTED
- Content can't be printed.
- See Also:
- Constant Field Values
OBSOLETE_CONTENT
public static final java.lang.String OBSOLETE_CONTENT
- Content is obsolete.
- See Also:
- Constant Field Values
PARAMETER_REGX
public static final java.lang.String PARAMETER_REGX
- The Constant PARAMETER_REGX.
- See Also:
- Constant Field Values
UIPCVPresentation
public UIPCVPresentation()
getNode
public javax.jcr.Node getNode()
throws java.lang.Exception
- Specified by:
getNode in interface NodePresentation- Specified by:
getNode in class UIBaseNodePresentation
- Throws:
java.lang.Exception
getOriginalNode
public javax.jcr.Node getOriginalNode()
throws java.lang.Exception
- Specified by:
getOriginalNode in interface NodePresentation- Specified by:
getOriginalNode in class UIBaseNodePresentation
- Throws:
java.lang.Exception
setOriginalNode
public void setOriginalNode(javax.jcr.Node originalNode)
- Sets the orginal node.
- Parameters:
orginalNode - the new orginal node
getRepositoryName
public java.lang.String getRepositoryName()
throws java.lang.Exception
- Specified by:
getRepositoryName in class UIBaseNodePresentation
- Throws:
java.lang.Exception
getWorkspaceName
public java.lang.String getWorkspaceName()
throws java.lang.Exception
- Specified by:
getWorkspaceName in interface NodePresentation- Overrides:
getWorkspaceName in class UIBaseNodePresentation
- Throws:
java.lang.Exception
getDownloadLink
public java.lang.String getDownloadLink(javax.jcr.Node node)
throws java.lang.Exception
- Specified by:
getDownloadLink in interface NodePresentation- Overrides:
getDownloadLink in class UIBaseNodePresentation
- Throws:
java.lang.Exception
getTemplatePath
public java.lang.String getTemplatePath()
throws java.lang.Exception
- Specified by:
getTemplatePath in interface NodePresentation- Specified by:
getTemplatePath in class UIBaseNodePresentation
- Throws:
java.lang.Exception
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
getNodeType
public java.lang.String getNodeType()
throws java.lang.Exception
- Throws:
java.lang.Exception
isNodeTypeSupported
public boolean isNodeTypeSupported()
setNode
public void setNode(javax.jcr.Node node)
setRepository
public void setRepository(java.lang.String repository)
- Sets the repository.
- Parameters:
repository - the new repository
setWorkspace
public void setWorkspace(java.lang.String workspace)
- Sets the workspace.
- Parameters:
workspace - the new workspace
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
getCommentComponent
public org.exoplatform.webui.core.UIComponent getCommentComponent()
getRemoveAttach
public org.exoplatform.webui.core.UIComponent getRemoveAttach()
throws java.lang.Exception
- Throws:
java.lang.Exception
getRemoveComment
public org.exoplatform.webui.core.UIComponent getRemoveComment()
throws java.lang.Exception
- Throws:
java.lang.Exception
getUIComponent
public org.exoplatform.webui.core.UIComponent getUIComponent(java.lang.String mimeType)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2011 eXo Platform SAS. All Rights Reserved.