@Component(value="discover.browse") public class BrowseIndexRestRepository extends DSpaceRestRepository<BrowseIndexRest,String>
requestService, utils| Constructor and Description |
|---|
BrowseIndexRestRepository() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.data.domain.Page<BrowseIndexRest> |
findAll(Context context,
org.springframework.data.domain.Pageable pageable)
Method to implement to support scroll of entity instances from the collection resource endpoin
|
BrowseIndexRest |
findOne(Context context,
String name)
Method to implement to support retrieval of a specific REST object instance
|
Class<BrowseIndexRest> |
getDomainClass()
The REST model supported by the repository
|
BrowseIndexResource |
wrapResource(BrowseIndexRest bix,
String... rels)
Wrap the REST model in a REST HAL Resource
|
action, action, count, createAndReturn, createAndReturn, createAndReturn, createAndReturn, delete, delete, delete, delete, deleteAll, exists, findAll, findAll, findAll, findAll, findOne, patch, patch, put, put, put, put, save, save, save, upload, upload, uploadgetRequestService, obtainContextpublic BrowseIndexRest findOne(Context context, String name)
DSpaceRestRepositoryfindOne in class DSpaceRestRepository<BrowseIndexRest,String>context - the dspace contextname - the rest object idpublic org.springframework.data.domain.Page<BrowseIndexRest> findAll(Context context, org.springframework.data.domain.Pageable pageable)
DSpaceRestRepositoryfindAll in class DSpaceRestRepository<BrowseIndexRest,String>context - the dspace contextpageable - object embedding the requested pagination infopublic Class<BrowseIndexRest> getDomainClass()
DSpaceRestRepositorygetDomainClass in class DSpaceRestRepository<BrowseIndexRest,String>public BrowseIndexResource wrapResource(BrowseIndexRest bix, String... rels)
DSpaceRestRepositorywrapResource in class DSpaceRestRepository<BrowseIndexRest,String>bix - the rest model instancerels - the HAL linksCopyright © 2019 DuraSpace. All rights reserved.