com.dotmarketing.viewtools
Class EventsWebAPI
java.lang.Object
com.dotmarketing.viewtools.EventsWebAPI
public class EventsWebAPI
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventsWebAPI
public EventsWebAPI()
init
public void init(java.lang.Object obj)
getEvent
public Event getEvent(long eventInode)
getEvent
public Event getEvent(java.lang.String eventInode)
getEventAttachments
public java.util.List getEventAttachments(Event event)
getEventRecurance
public Recurance getEventRecurance(Event ev)
recuranceToString
public java.lang.String recuranceToString(Recurance r)
getEventImage
public File getEventImage(java.lang.String eventInode)
getEventImage
public File getEventImage(Event event)
getEventCategories
public java.util.HashMap getEventCategories(Event ev)
getEventsList
public java.util.List getEventsList(java.util.Date from,
java.util.Date to,
java.lang.String keywords,
java.lang.String[] categories,
int maxEvents)
getTodayDate
public java.util.Date getTodayDate()
getTodayDateString
public java.lang.String getTodayDateString()
getCalendar
public java.util.Calendar getCalendar()
addCalendarDate
public java.util.Calendar addCalendarDate(java.util.Calendar cal,
int days)
- Add x number of days in the calendar argument
- Parameters:
cal - calendar where is gonna be added the datesdays - number of days to add
- Returns:
- s calendar object
getEventsCategories
public java.util.List getEventsCategories()
getEventsCategoriesList
public java.lang.String getEventsCategoriesList(java.lang.String inode)
getEvents
public java.util.List getEvents(java.util.Date startDate,
int daysDuration,
java.lang.String cats)
Copyright © 2006 Dotmarketing, Inc. All Rights Reserved.