This repository has been archived on 2021-09-20. You can view files and clone it, but cannot push or open issues or pull requests.
2020-12-22 11:31:54 +01:00
|
|
|
package org.gcube.application.geoportal.common.rest;
|
|
|
|
|
|
|
|
import org.gcube.application.geoportal.common.model.legacy.Concessione;
|
|
|
|
|
2021-08-03 12:21:25 +02:00
|
|
|
import java.util.Iterator;
|
|
|
|
|
2020-12-22 11:31:54 +01:00
|
|
|
public interface MongoConcessioni {
|
|
|
|
|
|
|
|
public Concessione createNew(Concessione c) throws Exception;
|
|
|
|
public void deleteById(String id) throws Exception;
|
2021-08-03 12:39:26 +02:00
|
|
|
public void deleteById(String id,Boolean force) throws Exception;
|
2020-12-22 11:31:54 +01:00
|
|
|
public Concessione getById(String id) throws Exception;
|
2021-08-03 12:21:25 +02:00
|
|
|
public Iterator<Concessione> getList()throws Exception;
|
2020-12-22 11:31:54 +01:00
|
|
|
public Concessione publish(String id) throws Exception;
|
|
|
|
public Concessione registerFile(String id, AddSectionToConcessioneRequest request) throws Exception;
|
|
|
|
public Concessione update(String id, String jsonUpdate) throws Exception;
|
|
|
|
public Concessione replace(Concessione replacement) throws Exception;
|
2021-08-03 16:26:11 +02:00
|
|
|
|
|
|
|
public void unpublish()throws Exception;
|
2020-12-22 11:31:54 +01:00
|
|
|
|
|
|
|
}
|