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 Type
    Method
    Description
    org.springframework.web.servlet.ModelAndView
    Save the form.
    org.springframework.web.servlet.ModelAndView
    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

      org.springframework.web.servlet.ModelAndView save(UifFormBase form)
      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

      org.springframework.web.servlet.ModelAndView saveField(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.

      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