40 lines
1.3 KiB
Java
40 lines
1.3 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.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"
|
|
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
*
|
|
*/
|
|
@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;
|
|
|
|
}
|