| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.endeca.infront.navigation.event.NavigationEventWrapper
public class NavigationEventWrapper
Provides a navigation specific schema to a request event.
RequestEvent:
 ...
 NavigationEventWrapper navigationEvent = new NavigationEventWrapper(RequestEventFactory.getEvent());
 
 navigationEvent.setNumRecords(100);
 ...
 
| Constructor Summary | |
|---|---|
| NavigationEventWrapper(RequestEvent assemblerRequestEvent)Create a new NavigationEventWrapper object based on the given RequestEvent | |
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public NavigationEventWrapper(RequestEvent assemblerRequestEvent)
assemblerRequestEvent - the RequestEvent to wrap| Method Detail | 
|---|
protected void addListItem(String key,
                           Object listItem)
key - the key of the list in this maplistItem - the item to add to the list corresponding to the keypublic RequestType getRequestType()
public void setRequestType(RequestType requestType)
requestType - the type of request made (e.g. Navigation only, 
 Search, etc.)public Long getNumRecords()
public void setNumRecords(Long numRecords)
numRecords - the number of records returned by this request in 
 a results listpublic Integer getNumRefinements()
public void setNumRefinements(Integer numRefinements)
numRefinements - the number of refinements selectedpublic String getSearchKey()
public void setSearchKey(String searchKey)
searchKey - the key used to search on in the given navigation statepublic String getSearchTerms()
public void setSearchTerms(String searchTerms)
searchTerms - the terms searched onpublic String getSearchMode()
public void setSearchMode(String searchMode)
searchMode - the mode used to search onpublic List<String> getDimensions()
public void setDimensions(List<String> dimensions)
dimensions - the list of names of dimensions selected for 
 navigationpublic void addDimension(String dimension)
dimension - the dimension to addpublic List<String> getDimensionValues()
public void setDimensionValues(List<String> dimensionValues)
dimensionValues - the list of dimension value names selected 
 for navigationpublic void addDimensionValue(String dimensionValue)
dimensionValue - the dimension value to addpublic String getAutocorrectTo()
public void setAutocorrectTo(String autocorrectTo)
autocorrectTo - if auto-correct triggered, what was suggestedpublic List<String> getDidYouMeanTo()
public void setDidYouMeanTo(List<String> didYouMeanTo)
didYouMeanTo - if "did you mean" triggered, what was suggestedpublic void addDidYouMeanTo(String recordName)
recordName - the suggestion to addpublic List<String> getRecordNames()
public void setRecordNames(List<String> recordNames)
recordNames - the names of the records returned by the requestpublic void addRecordName(String recordName)
recordName - the record name to addpublic List<String> getSpotlights()
public void setSpotlights(List<String> spotlights)
spotlights - what spotlights triggeredpublic void addSpotlight(String spotlight)
spotlight - the spotlight to addpublic List<String> getSortKeys()
fieldName|(Descending|Ascending)public void setSortKeys(List<String> sortKeys)
sortKeys - the keys sorted on.  The key are strings with the format:fieldName|(Descending|Ascending)public void addSortKey(String sortKey)
sortKey - the sort key to add.  Sort keys are strings with the 
 format:fieldName|(Descending|Ascending)public Long getEneTime()
public void setEneTime(Long eneTime)
eneTime - the time the MDEX engine spent running the query, 
 in millisecondspublic String getSiteRootPath()
public void setSiteRootPath(String siteRootPath)
siteRootPath - the site root path of the page corresponding 
 to this requestpublic String getContentPath()
public void setContentPath(String contentPath)
contentPath - the content path of the page corresponding 
 to this requestpublic String getRecordSpec()
public void setRecordSpec(String recordSpec)
recordSpec - the record specifier for a selected recordpublic String getEqlExpression()
public void setEqlExpression(String eqlExpression)
eqlExpression - the EQL expression used to perform the searchpublic String getRelRankEffectiveSearchKey()
public void setRelRankEffectiveSearchKey(String relRankEffectiveSearchKey)
relRankEffectiveSearchKey - the relevance ranking effective search keypublic String getRelRankEffectiveSearchTerms()
public void setRelRankEffectiveSearchTerms(String relRankEffectiveSearchTerms)
relRankEffectiveSearchTerms - the relevance ranking effective search termspublic String getRelRankEffectiveMatchMode()
public void setRelRankEffectiveMatchMode(String relRankEffectiveMatchMode)
relRankEffectiveMatchMode - the relevance ranking effective match modepublic String getRelRankStrategy()
public void setRelRankStrategy(String relRankStrategy)
relRankStrategy - the relevance ranking strategy used in this navigation state| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||