service-endpoint-editor/src/main/java/org/gcube/portlets/admin/sepeditor/client/RuntimeResourceCreatorServi...

24 lines
774 B
Java

package org.gcube.portlets.admin.sepeditor.client;
import java.util.ArrayList;
import org.gcube.portlets.admin.sepeditor.shared.Category;
import org.gcube.portlets.admin.sepeditor.shared.FilledRuntimeResource;
import org.gcube.portlets.admin.sepeditor.shared.InitInfo;
import com.google.gwt.user.client.rpc.AsyncCallback;
/**
* The async counterpart of <code>RuntimeResourceCreatorService</code>.
*/
public interface RuntimeResourceCreatorServiceAsync {
void getCategories(AsyncCallback<ArrayList<Category>> callback);
void createRuntimeResource(String scope, FilledRuntimeResource resource, boolean isUpdate,
AsyncCallback<Boolean> callback);
void getInitialInfo(boolean isEditMode, String idToEdit,
String curscope, AsyncCallback<InitInfo> callback);
}