Class DuplicateRestRepository

All Implemented Interfaces:
Aware, BeanNameAware, InitializingBean, org.springframework.data.repository.CrudRepository<PotentialDuplicateRest,String>, org.springframework.data.repository.PagingAndSortingRepository<PotentialDuplicateRest,String>, org.springframework.data.repository.Repository<PotentialDuplicateRest,String>

@ConditionalOnProperty("duplicate.enable") @Component("submission.duplicates") public class DuplicateRestRepository extends DSpaceRestRepository<PotentialDuplicateRest,String> implements InitializingBean
The REST repository for the api/submission/duplicates endpoint, which handles requests for finding potential duplicates of a given item (archived or in-progress). Find one and find all are not implemented as actual REST methods because a duplicate is the result of comparing an item with other indexed items, not an object that can be referenced by some kind of ID, but we must at least implement the Java methods here in order to extend DSpaceRestRepository and implement SearchRestMethods.
Author:
Kim Shepherd