|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.portal.generic.GenericWindow
com.caucho.portal.generic.GenericPortletWindow
public class GenericPortletWindow
A Window that contains one javax.portlet.Portlet.
| Field Summary | |
|---|---|
protected static java.util.logging.Logger |
log
|
| Constructor Summary | |
|---|---|
GenericPortletWindow()
|
|
| Method Summary | |
|---|---|
void |
destroy()
|
protected Portlet |
getPortlet()
|
void |
init(PortletContext portletContext)
|
void |
processAction(PortletConnection connection)
Use the PortletConnection to get an Action appropriate for this window, and then call processAction on the portlet that is contained within this Window if the Portlet is the target of the action. |
void |
render(PortletConnection connection)
Use the PortletConnection to get a Render appropriate for this window, and then call render on the portlet that is contained within this Window. |
void |
setPortlet(Portlet portlet)
The portlet. |
void |
setPortletClass(java.lang.String className)
An alternative to setPortlet(Portlet), specify the class
name of an object to instantiate |
void |
setPortletName(java.lang.String portletName)
The default is the value of portlet-class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.util.logging.Logger log
| Constructor Detail |
|---|
public GenericPortletWindow()
| Method Detail |
|---|
public void setPortlet(Portlet portlet)
public void setPortletClass(java.lang.String className)
setPortlet(Portlet), specify the class
name of an object to instantiate
public void setPortletName(java.lang.String portletName)
setPortletName in class GenericWindow
public void init(PortletContext portletContext)
throws PortletException
init in class GenericWindowPortletExceptionprotected Portlet getPortlet()
public void processAction(PortletConnection connection)
throws PortletException,
java.io.IOException
processAction in class GenericWindowPortletException
java.io.IOException
public void render(PortletConnection connection)
throws PortletException,
java.io.IOException
render in class GenericWindowPortletException
java.io.IOExceptionpublic void destroy()
destroy in class GenericWindow
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||