Class ItemSubmitterLinkRepository

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

@Component("core.items.submitter") public class ItemSubmitterLinkRepository extends AbstractDSpaceRestRepository implements LinkRestRepository
Link repository for "submitter" subresource of an item.
  • Constructor Details

    • ItemSubmitterLinkRepository

      public ItemSubmitterLinkRepository()
  • Method Details

    • getItemSubmitter

      @PreAuthorize("hasPermission(#id, \'ITEM\', \'READ\')") public EPersonRest getItemSubmitter(@Nullable jakarta.servlet.http.HttpServletRequest request, UUID id, @Nullable org.springframework.data.domain.Pageable optionalPageable, Projection projection)
      Retrieve the submitter for an item.
      Parameters:
      request - - The current request
      id - - The item ID for which to retrieve the submitter
      optionalPageable - - optional pageable object
      projection - - the current projection
      Returns:
      the submitter for the item