org.exoplatform.wcm.webui.clv
Class UICLVPortlet

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.clv.UICLVPortlet

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

The Class UICLVPortlet.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static String APPLICATION_CLV_BY_QUERY
           
static String DEFAULT_SHOW_CLV_BY
           
static String DEFAULT_SHOW_SCV_WITH
           
static String DISPLAY_MODE_AUTOMATIC
          The Constant DISPLAY_MODE_AUTOMATIC.
static String DISPLAY_MODE_MANUAL
          The Constant DISPLAY_MODE_MANUAL.
static String ORDER_BY_DATE_CREATED
          The Constant ORDER_BY_DATE_CREATED.
static String ORDER_BY_DATE_MODIFIED
          The Constant ORDER_BY_DATE_MODIFIED.
static String ORDER_BY_DATE_PUBLISHED
          The Constant ORDER_BY_DATE_PUBLISHED.
static String ORDER_BY_DATE_START_EVENT
          The Constant ORDER_BY_DATE_START_EVENT.
static String ORDER_BY_INDEX
          The Constant ORDER_BY_INDEX.
static String ORDER_BY_TITLE
          The Constant ORDER_BY_TITLE.
static String ORDER_TYPE_ASCENDENT
          The Constant ORDER_TYPE_ASCENDENT.
static String ORDER_TYPE_DESCENDENT
          The Constant ORDER_TYPE_DESCENDENT.
static String PREFERENCE_APPLICATION_TYPE
           
static String PREFERENCE_AUTOMATIC_DETECTION
          The Constant PREFERENCE_AUTOMATIC_DETECTION.
static String PREFERENCE_CACHE_ENABLED
          The Constant PREFERENCE_CACHE_ENABLED.
static String PREFERENCE_CONTENTS_BY_QUERY
          The Constant CONTENT_BY_QUERY.
static String PREFERENCE_CONTEXTUAL_FOLDER
          The Constant PREFERENCE_CONTEXTUAL_FOLDER.
static String PREFERENCE_CONTEXTUAL_FOLDER_DISABLE
          The Constant PREFERENCE_CONTEXTUAL_FOLDER_DISABLE.
static String PREFERENCE_CONTEXTUAL_FOLDER_ENABLE
          The Constant PREFERENCE_CONTEXTUAL_FOLDER_ENABLE.
static String PREFERENCE_DISPLAY_MODE
          The Constant PREFERENCE_DISPLAY_MODE.
static String PREFERENCE_DISPLAY_TEMPLATE
          The Constant PREFERENCE_DISPLAY_TEMPLATE.
static String PREFERENCE_HEADER
          The Constant PREFERENCE_HEADER.
static String PREFERENCE_ITEM_DRIVE
          The Constant PREFERENCE_ITEM_PATH.
static String PREFERENCE_ITEM_PATH
          The Constant PREFERENCE_ITEM_PATH.
static String PREFERENCE_ITEMS_PER_PAGE
          The Constant PREFERENCE_ITEMS_PER_PAGE.
static String PREFERENCE_ORDER_BY
          The Constant PREFERENCE_ORDER_BY.
static String PREFERENCE_ORDER_TYPE
          The Constant PREFERENCE_ORDER_TYPE.
static String PREFERENCE_PAGINATOR_TEMPLATE
          The Constant PREFERENCE_PAGINATOR_TEMPLATE.
static String PREFERENCE_SHARED_CACHE
           
static String PREFERENCE_SHOW_CLV_BY
          The Constant PREFERENCE_SHOW_CLV_BY.
static String PREFERENCE_SHOW_DATE_CREATED
          The Constant PREFERENCE_SHOW_DATE_CREATED.
static String PREFERENCE_SHOW_HEADER
          The Constant PREFERENCE_SHOW_HEADER.
static String PREFERENCE_SHOW_ILLUSTRATION
          The Constant PREFERENCE_SHOW_IMAGE.
