Class NotesViewController

java.lang.Object
de.unibamberg.minf.core.web.controller.BaseNavigatingController
de.unibamberg.minf.core.web.controller.BaseTranslationController
de.uniba.minf.registry.view.controller.BaseViewController
de.uniba.minf.registry.view.controller.NotesViewController
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

@Controller @RequestMapping("/notes") public class NotesViewController extends BaseViewController
  • Constructor Details

    • NotesViewController

      public NotesViewController()
  • Method Details

    • showEntities

      @GetMapping public String showEntities(org.springframework.ui.Model model, Locale locale)
    • showEditInclude

      @GetMapping({"/forms/edit","/forms/edit/{uniqueId}"}) public String showEditInclude(@PathVariable(value="uniqueId",required=false) String uniqueId, org.springframework.ui.Model model, Locale locale)
    • saveNote

      @PostMapping({"/note","/note/{uniqueId}"}) @ResponseBody public de.uniba.minf.core.rest.model.RestResponse saveNote(@PathVariable(value="uniqueId",required=false) String uniqueId, @RequestBody Note note, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, Locale locale)
    • deleteNote

      @DeleteMapping("/note/{uniqueId}") @ResponseBody public de.uniba.minf.core.rest.model.RestResponse deleteNote(@PathVariable("uniqueId") String uniqueId, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, Locale locale)