remove_components


Description:

public bool remove_components (SList<ComponentId> ids, SList<uint32>? custom_flags, CacheOfflineFlag offline_flag, Cancellable? cancellable = null) throws Error

Removes components identified by uid and rid from the this in the ids list.

When the rid is null, or an empty string, then removes the master object only, without any detached instance. The custom_flags is used, if not null, only if the offline_flag is e_cache_is_offline. Otherwise it's ignored. The length of the custom_flags should match the length of ids, when not null.

Parameters:

this

an CalCache

ids

a SList of components to remove

custom_flags

an optional SList of custom flags for the ids

offline_flag

one of CacheOfflineFlag, whether removing these comonents in offline

cancellable

optional Cancellable object, or null

Returns:

Whether succeeded.