@Component @Scope(value="request") public class SimplifiedRepresentationResource extends Object
| Constructor and Description |
|---|
SimplifiedRepresentationResource() |
| Modifier and Type | Method and Description |
|---|---|
eu.europeana.cloud.common.model.Representation |
getRepresentation(javax.ws.rs.core.UriInfo uriInfo,
String providerId,
String localId,
String representationName)
Returns the latest persistent version of a given representation.
|
@PostAuthorize(value="hasPermission( (returnObject.cloudId).concat(\'/\').concat(#representationName).concat(\'/\').concat(returnObject.version) , \'eu.europeana.cloud.common.model.Representation\', read)")
public eu.europeana.cloud.common.model.Representation getRepresentation(@Context
javax.ws.rs.core.UriInfo uriInfo,
String providerId,
String localId,
String representationName)
throws eu.europeana.cloud.client.uis.rest.CloudException,
eu.europeana.cloud.service.mcs.exception.RepresentationNotExistsException,
eu.europeana.cloud.service.mcs.exception.ProviderNotExistsException,
eu.europeana.cloud.service.mcs.exception.RecordNotExistsException
uriInfo - providerId - localId - representationName - eu.europeana.cloud.client.uis.rest.CloudExceptioneu.europeana.cloud.service.mcs.exception.RepresentationNotExistsExceptioneu.europeana.cloud.service.mcs.exception.ProviderNotExistsExceptioneu.europeana.cloud.service.mcs.exception.RecordNotExistsExceptionCopyright © 2013–2017 Europeana Cloud Development Team. All rights reserved.