
de.sekmi.li2b2.api.pm.ProjectManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of li2b2-api Show documentation
Show all versions of li2b2-api Show documentation
li2b2 server backend API. Implement this
to run a custom i2b2 server.
package de.sekmi.li2b2.api.pm;
import java.util.List;
/**
* User authorisation and association of projects
*
* @author R.W.Majeed
*
*/
public interface ProjectManager {
User getUserById(String userId);
Project getProjectById(String projectId);
User addUser(String userId);
Project addProject(String id, String name);
List extends User> getUsers();
List extends Project> getProjects();
// TODO exceptions for failure or if user/project does not exist
void deleteUser(String userId);
void deleteProject(String projectId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy