Class QAEventTopicLinkRepository

java.lang.Object
org.dspace.app.rest.repository.AbstractDSpaceRestRepository
org.dspace.app.rest.repository.QAEventTopicLinkRepository
All Implemented Interfaces:
LinkRestRepository

@Component("integration.qualityassuranceevents.topic") public class QAEventTopicLinkRepository extends AbstractDSpaceRestRepository implements LinkRestRepository
Link repository for "topic" subresource of a qa event.
Author:
Andrea Bollini (andrea.bollini at 4science.it)
  • Constructor Details

    • QAEventTopicLinkRepository

      public QAEventTopicLinkRepository()
  • Method Details

    • getTopic

      @PreAuthorize("hasPermission(#id, \'QUALITYASSURANCEEVENT\', \'READ\')") public QATopicRest getTopic(@Nullable jakarta.servlet.http.HttpServletRequest request, String id, @Nullable org.springframework.data.domain.Pageable pageable, Projection projection)
      Returns the topic of the qa event with the given id.
      Parameters:
      request - the http servlet request
      id - the qa event id
      pageable - the optional pageable
      projection - the projection object
      Returns:
      the qa topic rest representation