@Controller @RequestMapping(value="/masters") public class DocumentController extends Object
| Constructor and Description |
|---|
DocumentController() |
| Modifier and Type | Method and Description |
|---|---|
String |
ajaxsearchDocument(String mode,
org.springframework.ui.Model model,
org.egov.mrs.domain.entity.MarriageDocument marriageDocument) |
String |
createDcoument(org.egov.mrs.domain.entity.MarriageDocument marriageDocument,
org.springframework.validation.Errors errors,
org.springframework.ui.Model model,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
String |
documentSuccess(Long id,
org.springframework.ui.Model model) |
String |
loadCreateForm(org.springframework.ui.Model model) |
String |
search(org.springframework.ui.Model model,
String mode) |
String |
updateDocument(org.springframework.ui.Model model,
org.egov.mrs.domain.entity.MarriageDocument marriageDocument,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
String |
updateForm(org.springframework.ui.Model model,
Long id) |
String |
viewDocument(org.springframework.ui.Model model,
Long id) |
@RequestMapping(value="/document/create",
method=GET)
public String loadCreateForm(org.springframework.ui.Model model)
@RequestMapping(value="/document/create",
method=POST)
public String createDcoument(@ModelAttribute(value="marriageDocument")
org.egov.mrs.domain.entity.MarriageDocument marriageDocument,
org.springframework.validation.Errors errors,
org.springframework.ui.Model model,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
@RequestMapping(value="/document/success/{id}",
method=GET)
public String documentSuccess(@PathVariable
Long id,
org.springframework.ui.Model model)
@RequestMapping(value="/document/search/{mode}",
method=GET)
public String search(org.springframework.ui.Model model,
@PathVariable(value="mode")
String mode)
@RequestMapping(value="/document/view/{id}",
method=GET)
public String viewDocument(org.springframework.ui.Model model,
@PathVariable(value="id")
Long id)
@RequestMapping(value="/document/ajaxsearch/{mode}",
method=POST,
produces="text/plain")
@ResponseBody
public String ajaxsearchDocument(@PathVariable(value="mode")
String mode,
org.springframework.ui.Model model,
@ModelAttribute
org.egov.mrs.domain.entity.MarriageDocument marriageDocument)
@RequestMapping(value="/document/update/{id}",
method=GET)
public String updateForm(org.springframework.ui.Model model,
@PathVariable(value="id")
Long id)
@RequestMapping(value="/document/update",
method=POST)
public String updateDocument(org.springframework.ui.Model model,
@ModelAttribute
org.egov.mrs.domain.entity.MarriageDocument marriageDocument,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.