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