static String PREFERENCE_SHOW_LINK
          The Constant PREFERENCE_SHOW_LINK.
static String PREFERENCE_SHOW_READMORE
          The Constant PREFERENCE_SHOW_MORE_LINK.
static String PREFERENCE_SHOW_REFRESH_BUTTON
          The Constant PREFERENCE_SHOW_REFRESH_BUTTON.
static String PREFERENCE_SHOW_RSSLINK
          The Constant PREFERENCE_SHOW_RSSLINK.
static String PREFERENCE_SHOW_SCV_WITH
          The Constant PREFERENCE_SHOW_SCL_WITH.
static String PREFERENCE_SHOW_SUMMARY
          The Constant PREFERNECE_SHOW_SUMMARY.
static String PREFERENCE_SHOW_TITLE
          The Constant PREFERENCE_SHOW_TITLE.
static String PREFERENCE_TARGET_PAGE
          The Constant PREFERENCE_TARGET_PAGE.
static String PREFERENCE_WORKSPACE
          The Constant PREFERENCE_WORKSPACE.
static String QUERY_LANGUAGE_PARAMETER
           
static String QUERY_USER_PARAMETER
           
 
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
UICLVPortlet()
          Instantiates a new uICLV portlet.
 
Method Summary
 void changeToViewMode()
          Force porlet to change to ViewMode
 String getFolderPath()
           
 String getFolderPathParamValue()
           
 String getHeader()
           
 HashMap<String,String> getQueryParammeter(HashSet<String> params)
           
 String getQueryStatement(String sqlQuery)
           
 boolean isQueryApplication()
           
 void processRender(org.exoplatform.webui.application.WebuiApplication app, org.exoplatform.webui.application.WebuiRequestContext context)
           
 void setCurrentFolderPath(String value)
           
 void updatePortlet()
          Update the current portlet if config/data changed.
 
Methods inherited from class org.exoplatform.webui.core.UIPortletApplication
getMinHeight, getMinWidth, getUIPopupMessages, renderChildren, serveResource, 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

PREFERENCE_DISPLAY_MODE

public static final String PREFERENCE_DISPLAY_MODE
The Constant PREFERENCE_DISPLAY_MODE.

See Also:
Constant Field Values

PREFERENCE_ITEM_PATH

public static final String PREFERENCE_ITEM_PATH
The Constant PREFERENCE_ITEM_PATH.

See Also:
Constant Field Values

PREFERENCE_ITEM_DRIVE

public static final String PREFERENCE_ITEM_DRIVE
The Constant PREFERENCE_ITEM_PATH.

See Also:
Constant Field Values

PREFERENCE_ORDER_BY

public static final String PREFERENCE_ORDER_BY
The Constant PREFERENCE_ORDER_BY.

See Also:
Constant Field Values

ORDER_BY_TITLE

public static final String ORDER_BY_TITLE
The Constant ORDER_BY_TITLE.

See Also:
Constant Field Values

ORDER_BY_DATE_CREATED

public static final String ORDER_BY_DATE_CREATED
The Constant ORDER_BY_DATE_CREATED.

See Also:
Constant Field Values

ORDER_BY_DATE_MODIFIED

public static final String ORDER_BY_DATE_MODIFIED
The Constant ORDER_BY_DATE_MODIFIED.

See Also:
Constant Field Values

ORDER_BY_DATE_PUBLISHED

public static final String ORDER_BY_DATE_PUBLISHED
The Constant ORDER_BY_DATE_PUBLISHED.

See Also:
Constant Field Values

ORDER_BY_DATE_START_EVENT

public static final String ORDER_BY_DATE_START_EVENT
The Constant ORDER_BY_DATE_START_EVENT.

See Also:
Constant Field Values

ORDER_BY_INDEX

public static final String ORDER_BY_INDEX
The Constant ORDER_BY_INDEX.

See Also:
Constant Field Values

PREFERENCE_ORDER_TYPE

