Groovy Documentation
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

authCheckToken(String) - Method in GroovyRtm
Checks if the stored auth token is valid by calling the rtm.auth.checkToken REST method from the RTM API
authGetFrob() - Method in GroovyRtm
Gets an RTM Frob for use with authentication
authGetToken() - Method in GroovyRtm
Given a frob, gets a new Auth token from RTM.

B


C

contactsAdd(String) - Method in GroovyRtm
Adds a new contact
contactsDelete(String) - Method in GroovyRtm
Deletes a contact
contactsGetList() - Method in GroovyRtm
Retrieves a List of contacts (id, fullname, and username)
currentUser - Field in GroovyRtm

D


E

enforceMinDelay() - Method in GroovyRtm
Forces successive calls to the RTM API to be spaced by at least the milliseconds specified in API_DELAY_THRESHOLD by putting the execution thread to sleep and synchronizing on the variable used to keep track
execMethod(List) - Method in GroovyRtm
Ensures application is authenticated before sending params to be executed
execTimelineMethod(List) - Method in GroovyRtm
Adds a timeline to the passed List of URL parameters, creating a timeline if one does not exist
execUnauthenticatedMethod(List) - Method in GroovyRtm
Ensures all criteria is met for making the call to the RTM REST API

F

formatFriendlyDate(String, boolean, Integer) - Method in GroovyRtmUtils
Given a date in the form YYYY-MM-DDTHH:MM:SSZ, return a friendly date like "Tuesday" or "Mar 9" or "11:00AM"
formatFriendlyRepeat(String) - Method in GroovyRtmUtils
Given a String representing the RTM repeat, return a friendly repeat String value

G

getApiSignature(List, String) - Method in GroovyRtmUtils
Given a List of parameters, returns the RTM API signature
getAuthToken(String) - Method in GroovyRtm
getAuthUrl() - Method in GroovyRtm
Initiates RTM authorization by requesting a frob and getting the associated URL
getCurrentDayMillisAtMidnight(long) - Method in GroovyRtmUtils
getErrorMessage(String) - Method in GroovyRtmUtils
Gets the error message from the RTM response
getNewAuthToken() - Method in GroovyRtm
getResponseText(String) - Method in GroovyRtmUtils
Given a URL, gets the response text or null if a server error occurred
getRtmResponse(String) - Method in GroovyRtmUtils
Given a URL, gets the response text or throws an error if any problem, including an error code response from RTM occurs
GroovyRtm - Class in org.eriwen.rtm
Provides a Java/Groovy API to access Remember The Milk using their REST API.
GroovyRtm(String, String, String) - Constructor in GroovyRtm
GroovyRtmException - Class in org.eriwen.rtm
Exception class for exceptions spawning from using this api
GroovyRtmException(String) - Constructor in GroovyRtmException
GroovyRtmUtils - Class in org.eriwen.rtm
Utilities that are common to API elements without being tied to a specific RTM API method.
GroovyRtmUtils() - Constructor in GroovyRtmUtils
groupsAdd(String) - Method in GroovyRtm
Adds a new group
groupsAddContact(String, String) - Method in GroovyRtm
Adds a contact to the specified group
groupsDelete(String) - Method in GroovyRtm
Deletes a group
groupsGetGroupByName(String) - Method in GroovyRtm
Retrieves a Map representing the group with name groupName
groupsGetList() - Method in GroovyRtm
Retrieves a List of groups (id and name)
groupsRemoveContact(String, String) - Method in GroovyRtm
Deletes a contact from the specified group

H


I

isAuthenticated(String) - Method in GroovyRtm
isError(String) - Method in GroovyRtmUtils
Checks if RTM returned error-flagged XML
isOverdue(String, int) - Method in GroovyRtmUtils
Given a date string, return if the date is overdue

J


K


L

listsAdd(String, String) - Method in GroovyRtm
Adds a task list
listsArchive(String) - Method in GroovyRtm
Archives an existing task list
listsDelete(String) - Method in GroovyRtm
Deletes an existing task list
listsGetList() - Method in GroovyRtm
Retrieves a List of task lists
listsGetListByName(String) - Method in GroovyRtm
Retrieves a Map representing the list with name listName
listsSetDefaultList(String) - Method in GroovyRtm
Sets the given list as default (new tasks go there unless specified otherwise), or Inbox if the list isn't provided
listsSetName(String, String) - Method in GroovyRtm
Sets the name of a given list
listsUnarchive(String) - Method in GroovyRtm
Un-archives an existing, archived task list
locationsGetList() - Method in GroovyRtm
Retrieves a List of locations (id and name)
locationsGetLocationByName(String) - Method in GroovyRtm
Retrieves a location specified by name

M


N

