2018-07-05 18:29:38 +02:00
|
|
|
package org.gcube.portlets.user.accountingdashboard.client.rpc;
|
|
|
|
|
2018-07-09 19:08:52 +02:00
|
|
|
import org.gcube.portlets.user.accountingdashboard.shared.data.ReportData;
|
|
|
|
import org.gcube.portlets.user.accountingdashboard.shared.data.RequestReportData;
|
2018-07-06 17:48:46 +02:00
|
|
|
import org.gcube.portlets.user.accountingdashboard.shared.data.ScopeData;
|
2018-07-05 18:29:38 +02:00
|
|
|
import org.gcube.portlets.user.accountingdashboard.shared.exception.ServiceException;
|
2020-04-07 17:34:45 +02:00
|
|
|
import org.gcube.portlets.user.accountingdashboard.shared.options.TreeOptions;
|
2018-07-05 18:29:38 +02:00
|
|
|
import org.gcube.portlets.user.accountingdashboard.shared.session.UserInfo;
|
|
|
|
|
|
|
|
import com.google.gwt.user.client.rpc.RemoteService;
|
|
|
|
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @author Giancarlo Panichi
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
@RemoteServiceRelativePath("accountingdashboardservice")
|
|
|
|
public interface AccountingDashboardService extends RemoteService {
|
|
|
|
/**
|
|
|
|
* Get informations on the current user
|
|
|
|
*
|
|
|
|
* @return UserInfo user inforamations
|
|
|
|
* @throws ServiceException
|
|
|
|
* exception
|
|
|
|
*/
|
|
|
|
public UserInfo hello() throws ServiceException;
|
|
|
|
|
2020-04-07 17:34:45 +02:00
|
|
|
public ScopeData getScopeData(TreeOptions treeOptions) throws ServiceException;
|
2018-07-06 17:48:46 +02:00
|
|
|
|
2020-04-07 17:34:45 +02:00
|
|
|
public ReportData getReport(RequestReportData requestReportdata, TreeOptions treeOptions) throws ServiceException;
|
2018-07-09 19:08:52 +02:00
|
|
|
|
2018-07-05 18:29:38 +02:00
|
|
|
}
|