| java.lang.Object com.caucho.portal.generic.GenericWindow com.caucho.portal.generic.GenericPortletWindow
GenericPortletWindow | public class GenericPortletWindow extends GenericWindow (Code) | | A Window that contains one
javax.portlet.Portlet .
|
Field Summary | |
final protected static Logger | log |
Method Summary | |
public void | destroy() | protected Portlet | getPortlet() | public void | init(PortletContext portletContext) | public 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. | public 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. | public void | setPortlet(Portlet portlet) The portlet. | public void | setPortletClass(String className) | public void | setPortletName(String portletName) The default is the value of portlet-class. |
GenericPortletWindow | public GenericPortletWindow()(Code) | | |
destroy | public void destroy()(Code) | | |
getPortlet | protected Portlet getPortlet()(Code) | | |
init | public void init(PortletContext portletContext) throws PortletException(Code) | | |
processAction | public void processAction(PortletConnection connection) throws PortletException, IOException(Code) | | 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.
|
render | public void render(PortletConnection connection) throws PortletException, IOException(Code) | | Use the PortletConnection to get a Render appropriate for this window,
and then call render on the portlet that is contained within this
Window.
|
setPortlet | public void setPortlet(Portlet portlet)(Code) | | The portlet. This method can be called in derived classes,
or through the use of dependency injection on containers that support it.
|
setPortletName | public void setPortletName(String portletName)(Code) | | The default is the value of portlet-class.
|
Fields inherited from com.caucho.portal.generic.GenericWindow | final protected static Logger log(Code)(Java Doc)
|
Methods inherited from com.caucho.portal.generic.GenericWindow | public void addInitParam(String name, String value)(Code)(Java Doc) public void addInitParam(NameValuePair nameValuePair)(Code)(Java Doc) void addSupportedLocale(String locale)(Code)(Java Doc) void addSupportedLocales(String locales)(Code)(Java Doc) public void destroy()(Code)(Java Doc) public int getBufferSize()(Code)(Java Doc) public ArrayList<Constraint> getConstraints()(Code)(Java Doc) public PortletPreferences getDefaultPreferences()(Code)(Java Doc) public int getExpirationCache()(Code)(Java Doc) public String getInitParameter(String name)(Code)(Java Doc) public Enumeration getInitParameterNames()(Code)(Java Doc) protected String getNamespace()(Code)(Java Doc) public PortletConfig getPortletConfig()(Code)(Java Doc) public PortletContext getPortletContext()(Code)(Java Doc) public String getPortletName()(Code)(Java Doc) public ArrayList<PreferencesValidator> getPreferencesValidators()(Code)(Java Doc) public Renderer getRenderer()(Code)(Java Doc) public ResourceBundle getResourceBundle(Locale locale)(Code)(Java Doc) public Map<String, String> getRoleRefMap()(Code)(Java Doc) public Set<String> getSupportedContentTypes(PortletMode portletMode)(Code)(Java Doc) public Set<Locale> getSupportedLocales()(Code)(Java Doc) public void handleConstraintFailure(RenderRequest request, RenderResponse response, ConstraintFailureEvent event)(Code)(Java Doc) public void handleException(RenderRequest request, RenderResponse response, ExceptionEvent event)(Code)(Java Doc) public PortletMode handlePortletModeFailure(PortletRequest request, PortletMode notAllowed)(Code)(Java Doc) public WindowState handleWindowStateFailure(PortletRequest request, WindowState notAllowed)(Code)(Java Doc) public void init(PortletContext portletContext) throws PortletException(Code)(Java Doc) public boolean isPortletModeAllowed(PortletRequest request, PortletMode portletMode)(Code)(Java Doc) public boolean isPrivate()(Code)(Java Doc) public boolean isWindowStateAllowed(PortletRequest request, WindowState windowState)(Code)(Java Doc) protected Object newInstance(Class targetClass, String className) throws IllegalArgumentException(Code)(Java Doc) abstract public void processAction(PortletConnection connection) throws PortletException, IOException(Code)(Java Doc) abstract public void render(PortletConnection connection) throws PortletException, IOException(Code)(Java Doc) public void setBufferSize(int bufferSize)(Code)(Java Doc) public void setErrorPage(String errorPage)(Code)(Java Doc) public void setExpirationCache(int expirationCache)(Code)(Java Doc) public void setNamespace(String namespace)(Code)(Java Doc) public void setPortletName(String portletName)(Code)(Java Doc) public void setPortletPreferences(GenericPortletPreferences defaultPreferences)(Code)(Java Doc) public void setPrivate(boolean isPrivate)(Code)(Java Doc) public void setRenderer(Renderer renderer)(Code)(Java Doc) public void setRendererClass(String className)(Code)(Java Doc) public void setResourceBundle(String name)(Code)(Java Doc) public void setResourceBundleFactory(ResourceBundleFactory factory)(Code)(Java Doc)
|
|
|