Package org.dspace.app.rest.repository
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)
-
Field Summary
Fields inherited from class org.dspace.app.rest.repository.AbstractDSpaceRestRepository
converter, requestService, utils -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTopic(jakarta.servlet.http.HttpServletRequest request, String id, org.springframework.data.domain.Pageable pageable, Projection projection) Returns the topic of the qa event with the given id.Methods inherited from class org.dspace.app.rest.repository.AbstractDSpaceRestRepository
getRequestService, obtainContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.dspace.app.rest.repository.LinkRestRepository
isEmbeddableRelation
-
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 requestid- the qa event idpageable- the optional pageableprojection- the projection object- Returns:
- the qa topic rest representation
-