vre-deploy/src/main/java/org/gcube/portlets/admin/vredeployer/client/VredeployerServiceAsync.java

43 lines
1.3 KiB
Java

package org.gcube.portlets.admin.vredeployer.client;
import java.util.List;
import org.gcube.portlets.admin.vredeployer.client.model.VREFunctionalityModel;
import org.gcube.portlets.admin.vredeployer.shared.GHNProfile;
import org.gcube.portlets.admin.vredeployer.shared.VREDeployerStatusType;
import org.gcube.portlets.admin.vredeployer.shared.VREDescrBean;
import org.gcube.portlets.admin.vredeployer.shared.deployreport.ClientDeployReport;
import com.google.gwt.user.client.rpc.AsyncCallback;
/*
*
*/
public interface VredeployerServiceAsync {
void getVRE(AsyncCallback<VREDescrBean> callback);
void isApprovingModeEnabled(AsyncCallback<VREDeployerStatusType> callback);
void getAvailableGHNs(AsyncCallback<List<GHNProfile>> callback);
void setGHNsSelected(String[] selectedGHNIds, AsyncCallback<Boolean> callback);
void isCloudSelected(AsyncCallback<Integer> callback);
void setCloudDeploy(int virtualMachines, AsyncCallback<Boolean> callback);
void getCloudVMSelected(AsyncCallback<Integer> callback);
void checkCreateVRE(AsyncCallback<ClientDeployReport> callback);
void deployVRE(AsyncCallback<Boolean> callback);
void getHTMLReport(AsyncCallback<String> callback);
void getFunctionality(AsyncCallback<VREFunctionalityModel> callback);
void getGHNPerFunctionality(String funcId, AsyncCallback<Void> callback);
}