org.exoplatform.wcm.webui.pclv
Class UIPCLVForm

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.webui.form.UIForm
              extended by org.exoplatform.wcm.webui.pclv.UIPCLVForm

public class UIPCLVForm
extends org.exoplatform.webui.form.UIForm

Created by The eXo Platform SAS Author : eXoPlatform ngoc.tran@exoplatform.com Jun 23, 2009


Nested Class Summary
static class UIPCLVForm.RefreshActionListener
          The listener interface for receiving refreshAction events.
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
 
Fields inherited from class org.exoplatform.webui.form.UIForm
ACTION, SUBCOMPONENT_ID
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIPCLVForm()
          Instantiates a new uIPCLV form.
 
Method Summary
 java.lang.String generateLink(javax.jcr.Node node)
          Generate link.
 java.lang.String getAutoDetection()
          Gets the auto detection.
 java.lang.String getContentColumn()
          Gets the content column.
 java.lang.String getCreatedDate(javax.jcr.Node node)
          Gets the created date.
 java.util.List getCurrentPageData()
          Gets the current page data.
 java.text.DateFormat getDateFormatter()
          Gets the date formatter.
 java.text.DateFormat getDatetimeFommatter()
          Gets the datetime fommatter.
 java.lang.String getHeader()
          Gets the header.
 java.lang.String getIllustrativeImage(javax.jcr.Node node)
          Gets the illustrative image.
 org.exoplatform.resolver.ResourceResolver getResourceResolver()
          Gets the resource resolver.
 java.lang.String getRssLink()
          Gets the rss link.
 java.lang.String getShowRSSLink()
          Gets the show rss link.
 java.lang.String getSummary(javax.jcr.Node node)
          Gets the summary.
 java.lang.String getTemplate()
           
 java.lang.String getTemplatePath()
          Gets the template path.
 org.exoplatform.resolver.ResourceResolver getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context, java.lang.String template)
           
 java.lang.String getTitle(javax.jcr.Node node)
          Gets the title.
 org.exoplatform.webui.core.UIPageIterator getUIPageIterator()
          Gets the uI page iterator.
 UICustomizeablePaginator getUiPaginator()
          Gets the ui paginator.
 void init(java.lang.String templatePath, org.exoplatform.resolver.ResourceResolver resourceResolver, org.exoplatform.commons.utils.PageList dataPageList)
          Inits the.
 boolean isShowField(java.lang.String field)
          Checks if is show field.
 boolean isShowHeader()
          Checks if is show header.
 boolean isShowLink()
          Checks if is show link.
 boolean isShowReadmore()
          Checks if is show readmore.
 void setAutoDetection(java.lang.String autoDetection)
          Sets the auto detection.
 void setContentColumn(java.lang.String contentColumn)
          Sets the content column.
 void setDateFormatter(java.text.DateFormat dateFormatter)
          Sets the date formatter.
 void setDateTimeFormat(java.lang.String format)
          Sets the date time format.
 void setHeader(java.lang.String header)
          Sets the header.
 void setResourceResolver(org.exoplatform.resolver.ResourceResolver resourceResolver)
          Sets the resource resolver.
 void setRssLink(java.lang.String rssLink)
          Sets the rss link.
 void setShowHeader(boolean showHeader)
          Sets the show header.
 void setShowLink(boolean showLink)
          Sets the show link.
 void setShowReadmore(boolean showReadmore)
          Sets the show readmore.
 void setShowRSSLink(java.lang.String showRSSLink)
          Sets the show rss link.
 void setTemplatePath(java.lang.String templatePath)
          Sets the template path.
 void setUiPaginator(UICustomizeablePaginator uiPaginator)
          Sets the ui paginator.
 boolean showPaginator()
          Show paginator.
 boolean showReadMore()
          Show rss link.
 boolean showRefreshButton()
          Show refresh button.
 boolean showRSSLink()
          Show rss link.
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getLabel, getSubmitAction, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, processRender, renderField, renderField, reset, setActions, setMultiPart, setSubmitAction, url
 
Methods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes, visit
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, isRendered, loadConfirmMesssage, processAction, processDecode, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibbling, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIPCLVForm

public UIPCLVForm()
Instantiates a new uIPCLV form.

Method Detail

getRssLink

public java.lang.String getRssLink()
Gets the rss link.

Returns:
the rss link

setRssLink

public void setRssLink(java.lang.String rssLink)
Sets the rss link.

Parameters:
rssLink - the new rss link

init

public void init(java.lang.String templatePath,
                 org.exoplatform.resolver.ResourceResolver resourceResolver,
                 org.exoplatform.commons.utils.PageList dataPageList)
          throws java.lang.Exception
Inits the.

Parameters:
templatePath - the template path
resourceResolver - the resource resolver
dataPageList - the data page list
Throws:
java.lang.Exception - the exception

showRefreshButton

public boolean showRefreshButton()
Show refresh button.

Returns:
true, if successful

showRSSLink

public boolean showRSSLink()
Show rss link.

Returns:
true, if successful

showReadMore

public boolean showReadMore()
Show rss link.

Returns:
true, if successful

isShowField

