public interface ProjectService extends RestService
Modifier and Type | Method and Description |
---|---|
Project |
create(Project project)
Creates a new Project
|
Project |
create(String domainId,
String name,
String description,
boolean enabled)
Creates a new Project
|
ActionResponse |
delete(String projectId)
delete a project by id
|
Project |
get(String projectId)
get detailed information on a project
|
List<? extends Project> |
getByName(String projectName)
get detailed information about projects machting specified name across all domains
|
Project |
getByName(String projectName,
String domainId)
get detailed information about a project specified by project name and domain id
|
List<? extends Project> |
list()
list all projects the current token has access to
|
Project |
update(Project project)
updates an existing project
|
Project create(Project project)
project
- the project to createProject create(String domainId, String name, String description, boolean enabled)
domainId
- the domain idname
- the name of the new projectdescription
- the description of the new projectenabled
- the enabled status of the new projectProject get(String projectId)
projectId
- the project idList<? extends Project> getByName(String projectName)
projectName
- the project nameProject getByName(String projectName, String domainId)
projectName
- the project namedomainId
- the domain idProject update(Project project)
project
- the project set to updateActionResponse delete(String projectId)
projectId
- the project idCopyright © 2017. All rights reserved.