com.acsinet_solutions.cetia4.controller
Interface RenderContext

All Superinterfaces:
ParameterAccessor, RequestContext
All Known Subinterfaces:
ServletRequestContext
All Known Implementing Classes:
AbstractServletRequestContext, WebServiceServletRequestContext, WebServletRequestContext

public interface RenderContext
extends RequestContext

Extension of RequestContext that defines methods specific for render contexts in portlets and GET requests in servlets. This interface was inspired on render phase of portlets, but it is also applied for REST servlet applications.

Author:
Santiago Arriaga
See Also:
AbstractRestServlet.doGet(HttpServletRequest,HttpServletResponse)

Method Summary
 void display(java.lang.String view)
          Display a given view page, forwarding to ( servlets ) or including ( portlets ) the given page.
 Link getNavigationLink()
          Obtain a link to the current render request, including all paramters provided.
 boolean isNewForm()
          Checks the presence of FORM_ATTRIBUTE entry, and the bean referred by the value stored in that entry.
 
Methods inherited from interface com.acsinet_solutions.cetia4.controller.RequestContext
getAttribute, getComponentAttribute, getConfiguration, getContextAttribute, getContextPath, getMethod, getPathInfo, getRequestAttribute, getRequestedController, getRequestedPage, getRequestedURI, getRequestType, getSecurityContext, getSessionAttribute, invalidateSession, redirectTo, removeAttribute, removeComponentAttribute, removeContextAttribute, removeRequestAttribute, removeSessionAttribute, sessionExists, setAttribute, setComponentAttribute, setContextAttribute, setFormAttribute, setMessage, setRequestAttribute, setSessionAttribute, setSystemException, setValidationException
 
Methods inherited from interface com.acsinet_solutions.cetia4.controller.ParameterAccessor
getParameter, getParameterMap
 

Method Detail

getNavigationLink

Link getNavigationLink()
Obtain a link to the current render request, including all paramters provided.

See Also:
NavigationStage

display

void display(java.lang.String view)
             throws java.io.IOException,
                    SystemException
Display a given view page, forwarding to ( servlets ) or including ( portlets ) the given page.

Throws:
java.io.IOException
SystemException

isNewForm

boolean isNewForm()
Checks the presence of FORM_ATTRIBUTE entry, and the bean referred by the value stored in that entry.