Package org.kuali.rice.krad.web.service
Interface SaveControllerService
- All Known Implementing Classes:
SaveControllerServiceImpl
public interface SaveControllerService
Controller service that handles saves.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.servlet.ModelAndViewsave(UifFormBase form) Save the form.org.springframework.web.servlet.ModelAndViewsaveField(UifFormBase form) Save the field of the form at the propertyName specified by saveFieldPath (in request params sent); the field is already updated on the form at the time of this invocation.
-
Method Details
-
save
Save the form.Save is not implemented by KRAD and must be overridden with an implementation to persist changes to a db. By default, this will just refresh the View.
- Parameters:
form- the form- Returns:
- ModelAndView with the updated content
-
saveField
Save the field of the form at the propertyName specified by saveFieldPath (in request params sent); the field is already updated on the form at the time of this invocation.SaveField is not implemented by KRAD and must be overridden with an implementation to persist changes to a db. By default, this will just refresh the field specified by updateComponentId.
- Parameters:
form- the form with the updated field- Returns:
- ModelAndView which contains the updated component
-