public class

EventServiceClient

extends AbstractServiceClient
implements EventService
java.lang.Object
   ↳ org.mule.LiquidPlanner.client.services.impl.AbstractServiceClient
     ↳ org.mule.LiquidPlanner.client.services.impl.EventServiceClient

Class Overview

Provide access to all the event'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
EventServiceClient(String user, String password)
Public Methods
Event createEvent(String workSpaceId, Event event)
Event deleteEvent(String workSpaceId, String id)
Event getEvent(String workSpaceId, String eventId)
List<CheckListItem> getEventCheckListItems(String workSpaceId, String eventId)
List<Comment> getEventComments(String workSpaceId, String eventId)
List<Document> getEventDocuments(String workSpaceId, String eventId)
List<Link> getEventLinks(String workSpaceId, String eventId)
List<TimesheetEntry> getEventTimesheetEntries(String workSpaceId, String eventId)
List<Event> getEvents(String workSpaceId)
Event updateEvent(String workSpaceId, Event event)
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.EventService

Public Constructors

public EventServiceClient (String user, String password)

Parameters
user
password

Public Methods

public Event createEvent (String workSpaceId, Event event)

Parameters
workSpaceId
event

public Event deleteEvent (String workSpaceId, String id)

Parameters
workSpaceId
id

public Event getEvent (String workSpaceId, String eventId)

Parameters
workSpaceId
eventId

public List<CheckListItem> getEventCheckListItems (String workSpaceId, String eventId)

Parameters
workSpaceId
eventId

public List<Comment> getEventComments (String workSpaceId, String eventId)

Parameters
workSpaceId
eventId

public List<Document> getEventDocuments (String workSpaceId, String eventId)

Parameters
workSpaceId
eventId

public List<Link> getEventLinks (String workSpaceId, String eventId)

Parameters
workSpaceId
eventId

public List<TimesheetEntry> getEventTimesheetEntries (String workSpaceId, String eventId)

Parameters
workSpaceId
eventId

public List<Event> getEvents (String workSpaceId)

Parameters
workSpaceId

public Event updateEvent (String workSpaceId, Event event)

Parameters
workSpaceId
event

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.