|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.common.pim.model.calendar.CalendarContent
public abstract class CalendarContent
This class represents the common features of PIM events and tasks (todo's). It's an abstract class because its type can be defined only when one of its subclasses is instantiated.
Constructor Summary | |
---|---|
CalendarContent()
Creates a new empty instance of CalendarContent. |
Method Summary | |
---|---|
void |
addAttendee(Attendee attendee)
Adds an attendee to the list. |
void |
addXTag(XTag xTag)
Adds a custom X-tag to the xTags list. |
long[] |
extractInterval()
Extracts a time interval roughly large enough to contain the whole event/task and, in case it's a recurrent one, all its occurrences. |
Property |
getAccessClass()
Returns the access classification for a calendar component. |
java.lang.Boolean |
getAllDay()
Deprecated. The null case does not have a clear semantics. Method isAllDay (returning a boolean instead of a Boolean) is clearer and must be used instead of this. |
java.util.List<Attendee> |
getAttendees()
Gets the attendee list. |
java.lang.Short |
getBusyStatus()
Returns the busy status of the calendar item. |
Property |
getCategories()
Returns the categories this calendar item belongs to. |
Property |
getContact()
Returns the contact information or alternately a reference to contact information associated with the calendar component. |
PropertyWithTimeZone |
getCreated()
Returns the date and time that the calendar information was created. |
PropertyWithTimeZone |
getDAlarm()
Deprecated. This information is too strictly related to a particular representation of the data than the data itself. The display reminder will be supported in a future version as a special case of the reminder property, represented by a Reminder object. |
Property |
getDescription()
Returns the most complete description of the calendar component. |
PropertyWithTimeZone |
getDtEnd()
Returns the end date and time for the event, or the due date and time for the task. |
PropertyWithTimeZone |
getDtStamp()
Deprecated. This information is too strictly related to a particular representation of the data than the data itself. The created property can be used to indicate the creation time of the calendar item without any reference to the iCalendar format. |
PropertyWithTimeZone |
getDtStart()
Returns the start date and time for the calendar item. |
Property |
getDuration()
Returns the duration of the event or task. |
Property |
getFolder()
Returns the folder where this calendar item has to be stored. |
PropertyWithTimeZone |
getLastModified()
Returns the date and time of the last revision of this calendar item. |
Property |
getLatitude()
Returns the latitude of the location of this event or task. |
Property |
getLocation()
Returns the location of this calendar item. |
Property |
getLongitude()
Returns the longitude of the location of this event or task. |
java.lang.Short |
getMeetingStatus()
Returns the meeting status of the calendar item. |
java.lang.Integer |
getMileage()
Returns the mileage attached to this calendar item. |
Property |
getOrganizer()
Returns the organizer for the event or task. |
PropertyWithTimeZone |
getPAlarm()
Deprecated. This information is too strictly related to a particular representation of the data than the data itself. The procedure reminder will be supported in a future version as a special case of the reminder property, represented by a Reminder object. |
Property |
getPriority()
Returns the relative priority for the calendar item. |
RecurrencePattern |
getRecurrencePattern()
Returns the calendar item's recurrence pattern. |
Reminder |
getReminder()
Getter for property reminder. |
Property |
getSequence()
Returns the revision sequence number. |
Property |
getStatus()
Returns the status of the calendar item. |
Property |
getSummary()
Returns the summary. |
Property |
getUid()
Returns the unique ID of this calendar item. |
Property |
getUrl()
Returns the url for the calendar item. |
java.util.List<XTag> |
getXTags()
Returns a list of custom tags. |
boolean |
isAllDay()
Returns the all-day flag of the calendar item. |
boolean |
isRecurrent()
Returns whether this event is recurrent or not, i.e. |
void |
removeRecurrence()
Makes this event not recurrent by removing its recurrence pattern. |
void |
resetAttendees()
Clears the attendee list. |
void |
setAccessClass(Property accessClass)
Setter for property accessClass. |
void |
setAllDay(boolean allDay)
Sets the all-day flag. |
void |
setAllDay(java.lang.Boolean allDay)
Setter for property allDay. |
void |
setBusyStatus(java.lang.Short busyStatus)
Setter for property busyStatus. |
void |
setCategories(Property categories)
Setter for property categories. |
void |
setContact(Property contact)
Setter for property contact. |
void |
setCreated(Property created)
Setter for property created. |
void |
setCreated(PropertyWithTimeZone created)
Setter for property created. |
void |
setDAlarm(Property dalarm)
Setter for property dalarm on the basis of a Property (without time zone). |
void |
setDAlarm(PropertyWithTimeZone dalarm)
Setter for property dalarm. |
void |
setDescription(Property description)
Setter for property description. |
void |
setDtEnd(Property dtEnd)
Setter for property dtEnd. |
void |
setDtEnd(PropertyWithTimeZone dtEnd)
Setter for property dtEnd. |
void |
setDtStamp(Property dtStamp)
Setter for property dtStamp. |
void |
setDtStamp(PropertyWithTimeZone dtStamp)
Setter for property dtStamp. |
void |
setDtStart(Property dtStart)
Setter for property dtStart. |
void |
setDtStart(PropertyWithTimeZone dtStart)
Setter for property dtStart. |
void |
setDuration(Property duration)
Setter for property duration. |
void |
setFolder(Property folder)
Setter for property folder. |
void |
setLastModified(Property lastModified)
Setter for property lastModified. |
void |
setLastModified(PropertyWithTimeZone lastModified)
Setter for property lastModified. |
void |
setLatitude(Property latitude)
Setter for property latitude. |
void |
setLocation(Property location)
Setter for property location. |
void |
setLongitude(Property longitude)
Setter for property longitude. |
void |
setMeetingStatus(java.lang.Short meetingStatus)
Setter for property meetingStatus. |
void |
setMileage(java.lang.Integer mileage)
Setter for property mileage. |
void |
setOrganizer(Property organizer)
Setter for property organizer. |
void |
setPAlarm(Property palarm)
Setter for property palarm on the basis of a Property (without time zone). |
void |
setPAlarm(PropertyWithTimeZone palarm)
Setter for property palarm. |
void |
setPriority(Property priority)
Setter for property priority. |
void |
setRecurrencePattern(RecurrencePattern recurrencePattern)
Setter for property recurrencePattern. |
void |
setReminder(Reminder reminder)
Setter for property reminder. |
void |
setSequence(Property sequence)
Setter for property sequence. |
void |
setStatus(Property status)
Setter for property status. |
void |
setSummary(Property summary)
Setter for property summary. |
void |
setUid(Property uid)
Setter for property uid. |
void |
setUrl(Property url)
Setter for property url. |
void |
setXTag(java.util.List xTags)
Setter for property xTags. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected PropertyWithTimeZone dalarm
protected PropertyWithTimeZone palarm
protected Property categories
protected Property accessClass
protected Property description
protected Property latitude
protected Property longitude
protected Property location
protected Property priority
protected Property status
protected Property summary
protected PropertyWithTimeZone dtEnd
protected PropertyWithTimeZone dtStart
protected Property duration
protected Property organizer
protected Property url
protected Property uid
protected Property contact
protected PropertyWithTimeZone created
protected PropertyWithTimeZone dtStamp
protected PropertyWithTimeZone lastModified
protected Property sequence
protected Property folder
protected java.util.List<XTag> xTags
protected java.lang.Boolean allDay
protected java.lang.Integer mileage
protected java.lang.Short meetingStatus
protected java.lang.Short busyStatus
protected Reminder reminder
protected RecurrencePattern recurrencePattern
protected java.util.List<Attendee> attendees
Constructor Detail |
---|
public CalendarContent()
Method Detail |
---|
public Property getAccessClass()
public PropertyWithTimeZone getCreated()
public Property getDescription()
public PropertyWithTimeZone getDtStart()
public Property getLatitude()
public Property getLongitude()
public PropertyWithTimeZone getLastModified()
public Property getLocation()
public Property getOrganizer()
public Property getPriority()
public PropertyWithTimeZone getDtStamp()
public Property getSequence()
public Property getStatus()
public Property getUid()
public Property getUrl()
public PropertyWithTimeZone getDtEnd()
public Property getDuration()
public Property getSummary()
public Property getCategories()
public Property getContact()
public java.util.List<XTag> getXTags()
public PropertyWithTimeZone getDAlarm()
public PropertyWithTimeZone getPAlarm()
public boolean isAllDay()
public java.lang.Boolean getAllDay()
public void setAllDay(java.lang.Boolean allDay)
allDay
- new value of property allDaypublic void setAllDay(boolean allDay)
allDay
- a boolean that will be stored in the allDay property (a
Boolean object)public java.lang.Short getMeetingStatus()
public void setMeetingStatus(java.lang.Short meetingStatus)
meetingStatus
- new value of property meetingStatuspublic java.lang.Short getBusyStatus()
public void setBusyStatus(java.lang.Short busyStatus)
busyStatus
- new value of property busyStatuspublic java.lang.Integer getMileage()
public void setMileage(java.lang.Integer mileage)
mileage
- new value of property mileagepublic RecurrencePattern getRecurrencePattern()
public void setRecurrencePattern(RecurrencePattern recurrencePattern)
recurrencePattern
- new value of property recurrencePatternpublic void setCategories(Property categories)
categories
- new value of property categoriespublic void setAccessClass(Property accessClass)
accessClass
- new value of property accessClasspublic void setDescription(Property description)
description
- new value of property descriptionpublic void setLatitude(Property latitude)
latitude
- new value of property latitudepublic void setLongitude(Property longitude)
longitude
- new value of property longitudepublic void setLocation(Property location)
location
- new value of property locationpublic void setPriority(Property priority)
priority
- new value of property prioritypublic void setStatus(Property status)
status
- new value of property statuspublic void setSummary(Property summary)
summary
- new value of property summarypublic void setDtEnd(PropertyWithTimeZone dtEnd)
dtEnd
- new value of property dtEndpublic void setDtEnd(Property dtEnd)
dtEnd
- new value of property dtEndpublic void setDtStart(PropertyWithTimeZone dtStart)
dtStart
- new value of property dtStartpublic void setDtStart(Property dtStart)
dtStart
- new value of property dtStartpublic void setDuration(Property duration)
duration
- new value of property durationpublic void setOrganizer(Property organizer)
organizer
- new value of property organizerpublic void setUrl(Property url)
url
- new value of property urlpublic void setUid(Property uid)
uid
- new value of property uidpublic void setContact(Property contact)
contact
- new value of property contactpublic void setCreated(PropertyWithTimeZone created)
created
- new value of property createdpublic void setCreated(Property created)
created
- new value of property createdpublic void setDtStamp(PropertyWithTimeZone dtStamp)
dtStamp
- new value of property dtStamppublic void setDtStamp(Property dtStamp)
dtStamp
- new value of property dtStamppublic void setLastModified(PropertyWithTimeZone lastModified)
lastModified
- new value of property lastModifiedpublic void setLastModified(Property lastModified)
lastModified
- new value of property lastModifiedpublic void setXTag(java.util.List xTags)
xTags
- new value of property xTagspublic void setDAlarm(PropertyWithTimeZone dalarm)
dalarm
- new value of property dalarmpublic void setDAlarm(Property dalarm)
dalarm
- new value of property dalarm as a Property (the time zone
is set to null)public void setPAlarm(PropertyWithTimeZone palarm)
palarm
- new value of property palarmpublic void setPAlarm(Property palarm)
palarm
- new value of property palarm as a Property (the time zone
is set to null)public void setSequence(Property sequence)
sequence
- new value of property sequencepublic Reminder getReminder()
public void setReminder(Reminder reminder)
reminder
- new value of property reminder.public Property getFolder()
public void setFolder(Property folder)
folder
- new value of property folderpublic java.util.List<Attendee> getAttendees()
public boolean isRecurrent()
public void removeRecurrence()
public void addXTag(XTag xTag)
xTag
- the tag to addpublic void addAttendee(Attendee attendee)
attendee
- the Attendee object to addpublic void resetAttendees()
public long[] extractInterval()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |