Interface FileControllerService

All Known Implementing Classes:
FileControllerServiceImpl

public interface FileControllerService
Controller service that provides methods for working with the multi-file upload component.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.web.servlet.ModelAndView
    Invoked by the multiFile upload element to add a file object to the collection it controls.
    org.springframework.web.servlet.ModelAndView
    Invoked by the multiFile upload widget to delete a file; Inform the model of file to delete.
    void
    getFileFromLine(UifFormBase form, javax.servlet.http.HttpServletResponse response)
    Invoked by the multiFile upload widget to get the file contents for a file upload line.
  • Method Details

    • addFileUploadLine

      org.springframework.web.servlet.ModelAndView addFileUploadLine(UifFormBase form)
      Invoked by the multiFile upload element to add a file object to the collection it controls.
      Parameters:
      form - form instance containing the file data
      Returns:
      ModelAndView instance for rendering the view
    • deleteFileUploadLine

      org.springframework.web.servlet.ModelAndView deleteFileUploadLine(UifFormBase form)
      Invoked by the multiFile upload widget to delete a file; Inform the model of file to delete.
      Parameters:
      form - form instance containing the file data
      Returns:
      ModelAndView instance for rendering the view
    • getFileFromLine

      void getFileFromLine(UifFormBase form, javax.servlet.http.HttpServletResponse response)
      Invoked by the multiFile upload widget to get the file contents for a file upload line.
      Parameters:
      form - form instance containing the file request data
      response - Http response for streaming back the file contents