publish
plugins.it2be_calendar.ICEventSet info


Servoy Methods Summary
ICEvent addEvent( Object )
Boolean containsEventWithId( Object )
ICEvent getEventByIndex( Number )
ICEvent getEventWithId( Object )
Boolean removeEventWithId( Object )
Number size( )


Servoy Methods Details


addEvent
ICEvent  addEvent( Object )
Add an Event (or create it with an id, name and color. Optionally you can add one or more parent id's).
Parameters
Object  eventId  the event id

Returns
ICEvent  event ICEvent

Supported Clients
SmartClient, WebClient, NGClient


containsEventWithId
Boolean  containsEventWithId( Object )
Check that the EventSet contains the Event with id.
Parameters
Object  eventId  the event id

Returns
Boolean  boolean

Supported Clients
SmartClient, WebClient, NGClient


getEventByIndex
ICEvent  getEventByIndex( Number )
Retrieve an Event by index.
Parameters
Number  index  the index

Returns
ICEvent  ICEvent

Supported Clients
SmartClient, WebClient, NGClient


getEventWithId
ICEvent  getEventWithId( Object )
Retrieve an Event by id.
Parameters
Object  eventId  the event id

Returns
ICEvent  ICEvent

Supported Clients
SmartClient, WebClient, NGClient


removeEventWithId
Boolean  removeEventWithId( Object )
Remove the Event from the EventSet (When you want to remove a Event from the calendar don't do it here).
Parameters
Object  eventId  the event id

Returns
Boolean  boolean

Supported Clients
SmartClient, WebClient, NGClient


size
Number  size( )
Returns the size the of the EventSet.
Returns
Number  int

Supported Clients
SmartClient, WebClient, NGClient