publish
plugins.it2be_calendar.ICCategorySet info


Servoy Methods Summary
ICCategory addCategory( String, String, String, String, String, String )
Boolean containsCategoryWithId( Object )
ICCategory getCategoryByIndex( Number )
ICCategory getCategoryWithId( Object )
Boolean removeCategoryWithId( Object )
Number size( )


Servoy Methods Details


addCategory
ICCategory  addCategory( String, String, String, String, String, String )
Add a Category with an id, name and color. Optionally you can add one or more parent id's.
Parameters
String  categoryId:String  the category id
String  name:String  the name
String  color:String  the color
String  parentId1:String  the parent id 1
String  parentId2:String  the parent id 2
String  ...parentIdN:String  the parent id n

Returns
ICCategory  ICCategory

Supported Clients
SmartClient, WebClient, NGClient


containsCategoryWithId
Boolean  containsCategoryWithId( Object )
Check that the CategorySet contains the Category with id.
Parameters
Object  categoryId  the category id

Returns
Boolean  contains boolean

Supported Clients
SmartClient, WebClient, NGClient


getCategoryByIndex
ICCategory  getCategoryByIndex( Number )
Retrieve a Category by index.
Parameters
Number  index  the index

Returns
ICCategory  category ICCategory

Supported Clients
SmartClient, WebClient, NGClient


getCategoryWithId
ICCategory  getCategoryWithId( Object )
Retrieve a Category by id.
Parameters
Object  categoryId  the category id

Returns
ICCategory  category ICCategory

Supported Clients
SmartClient, WebClient, NGClient


removeCategoryWithId
Boolean  removeCategoryWithId( Object )
Remove the Category from the CategorySet (When you want to remove a Category from the calendar don't do it here).
Parameters
Object  categoryId  the category id

Returns
Boolean  category boolean

Supported Clients
SmartClient, WebClient, NGClient


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

Supported Clients
SmartClient, WebClient, NGClient