Class EventsController
java.lang.Object
de.digitalcollections.commons.springmvc.controller.AbstractController
de.digitalcollections.cudami.admin.controller.AbstractPagingAndSortingController
de.digitalcollections.cudami.admin.controller.AbstractUniqueObjectController<I>
de.digitalcollections.cudami.admin.controller.identifiable.AbstractIdentifiablesController<E,C>
de.digitalcollections.cudami.admin.controller.identifiable.entity.AbstractEntitiesController<de.digitalcollections.model.identifiable.entity.Event,CudamiEventsClient>
de.digitalcollections.cudami.admin.controller.identifiable.entity.EventsController
@Controller
public class EventsController
extends AbstractEntitiesController<de.digitalcollections.model.identifiable.entity.Event,CudamiEventsClient>
Controller for events pages.
-
Field Summary
Fields inherited from class de.digitalcollections.cudami.admin.controller.AbstractUniqueObjectController
service
Fields inherited from class de.digitalcollections.cudami.admin.controller.AbstractPagingAndSortingController
languageService
-
Constructor Summary
-
Method Summary
Methods inherited from class de.digitalcollections.cudami.admin.controller.identifiable.entity.AbstractEntitiesController
search
Methods inherited from class de.digitalcollections.cudami.admin.controller.identifiable.AbstractIdentifiablesController
doForward, getExistingLanguagesFromIdentifiable, getExistingLanguagesFromIdentifiables, getExistingLanguagesFromService
Methods inherited from class de.digitalcollections.cudami.admin.controller.AbstractUniqueObjectController
find
Methods inherited from class de.digitalcollections.cudami.admin.controller.AbstractPagingAndSortingController
createBTRequest, createPageRequest, createPageRequest, getDataLanguage, getDataLanguage, getFieldType
Methods inherited from class de.digitalcollections.commons.springmvc.controller.AbstractController
verifyBinding
-
Constructor Details
-
EventsController
-
-
Method Details
-
create
@GetMapping("/events/new") public String create(org.springframework.ui.Model model) throws de.digitalcollections.model.exception.TechnicalException - Throws:
de.digitalcollections.model.exception.TechnicalException
-
edit
@GetMapping("/events/{uuid:^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$}/edit") public String edit(@PathVariable UUID uuid, @RequestParam(name="activeLanguage",required=false) Locale activeLanguage, org.springframework.ui.Model model) throws de.digitalcollections.model.exception.TechnicalException - Throws:
de.digitalcollections.model.exception.TechnicalException
-
list
@GetMapping("/events") public String list(org.springframework.ui.Model model) throws de.digitalcollections.model.exception.TechnicalException - Throws:
de.digitalcollections.model.exception.TechnicalException
-
module
-
view
@GetMapping("/events/{uuid:^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$}") public String view(@PathVariable UUID uuid, @RequestParam(name="dataLanguage",required=false) String targetDataLanguage, org.springframework.ui.Model model) throws de.digitalcollections.model.exception.TechnicalException, de.digitalcollections.model.exception.ResourceNotFoundException - Throws:
de.digitalcollections.model.exception.TechnicalException
de.digitalcollections.model.exception.ResourceNotFoundException
-