59 lines
2.3 KiB
Java
59 lines
2.3 KiB
Java
package org.gcube.portlets.user.dataminermanager.client.rpc;
|
|
|
|
import java.util.List;
|
|
|
|
import org.gcube.portlets.user.dataminermanager.client.bean.ComputationStatus;
|
|
import org.gcube.portlets.user.dataminermanager.client.bean.Operator;
|
|
import org.gcube.portlets.user.dataminermanager.client.bean.OperatorsClassification;
|
|
import org.gcube.portlets.user.dataminermanager.client.bean.output.Resource;
|
|
import org.gcube.portlets.user.dataminermanager.client.bean.parameters.Parameter;
|
|
import org.gcube.portlets.user.dataminermanager.shared.data.ComputationId;
|
|
import org.gcube.portlets.user.dataminermanager.shared.data.TableItemSimple;
|
|
import org.gcube.portlets.user.dataminermanager.shared.exception.ServiceException;
|
|
import org.gcube.portlets.user.dataminermanager.shared.session.UserInfo;
|
|
import org.gcube.portlets.user.dataminermanager.shared.workspace.DataMinerWorkArea;
|
|
import org.gcube.portlets.user.dataminermanager.shared.workspace.ItemDescription;
|
|
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 {
|
|
|
|
public UserInfo hello() throws ServiceException;
|
|
|
|
public List<OperatorsClassification> getOperatorsClassifications()
|
|
throws ServiceException;
|
|
|
|
public List<Parameter> getParameters(Operator operator) throws ServiceException;
|
|
|
|
public ComputationId startComputation(Operator op) throws ServiceException;
|
|
|
|
public ComputationStatus getComputationStatus(ComputationId computationId)
|
|
throws ServiceException;
|
|
|
|
|
|
public ComputationId resubmit(ItemDescription itemDescription) throws ServiceException;
|
|
|
|
|
|
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;
|
|
|
|
public void deleteItem(ItemDescription itemDescription)
|
|
throws ServiceException;
|
|
|
|
public Resource getResourceByComputationId(ComputationId computationId) throws ServiceException;
|
|
|
|
}
|