|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Access to a search session from the input side.
| Method Summary | |
void |
addPropertyInfo(String attrName,
IPropertyInfo propertyInfo)
|
IRawSearchResult |
createRawSearchResult(String docKey,
float rankValue)
|
IRawSearchResult |
createRawSearchResult(String docKey,
float rankValue,
IProperty sortProperty,
IPropertyMap resultResourceProperties)
|
IPropertyInfo |
getPropertyInfo(String attrName)
|
List |
getRawSearchResults()
Gets all in the session existing results |
List |
getRawSearchResults(int newMaxResults)
If the session has less than new max results a search with newMaxResults is performed and these raw results are returned. |
ISearchResultList |
getSearchResults(List rawSearchResults)
Converts raw search results in real search results |
ISortPropertyName |
getSortProperty()
|
void |
setRawSearchResults(List rawSearchResults)
List of raw search results is set by the index impl |
void |
setSearchLanguages(Set languages)
Sets the languages, on which the search is restricted. |
void |
setTotalNumberResultKeys(int totalNumberDocKeys)
Sets the total number of document keys that can be returned. |
| Method Detail |
public void setRawSearchResults(List rawSearchResults)
public List getRawSearchResults(int newMaxResults)
throws WcmException
newMaxResults - new maximum number of returned results
WcmExceptionpublic List getRawSearchResults()
public ISearchResultList getSearchResults(List rawSearchResults)
throws ResourceException
rawSearchResults - list of IRawSearchResult
ResourceException
public IRawSearchResult createRawSearchResult(String docKey,
float rankValue)
docKey - document key of the resultrankValue - rank value of the search result
public IRawSearchResult createRawSearchResult(String docKey,
float rankValue,
IProperty sortProperty,
IPropertyMap resultResourceProperties)
docKey - document key of the resultrankValue - rank value of the search resultsortProperty - property that has been used for sortingresultResourceProperties - properties of the result that have been retrieved by the search engine
public ISortPropertyName getSortProperty()
public void setTotalNumberResultKeys(int totalNumberDocKeys)
totalNumberDocKeys - total number of document keyspublic void setSearchLanguages(Set languages)
languages - set of strings describing languagespublic IPropertyInfo getPropertyInfo(String attrName)
public void addPropertyInfo(String attrName,
IPropertyInfo propertyInfo)
propertyInfo -
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||