Class QAEventTargetLinkRepository

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

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

    • QAEventTargetLinkRepository

      public QAEventTargetLinkRepository()
  • Method Details

    • getTarget

      @PreAuthorize("hasPermission(#id, \'QUALITYASSURANCEEVENT\', \'READ\')") public ItemRest getTarget(@Nullable jakarta.servlet.http.HttpServletRequest request, String id, @Nullable org.springframework.data.domain.Pageable pageable, Projection projection)
      Returns the item target 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 item rest representation of the qa event target