Changed Exception type

This commit is contained in:
Fabio Sinibaldi 2020-12-17 11:50:44 +01:00
parent 08462b863e
commit 204d4608a0
1 changed files with 8 additions and 10 deletions

View File

@ -1,18 +1,16 @@
package org.gcube.application.geoportal.common.rest;
import java.rmi.RemoteException;
import org.gcube.application.geoportal.common.model.project.Project;
public interface ProjectsI {
public Iterable<Project> getAll() throws RemoteException;
public Iterable<Project> getByProfile(String profileId) throws RemoteException;
public Project getById(String profileId,String id) throws RemoteException;
public Iterable<Project> getByFilter(String filter)throws RemoteException;
public Iterable<Project> getByFilter(String filter, String profileId)throws RemoteException;
public Project registrNew(String profileId, String jsonDocument)throws RemoteException;
public Project update(String profileId, String projectId,String jsonDocument) throws RemoteException;
public void deleteById(String profileId, String projectId)throws RemoteException;
public Iterable<Project> getAll() throws Exception;
public Iterable<Project> getByProfile(String profileId) throws Exception;
public Project getById(String profileId,String id) throws Exception;
public Iterable<Project> getByFilter(String filter)throws Exception;
public Iterable<Project> getByFilter(String filter, String profileId)throws Exception;
public Project registrNew(String profileId, String jsonDocument)throws Exception;
public Project update(String profileId, String projectId,String jsonDocument) throws Exception;
public void deleteById(String profileId, String projectId)throws Exception;
}