| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IEngine
An implementation of this interface handles the request-cycle.
| Method Summary | |
|---|---|
 java.util.Set | 
_getAvailableCssFiles()
Intended for internal use.  | 
 java.util.Set | 
_getAvailableJsFiles()
Intended for internal use.  | 
 IMessagesSource | 
_getMessagesSource()
Intended for internal use.  | 
 org.xmlpull.v1.XmlSerializer | 
_getXmlSerializer()
Intended for internal use.  | 
 void | 
_setMessagesSource(IMessagesSource messagesSource)
Intended for internal use.  | 
 void | 
addErrorMapping(java.lang.String exceptionClassName,
                java.lang.String errorPageName)
Adds a mapping that will map exception classnames to page names.  | 
 java.lang.String | 
getBasePackage()
The base package name for page loading.  | 
 javax.servlet.ServletContext | 
getContext()
The ServletContext instance.  | 
 java.lang.String | 
getCssPath()
Server root-based path to css-files.  | 
 java.lang.String | 
getEncoding()
The encoding used during this request cycle for all output as well as URL encoding.  | 
 java.lang.Throwable | 
getError()
Active error for this request process cycle.  | 
 StandaloneComponent | 
getErrorPage()
The error page to render if an exception is caugth.  | 
 java.lang.String | 
getJsPath()
Server root-based path to js-files.  | 
 java.util.Locale | 
getLocale()
 | 
 IObjectStore | 
getObjectStore()
Gives access to the internal object store that is used with automatic persistence.  | 
 StandaloneComponent | 
getpage()
 | 
 javax.servlet.http.HttpServletRequest | 
getRequest()
The active HttpSerlvetRequest for this request.  | 
 IResourceManager | 
getResourceManager()
 | 
 javax.servlet.http.HttpServletResponse | 
getResponse()
The active HttpServletResponse for this request.  | 
 javax.servlet.http.HttpSession | 
getSession()
 | 
 boolean | 
isAjaxRequest()
 | 
 StandaloneComponent | 
loadPage(java.lang.String pagePath)
This method can be used to load Page-classes when the page path is known.  | 
 void | 
processRequest()
Calling this method will start the request handling process.  | 
 void | 
setEncoding(java.lang.String encoding)
Sets the encoding to use during this request cycle.  | 
 void | 
setError(java.lang.Throwable error)
Sets the error that will be accessible to an error page.  | 
 void | 
setErrorPage(StandaloneComponent errorPage)
Sets the page to render if an exception is caught.  | 
 void | 
setLocale(java.util.Locale locale)
Sets the Locale for this request cycle.  | 
| Method Detail | 
|---|
org.xmlpull.v1.XmlSerializer _getXmlSerializer()
                                               throws org.xmlpull.v1.XmlPullParserException,
                                                      java.io.IOException
org.xmlpull.v1.XmlPullParserException
java.io.IOExceptionjavax.servlet.ServletContext getContext()
javax.servlet.http.HttpServletRequest getRequest()
javax.servlet.http.HttpServletResponse getResponse()
java.util.Set _getAvailableCssFiles()
java.util.Set _getAvailableJsFiles()
java.lang.String getEncoding()
void setEncoding(java.lang.String encoding)
encoding - javax.servlet.http.HttpSession getSession()
void processRequest()
IObjectStore getObjectStore()
java.lang.String getBasePackage()
java.lang.String getCssPath()
java.lang.String getJsPath()
void setError(java.lang.Throwable error)
error - java.lang.Throwable getError()
java.util.Locale getLocale()
void setLocale(java.util.Locale locale)
locale - IMessagesSource _getMessagesSource()
void _setMessagesSource(IMessagesSource messagesSource)
messagesSource - StandaloneComponent loadPage(java.lang.String pagePath)
pagePath - The path to wanted page in the URL-format, ie. stripped of basePackageForPages. Example: "FrontPage" or "admin/TestPage".
WheelException - if loading the page fails.StandaloneComponent getErrorPage()
void setErrorPage(StandaloneComponent errorPage)
errorPage - 
void addErrorMapping(java.lang.String exceptionClassName,
                     java.lang.String errorPageName)
exceptionClassName - The full classname of the mapped exception.errorPageName - Name of the page to render.boolean isAjaxRequest()
IResourceManager getResourceManager()
StandaloneComponent getpage()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||