Package org.dspace.app.rest.repository
Class AuthorizationObjectLinkRepository
java.lang.Object
org.dspace.app.rest.repository.AbstractDSpaceRestRepository
org.dspace.app.rest.repository.AuthorizationObjectLinkRepository
- All Implemented Interfaces:
LinkRestRepository
@Component("authz.authorizations.object")
public class AuthorizationObjectLinkRepository
extends AbstractDSpaceRestRepository
implements LinkRestRepository
Link repository for "object" subresource of an individual authorization.
-
Field Summary
Fields inherited from class org.dspace.app.rest.repository.AbstractDSpaceRestRepository
converter, requestService, utils -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetObject(jakarta.servlet.http.HttpServletRequest request, String authzId, org.springframework.data.domain.Pageable optionalPageable, Projection projection) 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
-
AuthorizationObjectLinkRepository
public AuthorizationObjectLinkRepository()
-
-
Method Details
-
getObject
@PreAuthorize("hasPermission(#authzId, \'AUTHORIZATION\', \'READ\')") public BaseObjectRest getObject(@Nullable jakarta.servlet.http.HttpServletRequest request, String authzId, @Nullable org.springframework.data.domain.Pageable optionalPageable, Projection projection)
-