|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.configuration.AbstractConfigBean
org.torweg.pulse.component.core.site.search.SearchSiteConfiguration
public class SearchSiteConfiguration
configures the site-wide search.
| Constructor Summary | |
|---|---|
SearchSiteConfiguration()
|
|
| Method Summary | |
|---|---|
long |
getFailuresTimeFactor()
returns the time factor for failures to expire (default = 1 day). |
int |
getPagingMaxQuickNavLinks()
returns the max number of quick navigation links (default = 10). |
int |
getPagingMaxResults()
returns the max results for searches before paging starts (default = 25). |
int |
getSuggestionsMaxResults()
returns the max results for suggestions (default = 5). |
long |
getSuggestionsPenaltyInterval()
returns the penalty interval, i.e. the minimum interval between two subsequent recurrences without being considered a flooding attack (default = 3000ms). |
long |
getSuggestionsTimeFactor()
returns the time factor for suggestions to expire (default = 1 day). |
void |
init(org.jdom.Element conf)
initialises the ConfigBean. |
| Methods inherited from class org.torweg.pulse.configuration.AbstractConfigBean |
|---|
buildClass, buildInstance, lastModified, setLastModified |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SearchSiteConfiguration()
| Method Detail |
|---|
public void init(org.jdom.Element conf)
ConfigBean.
conf - the configuration XML as a JDOM elementConfigBean.init(org.jdom.Element)public final int getSuggestionsMaxResults()
public final long getSuggestionsTimeFactor()
public final long getSuggestionsPenaltyInterval()
public final long getFailuresTimeFactor()
public final int getPagingMaxResults()
public final int getPagingMaxQuickNavLinks()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||