84 lines
2.9 KiB
Java
84 lines
2.9 KiB
Java
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.exception.StatAlgoImporterServiceException;
|
|
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.session.UserInfo;
|
|
import org.gcube.portlets.user.statisticalalgorithmsimporter.shared.workspace.ItemDescription;
|
|
|
|
import com.google.gwt.user.client.rpc.RemoteService;
|
|
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
|
|
|
|
/**
|
|
*
|
|
* @author "Giancarlo Panichi" <a
|
|
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
*
|
|
*/
|
|
@RemoteServiceRelativePath("statalgoimporterservice")
|
|
public interface StatAlgoImporterService extends RemoteService {
|
|
/**
|
|
* Get informations on the current user
|
|
*
|
|
* @return
|
|
* @throws StatAlgoImporterServiceException
|
|
*/
|
|
public UserInfo hello() throws StatAlgoImporterServiceException;
|
|
|
|
// File Upload Monitor
|
|
/**
|
|
* Get File Upload Monitor during the file upload operation in Import CSV
|
|
*
|
|
* @return
|
|
* @throws StatAlgoImporterServiceException
|
|
*/
|
|
public FileUploadMonitor getFileUploadMonitor()
|
|
throws StatAlgoImporterServiceException;
|
|
|
|
// Code
|
|
public ArrayList<CodeData> getCode()
|
|
throws StatAlgoImporterServiceException;
|
|
|
|
public void createProjectOnWorkspace(ItemDescription itemDescription)
|
|
throws StatAlgoImporterServiceException;
|
|
|
|
//
|
|
public Project setMainCode(ItemDescription itemDescription)
|
|
throws StatAlgoImporterServiceException;
|
|
|
|
public void addResourceToProject(ItemDescription itemDescription)
|
|
throws StatAlgoImporterServiceException;
|
|
|
|
public Project deleteResourceOnProject(ItemDescription itemDescription)
|
|
throws StatAlgoImporterServiceException;
|
|
|
|
public void saveProject(InputData inputData)
|
|
throws StatAlgoImporterServiceException;
|
|
|
|
public Project openProjectOnWorkspace(ItemDescription newProjectFolder)
|
|
throws StatAlgoImporterServiceException;
|
|
|
|
public void saveCode(String code) throws StatAlgoImporterServiceException;
|
|
|
|
public void createSoftware(InputData inputData)
|
|
throws StatAlgoImporterServiceException;
|
|
|
|
public String getPublicLink(ItemDescription itemDescription)
|
|
throws StatAlgoImporterServiceException;
|
|
|
|
public Project restoreUISession(String value)
|
|
throws StatAlgoImporterServiceException;
|
|
|
|
public Project setNewMainCode(ItemDescription itemDescription,
|
|
String code) throws StatAlgoImporterServiceException;
|
|
|
|
public void publishSoftware() throws StatAlgoImporterServiceException;
|
|
|
|
public void repackageSoftware() throws StatAlgoImporterServiceException;
|
|
|
|
}
|