@RemoteServiceRelativePath(value="ckanservices")
public interface CKanPublisherService
extends com.google.gwt.user.client.rpc.RemoteService
| Modifier and Type | Method and Description |
|---|---|
ResourceElementBean |
addResourceToDataset(ResourceElementBean resource,
String datasetId)
Add this resource to the dataset whose id is datasetId
|
DatasetMetadataBean |
createCKanDataset(DatasetMetadataBean toCreate)
Try to create such dataset starting from the information contained into the toCreate bean.
|
boolean |
datasetIdAlreadyExists(String title)
Given the title the user wants to give to the new product to create, a check is performed
to understand if a dataset with the proposed title (and so the id generated at server side) already exists
|
boolean |
deleteResourceFromDataset(ResourceElementBean resource)
Delete this resource from the dataset with id datasetId
|
DatasetMetadataBean |
getDatasetBean(String folderId)
Retrieve a partially filled bean given a folder id and its owner.
|
LicensesBean |
getLicenses()
Retrieve the list of licenses to show to the user.
|
List<MetaDataProfileBean> |
getProfiles(String orgName)
Retrieve the list of profiles for a given organization name .
|
LicensesBean getLicenses()
List<MetaDataProfileBean> getProfiles(String orgName)
DatasetMetadataBean getDatasetBean(String folderId)
folderId - DatasetMetadataBean createCKanDataset(DatasetMetadataBean toCreate)
toCreate - ResourceElementBean addResourceToDataset(ResourceElementBean resource, String datasetId)
resource - datasetId - boolean deleteResourceFromDataset(ResourceElementBean resource)
resource - datasetId - boolean datasetIdAlreadyExists(String title)
title - Copyright © 2016. All Rights Reserved.