|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The session object contains the search results in a raw format.
To get search results getSearchResults must be called.
The session concept optimizes performance because only for the displayed results resources
must be retrieved from the resource factory.
| Method Summary | |
int |
getNumberResultKeys()
Gets the number of document keys that have been found so far. |
IQueryEntryList |
getQueryEntryList()
Returns the query list of the session. |
java.util.Map |
getRenderParameters()
Returns the rendring parameters defined in search for the session. |
IResourceContext |
getResourceContext()
Context of the user that performed the search. |
ISearchResultList |
getSearchResults(int from,
int to)
List of search results from position a to b in the result list. |
ISearchResultList |
getSearchResults(int from,
int to,
com.sapportals.wcm.service.resourcelistfilter.IResourceListFilter resourceListFilter,
com.sapportals.wcm.repository.service.layout.customizing.IParameters filterParameters)
List of search results from position a to b in the result list. |
int |
getTotalNumberResultKeys()
Gets the total number of document keys that can be returned. |
void |
setRenderParameters(java.util.Map renderParameters)
Sets the rendring parameters defined in search for the session. |
| Method Detail |
public ISearchResultList getSearchResults(int from,
int to)
throws WcmException
from - position of first returned document in the result listto - position of last returned document in the result list
public ISearchResultList getSearchResults(int from,
int to,
com.sapportals.wcm.service.resourcelistfilter.IResourceListFilter resourceListFilter,
com.sapportals.wcm.repository.service.layout.customizing.IParameters filterParameters)
throws WcmException
from - position of first returned document in the result listto - position of last returned document in the result listresourceListFilter - filters the search results before they are returnedfilterParameters - parameters for the resource list filterpublic IResourceContext getResourceContext()
public int getNumberResultKeys()
public int getTotalNumberResultKeys()
IRawSearchSession.setTotalNumberResultKeys must be used
to get a value here.public IQueryEntryList getQueryEntryList()
public java.util.Map getRenderParameters()
public void setRenderParameters(java.util.Map renderParameters)
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||