@Component(value="config.submissionform") public class SubmissionFormRestRepository extends DSpaceRestRepository<SubmissionFormRest,String> implements LinkRestRepository<SubmissionFormRest>
requestService, utils| Constructor and Description |
|---|
SubmissionFormRestRepository() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.data.domain.Page<SubmissionFormRest> |
findAll(Context context,
org.springframework.data.domain.Pageable pageable)
Method to implement to support scroll of entity instances from the collection resource endpoin
|
SubmissionFormRest |
findOne(Context context,
String submitName)
Method to implement to support retrieval of a specific REST object instance
|
Class<SubmissionFormRest> |
getDomainClass()
The REST model supported by the repository
|
SubmissionFormResource |
wrapResource(SubmissionFormRest sd,
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, obtainContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEmbeddableRelationpublic SubmissionFormRestRepository()
throws DCInputsReaderException
DCInputsReaderException@PreAuthorize(value="hasAuthority(\'AUTHENTICATED\')") public SubmissionFormRest findOne(Context context, String submitName)
DSpaceRestRepositoryfindOne in class DSpaceRestRepository<SubmissionFormRest,String>context - the dspace contextsubmitName - the rest object id@PreAuthorize(value="hasAuthority(\'AUTHENTICATED\')") public org.springframework.data.domain.Page<SubmissionFormRest> findAll(Context context, org.springframework.data.domain.Pageable pageable)
DSpaceRestRepositoryfindAll in class DSpaceRestRepository<SubmissionFormRest,String>context - the dspace contextpageable - object embedding the requested pagination infopublic Class<SubmissionFormRest> getDomainClass()
DSpaceRestRepositorygetDomainClass in class DSpaceRestRepository<SubmissionFormRest,String>public SubmissionFormResource wrapResource(SubmissionFormRest sd, String... rels)
DSpaceRestRepositorywrapResource in interface LinkRestRepository<SubmissionFormRest>wrapResource in class DSpaceRestRepository<SubmissionFormRest,String>sd - the rest model instancerels - the HAL linksCopyright © 2019 DuraSpace. All rights reserved.