2017-01-26 18:21:33 +01:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
package org.gcube.datacatalogue.grsf_manage_widget.client;
|
|
|
|
|
|
|
|
import org.gcube.datacatalogue.grsf_manage_widget.shared.ManageProductBean;
|
2018-02-04 17:42:34 +01:00
|
|
|
import org.gcube.datacatalogue.grsf_manage_widget.shared.RevertableOperationInfo;
|
2017-01-26 18:21:33 +01:00
|
|
|
|
|
|
|
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-03 19:17:37 +01:00
|
|
|
void notifyProductUpdate(ManageProductBean bean,
|
2018-02-05 17:16:14 +01:00
|
|
|
AsyncCallback<Void> callback);
|
2017-01-26 18:21:33 +01:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
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-04 17:42:34 +01:00
|
|
|
void validateRevertOperation(String url, AsyncCallback<RevertableOperationInfo> callback);
|
|
|
|
|
|
|
|
void performRevertOperation(RevertableOperationInfo rInfo,
|
|
|
|
AsyncCallback<Boolean> callback);
|
2018-02-02 15:28:35 +01:00
|
|
|
|
2017-01-26 18:21:33 +01:00
|
|
|
}
|