| 
 | BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectportlets.compoze.groupware.CollabEmbeddedImageListener
public class CollabEmbeddedImageListener
This class is an embedded image listener. This listener is useful in web applications where the download servlet can be readily accessed.
| Constructor Summary | |
|---|---|
| CollabEmbeddedImageListener()Constructor. | |
| CollabEmbeddedImageListener(java.lang.String sServletName)Constructor. | |
| Method Summary | |
|---|---|
|  java.lang.String | getIDParamName()Gets the attachment id parameter name. | 
|  java.lang.String | getImageUrl(java.lang.String sID)Gets a URL that can provide the image data to the browser. | 
|  java.lang.String | getServletName()Gets the servlet name | 
|  void | setIDParamName(java.lang.String sIDParamName)Sets the attachment id parameter name. | 
|  void | setResponse(HttpServletResponse response)Sets the http response instance. | 
|  void | setServletName(java.lang.String sServletName)Sets the servlet name to use with the listener. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public CollabEmbeddedImageListener()
public CollabEmbeddedImageListener(java.lang.String sServletName)
sServletName - the servlet name| Method Detail | 
|---|
public void setServletName(java.lang.String sServletName)
sServletName - the servlet namepublic java.lang.String getServletName()
public void setIDParamName(java.lang.String sIDParamName)
sIDParamName - the name of the id parameterpublic java.lang.String getIDParamName()
public void setResponse(HttpServletResponse response)
response - the HTTP responsepublic java.lang.String getImageUrl(java.lang.String sID)
IEmbeddedImageListener
getImageUrl in interface IEmbeddedImageListenersID - the id of the attachment is passed to the listener
null)| 
 | BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||