public boolean isShowField(java.lang.String field)
Checks if is show field.

Parameters:
field - the field
Returns:
true, if is show field

showPaginator

public boolean showPaginator()
                      throws java.lang.Exception
Show paginator.

Returns:
true, if successful
Throws:
java.lang.Exception - the exception

getDatetimeFommatter

public java.text.DateFormat getDatetimeFommatter()
Gets the datetime fommatter.

Returns:
the datetime fommatter

setDateTimeFormat

public void setDateTimeFormat(java.lang.String format)
Sets the date time format.

Parameters:
format - the new date time format

getUIPageIterator

public org.exoplatform.webui.core.UIPageIterator getUIPageIterator()
Gets the uI page iterator.

Returns:
the uI page iterator

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

getCurrentPageData

public java.util.List getCurrentPageData()
                                  throws java.lang.Exception
Gets the current page data.

Returns:
the current page data
Throws:
java.lang.Exception - the exception

getTitle

public java.lang.String getTitle(javax.jcr.Node node)
                          throws java.lang.Exception
Gets the title.

Parameters:
node - the node
Returns:
the title
Throws:
java.lang.Exception - the exception

getSummary

public java.lang.String getSummary(javax.jcr.Node node)
                            throws java.lang.Exception
Gets the summary.

Parameters:
node - the node
Returns:
the summary
Throws:
java.lang.Exception - the exception

getCreatedDate

public java.lang.String getCreatedDate(javax.jcr.Node node)
                                throws java.lang.Exception
Gets the created date.

Parameters:
node - the node
Returns:
the created date
Throws:
java.lang.Exception - the exception

getIllustrativeImage

public java.lang.String getIllustrativeImage(javax.jcr.Node node)
                                      throws java.lang.Exception
Gets the illustrative image.

Parameters:
node - the node
Returns:
the illustrative image
Throws:
java.lang.Exception - the exception

generateLink

public java.lang.String generateLink(javax.jcr.Node node)
                              throws java.lang.Exception
Generate link.

Parameters:
node - the node
Returns:
the string
Throws:
java.lang.Exception - the exception

getTemplatePath

public java.lang.String getTemplatePath()
Gets the template path.

Returns:
the template path

setTemplatePath

public void setTemplatePath(java.lang.String templatePath)
Sets the template path.

Parameters:
templatePath - the new template path

getResourceResolver

public org.exoplatform.resolver.ResourceResolver getResourceResolver()
Gets the resource resolver.

Returns:
the resource resolver

setResourceResolver

public void setResourceResolver(org.exoplatform.resolver.ResourceResolver resourceResolver)
Sets the resource resolver.

Parameters:
resourceResolver - the new resource resolver

getUiPaginator

public UICustomizeablePaginator getUiPaginator()
Gets the ui paginator.

Returns:
the ui paginator

setUiPaginator

public void setUiPaginator(UICustomizeablePaginator uiPaginator)
Sets the ui paginator.

Parameters:
uiPaginator - the new ui paginator

getContentColumn

public java.lang.String getContentColumn()
Gets the content column.

Returns:
the content column

setContentColumn

public void setContentColumn(java.lang.String contentColumn)
Sets the content column.

Parameters:
contentColumn - the new content column

isShowLink

public boolean isShowLink()
Checks if is show link.

Returns:
true, if is show link

setShowLink

public void setShowLink(boolean showLink)
Sets the show link.

Parameters:
showLink - the new show link

isShowHeader

public boolean isShowHeader()
Checks if is show header.

Returns:
true, if is show header

setShowHeader

public void setShowHeader(boolean showHeader)
Sets the show header.

Parameters:
showHeader - the new show header

isShowReadmore

public boolean isShowReadmore()
Checks if is show readmore.

Returns:
true, if is show readmore

setShowReadmore

public void setShowReadmore(boolean showReadmore)
Sets the show readmore.

Parameters:
showReadmore - the new show readmore

getHeader

public java.lang.String getHeader()
Gets the header.

Returns:
the header

setHeader

public void setHeader(java.lang.String header)
Sets the header.

Parameters:
header - the new header

getDateFormatter

public java.text.DateFormat getDateFormatter()
Gets the date formatter.

Returns:
the date formatter

setDateFormatter

public void setDateFormatter(java.text.DateFormat dateFormatter)
Sets the date formatter.

Parameters:
dateFormatter - the new date formatter

getAutoDetection

public java.lang.String getAutoDetection()
Gets the auto detection.

Returns:
the auto detection

setAutoDetection

public void setAutoDetection(java.lang.String autoDetection)
Sets the auto detection.

Parameters:
autoDetection - the new auto detection

getShowRSSLink

public java.lang.String getShowRSSLink()
Gets the show rss link.

Returns:
the show rss link

setShowRSSLink

public void setShowRSSLink(java.lang.String showRSSLink)
Sets the show rss link.

Parameters:
showRSSLink - the new show rss link

getTemplate

public java.lang.String getTemplate()
Overrides:
getTemplate in class org.exoplatform.webui.core.UIComponent


Copyright © 2011 eXo Platform SAS. All Rights Reserved.