2018-05-04 16:16:28 +02:00
|
|
|
package org.gcube.portlets.widgets.wstaskexecutor.client.rpc;
|
2018-05-04 11:35:17 +02:00
|
|
|
|
2018-05-04 12:16:27 +02:00
|
|
|
import java.util.List;
|
|
|
|
|
2018-05-08 12:23:11 +02:00
|
|
|
import org.gcube.common.workspacetaskexecutor.shared.TaskParameterType;
|
2018-05-04 16:16:28 +02:00
|
|
|
import org.gcube.common.workspacetaskexecutor.shared.dataminer.TaskConfiguration;
|
|
|
|
import org.gcube.common.workspacetaskexecutor.shared.exception.ItemNotConfiguredException;
|
2018-05-04 12:16:27 +02:00
|
|
|
import org.gcube.portlets.widgets.wstaskexecutor.shared.GcubeScope;
|
|
|
|
|
2018-05-04 11:35:17 +02:00
|
|
|
import com.google.gwt.user.client.rpc.RemoteService;
|
|
|
|
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
|
|
|
|
|
2018-05-04 12:16:27 +02:00
|
|
|
|
2018-05-04 11:35:17 +02:00
|
|
|
/**
|
2018-05-04 12:16:27 +02:00
|
|
|
* The Interface GreetingService.
|
|
|
|
*
|
|
|
|
* @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
|
|
|
|
* May 4, 2018
|
2018-05-04 11:35:17 +02:00
|
|
|
*/
|
|
|
|
@RemoteServiceRelativePath("greet")
|
2018-05-04 12:23:04 +02:00
|
|
|
public interface WsTaskExecutorWidgetService extends RemoteService {
|
2018-05-04 12:16:27 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the list of scopes for logged user.
|
|
|
|
*
|
|
|
|
* @return the list of scopes for logged user
|
|
|
|
* @throws Exception the exception
|
|
|
|
*/
|
|
|
|
List<GcubeScope> getListOfScopesForLoggedUser() throws Exception;
|
2018-05-04 16:16:28 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Check item task configurations.
|
|
|
|
*
|
|
|
|
* @param itemId the item id
|
|
|
|
* @return the list
|
|
|
|
* @throws ItemNotConfiguredException, Exception
|
|
|
|
*/
|
|
|
|
List<TaskConfiguration> checkItemTaskConfigurations(String itemId) throws ItemNotConfiguredException, Exception;
|
2018-05-08 12:23:11 +02:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the availables parameter types.
|
|
|
|
*
|
|
|
|
* @return the availables parameter types
|
|
|
|
* @throws Exception the exception
|
|
|
|
*/
|
|
|
|
List<TaskParameterType> getAvailableParameterTypes() throws Exception;
|
2018-05-04 11:35:17 +02:00
|
|
|
}
|