Class IdentifiableController


@RestController public class IdentifiableController extends AbstractIdentifiableController<de.digitalcollections.model.identifiable.Identifiable>
  • Constructor Details

  • Method Details

    • getByUuids

      @GetMapping(value="/v6/identifiables/list/{uuids}", produces="application/json") public de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.Identifiable> getByUuids(@PathVariable List<UUID> uuids) throws ServiceException
      Overrides:
      getByUuids in class AbstractUniqueObjectController<de.digitalcollections.model.identifiable.Identifiable>
      Throws:
      ServiceException
    • getByManyUuids

      @PostMapping(value="/v6/identifiables/list", produces="application/json") public de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.Identifiable> getByManyUuids(@RequestBody List<UUID> uuids) throws ServiceException
      Throws:
      ServiceException
    • find

      @GetMapping(value={"/v6/identifiables","/v5/identifiables","/v2/identifiables","/latest/identifiables"}, produces="application/json") public de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.Identifiable> find(@RequestParam(name="pageNumber",required=false,defaultValue="0") int pageNumber, @RequestParam(name="pageSize",required=false,defaultValue="25") int pageSize, @RequestParam(name="sortBy",required=false) List<de.digitalcollections.model.list.sorting.Order> sortBy, @RequestParam(name="filter",required=false) List<de.digitalcollections.model.list.filtering.FilterCriterion> filterCriteria, @RequestParam(name="filtering",required=false) de.digitalcollections.model.list.filtering.Filtering filtering) throws ServiceException
      Overrides:
      find in class AbstractUniqueObjectController<de.digitalcollections.model.identifiable.Identifiable>
      Throws:
      ServiceException
    • getByIdentifier

      @GetMapping(value={"/v6/identifiables/identifier/**","/v5/identifiables/identifier/**","/v2/identifiables/identifier/**","/latest/identifiables/identifier/**"}, produces="application/json") public org.springframework.http.ResponseEntity<de.digitalcollections.model.identifiable.Identifiable> getByIdentifier(javax.servlet.http.HttpServletRequest request) throws ServiceException, ValidationException
      Overrides:
      getByIdentifier in class AbstractIdentifiableController<de.digitalcollections.model.identifiable.Identifiable>
      Throws:
      ServiceException
      ValidationException
    • getByUuid

      @GetMapping(value={"/v6/identifiables/{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}$}","/v5/identifiables/{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}$}","/v2/identifiables/{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}$}","/latest/identifiables/{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}$}"}, produces="application/json") public org.springframework.http.ResponseEntity<de.digitalcollections.model.identifiable.Identifiable> getByUuid(@PathVariable UUID uuid) throws ServiceException
      Overrides:
      getByUuid in class AbstractUniqueObjectController<de.digitalcollections.model.identifiable.Identifiable>
      Throws:
      ServiceException
    • getLocalizedUrlAliases

      @GetMapping(value={"/v6/identifiables/{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}$}/localizedUrlAliases","/v5/identifiables/{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}$}/localizedUrlAliases"}, produces="application/json") public org.springframework.http.ResponseEntity<de.digitalcollections.model.identifiable.alias.LocalizedUrlAliases> getLocalizedUrlAliases(@PathVariable("uuid") UUID uuid) throws CudamiControllerException
      Throws:
      CudamiControllerException
    • getService

      protected IdentifiableService<de.digitalcollections.model.identifiable.Identifiable> getService()
      Specified by:
      getService in class AbstractIdentifiableController<de.digitalcollections.model.identifiable.Identifiable>