public class ModuleLockingHandlerInterceptor extends Object implements org.springframework.web.servlet.HandlerInterceptor
Constructor and Description |
---|
ModuleLockingHandlerInterceptor() |
Modifier and Type | Method and Description |
---|---|
void |
afterCompletion(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler,
Exception exception) |
protected KualiModuleService |
getKualiModuleService() |
String |
getModuleLockedMapping() |
protected ModuleService |
getModuleService(javax.servlet.http.HttpServletRequest request)
Retrieves the module service that is associated with the data object class given through the request
|
protected boolean |
isModuleLocked(javax.servlet.http.HttpServletRequest request)
Determines the module associated with the given request and then checks whether the module is locked
|
void |
postHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler,
org.springframework.web.servlet.ModelAndView modelAndview) |
boolean |
preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler) |
void |
setKualiModuleService(KualiModuleService kualiModuleService) |
void |
setModuleLockedMapping(String moduleLockedMapping) |
public ModuleLockingHandlerInterceptor()
public void afterCompletion(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler, Exception exception) throws Exception
afterCompletion
in interface org.springframework.web.servlet.HandlerInterceptor
Exception
HandlerInterceptor.afterCompletion(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse, java.lang.Object, java.lang.Exception)
public void postHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler, org.springframework.web.servlet.ModelAndView modelAndview) throws Exception
postHandle
in interface org.springframework.web.servlet.HandlerInterceptor
Exception
HandlerInterceptor.postHandle(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse, java.lang.Object, org.springframework.web.servlet.ModelAndView)
public boolean preHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler) throws Exception
preHandle
in interface org.springframework.web.servlet.HandlerInterceptor
Exception
HandlerInterceptor.preHandle(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse, java.lang.Object)
protected boolean isModuleLocked(javax.servlet.http.HttpServletRequest request)
request
- request object to pull parameters fromprotected ModuleService getModuleService(javax.servlet.http.HttpServletRequest request)
request
- request object to check parameters forpublic String getModuleLockedMapping()
public void setModuleLockedMapping(String moduleLockedMapping)
public void setKualiModuleService(KualiModuleService kualiModuleService)
protected KualiModuleService getKualiModuleService()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.