public class

ClientServiceClient

extends AbstractServiceClient
implements ClientService
java.lang.Object
   ↳ org.mule.LiquidPlanner.client.services.impl.AbstractServiceClient
     ↳ org.mule.LiquidPlanner.client.services.impl.ClientServiceClient

Class Overview

Provide access to all the client's related operations in LiquidPlanner.

Summary

[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
ClientServiceClient(String user, String password)
Public Methods
Client createClient(String workSpaceId, Client client)
Client deleteClient(String workSpaceId, String id)
Client getClient(String workSpaceId, String clientId)
List<Comment> getClientComments(String workSpaceId, String clientId)
List<Document> getClientDocuments(String workSpaceId, String clientId)
Estimate getClientEstimate(String workSpaceId, String clientId, String estimateId)
List<Estimate> getClientEstimates(String workSpaceId, String clientId)
List<Link> getClientLinks(String workSpaceId, String clientId)
Note getClientNote(String workSpaceId, String clientId)
List<Client> getClients(String workSpaceId)
Client updateClient(String workSpaceId, Client client)
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.ClientService

Public Constructors

public ClientServiceClient (String user, String password)

Parameters
user
password

Public Methods

public Client createClient (String workSpaceId, Client client)

Parameters
workSpaceId
client

public Client deleteClient (String workSpaceId, String id)

Parameters
workSpaceId
id

public Client getClient (String workSpaceId, String clientId)

Parameters
workSpaceId
clientId

public List<Comment> getClientComments (String workSpaceId, String clientId)

Parameters
workSpaceId
clientId

public List<Document> getClientDocuments (String workSpaceId, String clientId)

Parameters
workSpaceId
clientId

public Estimate getClientEstimate (String workSpaceId, String clientId, String estimateId)

Parameters
workSpaceId
clientId
estimateId

public List<Estimate> getClientEstimates (String workSpaceId, String clientId)

Parameters
workSpaceId
clientId

public List<Link> getClientLinks (String workSpaceId, String clientId)

Parameters
workSpaceId
clientId

public Note getClientNote (String workSpaceId, String clientId)

Parameters
workSpaceId
clientId

public List<Client> getClients (String workSpaceId)

Parameters
workSpaceId

public Client updateClient (String workSpaceId, Client client)

Parameters
workSpaceId
client

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.