Class SaveControllerServiceImpl
java.lang.Object
org.kuali.rice.krad.web.service.impl.SaveControllerServiceImpl
- All Implemented Interfaces:
SaveControllerService
Default implementation of the save controller service.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
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.voidsetModelAndViewService(ModelAndViewService modelAndViewService)
-
Constructor Details
-
SaveControllerServiceImpl
public SaveControllerServiceImpl()
-
-
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.
- Specified by:
savein interfaceSaveControllerService- 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.
- Specified by:
saveFieldin interfaceSaveControllerService- Parameters:
form- the form with the updated field- Returns:
- ModelAndView which contains the updated component
-
getModelAndViewService
-
setModelAndViewService
-