Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.search
Class QueryConfig

java.lang.Object
  extended by com.liferay.portal.kernel.search.QueryConfig
All Implemented Interfaces:
Serializable

public class QueryConfig
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static String LOCALE
           
 
Constructor Summary
QueryConfig()
           
 
Method Summary
 Serializable getAttribute(String name)
           
 Map<String,Serializable> getAttributes()
           
 int getHighlightFragmentSize()
           
 int getHighlightSnippetSize()
           
 Locale getLocale()
           
 boolean isHighlightEnabled()
           
 boolean isScoreEnabled()
           
 Serializable removeAttribute(String name)
           
 void setAttribute(String name, Serializable value)
           
 void setHighlightEnabled(boolean highlightEnabled)
           
 void setHighlightFragmentSize(int highlightFragmentSize)
           
 void setHighlightSnippetSize(int highlightSnippetSize)
           
 void setLocale(Locale locale)
           
 void setScoreEnabled(boolean scoreEnabled)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCALE

public static final String LOCALE
See Also:
Constant Field Values
Constructor Detail

QueryConfig

public QueryConfig()
Method Detail

getAttribute

public Serializable getAttribute(String name)

getAttributes

public Map<String,Serializable> getAttributes()

getHighlightFragmentSize

public int getHighlightFragmentSize()

getHighlightSnippetSize

public int getHighlightSnippetSize()

getLocale

public Locale getLocale()

isHighlightEnabled

public boolean isHighlightEnabled()

isScoreEnabled

public boolean isScoreEnabled()

removeAttribute

public Serializable removeAttribute(String name)

setAttribute

public void setAttribute(String name,
                         Serializable value)

setHighlightEnabled

public void setHighlightEnabled(boolean highlightEnabled)

setHighlightFragmentSize

public void setHighlightFragmentSize(int highlightFragmentSize)

setHighlightSnippetSize

public void setHighlightSnippetSize(int highlightSnippetSize)

setLocale

public void setLocale(Locale locale)

setScoreEnabled

public void setScoreEnabled(boolean scoreEnabled)

Liferay 6.1.2-ce-ga3