|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.rendering.collection.AbstractRendererStatus
com.sapportals.wcm.rendering.collection.SearchRendererStatus
The SearchRendererStatus class renders a search resultinput. A search search query gets passed via CFlSearchEvent to SearchResultControl. Search is done in SearchResultControl via federated search manager of WCM. Copyright (c) SAP Portals Europe GmbH 2001
SearchRendererStatus| Nested Class Summary |
| Nested classes inherited from class com.sapportals.wcm.rendering.collection.AbstractRendererStatus |
AbstractRendererStatus.CompleteResourceComparator |
| Field Summary |
| Fields inherited from class com.sapportals.wcm.rendering.collection.AbstractRendererStatus |
actions, context, list |
| Fields inherited from interface com.sapportals.wcm.rendering.base.IRendererStatus |
DESELECT_ALL, ID, NAME, SELECT_ALL |
| Constructor Summary | |
SearchRendererStatus()
|
|
| Method Summary | |
void |
filter()
filters the current IResourceList attribute of the status
using the set IResourceListFilter and the IParameters.
|
List |
getActions()
returns a list with all IExecutable s defined by the
implementing class |
int |
getEntrySize()
returns the number of entries that are managed within this status |
int |
getMaxDocsPerPage()
|
IConfigurableRendererStatus |
getNewInstance()
|
ISearchSession |
getSearchSession()
get search session from SearchRendererStatus |
ITypedResourceList |
getTypedResourceList()
returns the ITypedResourceList, whose elements are handled within this
status. |
boolean |
hasMore()
flag telling, if all resources available for the given parent or the given resourcelist are included in the presently returned resourcelist. |
boolean |
isEnableWebRepAccess()
|
void |
refresh()
central refresh of list to be displayed |
void |
setCurrentIndex(int index)
sets the index-attribute of the status to the given value. |
void |
setEnableWebRepAccess(boolean value)
|
void |
setHasMore(boolean flag)
|
void |
setMaxDocsPerPage(int maxDocsPerPage)
|
void |
setParameters(Hashtable searchParameters)
set search parameters that are important for rendering info (docs per page, nof cats, search cascade) |
void |
setSearchSession(ISearchSession searchSession)
|
void |
setSession(ISearchSession session)
|
| Methods inherited from class com.sapportals.wcm.rendering.collection.AbstractRendererStatus |
execute, execute, getAction, getComparator, getCurrentIndex, getField, getFields, getFieldSet, getFieldSet, getFilter, getFilterParameters, getID, getMassFields, getParameters, getParent, getPropertyColumns, getResource, getResourceList, getResourceTypeMapping, getSelectedResources, getSortDefintion, getStatusInformation, initializeSelectionList, isVolatile, setComparator, setFilter, setFilterParameters, setID, setParent, setPropertyColumns, setResourceTypeMapping, setSortDefinition, setTypedResourceList, sort |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SearchRendererStatus()
| Method Detail |
public void setSession(ISearchSession session)
throws WcmException
WcmExceptionpublic ISearchSession getSearchSession()
ISearchSessionProvider
getSearchSession in interface ISearchSessionProviderpublic void setSearchSession(ISearchSession searchSession)
public int getMaxDocsPerPage()
public void setMaxDocsPerPage(int maxDocsPerPage)
public void setEnableWebRepAccess(boolean value)
public boolean isEnableWebRepAccess()
public void filter()
AbstractRendererStatusIResourceList attribute of the status
using the set IResourceListFilter and the IParameters.
If one of these is null, no filtering will be done, but a logging
entry is written. Also, if the list has been filtered before and no new information
has been provided by either IResourceListFilter IParameters or AbstractRendererStatus.refresh() method 0, because the index
as it was might exceed the number of elements left over after the filtering.
filter in interface IRendererStatusfilter in class AbstractRendererStatus
public void refresh()
throws WcmException
refresh in interface IRendererStatusrefresh in class AbstractRendererStatusWcmExceptionpublic void setParameters(Hashtable searchParameters)
setParameters in interface IConfigurableRendererStatussetParameters in class AbstractRendererStatuspublic void setHasMore(boolean flag)
public boolean hasMore()
AbstractRendererStatus
hasMore in interface IRendererStatushasMore in class AbstractRendererStatusfalse, if all resources are includedpublic int getEntrySize()
IMassDataControlStatus
getEntrySize in interface IMassDataControlStatusgetEntrySize in class AbstractRendererStatus
public void setCurrentIndex(int index)
throws WcmException
IRendererStatus
setCurrentIndex in interface IRendererStatussetCurrentIndex in class AbstractRendererStatusWcmExceptionpublic ITypedResourceList getTypedResourceList()
IRendererStatusITypedResourceList, whose elements are handled within this
status. Might be null or might be of size 0.
getTypedResourceList in interface IRendererStatusgetTypedResourceList in class AbstractRendererStatuspublic List getActions()
IControlStatusIExecutable s defined by the
implementing class
getActions in interface IControlStatuspublic IConfigurableRendererStatus getNewInstance()
getNewInstance in interface IConfigurableRendererStatus
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||