Class GivenNameController

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.agent.GivenName> find​(int pageNumber, int pageSize, List<de.digitalcollections.model.list.sorting.Order> sortBy, String searchTerm)  
      org.springframework.http.ResponseEntity<Void> getByIdentifier​(String namespace, String id, javax.servlet.http.HttpServletRequest request)  
      org.springframework.http.ResponseEntity<de.digitalcollections.model.identifiable.agent.GivenName> getByIdentifier​(javax.servlet.http.HttpServletRequest request)  
      org.springframework.http.ResponseEntity<de.digitalcollections.model.identifiable.agent.GivenName> getByUuid​(UUID uuid, Locale pLocale)  
      protected IdentifiableService<de.digitalcollections.model.identifiable.agent.GivenName> getService()  
      de.digitalcollections.model.identifiable.agent.GivenName save​(de.digitalcollections.model.identifiable.agent.GivenName givenName, org.springframework.validation.BindingResult errors)  
      de.digitalcollections.model.identifiable.agent.GivenName update​(UUID uuid, de.digitalcollections.model.identifiable.agent.GivenName givenName, org.springframework.validation.BindingResult errors)  
    • Constructor Detail

      • GivenNameController

        public GivenNameController​(GivenNameService givenNameService)
    • Method Detail

      • find

        @GetMapping(value="/v6/givennames",
                    produces="application/json")
        public de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.agent.GivenName> find​(@RequestParam(name="pageNumber",required=false,defaultValue="0")
                                                                                                                                   int pageNumber,
                                                                                                                                   @RequestParam(name="pageSize",required=false,defaultValue="5")
                                                                                                                                   int pageSize,
                                                                                                                                   @RequestParam(name="sortBy",required=false)
                                                                                                                                   List<de.digitalcollections.model.list.sorting.Order> sortBy,
                                                                                                                                   @RequestParam(name="searchTerm",required=false)
                                                                                                                                   String searchTerm)
      • getByIdentifier

        @GetMapping(value={"/v6/givennames/identifier","/v5/givennames/identifier"},
                    produces="application/json")
        public org.springframework.http.ResponseEntity<Void> getByIdentifier​(@RequestParam(name="namespace",required=true)
                                                                             String namespace,
                                                                             @RequestParam(name="id",required=true)
                                                                             String id,
                                                                             javax.servlet.http.HttpServletRequest request)
                                                                      throws IdentifiableServiceException
        Throws:
        IdentifiableServiceException
      • getByUuid

        @GetMapping(value={"/v6/givennames/{uuid}","/v5/givennames/{uuid}"},
                    produces="application/json")
        public org.springframework.http.ResponseEntity<de.digitalcollections.model.identifiable.agent.GivenName> getByUuid​(@PathVariable("uuid")
                                                                                                                           UUID uuid,
                                                                                                                           @RequestParam(name="pLocale",required=false)
                                                                                                                           Locale pLocale)
                                                                                                                    throws IdentifiableServiceException
        Throws:
        IdentifiableServiceException