public class ProjectsApiImpl extends Object implements ProjectsApi
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_HOST |
PATH_PROJECTS_FIND_ALL, PATH_PROJECTS_FIND_ONE, PATH_PROJECTS_INSERT, PATH_PROJECTS_REMOVE, PATH_PROJECTS_UPDATE| Constructor and Description |
|---|
ProjectsApiImpl(org.springframework.web.client.RestTemplate restTemplate,
int port,
UserCredentialsSupplier userCredentialsSupplier) |
ProjectsApiImpl(org.springframework.web.client.RestTemplate restTemplate,
String host,
UserCredentialsSupplier userCredentialsSupplier) |
public static final String DEFAULT_HOST
public ProjectsApiImpl(org.springframework.web.client.RestTemplate restTemplate,
String host,
UserCredentialsSupplier userCredentialsSupplier)
public ProjectsApiImpl(org.springframework.web.client.RestTemplate restTemplate,
int port,
UserCredentialsSupplier userCredentialsSupplier)
public List<? extends Project> findAll()
findAll in interface ProjectsApipublic Project findOne(String projectId)
findOne in interface ProjectsApipublic Project insert(String projectId)
insert in interface ProjectsApipublic Project update(Project project)
update in interface ProjectsApipublic void remove(String projectId)
remove in interface ProjectsApiCopyright © 2017. All rights reserved.