|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GreenhouseOperations
Interface specifying a basic set of operations for interacting with
Greenhouse. Implemented by GreenhouseTemplate
. Not often used
directly, but a useful option to enhance testability, as it can easily be
mocked or stubbed.
The methods contained in this interface require OAuth authentication with Greenhouse. When a method's description speaks of the "current user", it is referring to the user for whom access has been granted.
Method Summary | |
---|---|
java.util.List<Event> |
getEventsAfter(java.util.Date date)
Retrieve a list of events that take place after a given time. |
java.util.List<EventSession> |
getSessionsOnDay(long eventId,
java.util.Date date)
Retrieves a list of sessions for an event that take place on a given day. |
java.util.List<Event> |
getUpcomingEvents()
Retrieve a list of upcoming events. |
GreenhouseProfile |
getUserProfile()
Retrieve the current user's Greenhouse profile information. |
Method Detail |
---|
GreenhouseProfile getUserProfile()
java.util.List<Event> getUpcomingEvents()
java.util.List<Event> getEventsAfter(java.util.Date date)
date
- the starting point used to filter the list of events.
java.util.List<EventSession> getSessionsOnDay(long eventId, java.util.Date date)
eventId
- the ID of the eventdate
- the day to retrieve events for
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |