org.exoplatform.wcm.webui.scv
Class UISingleContentViewerPortlet

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.webui.core.UIApplication
              extended by org.exoplatform.webui.core.UIPortletApplication
                  extended by org.exoplatform.wcm.webui.scv.UISingleContentViewerPortlet

public class UISingleContentViewerPortlet
extends org.exoplatform.webui.core.UIPortletApplication

Created by The eXo Platform SAS Author : DANG TAN DUNG dzungdev@gmail.com Jun 9, 2008


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 CONTEXTUAL_MODE
          The is ContextualMode
static java.lang.String IDENTIFIER
          The IDENTIFIER.
static java.lang.String PARAMETER
          The Parameterized String
static java.lang.String REPOSITORY
          The REPOSITORY.
static java.lang.String SHOW_DATE
          The ShowDate
static java.lang.String SHOW_OPTIONBAR
          The ShowOptionBar
static java.lang.String SHOW_TITLE
          The ShowTitle
static java.lang.String UIPreferencesPopupID
           
static java.lang.String WORKSPACE
          The WORKSPACE.
 
Fields inherited from class org.exoplatform.webui.core.UIPortletApplication
CONFIG_MODE, EDIT_MODE, HELP_MODE, VIEW_MODE
 
Fields inherited from class org.exoplatform.webui.core.UIApplication
log
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UISingleContentViewerPortlet()
          Instantiates a new uI single content viewer portlet.
 
Method Summary
 void activateMode(javax.portlet.PortletMode newMode)
          Activate mode.
 void changeToViewMode()
           
 javax.jcr.Node getNodeByPreference()
           
 boolean isViewMode()
           
 void processRender(org.exoplatform.webui.application.WebuiApplication app, org.exoplatform.webui.application.WebuiRequestContext context)
           
 
Methods inherited from class org.exoplatform.webui.core.UIPortletApplication
getMinHeight, getMinWidth, setMinHeight, setMinWidth
 
Methods inherited from class org.exoplatform.webui.core.UIApplication
addMessage, clearMessages, findComponentById, getLastAccessApplication, getOwner, getUIComponentName, getUIPopupMessages, processAction, renderBlockToUpdate, renderChildren, setLastAccessApplication, setOwner
 
Methods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, 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, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, 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
 

Field Detail

REPOSITORY

public static java.lang.String REPOSITORY
The REPOSITORY.


WORKSPACE

public static java.lang.String WORKSPACE
The WORKSPACE.


IDENTIFIER

public static java.lang.String IDENTIFIER
The IDENTIFIER.


PARAMETER

public static java.lang.String PARAMETER
The Parameterized String


SHOW_DATE

public static java.lang.String SHOW_DATE
The ShowDate


SHOW_TITLE

public static java.lang.String SHOW_TITLE
The ShowTitle


SHOW_OPTIONBAR

public static java.lang.String SHOW_OPTIONBAR
The ShowOptionBar


CONTEXTUAL_MODE

public static java.lang.String CONTEXTUAL_MODE
The is ContextualMode


UIPreferencesPopupID

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

UISingleContentViewerPortlet

public UISingleContentViewerPortlet()
                             throws java.lang.Exception
Instantiates a new uI single content viewer portlet.

Throws:
java.lang.Exception - the exception
Method Detail

activateMode

public void activateMode(javax.portlet.PortletMode newMode)
Activate mode.

Parameters:
newMode - the mode
Throws:
java.lang.Exception - the exception

isViewMode

public boolean isViewMode()

processRender

public void processRender(org.exoplatform.webui.application.WebuiApplication app,
                          org.exoplatform.webui.application.WebuiRequestContext context)
                   throws java.lang.Exception
Overrides:
processRender in class org.exoplatform.webui.core.UIPortletApplication
Throws:
java.lang.Exception

changeToViewMode

public void changeToViewMode()
                      throws java.lang.Exception
Throws:
java.lang.Exception

getNodeByPreference

public javax.jcr.Node getNodeByPreference()


Copyright © 2010 eXo Platform SAS. All Rights Reserved.