|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Storage
Pluggable storage. Implement this class to change the storage concept which Cewolf uses to store chart imanges and provide the implementation class name as init parameter storage for Cewolf servlet.
Method Summary | |
---|---|
ChartImage |
getChartImage(java.lang.String id,
javax.servlet.http.HttpServletRequest request)
Retrieves a chart image. |
void |
init(javax.servlet.ServletContext servletContext)
Method init. |
java.lang.String |
removeChartImage(java.lang.String imgId,
javax.servlet.http.HttpServletRequest request)
Removes the image from the storage |
java.lang.String |
storeChartImage(ChartImage chartImage,
javax.servlet.jsp.PageContext pageContext)
Stores a chart image. |
Method Detail |
---|
java.lang.String storeChartImage(ChartImage chartImage, javax.servlet.jsp.PageContext pageContext) throws CewolfException
chartImage
- the image to be storedpageContext
- servletContext which might be needed
CewolfException
ChartImage getChartImage(java.lang.String id, javax.servlet.http.HttpServletRequest request)
id
- the id of the imagerequest
- the request
void init(javax.servlet.ServletContext servletContext) throws CewolfException
servletContext
-
CewolfException
java.lang.String removeChartImage(java.lang.String imgId, javax.servlet.http.HttpServletRequest request) throws CewolfException
imgId
- Image idrequest
- Servlet request
CewolfException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |