org.exoplatform.wcm.webui.pcv
Class UIPCVPresentation

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.pcv.UIPCVPresentation
All Implemented Interfaces:
NodePresentation

public class UIPCVPresentation
extends UIBaseNodePresentation

The Class UIContentViewer.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static java.lang.String ACCESS_CONTROL_EXC
          The Constant ACCESS_CONTROL_EXC.
static java.lang.String CONTENT_NOT_FOUND_EXC
          The Constant CONTENT_NOT_FOUND_EXC.
static java.lang.String CONTENT_NOT_PRINTED
          Content can't be printed.
static java.lang.String CONTENT_UNSUPPORT_EXC
          The Constant CONTENT_UNSUPPORT_EXC.
static java.lang.String OBSOLETE_CONTENT
          Content is obsolete.
static java.lang.String PARAMETER_REGX
          The Constant PARAMETER_REGX.
 
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
 
Constructor Summary
UIPCVPresentation()
           
 
Method Summary
 org.exoplatform.webui.core.UIComponent getCommentComponent()
           
 java.lang.String getDownloadLink(javax.jcr.Node node)
           
 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)
           
 org.exoplatform.webui.core.UIComponent getUIComponent(java.lang.String mimeType)
           
 java.lang.String getWorkspaceName()
           
 boolean isNodeTypeSupported()
           
 void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
           
 void setNode(javax.jcr.Node node)
           
 void setOriginalNode(javax.jcr.Node originalNode)
          Sets the orginal node.
 void setRepository(java.lang.String repository)
          Sets the repository.
 void setWorkspace(java.lang.String workspace)
          Sets the workspace.
 
Methods inherited from class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentation
encodeHTML, getAttachments, getCategories, getComments, getComponentInstanceOfType, getIcons, getImage, getImageURIInProperty, 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, 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
 

Field Detail

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
Constructor Detail

UIPCVPresentation

public UIPCVPresentation()
Method Detail

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 © 2010 eXo Platform SAS. All Rights Reserved.