public static final String PREFERENCE_ORDER_TYPE
The Constant PREFERENCE_ORDER_TYPE.

See Also:
Constant Field Values

ORDER_TYPE_DESCENDENT

public static final String ORDER_TYPE_DESCENDENT
The Constant ORDER_TYPE_DESCENDENT.

See Also:
Constant Field Values

ORDER_TYPE_ASCENDENT

public static final String ORDER_TYPE_ASCENDENT
The Constant ORDER_TYPE_ASCENDENT.

See Also:
Constant Field Values

PREFERENCE_HEADER

public static final String PREFERENCE_HEADER
The Constant PREFERENCE_HEADER.

See Also:
Constant Field Values

PREFERENCE_AUTOMATIC_DETECTION

public static final String PREFERENCE_AUTOMATIC_DETECTION
The Constant PREFERENCE_AUTOMATIC_DETECTION.

See Also:
Constant Field Values

PREFERENCE_DISPLAY_TEMPLATE

public static final String PREFERENCE_DISPLAY_TEMPLATE
The Constant PREFERENCE_DISPLAY_TEMPLATE.

See Also:
Constant Field Values

PREFERENCE_PAGINATOR_TEMPLATE

public static final String PREFERENCE_PAGINATOR_TEMPLATE
The Constant PREFERENCE_PAGINATOR_TEMPLATE.

See Also:
Constant Field Values

PREFERENCE_ITEMS_PER_PAGE

public static final String PREFERENCE_ITEMS_PER_PAGE
The Constant PREFERENCE_ITEMS_PER_PAGE.

See Also:
Constant Field Values

PREFERENCE_SHOW_TITLE

public static final String PREFERENCE_SHOW_TITLE
The Constant PREFERENCE_SHOW_TITLE.

See Also:
Constant Field Values

PREFERENCE_SHOW_HEADER

public static final String PREFERENCE_SHOW_HEADER
The Constant PREFERENCE_SHOW_HEADER.

See Also:
Constant Field Values

PREFERENCE_SHOW_REFRESH_BUTTON

public static final String PREFERENCE_SHOW_REFRESH_BUTTON
The Constant PREFERENCE_SHOW_REFRESH_BUTTON.

See Also:
Constant Field Values

PREFERENCE_SHOW_ILLUSTRATION

public static final String PREFERENCE_SHOW_ILLUSTRATION
The Constant PREFERENCE_SHOW_IMAGE.

See Also:
Constant Field Values

PREFERENCE_SHOW_DATE_CREATED

public static final String PREFERENCE_SHOW_DATE_CREATED
The Constant PREFERENCE_SHOW_DATE_CREATED.

See Also:
Constant Field Values

PREFERENCE_SHOW_READMORE

public static final String PREFERENCE_SHOW_READMORE
The Constant PREFERENCE_SHOW_MORE_LINK.

See Also:
Constant Field Values

PREFERENCE_SHOW_SUMMARY

public static final String PREFERENCE_SHOW_SUMMARY
The Constant PREFERNECE_SHOW_SUMMARY.

See Also:
Constant Field Values

PREFERENCE_SHOW_LINK

public static final String PREFERENCE_SHOW_LINK
The Constant PREFERENCE_SHOW_LINK.

See Also:
Constant Field Values

PREFERENCE_SHOW_RSSLINK

public static final String PREFERENCE_SHOW_RSSLINK
The Constant PREFERENCE_SHOW_RSSLINK.

See Also:
Constant Field Values

PREFERENCE_CONTEXTUAL_FOLDER

public static final String PREFERENCE_CONTEXTUAL_FOLDER
The Constant PREFERENCE_CONTEXTUAL_FOLDER.

See Also:
Constant Field Values

PREFERENCE_CONTEXTUAL_FOLDER_ENABLE

public static final String PREFERENCE_CONTEXTUAL_FOLDER_ENABLE
The Constant PREFERENCE_CONTEXTUAL_FOLDER_ENABLE.

