Class StatisticsRestRepository

    • Constructor Detail

      • StatisticsRestRepository

        public StatisticsRestRepository()
    • Method Detail

      • findOne

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

        @PreAuthorize("hasPermission(#uri, \'usagereportsearch\', \'READ\')")
        public org.springframework.data.domain.Page<UsageReportRest> findByObject​(String uri,
                                                                                  org.springframework.data.domain.Pageable pageable)
      • findAll

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