Class RegistrationRestRepository

    • Constructor Detail

      • RegistrationRestRepository

        public RegistrationRestRepository()
    • Method Detail

      • findAll

        public org.springframework.data.domain.Page<RegistrationRest> 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<RegistrationRest,​Integer>
        Parameters:
        context - the dspace context
        pageable - object embedding the requested pagination info
        Returns:
      • findByToken

        public RegistrationRest findByToken​(String token)
                                     throws SQLException,
                                            org.dspace.authorize.AuthorizeException
        This method will find the RegistrationRest object that is associated with the token given
        Parameters:
        token - The token to be found and for which a RegistrationRest object will be found
        Returns:
        A RegistrationRest object for the given token
        Throws:
        SQLException - If something goes wrong
        org.dspace.authorize.AuthorizeException - If something goes wrong