public class UniqueIdentifierResource extends Object
| Constructor and Description |
|---|
UniqueIdentifierResource() |
| Modifier and Type | Method and Description |
|---|---|
Response |
createCloudId(String providerId,
String localId)
Invoke the generation of a cloud identifier using the provider identifier
and a record identifier
|
Response |
deleteCloudId(String cloudId)
Remove a cloud identifier and all the associations to its record
identifiers
|
Response |
getCloudId(String providerId,
String recordId)
Invoke the generation of a cloud identifier using the provider identifier
|
Response |
getLocalIds(String cloudId)
Retrieve a list of record Identifiers associated with a cloud identifier
|
public Response createCloudId(String providerId, String localId) throws DatabaseConnectionException, RecordExistsException, ProviderDoesNotExistException, RecordDatasetEmptyException, CloudIdDoesNotExistException
providerId - localId - DatabaseConnectionExceptionRecordExistsExceptionProviderDoesNotExistExceptionRecordDatasetEmptyExceptionCloudIdDoesNotExistExceptionpublic Response getCloudId(String providerId, String recordId) throws DatabaseConnectionException, RecordDoesNotExistException, ProviderDoesNotExistException, RecordDatasetEmptyException
providerId - recordId - DatabaseConnectionExceptionRecordDoesNotExistExceptionProviderDoesNotExistExceptionRecordDatasetEmptyExceptionpublic Response getLocalIds(String cloudId) throws DatabaseConnectionException, CloudIdDoesNotExistException, ProviderDoesNotExistException, RecordDatasetEmptyException
DatabaseConnectionExceptionCloudIdDoesNotExistExceptionProviderDoesNotExistExceptionRecordDatasetEmptyExceptionpublic Response deleteCloudId(String cloudId) throws DatabaseConnectionException, CloudIdDoesNotExistException, ProviderDoesNotExistException, RecordIdDoesNotExistException
DatabaseConnectionExceptionCloudIdDoesNotExistExceptionProviderDoesNotExistExceptionRecordIdDoesNotExistExceptionCopyright © 2013–2014 Europeana Cloud Development Team. All rights reserved.