Class IdentifierRestRepository

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.data.repository.CrudRepository<IdentifierRest,​String>, org.springframework.data.repository.PagingAndSortingRepository<IdentifierRest,​String>, org.springframework.data.repository.Repository<IdentifierRest,​String>

    @RestController
    @RequestMapping("/api/pid")
    @Component("pid.identifier")
    public class IdentifierRestRepository
    extends DSpaceRestRepository<IdentifierRest,​String>
    implements org.springframework.beans.factory.InitializingBean
    Item REST Repository and Controller for persistent identifiers. The controller annotation and endpoint registration allows the "find DSO by identifier" method which was previously implmented in org.dspace.app.rest.IdentifierRestController
    Author:
    Kim Shepherd