Note - Class in org.eriwen.rtm.model
DTO representing an RTM Note

O


P

parseList(GPathResult) - Method in RtmCollectionParser
Creates a java.util.LinkedHashMap from XML representing an RTM List.
parseLists(GPathResult) - Method in RtmCollectionParser
Creates a java.util.LinkedHashMap from XML representing an RTM List.
parseNote(GPathResult) - Method in RtmCollectionParser
Creates a java.util.LinkedHashMap from XML representing an RTM Note.
parseSettings(GPathResult) - Method in RtmCollectionParser
Creates a java.util.LinkedHashMap from XML representing RTM settings.
parseTask(GPathResult) - Method in RtmCollectionParser
Creates a java.util.LinkedHashMap from XML representing an RTM Task.
parseTaskList(GPathResult) - Method in RtmCollectionParser
Creates a java.util.List of LinkedHashMaps representing RTM tasks from the XML returned by the RTM API.
parseTimezones(GPathResult) - Method in RtmCollectionParser
Creates a java.util.LinkedHashMap from XML representing RTM Timezones.

Q


R

removeAuthToken(String) - Method in GroovyRtm
RtmCollectionParser - Class in org.eriwen.rtm
Utility class used to house RTM XML parsing methods

S

setAuthToken(String, String) - Method in GroovyRtm
settingsGetList() - Method in GroovyRtm
Retrieves a Map of user settings (timezone, time format, language, etc.)

T

Task - Class in org.eriwen.rtm.model
DTO representing an RTM Task
TaskList - Class in org.eriwen.rtm.model
DTO representing an RTM Task List
tasksAdd(String, String, String, String, String, String, String, String, String) - Method in GroovyRtm
Adds a task with lots of options to a given or default list.
tasksAddTags(String, String, String, String) - Method in GroovyRtm
Adds tags to an existing task
tasksComplete(String, String, String) - Method in GroovyRtm
Completes a task
tasksDelete(String, String, String) - Method in GroovyRtm
Deletes a specified task
tasksGetList(String, String, String) - Method in GroovyRtm
Retrieves a List of tasks
tasksMovePriority(String, String, String, String) - Method in GroovyRtm
Adjusts the specified task's priority 1 step up or down
tasksMoveTo(String, String, String, String) - Method in GroovyRtm
Moves a given task to another list
tasksNotesAdd(String, String, String, String, String) - Method in GroovyRtm
Adds a new note to a task
tasksNotesDelete(String) - Method in GroovyRtm
Adds a new note to a task
tasksNotesEdit(String, String, String) - Method in GroovyRtm
Modifies a note
tasksPostpone(String, String, String) - Method in GroovyRtm
Postpones a task 1 day
tasksRemoveTags(String, String, String, String) - Method in GroovyRtm
Removes tags from an existing task
tasksSetDueDate(String, String, String, String, boolean, boolean) - Method in GroovyRtm
Sets the due date of a task
tasksSetEstimate(String, String, String, String) - Method in GroovyRtm
Sets the estimate of a task
tasksSetLocation(String, String, String, String) - Method in GroovyRtm
Sets the location of a task
tasksSetName(String, String, String, String) - Method in GroovyRtm
Sets the name of a task
tasksSetPriority(String, String, String, String) - Method in GroovyRtm
Sets the priority of a task
tasksSetRecurrence(String, String, String, String) - Method in GroovyRtm
Sets the recurrance of a task
tasksSetTags(String, String, String, String) - Method in GroovyRtm
Sets the tags of a task
tasksSetUrl(String, String, String, String) - Method in GroovyRtm
Sets the URL of a task
tasksUncomplete(String, String, String) - Method in GroovyRtm
Un-completes a completed task
testEcho() - Method in GroovyRtm
Checks the API key and tests connectivity to Remember The Milk
testLogin() - Method in GroovyRtm
Checks if the application is logged in
timeConvert(String, String, Date) - Method in GroovyRtm
Returns the specified time in the desired timezone.
timelinesCreate() - Method in GroovyRtm
Creates a timeline to allow operations to be undone
timeParse(String, String, boolean) - Method in GroovyRtm
Returns the specified time in the desired timezone.
Timezone - Class in org.eriwen.rtm.model
DTO representing an RTM Timezone
timezonesGetList() - Method in GroovyRtm
Retrieves a List of timezones (id, name, dst, offset, currentOffset)
timezonesGetTimezoneByName(String) - Method in GroovyRtm
Retrieves a timezone specified by name
transactionsUndo(String) - Method in GroovyRtm
Reverts the affects of an action.
trimString(String, int) - Method in GroovyRtmUtils
Trim the string if length is greater than specified length

U


V


W


X


Y


Z


_


Groovy Documentation