52 lines
1.6 KiB
Java
52 lines
1.6 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.ProjectOnWorkspaceStatus;
|
|
import org.gcube.portlets.user.statisticalalgorithmsimporter.shared.session.UserInfo;
|
|
|
|
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 ProjectOnWorkspaceStatus createProjectOnWorkspace(String itemId)
|
|
throws StatAlgoImporterServiceException;
|
|
//
|
|
public void setMainCode(String itemId)
|
|
throws StatAlgoImporterServiceException;
|
|
|
|
|
|
}
|