Building a note collection (LotusScript)
The NotesNoteCollection class lets you build a collection of Domino design and data elements in a database. Use the CreateNoteCollection method in the NotesDatabase class to create a new NotesNoteCollection object.
The following table lists the NotesNoteCollection properties.
| Property |
Data type |
Description |
|---|---|---|
| Long |
The number of notes in the collection. |
|
| Date and time of the last build for this note collection. |
||
| The database that contains the note collection. |
||
| Boolean |
Indicates whether the collection contains an ACL note. |
|
| Boolean |
Indicates whether the collection contains notes for actions. |
|
| Boolean |
Indicates whether the collection contains notes for agents. |
|
| Boolean |
Indicates whether the collection contains a database script note. |
|
| Boolean |
Indicates whether the collection contains the data documents. |
|
| Boolean |
Indicates whether the collection contains notes for folders. |
|
| Boolean |
Indicates whether the collection contains notes for forms. |
|
| Boolean |
Indicates whether the collection contains notes for frame sets. |
|
| Boolean |
Indicates whether the collection contains an "About Database" note. |
|
| Boolean |
Indicates whether the collection containsa help index note. |
|
| Boolean |
Indicates whether the collection contains a "Using Database" note. |
|
| Boolean |
Indicates whether the collection contains an icon note. |
|
| Boolean |
Indicates whether the collection contains notes for image resources. |
|
| String |
A formula that selects notes for inclusion in the collection. |
|
| Boolean |
Indicates whether the collection contains notes for Java resources. |
|
| Boolean |
Indicates whether the collection contains notes for miscellaneous code elements. |
|
| Boolean |
Indicates whether the collection contains notes for miscellaneous format elements. |
|
| Boolean |
Indicates whether the collection contains notes for miscellaneous index elements. |
|
| Boolean |
Indicates whether the collection contains notes for navigators. |
|
| Boolean |
Indicates whether the collection contains notes for outlines. |
|
| Boolean |
Indicates whether the collection contains notes for pages. |
|
| Boolean |
Indicates whether the collection contains profile documents. |
|
| Boolean |
Indicates whether the collection contains replication formulas. |
|
| Boolean |
Indicates whether the collection contains notes for script libraries. |
|
| Boolean |
Indicates whether the collection contains notes for shared fields. |
|
| Boolean |
Indicates whether the collection contains notes for style sheet resources. |
|
| Boolean |
Indicates whether the collection contains notes for subforms. |
|
| Boolean |
Indicates whether the collection contains notes for views. |
|
| Indicates the earliest note creation time in the collection. |
The methods are as follows:
- Add adds one or more notes to a note collection.
- BuildCollection builds (compiles) the note collection.
- ClearCollection clears (invalidates) a note collection build.
- GetFirstNoteId gets the first note in a collection.
- GetNextNoteId gets the next note in a collection.
- Intersect creates a note collection containing the notes common to the original collection and the note or notes specified in the intersection parameter.
- Remove removes one or more notes from a note collection.
- SelectAllAdminNotes selects or deselects the administration notes for inclusion in the collection.
- SelectAllCodeElements selects or deselects the notes for code elements for inclusion in the collection.
- SelectAllDataNotes selects or deselects the data notes for inclusion in the collection.
- SelectAllDesignElements selects or deselects the notes for design elements for inclusion in the collection.
- SelectAllFormatElements selects or deselects the notes for format elements for inclusion in the collection.
- SelectAllIndexElements selects or deselects the notes for index elements for inclusion in the collection.
- SelectAllNotes selects or deselects all notes for inclusion in the collection.