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-16 17:55:08 +01:00
|
|
|
package org.gcube.application.geoportal.common.rest;
|
|
|
|
|
|
|
|
import org.gcube.application.geoportal.common.model.project.Project;
|
|
|
|
|
|
|
|
public interface ProjectsI {
|
|
|
|
|
|
|
|
|
2020-12-17 11:50:44 +01:00
|
|
|
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;
|
2020-12-16 17:55:08 +01:00
|
|
|
}
|