Since: BlackBerry 10.0.0
To link against this class, add the following line to your .pro file: LIBS += -lbbpim
The NotebookEntryConstraint class represents a constraint on the contents of a NotebookEntry, imposed by the parent Notebook that the NotebookEntry belongs to.
Notebook entry constraints define constraints on the contents of a NotebookEntry. These constraints are imposed upon a NotebookEntry by the parent Notebook that it belongs to, and so they may change as a NotebookEntry moves between Notebooks.
Notebook entry constraints are silently enforced by the NotebookService, meaning that add and update operations that violate the constraints are not rejected. Instead, any such violations are simply disregarded as part of the NotebookService commit operation. For example, adding attachments to a NotebookEntry that does not support attachments results in those attachments being dropped during the NotebookService add or update operation. For more information, see the documentation for individual constraints.
Public Types Index
An enumeration of possible constraints.
- AttachmentsNotSupported = 0x01
Indicates that attachments are not supported.
- MustNotBeActionable = 0x02
Indicates that the NotebookEntry must not be actionable.
- MustBeActionable = 0x04
Indicates that the NotebookEntry must be actionable.
- TitleNotEditable = 0x08
Indicates that title changes to the NotebookEntry are not supported.
Title changes are silently dropped when updating the NotebookEntry using NotebookService::updateNotebookEntry().Since:
- DescriptionNotEditable = 0x10
Indicates that description changes to the NotebookEntry are not supported.
Description changes are silently dropped when updating the NotebookEntry using NotebookService::updateNotebookEntry().Since:
Indicates that the NotebookEntry does not support the addition of tags.