2015-11-24 16:22:17 +01:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
package org.gcube.portlets.user.statisticalalgorithmsimporter.client.rpc;
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
|
|
|
import org.gcube.portlets.user.statisticalalgorithmsimporter.shared.code.CodeData;
|
2017-06-06 20:15:22 +02:00
|
|
|
import org.gcube.portlets.user.statisticalalgorithmsimporter.shared.descriptor.SAIDescriptor;
|
2019-10-01 17:42:23 +02:00
|
|
|
import org.gcube.portlets.user.statisticalalgorithmsimporter.shared.dminfo.ServiceInfo;
|
2015-11-24 16:22:17 +01:00
|
|
|
import org.gcube.portlets.user.statisticalalgorithmsimporter.shared.file.FileUploadMonitor;
|
2015-12-14 18:44:54 +01:00
|
|
|
import org.gcube.portlets.user.statisticalalgorithmsimporter.shared.project.InputData;
|
|
|
|
import org.gcube.portlets.user.statisticalalgorithmsimporter.shared.project.Project;
|
2017-06-07 19:46:05 +02:00
|
|
|
import org.gcube.portlets.user.statisticalalgorithmsimporter.shared.project.ProjectCreateSession;
|
2015-11-24 16:22:17 +01:00
|
|
|
import org.gcube.portlets.user.statisticalalgorithmsimporter.shared.session.UserInfo;
|
2015-12-11 18:02:03 +01:00
|
|
|
import org.gcube.portlets.user.statisticalalgorithmsimporter.shared.workspace.ItemDescription;
|
2015-11-24 16:22:17 +01:00
|
|
|
|
|
|
|
import com.google.gwt.core.client.GWT;
|
|
|
|
import com.google.gwt.user.client.rpc.AsyncCallback;
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
2017-05-12 18:26:05 +02:00
|
|
|
* @author Giancarlo Panichi
|
|
|
|
*
|
2015-11-24 16:22:17 +01:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
public interface StatAlgoImporterServiceAsync {
|
|
|
|
|
|
|
|
public static StatAlgoImporterServiceAsync INSTANCE = (StatAlgoImporterServiceAsync) GWT
|
|
|
|
.create(StatAlgoImporterService.class);
|
2015-12-04 18:45:47 +01:00
|
|
|
|
2015-11-24 16:22:17 +01:00
|
|
|
void hello(AsyncCallback<UserInfo> callback);
|
|
|
|
|
2019-09-18 17:26:29 +02:00
|
|
|
void getSAIDescriptor(AsyncCallback<SAIDescriptor> callback);
|
2017-06-06 20:15:22 +02:00
|
|
|
|
2015-11-24 16:22:17 +01:00
|
|
|
void getFileUploadMonitor(AsyncCallback<FileUploadMonitor> callback);
|
|
|
|
|
|
|
|
void getCode(AsyncCallback<ArrayList<CodeData>> callback);
|
|
|
|
|
2017-06-07 19:46:05 +02:00
|
|
|
void createProjectOnWorkspace(ProjectCreateSession projectCreateSession, AsyncCallback<Project> callback);
|
2017-05-12 18:26:05 +02:00
|
|
|
|
2017-06-09 18:35:45 +02:00
|
|
|
void setMainCode(ItemDescription itemDescription, AsyncCallback<Project> asyncCallback);
|
2015-12-11 18:02:03 +01:00
|
|
|
|
2017-06-09 18:35:45 +02:00
|
|
|
void setBinaryCode(ItemDescription itemDescription, AsyncCallback<Project> asyncCallback);
|
|
|
|
|
2017-05-12 18:26:05 +02:00
|
|
|
void addResourceToProject(ItemDescription itemDescription, AsyncCallback<Void> asyncCallback);
|
2015-12-11 18:02:03 +01:00
|
|
|
|
2017-05-12 18:26:05 +02:00
|
|
|
void saveProject(InputData inputData, AsyncCallback<Void> asyncCallback);
|
2015-12-11 18:02:03 +01:00
|
|
|
|
2017-05-12 18:26:05 +02:00
|
|
|
void deleteResourceOnProject(ItemDescription itemDescription, AsyncCallback<Project> asyncCallback);
|
2015-11-24 16:22:17 +01:00
|
|
|
|
2017-05-12 18:26:05 +02:00
|
|
|
void openProjectOnWorkspace(ItemDescription newProjectFolder, AsyncCallback<Project> asyncCallback);
|
2015-12-14 18:44:54 +01:00
|
|
|
|
2015-12-18 17:55:57 +01:00
|
|
|
void saveCode(String code, AsyncCallback<Void> asyncCallback);
|
2017-05-12 18:26:05 +02:00
|
|
|
|
2017-12-18 13:01:19 +01:00
|
|
|
void setNewCode(InputData inputData, ItemDescription itemDescription, String code, AsyncCallback<Project> asyncCallback);
|
2015-12-18 17:55:57 +01:00
|
|
|
|
2017-06-12 18:21:54 +02:00
|
|
|
void createSoftware(InputData inputData, AsyncCallback<Project> callback);
|
2016-01-11 17:01:28 +01:00
|
|
|
|
2017-05-12 18:26:05 +02:00
|
|
|
void getPublicLink(ItemDescription itemDescription, AsyncCallback<String> asyncCallback);
|
2016-01-13 17:26:54 +01:00
|
|
|
|
2016-01-18 12:59:57 +01:00
|
|
|
void restoreUISession(String value, AsyncCallback<Project> asyncCallback);
|
|
|
|
|
2017-07-17 18:39:42 +02:00
|
|
|
void publishSoftware(AsyncCallback<String> asyncCallback);
|
2016-01-18 17:28:55 +01:00
|
|
|
|
2016-01-26 16:31:34 +01:00
|
|
|
void repackageSoftware(AsyncCallback<Void> asyncCallback);
|
|
|
|
|
2017-07-17 18:39:42 +02:00
|
|
|
void getDeployOperationStatus(String operationId, AsyncCallback<String> callback);
|
|
|
|
|
|
|
|
void getDeployOperationLogs(String operationId, AsyncCallback<String> callback);
|
|
|
|
|
2018-10-03 19:46:01 +02:00
|
|
|
void getItemDescription(String itemId, AsyncCallback<ItemDescription> asyncCallback);
|
|
|
|
|
2019-10-01 17:42:23 +02:00
|
|
|
void getServiceInfo(AsyncCallback<ServiceInfo> callback);
|
2017-06-06 20:15:22 +02:00
|
|
|
|
2015-11-24 16:22:17 +01:00
|
|
|
}
|