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 DEFAULT_SHOW_SCV_WITH
           
static java.lang.String DRIVE
          The DRIVE.
static java.lang.String ENABLE_CACHE
          The Cache
static java.lang.String IDENTIFIER
          The IDENTIFIER.
static java.lang.String PARAMETER
          The Parameterized String
static java.lang.String PREFERENCE_SHOW_SCV_WITH
          The Constant PREFERENCE_SHOW_SCL_WITH.
static java.lang.String PREFERENCE_TARGET_PAGE
          The Constant PREFERENCE_TARGET_PAGE.
static java.lang.String PRINT_PAGE
          The Page that show the print viewer
static java.lang.String PRINT_PARAMETER
          The Parameterized String for printing
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()
           
 org.json.JSONArray getChildrenAsJSON(java.lang.String nodeURI)
           
 void processRender(org.exoplatform.webui.application.WebuiApplication app, org.exoplatform.webui.application.WebuiRequestContext context)
           
 void serveResource(org.exoplatform.webui.application.WebuiRequestContext context)
           
 
Methods inherited from class org.exoplatform.webui.core.UIPortletApplication
getMinHeight, getMinWidth, getUIPopupMessages, renderChildren, setMinHeight, setMinWidth
 
Methods inherited from class org.exoplatform.webui.core.UIApplication
addMessage, addMessage, clearMessages, findComponentById, getLastAccessApplication, getOwner, getUIComponentName, processAction, renderBlockToUpdate, 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, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processDecode, processRender, 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
 

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.


DRIVE

public static java.lang.String DRIVE
The DRIVE.


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


PRINT_PARAMETER

public static java.lang.String PRINT_PARAMETER
The Parameterized String for printing


PRINT_PAGE

public static java.lang.String PRINT_PAGE
The Page that show the print viewer


PREFERENCE_TARGET_PAGE

public static final java.lang.String PREFERENCE_TARGET_PAGE
The Constant PREFERENCE_TARGET_PAGE.

See Also:
Constant Field Values

PREFERENCE_SHOW_SCV_WITH

public static final java.lang.String PREFERENCE_SHOW_SCV_WITH
The Constant PREFERENCE_SHOW_SCL_WITH.

See Also:
Constant Field Values

DEFAULT_SHOW_SCV_WITH

public static final java.lang.String DEFAULT_SHOW_SCV_WITH
See Also:
Constant Field Values

ENABLE_CACHE

public static final java.lang.String ENABLE_CACHE
The Cache

See Also:
Constant Field Values

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)
                  throws java.lang.Exception
Activate mode.

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

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

serveResource

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

getChildrenAsJSON

public org.json.JSONArray getChildrenAsJSON(java.lang.String nodeURI)
                                     throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2013 eXo Platform SAS. All Rights Reserved.