tel8618217223380 / sagetv-addons

Automatically exported from code.google.com/p/sagetv-addons
0 stars 0 forks source link

Need API enhancements to attach a taskId to a supported engine event #229

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As discussed via email, need to add support for attaching tasks to events for 
the "Assign Task to Event" menu item.

Additions will be made to DataStore (with proxy support in ServerClient).  
Methods should probably look like this:

public void addTaskToEvent(String taskId, String eventId);
public void addTasksToEvent(String[] taskIds, String eventId);
public void removeTaskFromEvent(String taskId, String eventId);
public void removeTasksFromEvent(String[] taskIds, String eventId);
public void removeAllTasksFromEvent(String eventId);
public String[] getTasksForEvent(String eventId);

If you need other methods then just add them to this ticket.

Original issue reported on code.google.com by de...@battams.ca on 7 Nov 2010 at 11:36

GoogleCodeExporter commented 9 years ago
That looks about right but please make arguments List<String> instead of 
String[].  Arrays are OK for return values but difficult as arguments.

Original comment by tom.mira...@gmail.com on 7 Nov 2010 at 11:47

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1236.

Original comment by de...@battams.ca on 8 Nov 2010 at 7:46

GoogleCodeExporter commented 9 years ago
Fix verified.

Original comment by de...@battams.ca on 14 Nov 2010 at 2:53