public class ProjectRegistry extends Object
| Constructor and Description |
|---|
ProjectRegistry(GatewayResource gatewayResource,
UserResource user) |
| Modifier and Type | Method and Description |
|---|---|
String |
addProject(Project project) |
Project |
getProject(String projectId) |
List<String> |
getProjectIDs(String fieldName,
Object value) |
List<Project> |
getProjectList(String fieldName,
Object value) |
boolean |
isProjectExist(String projectId) |
void |
removeProject(String projectId) |
List<Project> |
searchProjects(Map<String,String> filters) |
void |
updateProject(Project project,
String projectId) |
public ProjectRegistry(GatewayResource gatewayResource, UserResource user) throws RegistryException
RegistryExceptionpublic String addProject(Project project) throws RegistryException
RegistryExceptionpublic void updateProject(Project project, String projectId) throws RegistryException
RegistryExceptionpublic Project getProject(String projectId) throws RegistryException
RegistryExceptionpublic List<Project> getProjectList(String fieldName, Object value) throws RegistryException
RegistryExceptionpublic List<Project> searchProjects(Map<String,String> filters) throws RegistryException
RegistryExceptionpublic List<String> getProjectIDs(String fieldName, Object value) throws RegistryException
RegistryExceptionpublic void removeProject(String projectId) throws RegistryException
RegistryExceptionpublic boolean isProjectExist(String projectId) throws RegistryException
RegistryExceptionCopyright © 2011–2014 The Apache Software Foundation. All rights reserved.