@Service public class CassandraDataSetService extends Object implements eu.europeana.cloud.service.mcs.DataSetService
| Constructor and Description |
|---|
CassandraDataSetService() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAssignment(String providerId,
String dataSetId,
String recordId,
String schema,
String version) |
eu.europeana.cloud.common.model.DataSet |
createDataSet(String providerId,
String dataSetId,
String description) |
void |
deleteDataSet(String providerId,
String dataSetId) |
eu.europeana.cloud.common.response.ResultSlice<eu.europeana.cloud.common.model.DataSet> |
getDataSets(String providerId,
String thresholdDatasetId,
int limit) |
eu.europeana.cloud.common.response.ResultSlice<eu.europeana.cloud.common.model.Representation> |
listDataSet(String providerId,
String dataSetId,
String thresholdParam,
int limit) |
void |
removeAssignment(String providerId,
String dataSetId,
String recordId,
String schema) |
eu.europeana.cloud.common.model.DataSet |
updateDataSet(String providerId,
String dataSetId,
String description) |
public eu.europeana.cloud.common.response.ResultSlice<eu.europeana.cloud.common.model.Representation> listDataSet(String providerId, String dataSetId, String thresholdParam, int limit) throws eu.europeana.cloud.service.mcs.exception.DataSetNotExistsException
listDataSet in interface eu.europeana.cloud.service.mcs.DataSetServiceeu.europeana.cloud.service.mcs.exception.DataSetNotExistsExceptionpublic void addAssignment(String providerId, String dataSetId, String recordId, String schema, String version) throws eu.europeana.cloud.service.mcs.exception.DataSetNotExistsException, eu.europeana.cloud.service.mcs.exception.RepresentationNotExistsException
addAssignment in interface eu.europeana.cloud.service.mcs.DataSetServiceeu.europeana.cloud.service.mcs.exception.DataSetNotExistsExceptioneu.europeana.cloud.service.mcs.exception.RepresentationNotExistsExceptionpublic void removeAssignment(String providerId, String dataSetId, String recordId, String schema) throws eu.europeana.cloud.service.mcs.exception.DataSetNotExistsException
removeAssignment in interface eu.europeana.cloud.service.mcs.DataSetServiceeu.europeana.cloud.service.mcs.exception.DataSetNotExistsExceptionpublic eu.europeana.cloud.common.model.DataSet createDataSet(String providerId, String dataSetId, String description) throws eu.europeana.cloud.service.mcs.exception.ProviderNotExistsException, eu.europeana.cloud.service.mcs.exception.DataSetAlreadyExistsException
createDataSet in interface eu.europeana.cloud.service.mcs.DataSetServiceeu.europeana.cloud.service.mcs.exception.ProviderNotExistsExceptioneu.europeana.cloud.service.mcs.exception.DataSetAlreadyExistsExceptionpublic eu.europeana.cloud.common.model.DataSet updateDataSet(String providerId, String dataSetId, String description) throws eu.europeana.cloud.service.mcs.exception.DataSetNotExistsException
updateDataSet in interface eu.europeana.cloud.service.mcs.DataSetServiceeu.europeana.cloud.service.mcs.exception.DataSetNotExistsExceptionpublic eu.europeana.cloud.common.response.ResultSlice<eu.europeana.cloud.common.model.DataSet> getDataSets(String providerId, String thresholdDatasetId, int limit)
getDataSets in interface eu.europeana.cloud.service.mcs.DataSetServicepublic void deleteDataSet(String providerId, String dataSetId) throws eu.europeana.cloud.service.mcs.exception.DataSetNotExistsException
deleteDataSet in interface eu.europeana.cloud.service.mcs.DataSetServiceeu.europeana.cloud.service.mcs.exception.DataSetNotExistsExceptionCopyright © 2013–2017 Europeana Cloud Development Team. All rights reserved.