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.exception.AccountingManagerServiceException; import org.gcube.portlets.admin.accountingmanager.shared.session.UserInfo; import com.google.gwt.user.client.rpc.RemoteService; import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; /** * * @author "Giancarlo Panichi" * g.panichi@isti.cnr.it * */ @RemoteServiceRelativePath("ams") public interface AccountingManagerService extends RemoteService { /** * Get informations on the current user * * @return * @throws AccountingManagerServiceException */ public UserInfo hello() throws AccountingManagerServiceException; /** * Retrieve Accounting Series * * @param accountingType the resource on which to accounting * @param seriesRequest filters and constraints descriptions * @return * @throws AccountingManagerServiceException */ public SeriesResponse getSeries(AccountingType accountingType, SeriesRequest seriesRequest) throws AccountingManagerServiceException; }