41 lines
1.1 KiB
Java
41 lines
1.1 KiB
Java
/**
|
|
*
|
|
*/
|
|
package org.gcube.datacatalogue.grsf_manage_widget.client;
|
|
|
|
import java.util.List;
|
|
|
|
import org.gcube.datacatalogue.grsf_manage_widget.shared.ManageProductBean;
|
|
|
|
import com.google.gwt.user.client.rpc.AsyncCallback;
|
|
|
|
/**
|
|
* Async interface
|
|
* @author Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
|
|
*/
|
|
public interface GRSFManageWidgetServiceAsync {
|
|
|
|
void notifyProductUpdate(ManageProductBean bean, List<String> hashtags,
|
|
AsyncCallback<String> callback);
|
|
|
|
void getProductBeanById(String identifier,
|
|
AsyncCallback<ManageProductBean> callback);
|
|
|
|
void isAdminUser(AsyncCallback<Boolean> callback);
|
|
|
|
// void checkSemanticIdentifierExists(String semanticIdentifier,
|
|
// AsyncCallback<Boolean> callback);
|
|
//
|
|
// void checkSemanticIdentifierExistsInDomain(String semanticIdentifier,
|
|
// String domain, AsyncCallback<Boolean> callback);
|
|
|
|
void checkIdentifierExists(String id,
|
|
AsyncCallback<String> callback);
|
|
|
|
void checkIdentifierExistsInDomain(String id,
|
|
String domain, AsyncCallback<String> callback);
|
|
|
|
void validateRevertOperation(String url, AsyncCallback<Void> callback);
|
|
|
|
}
|