See Also:
Constant Field Values

PREFERENCE_CONTEXTUAL_FOLDER_DISABLE

public static final String PREFERENCE_CONTEXTUAL_FOLDER_DISABLE
The Constant PREFERENCE_CONTEXTUAL_FOLDER_DISABLE.

See Also:
Constant Field Values

PREFERENCE_TARGET_PAGE

public static final String PREFERENCE_TARGET_PAGE
The Constant PREFERENCE_TARGET_PAGE.

See Also:
Constant Field Values

PREFERENCE_SHOW_SCV_WITH

public static final String PREFERENCE_SHOW_SCV_WITH
The Constant PREFERENCE_SHOW_SCL_WITH.

See Also:
Constant Field Values

PREFERENCE_SHOW_CLV_BY

public static final String PREFERENCE_SHOW_CLV_BY
The Constant PREFERENCE_SHOW_CLV_BY.

See Also:
Constant Field Values

PREFERENCE_CACHE_ENABLED

public static final String PREFERENCE_CACHE_ENABLED
The Constant PREFERENCE_CACHE_ENABLED.

See Also:
Constant Field Values

PREFERENCE_CONTENTS_BY_QUERY

public static final String PREFERENCE_CONTENTS_BY_QUERY
The Constant CONTENT_BY_QUERY.

See Also:
Constant Field Values

PREFERENCE_WORKSPACE

public static final String PREFERENCE_WORKSPACE
The Constant PREFERENCE_WORKSPACE.

See Also:
Constant Field Values

DISPLAY_MODE_MANUAL

public static final String DISPLAY_MODE_MANUAL
The Constant DISPLAY_MODE_MANUAL.

See Also:
Constant Field Values

DISPLAY_MODE_AUTOMATIC

public static final String DISPLAY_MODE_AUTOMATIC
The Constant DISPLAY_MODE_AUTOMATIC.

See Also:
Constant Field Values

DEFAULT_SHOW_CLV_BY

public static final String DEFAULT_SHOW_CLV_BY
See Also:
Constant Field Values

DEFAULT_SHOW_SCV_WITH

public static final String DEFAULT_SHOW_SCV_WITH
See Also:
Constant Field Values

PREFERENCE_APPLICATION_TYPE

public static final String PREFERENCE_APPLICATION_TYPE
See Also:
Constant Field Values

APPLICATION_CLV_BY_QUERY

public static final String APPLICATION_CLV_BY_QUERY
See Also:
Constant Field Values

PREFERENCE_SHARED_CACHE

public static final String PREFERENCE_SHARED_CACHE
See Also:
Constant Field Values

QUERY_USER_PARAMETER

public static final String QUERY_USER_PARAMETER
See Also:
Constant Field Values

QUERY_LANGUAGE_PARAMETER

public static final String QUERY_LANGUAGE_PARAMETER
See Also:
Constant Field Values
Constructor Detail

UICLVPortlet

public UICLVPortlet()
             throws Exception
Instantiates a new uICLV portlet.

Throws:
Exception - the exception
Method Detail

getHeader

public String getHeader()

setCurrentFolderPath

public void setCurrentFolderPath(String value)

getFolderPath

public String getFolderPath()

getFolderPathParamValue

public String getFolderPathParamValue()

getQueryParammeter

public HashMap<String,String> getQueryParammeter(HashSet<String> params)
Parameters:
params -
Returns:

processRender

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

changeToViewMode

public void changeToViewMode()
                      throws Exception
Force porlet to change to ViewMode

Throws:
Exception

updatePortlet

public void updatePortlet()
                   throws Exception
Update the current portlet if config/data changed.

Throws:
Exception

getQueryStatement

public String getQueryStatement(String sqlQuery)
Parameters:
sqlQuery -
Returns:

isQueryApplication

public boolean isQueryApplication()
Returns:


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.