|
|
|
@ -4,6 +4,7 @@ import java.util.List;
|
|
|
|
|
|
|
|
|
|
import org.gcube.application.geoportalcommon.shared.GeoNaItemRef;
|
|
|
|
|
import org.gcube.application.geoportalcommon.shared.products.ConcessioneDV;
|
|
|
|
|
import org.gcube.application.geoportalcommon.shared.products.paths.FileSetPathsDV;
|
|
|
|
|
import org.gcube.portlets.user.geoportaldataentry.client.ConstantsGeoPortalDataEntryApp.RECORD_TYPE;
|
|
|
|
|
import org.gcube.portlets.user.geoportaldataentry.shared.CommitReport;
|
|
|
|
|
import org.gcube.portlets.user.geoportaldataentry.shared.GeoNaFormDataObject;
|
|
|
|
@ -53,41 +54,59 @@ public interface GeoportalDataEntryService extends RemoteService {
|
|
|
|
|
/**
|
|
|
|
|
* Gets the list concessioni.
|
|
|
|
|
*
|
|
|
|
|
* @param start the start
|
|
|
|
|
* @param limit the limit
|
|
|
|
|
* @param filter the filter
|
|
|
|
|
* @param start the start
|
|
|
|
|
* @param limit the limit
|
|
|
|
|
* @param filter the filter
|
|
|
|
|
* @param reloadFromService the reload from service
|
|
|
|
|
* @return the list concessioni
|
|
|
|
|
* @throws Exception the exception
|
|
|
|
|
*/
|
|
|
|
|
public ResultSetPaginatedData getListConcessioni(Integer start, Integer limit, SortFilter filter, boolean reloadFromService) throws Exception;
|
|
|
|
|
|
|
|
|
|
public ResultSetPaginatedData getListConcessioni(Integer start, Integer limit, SortFilter filter,
|
|
|
|
|
boolean reloadFromService) throws Exception;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Delete record.
|
|
|
|
|
*
|
|
|
|
|
* @param itemId the item id
|
|
|
|
|
* @param itemId the item id
|
|
|
|
|
* @param recordType the record type
|
|
|
|
|
* @return true, if successful
|
|
|
|
|
* @throws Exception the exception
|
|
|
|
|
*/
|
|
|
|
|
boolean deleteRecord(String itemId, RECORD_TYPE recordType) throws Exception;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Gets the JSON record.
|
|
|
|
|
*
|
|
|
|
|
* @param itemId the item id
|
|
|
|
|
* @param recordType the record type
|
|
|
|
|
* @return the JSON record
|
|
|
|
|
* @throws Exception the exception
|
|
|
|
|
*/
|
|
|
|
|
String getJSONRecord(String itemId, RECORD_TYPE recordType) throws Exception;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Update record.
|
|
|
|
|
*
|
|
|
|
|
* @param itemId the item id
|
|
|
|
|
* @param jsonUpdate the json update
|
|
|
|
|
* @param recordType the record type
|
|
|
|
|
* @return the concessione DV
|
|
|
|
|
* @throws Exception the exception
|
|
|
|
|
*/
|
|
|
|
|
ConcessioneDV updateRecord(String itemId, String jsonUpdate, RECORD_TYPE recordType) throws Exception;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read file set paths.
|
|
|
|
|
*
|
|
|
|
|
* @return the list
|
|
|
|
|
* @return the file set paths DV
|
|
|
|
|
* @throws Exception the exception
|
|
|
|
|
*/
|
|
|
|
|
List<String> readFileSetPaths() throws Exception;
|
|
|
|
|
FileSetPathsDV readFileSetPaths() throws Exception;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Gets the record.
|
|
|
|
|
*
|
|
|
|
|
* @param itemId the item id
|
|
|
|
|
* @param itemId the item id
|
|
|
|
|
* @param recordType the record type
|
|
|
|
|
* @return the record
|
|
|
|
|
* @throws Exception the exception
|
|
|
|
|