public Collection<TaskDto> getAllTasks() throws Exception {
try {
final List<TaskDto> results = new ArrayList<TaskDto>();
final TreeMap<String, String> params = new TreeMap<String, String>();
final Document response = parseXML(getRtmMethodUri("rtm.tasks.getList", params));
final List<Node> taskListList = response.selectNodes("/rsp/tasks/list");
for (final Node listNode : taskListList) {
final Node listIdNode = listNode.selectSingleNode("@id");
final List<Node> taskSeriesNodesList = listNode.selectNodes("taskseries");
for (final Node taskSeriesNode : taskSeriesNodesList) {
final Node timeSeriesIdNode = taskSeriesNode.selectSingleNode("@id");