public class CustomizeTermsOfUseController
extends org.springframework.web.servlet.mvc.multiaction.MultiActionController
DEFAULT_COMMAND_NAME, LAST_MODIFIED_METHOD_SUFFIX, PAGE_NOT_FOUND_LOG_CATEGORY, pageNotFoundLogger
Constructor and Description |
---|
CustomizeTermsOfUseController() |
Modifier and Type | Method and Description |
---|---|
org.springframework.web.servlet.ModelAndView |
resetUsers(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Sets all users to not accepted the Terms of Use.
|
org.springframework.web.servlet.ModelAndView |
show(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Standard view.
|
org.springframework.web.servlet.ModelAndView |
updateUsersPolicy(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Updates the users policy.
|
bind, createBinder, getCommandName, getExceptionHandler, getLastModified, getMethodNameResolver, getValidators, getWebBindingInitializer, handleNoSuchRequestHandlingMethod, handleRequestInternal, initBinder, invokeNamedMethod, newCommandObject, setDelegate, setMethodNameResolver, setValidators, setWebBindingInitializer
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setAlwaysMustRevalidate, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
public org.springframework.web.servlet.ModelAndView resetUsers(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
request
- The request.response
- The response.ModelAndView
.public org.springframework.web.servlet.ModelAndView show(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
request
- Request.response
- Response.ModelAndView
.public org.springframework.web.servlet.ModelAndView updateUsersPolicy(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
request
- The request.response
- The response.ModelAndView
.Copyright © 2019 Communote team. All rights reserved.