org.mycore.services.fieldquery
Class MCRCachedQueryData
java.lang.Object
org.mycore.services.fieldquery.MCRCachedQueryData
public class MCRCachedQueryData
- extends Object
Manages a cache that contains the data of the most recently used queries.
There are {MCR.SearchServlet.CacheSize} most recently used queries
in a global cache. Additionally, the last query of search session is always
stored within the MCRSession.
- Author:
- Frank Lützenkirchen
|
Field Summary |
protected static MCRCache |
cache
A cache that contains the data of the most recently used queries |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cache
protected static MCRCache cache
- A cache that contains the data of the most recently used queries
getData
public static MCRCachedQueryData getData(String id)
cache
public static void cache(MCRResults results,
Document query,
MCRCondition condition)
getNumPerPage
public int getNumPerPage()
setNumPerPage
public void setNumPerPage(int numPerPage)
getPage
public int getPage()
setPage
public void setPage(int page)
getCondition
public MCRCondition getCondition()
getQuery
public Document getQuery()
getResults
public MCRResults getResults()