2017-01-26 18:21:33 +01:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
package org.gcube.datacatalogue.grsf_manage_widget.client;
|
|
|
|
|
2018-02-02 17:32:30 +01:00
|
|
|
import java.util.List;
|
|
|
|
|
2017-01-26 18:21:33 +01:00
|
|
|
import org.gcube.datacatalogue.grsf_manage_widget.shared.ManageProductBean;
|
|
|
|
|
|
|
|
import com.google.gwt.user.client.rpc.AsyncCallback;
|
|
|
|
|
2017-10-27 17:30:56 +02:00
|
|
|
/**
|
|
|
|
* Async interface
|
|
|
|
* @author Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
|
|
|
|
*/
|
2017-01-27 16:14:14 +01:00
|
|
|
public interface GRSFManageWidgetServiceAsync {
|
2017-01-26 18:21:33 +01:00
|
|
|
|
2018-02-02 17:32:30 +01:00
|
|
|
void notifyProductUpdate(ManageProductBean bean, List<String> hashtags,
|
2017-01-26 18:21:33 +01:00
|
|
|
AsyncCallback<String> callback);
|
|
|
|
|
|
|
|
void getProductBeanById(String identifier,
|
|
|
|
AsyncCallback<ManageProductBean> callback);
|
2017-01-27 16:14:14 +01:00
|
|
|
|
2017-02-16 18:32:19 +01:00
|
|
|
void isAdminUser(AsyncCallback<Boolean> callback);
|
|
|
|
|
2018-02-02 15:28:35 +01:00
|
|
|
// void checkSemanticIdentifierExists(String semanticIdentifier,
|
|
|
|
// AsyncCallback<Boolean> callback);
|
|
|
|
//
|
|
|
|
// void checkSemanticIdentifierExistsInDomain(String semanticIdentifier,
|
|
|
|
// String domain, AsyncCallback<Boolean> callback);
|
2017-11-23 20:04:47 +01:00
|
|
|
|
2017-12-07 12:37:21 +01:00
|
|
|
void checkIdentifierExists(String id,
|
2018-01-23 18:25:16 +01:00
|
|
|
AsyncCallback<String> callback);
|
2017-12-07 12:37:21 +01:00
|
|
|
|
|
|
|
void checkIdentifierExistsInDomain(String id,
|
2018-01-23 18:25:16 +01:00
|
|
|
String domain, AsyncCallback<String> callback);
|
2017-12-07 12:37:21 +01:00
|
|
|
|
2018-02-02 15:28:35 +01:00
|
|
|
void validateRevertOperation(String url, AsyncCallback<Void> callback);
|
|
|
|
|
2017-01-26 18:21:33 +01:00
|
|
|
}
|