class Collection |
|
Represents a collection of PIM items.
This class represents a collection of PIM items, such as a folder on a mail- or groupware-server. Collections are hierarchical, i.e., they may have a parent collection.
Author Volker Krause See also akonadi_concepts_collections "Akonadi Collection Concept" |
|
Creates an invalid collection. |
|
Create a new collection.
id - The unique identifier of the collection. |
|
Creates a collection from an other collection. |
|
Returns the cache policy of the collection. |
|
Returns a list of possible content mimetypes, e.g. message/rfc822, x-akonadi/collection for a mail folder that supports sub-folders. |
|
Creates a collection from the given url. |
|
Returns the mimetype used for collections. |
|
Returns the i18n'ed name of the collection. |
|
Returns the identifier of the parent collection. |
|
Returns the parent remote identifier. This usually returns nothing for collections retrieved from the backend. |
|
Returns the identifier of the resource owning the collection. |
|
Returns the rights the user has on the collection. |
|
Returns the root collection. |
|
Sets the cache policy of the collection. |
|
Sets the list of possible content mime types. |
|
Sets the i18n'ed name of the collection.
name - The new collection name |
|
Sets the identifier of the parent collection. |
|
Sets the parent collection. |
|
Sets the parent's remote identifier. |
|
Sets the identifier of the resource owning the collection. |
|
Sets the rights the user has on the collection. |
|
Sets the collection statistics for the collection. |
|
Returns the collection statistics of the collection. |
|
Returns the collection url |
Describes rights of a collection.
ReadOnly | - 0x0 | - | ||
CanChangeItem | - 0x1 | - | ||
CanCreateItem | - 0x2 | - | ||
CanDeleteItem | - 0x4 | - | ||
CanChangeCollection | - 0x8 | - | ||
CanCreateCollection | - 0x16 | - | ||
CanDeleteCollection | - 0x32 | - | ||
AllRights | - (CanChangeItem|CanCreateItem|CanDeleteItem|CanChangeCollection|CanCreateCollection|CanDeleteCollection) | - |