@Component(value="core.bitstreamformat") public class BitstreamFormatRestRepository extends DSpaceRestRepository<BitstreamFormatRest,Integer>
requestService, utils| Constructor and Description |
|---|
BitstreamFormatRestRepository() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.data.domain.Page<BitstreamFormatRest> |
findAll(Context context,
org.springframework.data.domain.Pageable pageable)
Method to implement to support scroll of entity instances from the collection resource endpoin
|
BitstreamFormatRest |
findOne(Context context,
Integer id)
Method to implement to support retrieval of a specific REST object instance
|
Class<BitstreamFormatRest> |
getDomainClass()
The REST model supported by the repository
|
BitstreamFormatResource |
wrapResource(BitstreamFormatRest bs,
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 BitstreamFormatRest findOne(Context context, Integer id)
DSpaceRestRepositoryfindOne in class DSpaceRestRepository<BitstreamFormatRest,Integer>context - the dspace contextid - the rest object idpublic org.springframework.data.domain.Page<BitstreamFormatRest> findAll(Context context, org.springframework.data.domain.Pageable pageable)
DSpaceRestRepositoryfindAll in class DSpaceRestRepository<BitstreamFormatRest,Integer>context - the dspace contextpageable - object embedding the requested pagination infopublic Class<BitstreamFormatRest> getDomainClass()
DSpaceRestRepositorygetDomainClass in class DSpaceRestRepository<BitstreamFormatRest,Integer>public BitstreamFormatResource wrapResource(BitstreamFormatRest bs, String... rels)
DSpaceRestRepositorywrapResource in class DSpaceRestRepository<BitstreamFormatRest,Integer>bs - the rest model instancerels - the HAL linksCopyright © 2019 DuraSpace. All rights reserved.