Class SubmissionFormRestRepository

    • Constructor Detail

      • SubmissionFormRestRepository

        public SubmissionFormRestRepository()
                                     throws org.dspace.app.util.DCInputsReaderException
        Throws:
        org.dspace.app.util.DCInputsReaderException
    • Method Detail

      • findOne

        @PreAuthorize("hasAuthority(\'AUTHENTICATED\')")
        public SubmissionFormRest findOne​(org.dspace.core.Context context,
                                          String submitName)
        Description copied from class: DSpaceRestRepository
        Method to implement to support retrieval of a specific REST object instance
        Specified by:
        findOne in class DSpaceRestRepository<SubmissionFormRest,​String>
        Parameters:
        context - the dspace context
        submitName - the rest object id
        Returns:
        the REST object identified by its ID
      • findAll

        @PreAuthorize("hasAuthority(\'AUTHENTICATED\')")
        public org.springframework.data.domain.Page<SubmissionFormRest> findAll​(org.dspace.core.Context context,
                                                                                org.springframework.data.domain.Pageable pageable)
        Description copied from class: DSpaceRestRepository
        Method to implement to support scroll of entity instances from the collection resource endpoint
        Specified by:
        findAll in class DSpaceRestRepository<SubmissionFormRest,​String>
        Parameters:
        context - the dspace context
        pageable - object embedding the requested pagination info
        Returns:
      • reload

        public void reload()
                    throws org.dspace.app.util.DCInputsReaderException
        Reload the current Submission Form configuration based on the currently supported locales. This method can be used to force a reload if the configured supported locales change.
        Throws:
        org.dspace.app.util.DCInputsReaderException