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