|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.laures.cewolf.storage.AbstractSessionStorage
public abstract class AbstractSessionStorage
Constructor Summary | |
---|---|
AbstractSessionStorage()
|
Method Summary | |
---|---|
boolean |
contains(ChartImage cid,
javax.servlet.jsp.PageContext pageContext)
|
protected abstract Object |
getCacheObject(ChartImage cid)
|
ChartImage |
getChartImage(String id,
javax.servlet.http.HttpServletRequest request)
Retrieves a chart image. |
String |
getKey(ChartImage cid)
|
void |
init(javax.servlet.ServletContext servletContext)
Method init. |
String |
removeChartImage(String imgKey,
javax.servlet.http.HttpServletRequest request)
Removes the image from the storage |
protected String |
removeChartImage(String cid,
javax.servlet.http.HttpSession session)
|
protected String |
storeChartImage(ChartImage cid,
javax.servlet.http.HttpSession session)
|
String |
storeChartImage(ChartImage cid,
javax.servlet.jsp.PageContext pageContext)
Stores a chart image. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractSessionStorage()
Method Detail |
---|
public String storeChartImage(ChartImage cid, javax.servlet.jsp.PageContext pageContext) throws CewolfException
Storage
storeChartImage
in interface Storage
CewolfException
de.laures.cewolf.Storage#storeChartImage(ChartImage, ServletContext)
public ChartImage getChartImage(String id, javax.servlet.http.HttpServletRequest request)
Storage
getChartImage
in interface Storage
id
- the id of the imagerequest
- the request
de.laures.cewolf.Storage#getChartImage(String)
public boolean contains(ChartImage cid, javax.servlet.jsp.PageContext pageContext)
public final String getKey(ChartImage cid)
protected String storeChartImage(ChartImage cid, javax.servlet.http.HttpSession session) throws CewolfException
CewolfException
public String removeChartImage(String imgKey, javax.servlet.http.HttpServletRequest request) throws CewolfException
Storage
removeChartImage
in interface Storage
imgKey
- Image idrequest
- Servlet request
CewolfException
protected String removeChartImage(String cid, javax.servlet.http.HttpSession session) throws CewolfException
cid
- session
-
CewolfException
protected abstract Object getCacheObject(ChartImage cid) throws CewolfException
CewolfException
public void init(javax.servlet.ServletContext servletContext) throws CewolfException
Storage
init
in interface Storage
CewolfException
Storage.init(ServletContext)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |