accounting-manager/src/main/java/org/gcube/portlets/admin/accountingmanager/client/rpc/AccountingManagerServiceAsy...

44 lines
1.2 KiB
Java

/**
*
*/
package org.gcube.portlets.admin.accountingmanager.client.rpc;
import org.gcube.portlets.admin.accountingmanager.shared.data.AccountingType;
import org.gcube.portlets.admin.accountingmanager.shared.data.query.SeriesRequest;
import org.gcube.portlets.admin.accountingmanager.shared.data.response.SeriesResponse;
import org.gcube.portlets.admin.accountingmanager.shared.session.UserInfo;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.AsyncCallback;
/**
*
* @author "Giancarlo Panichi"
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
*
*/
public interface AccountingManagerServiceAsync {
public static AccountingManagerServiceAsync INSTANCE = (AccountingManagerServiceAsync) GWT
.create(AccountingManagerService.class);
/**
*
* @param callback
*/
void hello(AsyncCallback<UserInfo> callback);
/**
* Retrieve Accounting Series
*
* @param accountingType the resource on which to accounting
* @param seriesRequest filters and constraints descriptions
* @param callback
*/
void getSeries(AccountingType accountingType, SeriesRequest seriesRequest,AsyncCallback<SeriesResponse> callback);
}