@Controller
public class ConfigureVisitsFormController
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIGURE_VISITS_PATH |
static java.lang.String |
VISIT_ENCOUNTER_HANDLER_FORM |
static java.lang.String |
VISIT_ENCOUNTER_HANDLERS |
Constructor and Description |
---|
ConfigureVisitsFormController() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<EncounterVisitHandler> |
getEncounterVisitHandlers() |
java.util.List<VisitType> |
getVisitTypes() |
void |
manageEncounterVisitHandlers(ConfigureVisitsForm form,
org.springframework.validation.Errors errors,
javax.servlet.http.HttpServletRequest request) |
void |
manageEncounterVisitHandlers(org.springframework.ui.Model model) |
public static final java.lang.String CONFIGURE_VISITS_PATH
public static final java.lang.String VISIT_ENCOUNTER_HANDLER_FORM
public static final java.lang.String VISIT_ENCOUNTER_HANDLERS
@ModelAttribute(value="visitEncounterHandlers") public java.util.Collection<EncounterVisitHandler> getEncounterVisitHandlers()
@ModelAttribute(value="visitTypes") public java.util.List<VisitType> getVisitTypes()
@RequestMapping(value="/admin/visits/configureVisits", method=GET) public void manageEncounterVisitHandlers(org.springframework.ui.Model model)
@RequestMapping(value="/admin/visits/configureVisits", method=POST) public void manageEncounterVisitHandlers(@ModelAttribute(value="configureVisitsForm") ConfigureVisitsForm form, org.springframework.validation.Errors errors, javax.servlet.http.HttpServletRequest request)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.