put_components


Description:

public bool put_components (SList<Component> components, SList<string>? extras, SList<uint32>? custom_flags, CacheOfflineFlag offline_flag, Cancellable? cancellable = null) throws Error

Adds a list of components into the this.

Any existing with the same UID and RID are replaced.

If extras is not null, its length should be the same as the length of the components . Similarly the non-NULL custom_flags length should be the same as the length of the components.

Parameters:

this

an CalCache

components

a SList of Component to put into the this

extras

optional extra data to store in association with the components

custom_flags

optional custom flags to use for the components

offline_flag

one of CacheOfflineFlag, whether putting these components in offline

cancellable

optional Cancellable object, or null

Returns:

Whether succeeded.