Class FamilyNameController

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.agent.FamilyName> 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.FamilyName> getByIdentifier​(javax.servlet.http.HttpServletRequest request)  
      org.springframework.http.ResponseEntity<de.digitalcollections.model.identifiable.agent.FamilyName> getByUuid​(UUID uuid, Locale pLocale)  
      protected IdentifiableService<de.digitalcollections.model.identifiable.agent.FamilyName> getService()  
      de.digitalcollections.model.identifiable.agent.FamilyName save​(de.digitalcollections.model.identifiable.agent.FamilyName familyName, org.springframework.validation.BindingResult errors)  
      de.digitalcollections.model.identifiable.agent.FamilyName update​(UUID uuid, de.digitalcollections.model.identifiable.agent.FamilyName familyName, org.springframework.validation.BindingResult errors)  
    • Constructor Detail

      • FamilyNameController

        public FamilyNameController​(FamilyNameService familyNameservice)
    • Method Detail

      • find

        @GetMapping(value="/v6/familynames",
                    produces="application/json")
        public de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.agent.FamilyName> 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/familynames/identifier","/v5/familynames/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/familynames/{uuid}","/v5/familynames/{uuid}"},
                    produces="application/json")
        public org.springframework.http.ResponseEntity<de.digitalcollections.model.identifiable.agent.FamilyName> getByUuid​(@PathVariable("uuid")
                                                                                                                            UUID uuid,
                                                                                                                            @RequestParam(name="pLocale",required=false)
                                                                                                                            Locale pLocale)
                                                                                                                     throws IdentifiableServiceException
        Throws:
        IdentifiableServiceException