@Controller @RequestMapping(value="/licensecategory") public class CreateCategoryController extends Object
| Constructor and Description |
|---|
CreateCategoryController(org.egov.tl.service.masters.LicenseCategoryService licenseCategoryService) |
| Modifier and Type | Method and Description |
|---|---|
String |
createCategory(org.egov.tl.entity.LicenseCategory licenseCategory,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes additionalAttr) |
String |
createCategoryForm(org.springframework.ui.Model model) |
org.egov.tl.entity.LicenseCategory |
licenseCategoryModel() |
@Autowired public CreateCategoryController(org.egov.tl.service.masters.LicenseCategoryService licenseCategoryService)
@ModelAttribute public org.egov.tl.entity.LicenseCategory licenseCategoryModel()
@RequestMapping(value="/create",
method=GET)
public String createCategoryForm(org.springframework.ui.Model model)
@RequestMapping(value="/create",
method=POST)
public String createCategory(@ModelAttribute
org.egov.tl.entity.LicenseCategory licenseCategory,
org.springframework.validation.BindingResult errors,
org.springframework.web.servlet.mvc.support.RedirectAttributes additionalAttr)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.