org.exoplatform.wcm.webui.selector.content
Class UIContentSearchResult

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIGrid
          extended by org.exoplatform.wcm.webui.selector.content.UIContentSearchResult

public class UIContentSearchResult
extends org.exoplatform.webui.core.UIGrid

Author : TAN DUNG DANG dzungdev@gmail.com Feb 10, 2009


Nested Class Summary
static class UIContentSearchResult.SelectActionListener
          The listener interface for receiving selectAction events.
static class UIContentSearchResult.ViewActionListener
          The listener interface for receiving viewAction events.
 
Field Summary
 java.lang.String[] Actions
          The Actions.
 java.lang.String[] BEAN_FIELDS
          The BEA n_ fields.
static java.lang.String CREATE_DATE
          The Constant CREATE_DATE.
static java.lang.String NODE_EXPECT
          The Constant NODE_EXPECT.
static java.lang.String NODE_PATH
          The Constant NODE_PATH.
static java.lang.String PUBLICATION_STATE
          The Constant PUBLICATION_STATE.
static java.lang.String SCORE
          The Constant SCORE.
static java.lang.String TITLE
          The Constant TITLE.
 
Fields inherited from class org.exoplatform.webui.core.UIGrid
action_, beanField_, beanIdField_, classname_, displayedChars_, label_, uiIterator_, useAjax
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIContentSearchResult()
          Instantiates a new uIWCM search result.
 
Method Summary
 java.util.Date getCreateDate(javax.jcr.Node node)
          Gets the creates the date.
 java.lang.String getCurrentState(javax.jcr.Node node)
          Gets the current state.
 java.text.DateFormat getDateFormat()
          Gets the date format.
 java.lang.String getExpect(java.lang.String expect)
          Gets the expect.
 javax.jcr.Session getSession()
          Gets the session.
 java.lang.String getTitleNode(javax.jcr.Node node)
          Gets the title node.
 void updateGrid(PaginatedQueryResult paginatedResult)
          Update grid.
 
Methods inherited from class org.exoplatform.webui.core.UIGrid
configure, findComponentById, getBeanActions, getBeanFields, getBeanIdField, getBeans, getDisplayedChars, getFieldValue, getLabel, getName, getUIPageIterator, isUseAjax, setDisplayedChars, setLabel, setUseAjax
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, event, event, event, findComponentOfType, findFirstComponentOfType, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getParent, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, processRender, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibbling, url, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TITLE

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


NODE_EXPECT

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


SCORE

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


CREATE_DATE

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


PUBLICATION_STATE

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


NODE_PATH

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


Actions

public java.lang.String[] Actions
The Actions.


BEAN_FIELDS

public java.lang.String[] BEAN_FIELDS
The BEA n_ fields.

Constructor Detail

UIContentSearchResult

public UIContentSearchResult()
                      throws java.lang.Exception
Instantiates a new uIWCM search result.

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

getDateFormat

public java.text.DateFormat getDateFormat()
Gets the date format.

Returns:
the date format

updateGrid

public void updateGrid(PaginatedQueryResult paginatedResult)
                throws java.lang.Exception
Update grid.

Parameters:
paginatedResult - the paginated result
Throws:
java.lang.Exception - the exception

getTitleNode

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

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

getCreateDate

public java.util.Date getCreateDate(javax.jcr.Node node)
                             throws java.lang.Exception
Gets the creates the date.

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

getExpect

public java.lang.String getExpect(java.lang.String expect)
Gets the expect.

Parameters:
expect - the expect
Returns:
the expect

getCurrentState

public java.lang.String getCurrentState(javax.jcr.Node node)
                                 throws java.lang.Exception
Gets the current state.

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

getSession

public javax.jcr.Session getSession()
                             throws java.lang.Exception
Gets the session.

Returns:
the session
Throws:
java.lang.Exception - the exception


Copyright © 2010 eXo Platform SAS. All Rights Reserved.