public class

WorkspaceServiceClient

extends AbstractServiceClient
implements WorkspaceService
java.lang.Object
   ↳ org.mule.LiquidPlanner.client.services.impl.AbstractServiceClient
     ↳ org.mule.LiquidPlanner.client.services.impl.WorkspaceServiceClient

Class Overview

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

Summary

Constants
String API_WORKSPACE_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
WorkspaceServiceClient(String user, String password)
Public Methods
List<Workspace> getWorkSpaces()
Workspace getWorkspace(String workSpaceId)
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.WorkspaceService

Constants

private static final String API_WORKSPACE_PATH

Constant Value: "/workspaces"

Public Constructors

public WorkspaceServiceClient (String user, String password)

Parameters
user
password

Public Methods

public List<Workspace> getWorkSpaces ()

public Workspace getWorkspace (String workSpaceId)

Parameters
workSpaceId

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.