2020-10-07 17:04:13 +02:00
|
|
|
package org.gcube.portlets.user.geoportaldataentry.client;
|
|
|
|
|
2020-10-20 09:58:56 +02:00
|
|
|
import java.util.List;
|
|
|
|
|
2020-12-01 18:15:13 +01:00
|
|
|
import org.gcube.application.geoportalcommon.shared.GeoNaItemRef;
|
2020-10-21 16:52:07 +02:00
|
|
|
import org.gcube.portlets.user.geoportaldataentry.shared.CommitReport;
|
2020-10-20 09:58:56 +02:00
|
|
|
import org.gcube.portlets.user.geoportaldataentry.shared.GeoNaFormDataObject;
|
2020-10-21 15:36:50 +02:00
|
|
|
import org.gcube.portlets.user.geoportaldataentry.shared.GeonaISConfig;
|
2021-08-04 17:11:46 +02:00
|
|
|
import org.gcube.portlets.user.geoportaldataentry.shared.SearchedData;
|
2020-10-20 09:58:56 +02:00
|
|
|
|
2020-10-07 17:04:13 +02:00
|
|
|
import com.google.gwt.user.client.rpc.RemoteService;
|
|
|
|
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The client side stub for the RPC service.
|
2021-08-04 17:11:46 +02:00
|
|
|
*
|
|
|
|
* @author Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it
|
|
|
|
*
|
|
|
|
* Aug 4, 2021
|
2020-10-07 17:04:13 +02:00
|
|
|
*/
|
2020-10-22 16:50:14 +02:00
|
|
|
@RemoteServiceRelativePath("geoportaldataentryservice")
|
|
|
|
public interface GeoportalDataEntryService extends RemoteService {
|
2020-10-20 09:58:56 +02:00
|
|
|
|
2021-08-04 17:11:46 +02:00
|
|
|
/**
|
|
|
|
* Save geona data forms.
|
|
|
|
*
|
|
|
|
* @param listGeonaFormObjects the list geona form objects
|
|
|
|
* @return the commit report
|
|
|
|
* @throws Exception the exception
|
|
|
|
*/
|
2020-10-21 16:52:07 +02:00
|
|
|
CommitReport saveGeonaDataForms(List<GeoNaFormDataObject> listGeonaFormObjects) throws Exception;
|
2020-10-21 15:36:50 +02:00
|
|
|
|
2021-08-04 17:11:46 +02:00
|
|
|
/**
|
|
|
|
* Gets the geona init config.
|
|
|
|
*
|
|
|
|
* @return the geona init config
|
|
|
|
*/
|
2020-10-21 15:36:50 +02:00
|
|
|
GeonaISConfig getGeonaInitConfig();
|
2020-12-01 18:15:13 +01:00
|
|
|
|
2021-08-04 17:11:46 +02:00
|
|
|
/**
|
|
|
|
* Gets the links for.
|
|
|
|
*
|
|
|
|
* @param itemId the item id
|
|
|
|
* @param recordType the record type
|
|
|
|
* @return the links for
|
|
|
|
* @throws Exception the exception
|
|
|
|
*/
|
2021-07-30 11:53:12 +02:00
|
|
|
GeoNaItemRef getLinksFor(String itemId, String recordType) throws Exception;
|
2021-08-04 17:11:46 +02:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the list concessioni.
|
|
|
|
*
|
|
|
|
* @param start the start
|
|
|
|
* @param offset the offset
|
|
|
|
* @return the list concessioni
|
|
|
|
* @throws Exception the exception
|
|
|
|
*/
|
|
|
|
SearchedData getListConcessioni(Integer start, Integer offset) throws Exception;
|
2020-10-07 17:04:13 +02:00
|
|
|
}
|