|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmondrian.web.taglib.ResultCache
public class ResultCache
Holds a query/result pair in the user's session.
| Method Summary | |
|---|---|
Document |
getDOM()
|
static ResultCache |
getInstance(HttpSession session,
ServletContext servletContext,
String name)
Retrieves a cached query. |
Query |
getQuery()
Returns the Query. |
Result |
getResult()
|
void |
parse(String mdx)
|
void |
setDirty()
set to dirty after you have modified the query to force a recalcuation |
void |
setQuery(Query query)
Sets the query. |
void |
valueBound(HttpSessionBindingEvent ev)
create a new connection to Mondrian |
void |
valueUnbound(HttpSessionBindingEvent ev)
close connection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ResultCache getInstance(HttpSession session,
ServletContext servletContext,
String name)
public void parse(String mdx)
public Result getResult()
public Document getDOM()
public Query getQuery()
Query. If you modify the query, call
setDirty()(true).
public void setQuery(Query query)
setDirty()(true).
public void setDirty()
public void valueBound(HttpSessionBindingEvent ev)
valueBound in interface HttpSessionBindingListenerpublic void valueUnbound(HttpSessionBindingEvent ev)
valueUnbound in interface HttpSessionBindingListener
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||