2016-04-06 18:28:32 +02:00
|
|
|
package org.gcube.portlets.user.dataminermanager.client.rpc;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
2018-05-03 16:24:26 +02:00
|
|
|
import org.gcube.data.analysis.dataminermanagercl.shared.data.OutputData;
|
|
|
|
import org.gcube.data.analysis.dataminermanagercl.shared.data.TableItemSimple;
|
|
|
|
import org.gcube.data.analysis.dataminermanagercl.shared.data.computations.ComputationData;
|
|
|
|
import org.gcube.data.analysis.dataminermanagercl.shared.data.computations.ComputationId;
|
2016-04-06 18:28:32 +02:00
|
|
|
import org.gcube.portlets.user.dataminermanager.shared.exception.ServiceException;
|
2018-05-03 16:24:26 +02:00
|
|
|
import org.gcube.data.analysis.dataminermanagercl.shared.parameters.Parameter;
|
|
|
|
import org.gcube.data.analysis.dataminermanagercl.shared.process.ComputationStatus;
|
|
|
|
import org.gcube.data.analysis.dataminermanagercl.shared.process.Operator;
|
|
|
|
import org.gcube.data.analysis.dataminermanagercl.shared.process.OperatorsClassification;
|
2016-04-06 18:28:32 +02:00
|
|
|
import org.gcube.portlets.user.dataminermanager.shared.session.UserInfo;
|
2018-05-03 16:24:26 +02:00
|
|
|
import org.gcube.data.analysis.dataminermanagercl.shared.workspace.DataMinerWorkArea;
|
|
|
|
import org.gcube.data.analysis.dataminermanagercl.shared.workspace.ItemDescription;
|
2016-04-06 18:28:32 +02:00
|
|
|
import org.gcube.portlets.widgets.wsexplorer.shared.Item;
|
|
|
|
|
|
|
|
import com.google.gwt.user.client.rpc.RemoteService;
|
|
|
|
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The client side stub for the RPC service.
|
|
|
|
*/
|
|
|
|
@RemoteServiceRelativePath("dataminerman")
|
|
|
|
public interface DataMinerPortletService extends RemoteService {
|
|
|
|
|
2016-04-08 20:34:05 +02:00
|
|
|
public UserInfo hello() throws ServiceException;
|
|
|
|
|
|
|
|
public List<OperatorsClassification> getOperatorsClassifications()
|
2016-05-04 20:24:07 +02:00
|
|
|
throws ServiceException;
|
2016-04-06 18:28:32 +02:00
|
|
|
|
2016-05-04 20:24:07 +02:00
|
|
|
public List<Parameter> getParameters(Operator operator) throws ServiceException;
|
2016-04-08 20:34:05 +02:00
|
|
|
|
2016-05-04 20:24:07 +02:00
|
|
|
public ComputationId startComputation(Operator op) throws ServiceException;
|
2016-04-06 18:28:32 +02:00
|
|
|
|
2016-04-08 20:34:05 +02:00
|
|
|
public ComputationStatus getComputationStatus(ComputationId computationId)
|
2016-05-04 20:24:07 +02:00
|
|
|
throws ServiceException;
|
2016-04-08 20:34:05 +02:00
|
|
|
|
2016-05-06 18:26:00 +02:00
|
|
|
public ComputationId resubmit(ItemDescription itemDescription) throws ServiceException;
|
2016-04-06 18:28:32 +02:00
|
|
|
|
2016-04-08 20:34:05 +02:00
|
|
|
|
2016-04-06 18:28:32 +02:00
|
|
|
public TableItemSimple retrieveTableInformation(Item item)
|
|
|
|
throws ServiceException;
|
|
|
|
|
|
|
|
public DataMinerWorkArea getDataMinerWorkArea() throws ServiceException;
|
|
|
|
|
|
|
|
public String getPublicLink(ItemDescription itemDescription)
|
|
|
|
throws ServiceException;
|
|
|
|
|
|
|
|
public String cancelComputation(ComputationId computationId) throws ServiceException;
|
|
|
|
|
2016-04-26 18:27:28 +02:00
|
|
|
public void deleteItem(ItemDescription itemDescription)
|
|
|
|
throws ServiceException;
|
|
|
|
|
2016-05-10 17:58:09 +02:00
|
|
|
public OutputData getOutputDataByComputationId(ComputationId computationId) throws ServiceException;
|
2016-05-04 20:24:07 +02:00
|
|
|
|
2016-05-10 17:58:09 +02:00
|
|
|
public ComputationData getComputationData(ItemDescription itemDescription) throws ServiceException;
|
2016-05-23 17:25:00 +02:00
|
|
|
|
|
|
|
public String cancelComputation(ItemDescription itemDescription) throws ServiceException;
|
2016-05-09 18:57:18 +02:00
|
|
|
|
2016-04-06 18:28:32 +02:00
|
|
|
}
|