Minor fixes

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@131381 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2016-09-15 12:56:35 +00:00
parent a1840cb2f7
commit 9ba562818a
4 changed files with 4 additions and 6 deletions

View File

@ -40,10 +40,9 @@ public interface CKanPublisherService extends RemoteService {
/**
* Try to create such dataset starting from the information contained into the toCreate bean.
* @param toCreate
* @param isWorkspaceRequest if the call comes from the workspace
* @return the sent bean full filled with the needed information
*/
DatasetMetadataBean createCKanDataset(DatasetMetadataBean toCreate, boolean isWorkspaceRequest);
DatasetMetadataBean createCKanDataset(DatasetMetadataBean toCreate);
/**
* Add this resource to the dataset whose id is datasetId

View File

@ -33,10 +33,9 @@ public interface CKanPublisherServiceAsync {
/**
* Try to create such dataset starting from the information contained into the toCreate bean.
* @param toCreate
* @param isWorkspaceRequest if the call comes from the workspace
* @return the sent bean full filled with the needed information
*/
void createCKanDataset(DatasetMetadataBean toCreate, boolean isWorkspaceRequest,
void createCKanDataset(DatasetMetadataBean toCreate,
AsyncCallback<DatasetMetadataBean> callback);
/**

View File

@ -753,7 +753,7 @@ public class CreateDatasetForm extends Composite{
createButton.setEnabled(false);
goBackButtonSecondStep.setEnabled(false);
ckanServices.createCKanDataset(receivedBean, isWorkspaceRequest, new AsyncCallback<DatasetMetadataBean>() {
ckanServices.createCKanDataset(receivedBean, new AsyncCallback<DatasetMetadataBean>() {
@Override
public void onSuccess(final DatasetMetadataBean createdDatasetBean) {

View File

@ -424,7 +424,7 @@ public class CKANPublisherServicesImpl extends RemoteServiceServlet implements C
}
@Override
public DatasetMetadataBean createCKanDataset(DatasetMetadataBean toCreate, boolean isWorkspaceRequest) {
public DatasetMetadataBean createCKanDataset(DatasetMetadataBean toCreate) {
logger.debug("Request for creating a dataset with these information " + toCreate);