Packagecom.flexcalendar.components.calendar.core.dataModel
Classpublic class BaseRemoteCalendarItemSet
InheritanceBaseRemoteCalendarItemSet Inheritance CalendarItemSet Inheritance flash.events.EventDispatcher
Implements IRemoteCalendarItemSet

Base class for remote calendar item sets implementations.



Public Properties
 PropertyDefined By
 InheritedbackgroundProcessing : Boolean
Get information whether remote background processing operation is taking place in CaledarItemSet.
CalendarItemSet
 Inheritedcache : CalendarItemSetCache
[read-only] Gets this CalendarItemSet cache
CalendarItemSet
 InheritedcalendarItems : ArrayCollection
[read-only]
CalendarItemSet
 InheriteddataProvider : ICalendarDataProvider
CalendarItemSet
 Inheriteditems : ArrayCollection
Deprecated: Deprecated
[read-only] Returns collection of items.
CalendarItemSet
 InheriteditemSetColors : IRendererColors
CalendarItemSet
 Inheritedname : String
CalendarItemSet
 InheritedparentCalendarComponent : FlexCalendar
[read-only]
CalendarItemSet
 InheritedreadOnly : Boolean
Get flag that indicates whether calendar is displayed as readonly or not
CalendarItemSet
 Inheritedsize : int
[read-only] Gets number of items in calendarItemSet.
CalendarItemSet
 Inheritedvisible : Boolean
CalendarItemSet
Protected Properties
 PropertyDefined By
 Inherited_cache : CalendarItemSetCache
Cache for for this calendar item set
CalendarItemSet
 Inherited_dataProvider : ICalendarDataProvider
Data provider owning this item set
CalendarItemSet
 Inherited_items : ArrayCollection
CalendarItemSet
 Inherited_itemSetColors : IRendererColors
Colors object.
CalendarItemSet
 Inherited_name : String
Name of the item set - can be null
CalendarItemSet
 Inherited_readOnly : Boolean = false
Flag that indicates whether calendar is displayed as readonly or not
CalendarItemSet
 Inherited_visible : Boolean = true
FLat that indicates whether items are displayed or not
CalendarItemSet
Public Methods
 MethodDefined By
  
BaseRemoteCalendarItemSet(readOnly:Boolean = false, name:String = null, itemSetColors:IRendererColors = null)
BaseRemoteCalendarItemSet
 Inherited
Add new item to the item set.
CalendarItemSet
 Inherited
addItemAsSpace(item:ICalendarItem, itemType:int):void
Deprecated: Deprecated
Adds item to items collection as space of given type.
CalendarItemSet
  
getEventsForDateRangeAsync(dateRange:DateRange, requestTimeStamp:Date):void
Gets asynchronously events for requested dateRange.
BaseRemoteCalendarItemSet
 Inherited
CalendarItemSet
 Inherited
CalendarItemSet
 Inherited
CalendarItemSet
 Inherited
CalendarItemSet
 Inherited
Get index of this CalendarItemSet in dataProvider - counting only visible CalendarItemSets.
CalendarItemSet
 Inherited
Invalidate this Calendar Item set's cache.
CalendarItemSet
 Inherited
isEditable():Boolean
CalendarItemSet
  
[override]
BaseRemoteCalendarItemSet
  
[override]
BaseRemoteCalendarItemSet
  
[override]
BaseRemoteCalendarItemSet
  
[override]
BaseRemoteCalendarItemSet
 Inherited
Remove item from the item set.
CalendarItemSet
Events
 Event Summary Defined By
  Dispatched when error occurs during retrieving events from remote service.BaseRemoteCalendarItemSet
  Dispatched when events were successfully retrieved from remote service for given period of time.BaseRemoteCalendarItemSet
Constructor Detail
BaseRemoteCalendarItemSet()Constructor
public function BaseRemoteCalendarItemSet(readOnly:Boolean = false, name:String = null, itemSetColors:IRendererColors = null)



Parameters
readOnly:Boolean (default = false)
 
name:String (default = null)
 
itemSetColors:IRendererColors (default = null)
Method Detail
getEventsForDateRangeAsync()method
public function getEventsForDateRangeAsync(dateRange:DateRange, requestTimeStamp:Date):void

Gets asynchronously events for requested dateRange. On success dispatches {

Parameters

dateRange:DateRange — - period of time to be retrieved.
 
requestTimeStamp:Date

onCalendarItemAdded()method 
override public function onCalendarItemAdded(event:CalendarItemAddedEvent):void

Parameters

event:CalendarItemAddedEvent

onCalendarItemModified()method 
override public function onCalendarItemModified(event:CalendarItemModificationEvent):void

Parameters

event:CalendarItemModificationEvent

onCalendarItemRemoved()method 
override public function onCalendarItemRemoved(event:CalendarItemRemovedEvent):void

Parameters

event:CalendarItemRemovedEvent

onCalendarItemSetMetadataUpdated()method 
override public function onCalendarItemSetMetadataUpdated(event:CalendarItemSetMetadataUpdatedEvent):void

Parameters

event:CalendarItemSetMetadataUpdatedEvent

Event Detail
getEventsForDateRangeErrorEvent Event
Event Object Type: com.flexcalendar.components.calendar.events.GetEventsForDateRangeErrorEvent

Dispatched when error occurs during retrieving events from remote service.

getEventsForDateRangeSuccessEvent Event  
Event Object Type: com.flexcalendar.components.calendar.events.GetEventsForDateRangeSuccessEvent

Dispatched when events were successfully retrieved from remote service for given period of time.