| java.lang.Object com.sun.rave.web.ui.model.ScheduledEvent
getDates | public Iterator getDates(Calendar untilDate)(Code) | | Returns an iterator of dates which mark the start of scheduled event.
If no time has been set, an empty iterator is returned.
If a time has been set and the event is not repeating, an iterator
with a single date corresponding to the start time is returned
provided it is before the date specified in untilDate.
If the event is repeating, all start times before untilDate are
returned.
a java.util.Iterator whose items are java.util.Calendar |
getDuration | public Integer getDuration()(Code) | | Get the number of units (see DurationUnit) for the duration interval
of the event. The value must be the Integer value
of a calendar field identifier (Calendar.HOUR_OF_DAY, etc). See
java.util.Calendar for details.
To specify that the event repeats for three months...
Value of property duration. |
getDurationUnit | public RepeatUnit getDurationUnit()(Code) | | Get the unit (hours, weeks, days, etc) for the duration interval
of the event. The value must be the Integer value
of a calendar field identifier (Calendar.HOUR_OF_DAY, etc). See
java.util.Calendar for details.
To specify that the event repeats for three months...
Value of property durationUnit. |
getEndTime | public Date getEndTime()(Code) | | The end time, as a java.util.Date
The end time, as a java.util.Date |
getRepeatInterval | public RepeatInterval getRepeatInterval()(Code) | | Get the repeat frequency. The value must be the Integer value
of a calendar field identifier (Calendar.HOUR_OF_DAY, etc). See
java.util.Calendar for details.
To specify that the event repeats weekely...
Value of property frequency. |
getStartTime | public Date getStartTime()(Code) | | Retrieves the start time, as a java.util.Date
The start time, as a java.util.Date |
isRepeatingEvent | public boolean isRepeatingEvent()(Code) | | If true, indicates that this is a repeating event
true it this is a repeating event, false otherwise |
setDuration | public void setDuration(Integer duration)(Code) | | Set the number of units (see DurationUnit) for the duration interval
of the event. The value must be the Integer value
of a calendar field identifier (Calendar.HOUR_OF_DAY, etc). See
java.util.Calendar for details.
To specify that the event repeats weekely...
Parameters: duration - New value of property duration. |
setDurationUnit | public void setDurationUnit(RepeatUnit durationUnit)(Code) | | Set the unit (hours, weeks, days, etc) for the duration interval
of the event. The value must be the Integer value
of a calendar field identifier (Calendar.HOUR_OF_DAY, etc). See
java.util.Calendar for details.
To specify that the event repeats for three months...
Parameters: durationUnit - New value of property durationUnit. |
setEndTime | public void setEndTime(Date endTime)(Code) | | Setter for The end time, as a java.util.Date
Parameters: endTimeThe - end time, as a java.util.Date |
setRepeatInterval | public void setRepeatInterval(RepeatInterval frequency)(Code) | | Setter for the repeat frequency. The new value must be the
Integer value
of a calendar field identifier (Calendar.HOUR_OF_DAY, etc). See
java.util.Calendar for details.
To specify that the event repeats weekly...
Parameters: frequency - New value of property frequency. |
setRepeatingEvent | public void setRepeatingEvent(boolean repeatingEvent)(Code) | | Invoke this method with the value true to indicate that the event
is repeating, false if it is not repeating
Parameters: repeatingEvent - whether the event is repeating |
setStartTime | public void setStartTime(Date startTime)(Code) | | Sets the start time
Parameters: startTime - The start time, as a java.util.Date |
|
|