| java.lang.Object org.sakaiproject.calendar.impl.ExclusionSeqRecurrenceRule
ExclusionSeqRecurrenceRule | public class ExclusionSeqRecurrenceRule implements RecurrenceRule(Code) | | ExclusionSeqRecurrenceRule is a rule which excludes specific sequence numbers from a list of instances.
|
Field Summary | |
protected List | m_exclusions The list of sequence number (Integer) values to exclude. |
Method Summary | |
public void | excludeInstances(List ranges) Remove from the ranges list any RecurrenceInstance excluded by this rule. | public List | generateInstances(TimeRange prototype, TimeRange range, TimeZone timeZone) Return a List of all RecurrenceInstance objects generated by this rule within the given time range, based on the
prototype first range, in time order.
Parameters: prototype - The prototype first TimeRange. Parameters: range - A time range to limit the generated ranges. | public int | getCount() | public List | getExclusions() Access the List of Integer sequence values excluded. | public String | getFrequencyDescription() | public int | getInterval() | public Time | getUntil() | public void | set(Element el) | public Element | toXml(Document doc, Stack stack) Serialize the resource into XML, adding an element to the doc under the top of the stack element.
Parameters: doc - The DOM doc to contain the XML (or null for a string return). Parameters: stack - The DOM elements, the top of which is the containing element of the new "resource" element. |
m_exclusions | protected List m_exclusions(Code) | | The list of sequence number (Integer) values to exclude.
|
ExclusionSeqRecurrenceRule | public ExclusionSeqRecurrenceRule()(Code) | | Construct.
|
ExclusionSeqRecurrenceRule | public ExclusionSeqRecurrenceRule(List ranges)(Code) | | Construct with these limits.
Parameters: ranges - The list of ranges to exclude |
excludeInstances | public void excludeInstances(List ranges)(Code) | | Remove from the ranges list any RecurrenceInstance excluded by this rule.
Parameters: ranges - The list (RecurrenceInstance) of ranges. |
generateInstances | public List generateInstances(TimeRange prototype, TimeRange range, TimeZone timeZone)(Code) | | Return a List of all RecurrenceInstance objects generated by this rule within the given time range, based on the
prototype first range, in time order.
Parameters: prototype - The prototype first TimeRange. Parameters: range - A time range to limit the generated ranges. a List of RecurrenceInstance generated by this rule in this range. |
getCount | public int getCount()(Code) | | |
getExclusions | public List getExclusions()(Code) | | Access the List of Integer sequence values excluded.
the List of Integer sequence values excluded. |
getFrequencyDescription | public String getFrequencyDescription()(Code) | | |
getInterval | public int getInterval()(Code) | | |
set | public void set(Element el)(Code) | | Take values from this xml element
Parameters: el - The xml element. |
toXml | public Element toXml(Document doc, Stack stack)(Code) | | Serialize the resource into XML, adding an element to the doc under the top of the stack element.
Parameters: doc - The DOM doc to contain the XML (or null for a string return). Parameters: stack - The DOM elements, the top of which is the containing element of the new "resource" element. The newly added element. |
|
|