|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.portal.webui.portal.UIPortalComponent
org.exoplatform.portal.webui.container.UIContainer
org.exoplatform.wcm.webui.search.UISearchResult
public class UISearchResult
| 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 |
PARAMETER_REGX
The Constant PARAMETER_REGX. |
static java.lang.String |
RESULT_NOT_FOUND
The Constant RESULT_NOT_FOUND. |
| Fields inherited from class org.exoplatform.portal.webui.container.UIContainer |
|---|
description, icon, TABLE_COLUMN_CONTAINER |
| Fields inherited from class org.exoplatform.portal.webui.portal.UIPortalComponent |
|---|
COMPONENT_EDIT_MODE, COMPONENT_VIEW_MODE, factoryId, height_, mode_, name_, template_, width_ |
| Fields inherited from class org.exoplatform.webui.core.UIComponent |
|---|
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent |
| Constructor Summary | |
|---|---|
UISearchResult()
|
|
| Method Summary | |
|---|---|
void |
clearResult()
Clears the displayed result list |
java.lang.String |
getCreatedDate(javax.jcr.Node node)
Gets the created date. |
int |
getCurrentPage()
Gets the current page. |
java.util.List |
getCurrentPageData()
Gets the current page data. |
int |
getItemsPerPage()
Gets the items per page. |
java.lang.String |
getKeyword()
Gets the keyword. |
int |
getNumberOfPage()
Gets the number of page. |
java.lang.String |
getPageMode()
Gets the page mode |
java.lang.String |
getPublishedNodeURI(java.lang.String navNodeURI)
Gets the published node uri. |
java.util.List<ResultNode> |
getRealCurrentPageData()
Gets the real node list to display |
java.lang.String |
getResultType()
Gets the result type. |
float |
getSearchTime()
Gets the search time. |
java.lang.String |
getSuggestion()
Gets the suggestion. |
java.lang.String |
getSuggestionURL()
Gets the suggestion URL. |
java.lang.String |
getTemplate()
|
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. |
int |
getTotalItem()
Gets the total item. |
java.lang.String |
getURL(javax.jcr.Node node)
Gets the uRL. |
java.util.List<java.lang.String> |
getURLs(javax.jcr.Node node)
Gets the uRL. |
void |
init(java.lang.String templatePath,
org.exoplatform.resolver.ResourceResolver resourceResolver)
Inits the. |
boolean |
isShowPaginator()
Checks if is show paginator. |
void |
processRender(org.exoplatform.webui.application.WebuiRequestContext context)
|
void |
setKeyword(java.lang.String keyword)
Sets the keyword. |
void |
setPageList(org.exoplatform.commons.utils.PageList dataPageList)
Sets the page list. |
void |
setResultType(java.lang.String resultType)
Sets the result type. |
void |
setSearchTime(float searchTime)
Sets the search time. |
void |
setSuggestion(java.lang.String suggestion)
Sets the suggestion. |
void |
setSuggestionURL(java.lang.String suggestionURL)
Sets the suggestion URL. |
| Methods inherited from class org.exoplatform.portal.webui.container.UIContainer |
|---|
getDescription, getIcon, getStorageId, setDescription, setIcon, setStorageId |
| Methods inherited from class org.exoplatform.portal.webui.portal.UIPortalComponent |
|---|
getAccessPermissions, getFactoryId, getHeight, getName, getTitle, getWidth, hasPermission, isModifiable, isShowEditControl, setAccessPermissions, setFactoryId, setHeight, setModifiable, setName, setShowEditControl, setTemplate, setTitle, setWidth |
| Methods inherited from class org.exoplatform.webui.core.UIContainer |
|---|
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, 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, getParent, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, 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 |
|---|
public static final java.lang.String PARAMETER_REGX
public static final java.lang.String RESULT_NOT_FOUND
| Constructor Detail |
|---|
public UISearchResult()
| Method Detail |
|---|
public void init(java.lang.String templatePath,
org.exoplatform.resolver.ResourceResolver resourceResolver)
throws java.lang.Exception
templatePath - the template pathresourceResolver - the resource resolver
java.lang.Exception - the exception
public void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
throws java.lang.Exception
processRender in class org.exoplatform.webui.core.UIComponentjava.lang.Exceptionpublic void setPageList(org.exoplatform.commons.utils.PageList dataPageList)
dataPageList - the new page listpublic int getTotalItem()
public int getItemsPerPage()
public int getCurrentPage()
public java.lang.String getPageMode()
public java.lang.String getTemplate()
getTemplate in class org.exoplatform.portal.webui.portal.UIPortalComponent
public org.exoplatform.resolver.ResourceResolver getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context,
java.lang.String template)
getTemplateResourceResolver in class org.exoplatform.webui.core.UIComponent
public java.util.List getCurrentPageData()
throws java.lang.Exception
java.lang.Exception - the exception
public java.lang.String getTitle(javax.jcr.Node node)
throws java.lang.Exception
node - the node
java.lang.Exception - the exception
public java.util.List<java.lang.String> getURLs(javax.jcr.Node node)
throws java.lang.Exception
node - the node
java.lang.Exception - the exceptionpublic java.lang.String getPublishedNodeURI(java.lang.String navNodeURI)
navNodeURI - the nav node uri
public java.lang.String getURL(javax.jcr.Node node)
throws java.lang.Exception
node - the node
java.lang.Exception - the exception
public java.lang.String getCreatedDate(javax.jcr.Node node)
throws java.lang.Exception
node - the node
java.lang.Exception - the exception
public boolean isShowPaginator()
throws java.lang.Exception
java.lang.Exception - the exceptionpublic float getSearchTime()
public void setSearchTime(float searchTime)
searchTime - the new search timepublic java.lang.String getSuggestion()
public void setSuggestion(java.lang.String suggestion)
suggestion - the suggestionpublic java.lang.String getSuggestionURL()
public void setSuggestionURL(java.lang.String suggestionURL)
suggestionURL - the suggestion urlpublic java.lang.String getKeyword()
public void setKeyword(java.lang.String keyword)
keyword - the new keywordpublic java.lang.String getResultType()
public void setResultType(java.lang.String resultType)
resultType - the new result typepublic int getNumberOfPage()
public void clearResult()
public java.util.List<ResultNode> getRealCurrentPageData()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||