|
||||||||||
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 java.lang.Object |
getCacheObject(ChartImage cid)
|
ChartImage |
getChartImage(java.lang.String id,
javax.servlet.http.HttpServletRequest request)
Retrieves a chart image. |
java.lang.String |
getKey(ChartImage cid)
|
void |
init(javax.servlet.ServletContext servletContext)
Method init. |
java.lang.String |
removeChartImage(java.lang.String imgKey,
javax.servlet.http.HttpServletRequest request)
Removes the image from the storage |
protected java.lang.String |
removeChartImage(java.lang.String cid,
javax.servlet.http.HttpSession session)
|
protected java.lang.String |
storeChartImage(ChartImage cid,
javax.servlet.http.HttpSession session)
|
java.lang.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 java.lang.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(java.lang.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 java.lang.String getKey(ChartImage cid)
protected java.lang.String storeChartImage(ChartImage cid, javax.servlet.http.HttpSession session) throws CewolfException
CewolfException
public java.lang.String removeChartImage(java.lang.String imgKey, javax.servlet.http.HttpServletRequest request) throws CewolfException
Storage
removeChartImage
in interface Storage
imgKey
- Image idrequest
- Servlet request
CewolfException
protected java.lang.String removeChartImage(java.lang.String cid, javax.servlet.http.HttpSession session) throws CewolfException
cid
- session
-
CewolfException
protected abstract java.lang.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 |