/** * */ package org.gcube.portlets.user.statisticalalgorithmsimporter.client.rpc; import java.util.ArrayList; import org.gcube.portlets.user.statisticalalgorithmsimporter.shared.code.CodeData; import org.gcube.portlets.user.statisticalalgorithmsimporter.shared.descriptor.SAIDescriptor; import org.gcube.portlets.user.statisticalalgorithmsimporter.shared.dminfo.ServiceInfo; import org.gcube.portlets.user.statisticalalgorithmsimporter.shared.file.FileUploadMonitor; import org.gcube.portlets.user.statisticalalgorithmsimporter.shared.project.InputData; import org.gcube.portlets.user.statisticalalgorithmsimporter.shared.project.Project; import org.gcube.portlets.user.statisticalalgorithmsimporter.shared.project.ProjectCreateSession; import org.gcube.portlets.user.statisticalalgorithmsimporter.shared.session.UserInfo; import org.gcube.portlets.user.statisticalalgorithmsimporter.shared.workspace.ItemDescription; import com.google.gwt.core.client.GWT; import com.google.gwt.user.client.rpc.AsyncCallback; /** * * @author Giancarlo Panichi * * */ public interface StatAlgoImporterServiceAsync { public static StatAlgoImporterServiceAsync INSTANCE = (StatAlgoImporterServiceAsync) GWT .create(StatAlgoImporterService.class); void hello(AsyncCallback callback); void getSAIDescriptor(AsyncCallback callback); void getFileUploadMonitor(AsyncCallback callback); void getCode(AsyncCallback> callback); void createProjectOnWorkspace(ProjectCreateSession projectCreateSession, AsyncCallback callback); void setMainCode(ItemDescription itemDescription, AsyncCallback asyncCallback); void setBinaryCode(ItemDescription itemDescription, AsyncCallback asyncCallback); void addResourceToProject(ItemDescription itemDescription, AsyncCallback asyncCallback); void saveProject(InputData inputData, AsyncCallback asyncCallback); void deleteResourceOnProject(ItemDescription itemDescription, AsyncCallback asyncCallback); void openProjectOnWorkspace(ItemDescription newProjectFolder, AsyncCallback asyncCallback); void saveCode(String code, AsyncCallback asyncCallback); void setNewCode(InputData inputData, ItemDescription itemDescription, String code, AsyncCallback asyncCallback); void createSoftware(InputData inputData, AsyncCallback callback); void getPublicLink(ItemDescription itemDescription, AsyncCallback asyncCallback); void restoreUISession(String value, AsyncCallback asyncCallback); void publishSoftware(AsyncCallback asyncCallback); void repackageSoftware(AsyncCallback asyncCallback); void getDeployOperationStatus(String operationId, AsyncCallback callback); void getDeployOperationLogs(String operationId, AsyncCallback callback); void getItemDescription(String itemId, AsyncCallback asyncCallback); void getServiceInfo(AsyncCallback callback); }