|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.fortuna.ical4j.model.Component
net.fortuna.ical4j.model.component.CalendarComponent
net.fortuna.ical4j.model.component.VAvailability
public class VAvailability
$Id: VAvailability.java,v 1.5 2009/01/07 10:02:30 fortuna Exp $ [Apr 5, 2004] Defines an iCalendar VAVAILABILITY component.
Component Name: VAVAILABILITY
Purpose: Provide a grouping of component properties that describe
the availability associated with a calendar user.
Format Definition: A "VAVAILABILITY" calendar component is defined
by the following notation:
availabilityc = "BEGIN" ":" "VAVAILABILITY" CRLF
availabilityprop *availablec
"END" ":" "VAVAILABILITY" CRLF
availabilityprop = *(
; the following are REQUIRED,
; but MUST NOT occur more than once
dtstamp / dtstart / uid
; the following are OPTIONAL,
; but MUST NOT occur more than once
busytype / created / last-mod /
organizer / seq / summary / url /
; either 'dtend' or 'duration' may appear
; in a 'availabilityprop', but 'dtend' and
; 'duration' MUST NOT occur in the same
; 'availabilityprop'
dtend / duration /
; the following are OPTIONAL,
; and MAY occur more than once
categories / comment / contact / x-prop
)
| Field Summary |
|---|
| Fields inherited from class net.fortuna.ical4j.model.Component |
|---|
AVAILABLE, BEGIN, END, EXPERIMENTAL_PREFIX, VALARM, VAVAILABILITY, VEVENT, VFREEBUSY, VJOURNAL, VTIMEZONE, VTODO, VVENUE |
| Constructor Summary | |
|---|---|
VAvailability()
Default constructor. |
|
VAvailability(PropertyList properties)
Constructs a new instance containing the specified properties. |
|
VAvailability(PropertyList properties,
ComponentList available)
Constructor. |
|
| Method Summary | |
|---|---|
ComponentList |
getAvailable()
Returns the list of available times. |
java.lang.String |
toString()
|
void |
validate(boolean recurse)
Perform validation on a component. |
void |
validateAdd()
Apply validation for METHOD=ADD. |
void |
validateCancel()
Apply validation for METHOD=CANCEL. |
void |
validateCounter()
Apply validation for METHOD=COUNTER. |
void |
validateDeclineCounter()
Apply validation for METHOD=DECLINE-COUNTER. |
void |
validatePublish()
Apply validation for METHOD=PUBLISH. |
void |
validateRefresh()
Apply validation for METHOD=REFRESH. |
void |
validateReply()
Apply validation for METHOD=REPLY. |
void |
validateRequest()
Apply validation for METHOD=REQUEST. |
| Methods inherited from class net.fortuna.ical4j.model.Component |
|---|
calculateRecurrenceSet, copy, equals, getName, getProperties, getProperties, getProperty, hashCode, validate, validateProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VAvailability()
public VAvailability(PropertyList properties)
properties - a list of properties
public VAvailability(PropertyList properties,
ComponentList available)
properties - a list of propertiesalarms - a list of available components| Method Detail |
|---|
public final ComponentList getAvailable()
public final java.lang.String toString()
toString in class ComponentObject.toString()
public final void validate(boolean recurse)
throws ValidationException
Component
validate in class Componentrecurse - indicates whether to validate the component's properties
ValidationException - where the component is not in a valid state
public void validateAdd()
throws ValidationException
CalendarComponent
validateAdd in class CalendarComponentValidationException
public void validateCancel()
throws ValidationException
CalendarComponent
validateCancel in class CalendarComponentValidationException
public void validateCounter()
throws ValidationException
CalendarComponent
validateCounter in class CalendarComponentValidationException
public void validateDeclineCounter()
throws ValidationException
CalendarComponent
validateDeclineCounter in class CalendarComponentValidationException
public void validatePublish()
throws ValidationException
CalendarComponent
validatePublish in class CalendarComponentValidationException
public void validateRefresh()
throws ValidationException
CalendarComponent
validateRefresh in class CalendarComponentValidationException
public void validateReply()
throws ValidationException
CalendarComponent
validateReply in class CalendarComponentValidationException
public void validateRequest()
throws ValidationException
CalendarComponent
validateRequest in class CalendarComponentValidationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||