public class UISearchResult
extends org.exoplatform.portal.webui.container.UIContainer
| Modifier and Type | Field and Description |
|---|---|
static String |
PARAMETER_REGX
The Constant PARAMETER_REGX.
|
static String |
RESULT_NOT_FOUND
The Constant RESULT_NOT_FOUND.
|
description, icon, moveAppsPermissions, moveContainersPermissions, TABLE_COLUMN_CONTAINER| Constructor and Description |
|---|
UISearchResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearResult()
Clears the displayed result list
|
String |
getCreatedDate(javax.jcr.Node node)
Gets the created date.
|
int |
getCurrentPage()
Gets the current page.
|
List |
getCurrentPageData()
Gets the current page data.
|
int |
getItemsPerPage()
Gets the items per page.
|
String |
getKeyword()
Gets the keyword.
|
int |
getNumberOfPage()
Gets the number of page.
|
String |
getPageMode()
Gets the page mode
|
String |
getPublishedNodeURI(String navNodeURI)
Gets the published node uri.
|
List<ResultNode> |
getRealCurrentPageData()
Gets the real node list to display
|
String |
getResultType()
Gets the result type.
|
float |
getSearchTime()
Gets the search time.
|
String |
getSuggestion()
Gets the suggestion.
|
String |
getSuggestionURL()
Gets the suggestion URL.
|
String |
getTemplate() |
org.exoplatform.resolver.ResourceResolver |
getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context,
String template) |
String |
getTitle(javax.jcr.Node node)
Gets the title.
|
int |
getTotalItem()
Gets the total item.
|
String |
getURL(javax.jcr.Node node)
Gets the uRL.
|
List<String> |
getURLs(javax.jcr.Node node)
Gets the uRL.
|
void |
init(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(String keyword)
Sets the keyword.
|
void |
setPageList(org.exoplatform.commons.utils.PageList dataPageList)
Sets the page list.
|
void |
setResultType(String resultType)
Sets the result type.
|
void |
setSearchTime(float searchTime)
Sets the search time.
|
void |
setSuggestion(String suggestion)
Sets the suggestion.
|
void |
setSuggestionURL(String suggestionURL)
Sets the suggestion URL.
|
getDescription, getIcon, getMoveAppsPermissions, getMoveContainersPermissions, getPermissionClasses, getStorageId, hasMoveAppsPermission, hasMoveContainersPermission, setDescription, setIcon, setMoveAppsPermissions, setMoveContainersPermissions, setStorageIdgetAccessPermissions, getFactoryId, getHeight, getName, getTitle, getWidth, hasAccessPermission, hasPermission, isModifiable, setAccessPermissions, setFactoryId, setHeight, setModifiable, setName, setTemplate, setTitle, setWidthaddChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypesbroadcast, buildModelObject, 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, urlpublic static final String PARAMETER_REGX
public static final String RESULT_NOT_FOUND
public void init(String templatePath, org.exoplatform.resolver.ResourceResolver resourceResolver) throws Exception
templatePath - the template pathresourceResolver - the resource resolverException - the exceptionpublic void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
throws Exception
processRender in class org.exoplatform.webui.core.UIComponentExceptionpublic void setPageList(org.exoplatform.commons.utils.PageList dataPageList)
dataPageList - the new page listpublic int getTotalItem()
public int getItemsPerPage()
public int getCurrentPage()
public String getPageMode()
public String getTemplate()
getTemplate in class org.exoplatform.portal.webui.portal.UIPortalComponentpublic org.exoplatform.resolver.ResourceResolver getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context,
String template)
getTemplateResourceResolver in class org.exoplatform.webui.core.UIComponentpublic List getCurrentPageData() throws Exception
Exception - the exceptionpublic String getTitle(javax.jcr.Node node) throws Exception
node - the nodeException - the exceptionpublic List<String> getURLs(javax.jcr.Node node) throws Exception
node - the nodeException - the exceptionpublic String getPublishedNodeURI(String navNodeURI)
navNodeURI - the nav node uripublic String getURL(javax.jcr.Node node) throws Exception
node - the nodeException - the exceptionpublic String getCreatedDate(javax.jcr.Node node) throws Exception
node - the nodeException - the exceptionpublic boolean isShowPaginator()
throws Exception
Exception - the exceptionpublic float getSearchTime()
public void setSearchTime(float searchTime)
searchTime - the new search timepublic String getSuggestion()
public void setSuggestion(String suggestion)
suggestion - the suggestionpublic String getSuggestionURL()
public void setSuggestionURL(String suggestionURL)
suggestionURL - the suggestion urlpublic String getKeyword()
public void setKeyword(String keyword)
keyword - the new keywordpublic String getResultType()
public void setResultType(String resultType)
resultType - the new result typepublic int getNumberOfPage()
public void clearResult()
public List<ResultNode> getRealCurrentPageData() throws Exception
ExceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.