Class BooksController
- java.lang.Object
-
- de.digitalcollections.commons.springmvc.controller.AbstractController
-
- de.digitalcollections.cudami.admin.controller.identifiable.entity.BooksController
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.MessageSourceAware
@Controller @SessionAttributes("book") public class BooksController extends de.digitalcollections.commons.springmvc.controller.AbstractController implements org.springframework.context.MessageSourceAwareController for books management pages.
-
-
Constructor Summary
Constructors Constructor Description BooksController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringedit(long id, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)java.lang.Stringlist(org.springframework.ui.Model model)protected java.lang.Stringmodule()voidsetMessageSource(org.springframework.context.MessageSource messageSource)java.lang.Stringview(long id, org.springframework.ui.Model model)
-
-
-
Method Detail
-
setMessageSource
public void setMessageSource(org.springframework.context.MessageSource messageSource)
- Specified by:
setMessageSourcein interfaceorg.springframework.context.MessageSourceAware
-
module
@ModelAttribute("menu") protected java.lang.String module()
-
edit
@RequestMapping(value="/books/{id}/edit", method=GET) public java.lang.String edit(@PathVariable long id, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
-
list
@RequestMapping(value="/books", method=GET) public java.lang.String list(org.springframework.ui.Model model)
-
view
@RequestMapping(value="/books/{id}", method=GET) public java.lang.String view(@PathVariable long id, org.springframework.ui.Model model)
-
-