@Component @Scope(value="request") public class RepresentationsResource extends Object
| Constructor and Description |
|---|
RepresentationsResource() |
| Modifier and Type | Method and Description |
|---|---|
List<eu.europeana.cloud.common.model.Representation> |
getRepresentations(javax.ws.rs.core.UriInfo uriInfo,
String globalId)
Returns a list of all the latest persistent versions of a record representation.
|
public List<eu.europeana.cloud.common.model.Representation> getRepresentations(@Context javax.ws.rs.core.UriInfo uriInfo, String globalId) throws eu.europeana.cloud.service.mcs.exception.RecordNotExistsException
globalId - cloud id of the record in which all the latest versions of representations are required.eu.europeana.cloud.service.mcs.exception.RecordNotExistsException - provided id is not known to Unique
Identifier Service.Copyright © 2013–2015 Europeana Cloud Development Team. All rights reserved.