@Controller @RequestMapping(value="/reporting") public class ReportingController extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AFFILIATION_FACULTY |
static String |
AFFILIATION_OTHER |
static String |
AFFILIATION_STAFF |
static String |
AFFILIATION_STUDENT |
static String |
ATTACHMENT |
static String |
COMMENT |
static String |
CONTACT_ME |
static String |
EMAIL |
static String |
INCIDENT_GROUP |
static String |
INCIDENT_TYPE |
static String |
SUMMARY |
Constructor and Description |
---|
ReportingController() |
Modifier and Type | Method and Description |
---|---|
String |
addFile(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap model,
Incident incident,
org.springframework.validation.BindingResult result,
org.springframework.web.bind.support.SessionStatus status) |
String |
adminDetails(Long id,
org.springframework.ui.Model uiModel,
javax.servlet.http.HttpServletRequest request) |
String |
adminEdit(Long id,
org.springframework.ui.Model uiModel,
javax.servlet.http.HttpServletRequest request) |
String |
adminIndex(org.springframework.ui.Model uiModel,
javax.servlet.http.HttpServletRequest request) |
String |
getAngularTemplates(String key,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model uiModel) |
String |
getJavaScript(String key,
org.springframework.ui.Model uiModel) |
Properties |
getKmeProperties() |
String |
incidentForm(org.springframework.ui.Model uiModel,
javax.servlet.http.HttpServletRequest request) |
String |
index(org.springframework.ui.Model uiModel,
javax.servlet.http.HttpServletRequest request) |
String |
revisions(Long id,
org.springframework.ui.Model uiModel,
javax.servlet.http.HttpServletRequest request) |
String |
saveSumission(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap model,
File file,
org.springframework.validation.BindingResult result,
org.springframework.web.bind.support.SessionStatus status) |
void |
setKmeProperties(Properties kmeProperties) |
String |
submitIncident(org.springframework.ui.Model uiModel,
javax.servlet.http.HttpServletRequest request,
Incident incident,
org.springframework.validation.BindingResult result) |
public static final String INCIDENT_TYPE
public static final String INCIDENT_GROUP
public static final String SUMMARY
public static final String EMAIL
public static final String AFFILIATION_STUDENT
public static final String AFFILIATION_FACULTY
public static final String AFFILIATION_STAFF
public static final String AFFILIATION_OTHER
public static final String CONTACT_ME
public static final String ATTACHMENT
public static final String COMMENT
public ReportingController()
@RequestMapping(method=GET) public String index(org.springframework.ui.Model uiModel, javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/admin/index", method=GET) public String adminIndex(org.springframework.ui.Model uiModel, javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/admin/incident/details/{id}", method=GET) public String adminDetails(@PathVariable(value="id") Long id, org.springframework.ui.Model uiModel, javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/admin/incident/save", method=POST) public String saveSumission(javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model, @ModelAttribute(value="file") File file, org.springframework.validation.BindingResult result, org.springframework.web.bind.support.SessionStatus status)
@RequestMapping(value="/admin/incident/revisions/{id}", method=GET) public String revisions(@PathVariable(value="id") Long id, org.springframework.ui.Model uiModel, javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/admin/incident/savefile", method=POST) public String addFile(javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model, @ModelAttribute(value="file") Incident incident, org.springframework.validation.BindingResult result, org.springframework.web.bind.support.SessionStatus status)
@RequestMapping(value="/admin/incident/edit/{id}", method=GET) public String adminEdit(@PathVariable(value="id") Long id, org.springframework.ui.Model uiModel, javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/incidentForm", method=GET) public String incidentForm(org.springframework.ui.Model uiModel, javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/incidentPost", method=POST) public String submitIncident(org.springframework.ui.Model uiModel, javax.servlet.http.HttpServletRequest request, @ModelAttribute(value="incident") Incident incident, org.springframework.validation.BindingResult result)
@RequestMapping(value="/templates/{key}") public String getAngularTemplates(@PathVariable(value="key") String key, javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model uiModel)
@RequestMapping(value="/js/{key}.js") public String getJavaScript(@PathVariable(value="key") String key, org.springframework.ui.Model uiModel)
public Properties getKmeProperties()
public void setKmeProperties(Properties kmeProperties)
Copyright © 2011–2014 The Kuali Foundation. All rights reserved.