@Controller @RequestMapping(value="/database") public class DatabaseController extends Object
Constructor and Description |
---|
DatabaseController() |
Modifier and Type | Method and Description |
---|---|
String |
getSchema(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model uiModel,
DatabaseSchemaOutputForm form,
org.springframework.validation.BindingResult result) |
String |
getSchemaDownload(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model uiModel,
DatabaseSchemaOutputForm form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletResponse response) |
String |
index(org.springframework.ui.Model uiModel,
javax.servlet.http.HttpServletRequest request) |
boolean |
isAllowedAccess(String roleName,
javax.servlet.http.HttpServletRequest request) |
void |
setDatabaseService(DatabaseService service) |
public DatabaseController()
public void setDatabaseService(DatabaseService service)
@RequestMapping(method=GET) public String index(org.springframework.ui.Model uiModel, javax.servlet.http.HttpServletRequest request)
@RequestMapping(method=POST) public String getSchema(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model uiModel, @ModelAttribute(value="form") DatabaseSchemaOutputForm form, org.springframework.validation.BindingResult result)
@RequestMapping(method=POST, params="download") public String getSchemaDownload(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model uiModel, @ModelAttribute(value="form") DatabaseSchemaOutputForm form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletResponse response)
public boolean isAllowedAccess(String roleName, javax.servlet.http.HttpServletRequest request)
Copyright © 2011–2014 The Kuali Foundation. All rights reserved.