@Component(value="discover.browse.items") public class BrowseItemLinkRepository extends AbstractDSpaceRestRepository implements LinkRestRepository<ItemRest>
requestService, utils| Constructor and Description |
|---|
BrowseItemLinkRepository() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmbeddableRelation(Object data,
String name) |
org.springframework.data.domain.Page<ItemRest> |
listBrowseItems(javax.servlet.http.HttpServletRequest request,
String browseName,
org.springframework.data.domain.Pageable pageable,
String projection) |
ItemResource |
wrapResource(ItemRest item,
String... rels) |
getRequestService, obtainContextpublic org.springframework.data.domain.Page<ItemRest> listBrowseItems(javax.servlet.http.HttpServletRequest request, String browseName, org.springframework.data.domain.Pageable pageable, String projection) throws BrowseException, SQLException
BrowseExceptionSQLExceptionpublic ItemResource wrapResource(ItemRest item, String... rels)
wrapResource in interface LinkRestRepository<ItemRest>public boolean isEmbeddableRelation(Object data, String name)
isEmbeddableRelation in interface LinkRestRepository<ItemRest>Copyright © 2019 DuraSpace. All rights reserved.