|
||||||||||
| 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 String |
PARAMETER_REGX
The Constant PARAMETER_REGX. |
static 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 |
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<org.exoplatform.services.wcm.search.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. |
| 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, setAccessPermissions, setFactoryId, setHeight, setModifiable, setName, 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 String PARAMETER_REGX
public static final String RESULT_NOT_FOUND
| Constructor Detail |
|---|
public UISearchResult()
| Method Detail |
|---|
public void init(String templatePath,
org.exoplatform.resolver.ResourceResolver resourceResolver)
throws Exception
templatePath - the template pathresourceResolver - the resource resolver
Exception - the exception
public 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.UIPortalComponent
public org.exoplatform.resolver.ResourceResolver getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context,
String template)
getTemplateResourceResolver in class org.exoplatform.webui.core.UIComponent
public List getCurrentPageData()
throws Exception
Exception - the exception
public String getTitle(javax.jcr.Node node)
throws Exception
node - the node
Exception - the exception
public List<String> getURLs(javax.jcr.Node node)
throws Exception
node - the node
Exception - the exceptionpublic String getPublishedNodeURI(String navNodeURI)
navNodeURI - the nav node uri
public String getURL(javax.jcr.Node node)
throws Exception
node - the node
Exception - the exception
public String getCreatedDate(javax.jcr.Node node)
throws Exception
node - the node
Exception - the exception
public 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<org.exoplatform.services.wcm.search.ResultNode> getRealCurrentPageData()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||