|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.context.support.ApplicationObjectSupport org.springframework.web.context.support.WebApplicationObjectSupport org.springframework.web.servlet.support.WebContentGenerator org.springframework.web.servlet.mvc.AbstractController org.springframework.extensions.surf.mvc.AbstractWebFrameworkController
public abstract class AbstractWebFrameworkController
Abstract Spring MVC Controller that produces Surf Views. Developers who wish to implement custom Spring controllers for use with Alfresco Surf will benefit by extending from this class. This class provides member functions for accessing the application context as well as important Surf services.
Field Summary |
---|
Fields inherited from class org.springframework.web.servlet.support.WebContentGenerator |
---|
METHOD_GET, METHOD_HEAD, METHOD_POST |
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport |
---|
logger |
Constructor Summary | |
---|---|
AbstractWebFrameworkController()
|
Method Summary | |
---|---|
abstract org.springframework.web.servlet.ModelAndView |
createModelAndView(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Internal method to be implemented by inheriting class to create model and view for the controller. |
abstract org.apache.commons.logging.Log |
getLogger()
Returns a logger for the controller |
RenderService |
getRenderService()
Gets the render service. |
WebFrameworkServiceRegistry |
getServiceRegistry()
Gets the service registry. |
WebFrameworkConfigElement |
getWebFrameworkConfiguration()
Gets the web framework configuration. |
WebFrameworkManager |
getWebFrameworkManager()
Gets the web framework manager. |
org.springframework.web.servlet.ModelAndView |
handleRequestInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
setServiceRegistry(WebFrameworkServiceRegistry webFrameworkServiceRegistry)
Sets the service registry. |
Methods inherited from class org.springframework.web.servlet.mvc.AbstractController |
---|
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession |
Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator |
---|
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader |
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport |
---|
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext |
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport |
---|
getApplicationContext, getMessageSourceAccessor, initApplicationContext, requiredContextClass, setApplicationContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.web.context.ServletContextAware |
---|
setServletContext |
Constructor Detail |
---|
public AbstractWebFrameworkController()
Method Detail |
---|
public void setServiceRegistry(WebFrameworkServiceRegistry webFrameworkServiceRegistry)
webFrameworkServiceRegistry
- the new service registrypublic WebFrameworkServiceRegistry getServiceRegistry()
public WebFrameworkConfigElement getWebFrameworkConfiguration()
public WebFrameworkManager getWebFrameworkManager()
public RenderService getRenderService()
public org.springframework.web.servlet.ModelAndView handleRequestInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
handleRequestInternal
in class org.springframework.web.servlet.mvc.AbstractController
Exception
public abstract org.springframework.web.servlet.ModelAndView createModelAndView(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
request
- response
-
Exception
public abstract org.apache.commons.logging.Log getLogger()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |