37 lines
1.2 KiB
Java
Executable File
37 lines
1.2 KiB
Java
Executable File
/**
|
|
*
|
|
*/
|
|
package org.gcube.portlets.user.accountingdashboard.client.rpc;
|
|
|
|
import org.gcube.portlets.user.accountingdashboard.shared.data.ReportData;
|
|
import org.gcube.portlets.user.accountingdashboard.shared.data.RequestReportData;
|
|
import org.gcube.portlets.user.accountingdashboard.shared.data.ScopeData;
|
|
import org.gcube.portlets.user.accountingdashboard.shared.env.EnvironmentData;
|
|
import org.gcube.portlets.user.accountingdashboard.shared.options.TreeOptions;
|
|
import org.gcube.portlets.user.accountingdashboard.shared.session.UserInfo;
|
|
|
|
import com.google.gwt.core.client.GWT;
|
|
import com.google.gwt.user.client.rpc.AsyncCallback;
|
|
|
|
/**
|
|
*
|
|
* @author Giancarlo Panichi
|
|
*
|
|
*
|
|
*/
|
|
public interface AccountingDashboardServiceAsync {
|
|
|
|
public static AccountingDashboardServiceAsync INSTANCE = (AccountingDashboardServiceAsync) GWT
|
|
.create(AccountingDashboardService.class);
|
|
|
|
void hello(AsyncCallback<UserInfo> callback);
|
|
|
|
void getEnvironment(AsyncCallback<EnvironmentData> callback);
|
|
|
|
void getScopeData(TreeOptions treeOptions, AsyncCallback<ScopeData> callback);
|
|
|
|
void getReport(RequestReportData requestReportdata, TreeOptions treeOptions,
|
|
AsyncCallback<ReportData> asyncCallback);
|
|
|
|
}
|