za.org.coefficient.core
Class CoefficientWebContext

java.lang.Object
  extended by za.org.coefficient.core.BaseCoefficientContext
      extended by za.org.coefficient.core.CoefficientWebContext
All Implemented Interfaces:
java.io.Serializable, za.co.csir.icomtek.workflow.interfaces.WorkflowContext, CoefficientContext

public class CoefficientWebContext
extends BaseCoefficientContext
implements java.io.Serializable

This is the context created by the CoefficientServlet and passed as an argument to all coefficient modules. This is used to find information such as who is logged in and what parameters have just been passed into the system. It is also used to delegate certain actions such as setting up page forwards, reporting errors, and beginning workflow operations. The class BaseCoefficientContext does all the work this class just initializes and sychronizes the context with web components, HttpServletRequest and HttpServletResponse.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class za.org.coefficient.core.BaseCoefficientContext
CURRENT_PROJECT, domain, fileUploadData, invalidateSession, inWorkflowAction, LAST_NON_HELP_OP, multipartRequest, page_, redirectionURL, removedSessionKeys, requestAttributes, requestData, requestURL, serializableExistingCookies, serializableNewCookies, session, URL_PREFIX
 
Constructor Summary
CoefficientWebContext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Method Summary
 void synchronize(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class za.org.coefficient.core.BaseCoefficientContext
beginWorkflowAction, clearModuleContent, clearPage, createPageObject, endWorkflowAction, getCookies, getCurrentUser, getLastNonHelpOp, getMultipartRequest, getPage, getParameter, getParameter, getParameterAsBoolean, getParameterAsDate, getParameterAsDouble, getParameterAsDouble, getParameterAsDoublePrimitive, getParameterAsInt, getParameterAsInteger, getParameterAsInteger, getParameterAsLong, getParameterAsLong, getParameterAsLongPrimitive, getParametersValues, getParameterValues, getParameterValuesLong, getProject, getRequestAttribute, getRequestAttributes, getRequestData, getRequestURL, getSession, getSessionAttribute, getTheme, getUploadedFile, invalidateSession, isError, removeRequestAttribute, removeSessionAttribute, setCookie, setError, setForward, setForward, setForward, setModuleContent, setModuleContent, setProject, setProperties, setProperty, setRequestAttribute, setRequestAttributes, setRequestData, setSession, setSessionAttribute, setTheme, setWorkflowUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoefficientWebContext

public CoefficientWebContext(javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response)
                      throws java.io.IOException
Throws:
java.io.IOException
Method Detail

synchronize

public void synchronize(javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response)
                 throws java.io.IOException
Throws:
java.io.IOException


Copyright CSIR. All Rights Reserved.