Class QAEventRelatedLinkRepository

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

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

    • QAEventRelatedLinkRepository

      public QAEventRelatedLinkRepository()
  • Method Details

    • getRelated

      @PreAuthorize("hasPermission(#id, \'QUALITYASSURANCEEVENT\', \'READ\')") public ItemRest getRelated(@Nullable jakarta.servlet.http.HttpServletRequest request, String id, @Nullable org.springframework.data.domain.Pageable pageable, Projection projection)
      Returns the item related to the qa event with the given id. This is another item that should be linked to the target item as part of the correction
      Parameters:
      request - the http servlet request
      id - the qa event id
      pageable - the optional pageable
      projection - the projection object
      Returns:
      the item rest representation of the secondary item related to qa event