public class

ProjectServiceClient

extends AbstractServiceClient
implements ProjectService
java.lang.Object
   ↳ org.mule.LiquidPlanner.client.services.impl.AbstractServiceClient
     ↳ org.mule.LiquidPlanner.client.services.impl.ProjectServiceClient

Summary

Constants
String API_COMMENT_PATH
String API_DEPENDENCY_PATH
String API_DOCUMENT_PATH
String API_ESTIMATE_PATH
String API_LINK_PATH
String API_MOVE_AFTER_PATH
String API_MOVE_BEFORE_PATH
String API_NOTE_PATH
String API_TRACK_TIME_PATH
[Expand]
Inherited Constants
From class org.mule.LiquidPlanner.client.services.impl.AbstractServiceClient
[Expand]
Inherited Fields
From class org.mule.LiquidPlanner.client.services.impl.AbstractServiceClient
Public Constructors
ProjectServiceClient(String user, String password)
Public Methods
Project createProject(String workSpaceId, Project project)
Create a new Project.
Project deleteProject(String workSpaceId, String id)
Project getProject(String workSpaceId, String projectId)
Retrieve a particular Project.
List<Comment> getProjectComments(String workSpaceId, String projectId)
Retrieve the comments related to a particular ProjectId.
List<Project> getProjects(String workSpaceId)
Retrieve List of Project.
Project updateProject(String workSpaceId, Project project)
Protected Methods
String extendGetBaseUrl(String baseUrl)
This method is called by getBaseURL for the user to extend the base URL of its ServiceClient implementation.
ClientConfig getJerseyClientConfiguration()
This method is called by getBuilder before the creation of the Client.
List<ClientFilter> getJerseyClientFilters()
This method is called by getBuilder before the creation of the Client.
[Expand]
Inherited Methods
From class org.mule.LiquidPlanner.client.services.impl.AbstractServiceClient
From class java.lang.Object
From interface org.mule.LiquidPlanner.client.services.ProjectService

Constants

private static final String API_COMMENT_PATH

Constant Value: "/comments"

private static final String API_DEPENDENCY_PATH

Constant Value: "/dependencies"

private static final String API_DOCUMENT_PATH

Constant Value: "/documents"

private static final String API_ESTIMATE_PATH

Constant Value: "/estimates"

private static final String API_LINK_PATH

Constant Value: "/links"

private static final String API_MOVE_AFTER_PATH

Constant Value: "/move_after"

private static final String API_MOVE_BEFORE_PATH

Constant Value: "/move_before"

private static final String API_NOTE_PATH

Constant Value: "/note"

private static final String API_TRACK_TIME_PATH

Constant Value: "/track_time"

Public Constructors

public ProjectServiceClient (String user, String password)

Parameters
user
password

Public Methods

public Project createProject (String workSpaceId, Project project)

Create a new Project.

Parameters
workSpaceId
project

public Project deleteProject (String workSpaceId, String id)

Parameters
workSpaceId
id

public Project getProject (String workSpaceId, String projectId)

Retrieve a particular Project.

Parameters
workSpaceId
projectId

public List<Comment> getProjectComments (String workSpaceId, String projectId)

Retrieve the comments related to a particular ProjectId.

Parameters
workSpaceId
projectId

public List<Project> getProjects (String workSpaceId)

Retrieve List of Project.

Parameters
workSpaceId

public Project updateProject (String workSpaceId, Project project)

Parameters
workSpaceId
project

Protected Methods

protected String extendGetBaseUrl (String baseUrl)

This method is called by getBaseURL for the user to extend the base URL of its ServiceClient implementation.

Parameters
baseUrl The URL created by getBaseURL
Returns
  • the enhanced base URL

protected ClientConfig getJerseyClientConfiguration ()

This method is called by getBuilder before the creation of the Client. The ClientConfig is used to create the Client.

Returns
  • null if there are ClientConfig to be added.

protected List<ClientFilter> getJerseyClientFilters ()

This method is called by getBuilder before the creation of the Client. The ClientFilter is used to create the Client. If there are no ClientFilter to be added just return null.

Returns
  • null if there are no ClientFilter to be added.