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

Count

Long

The number of notes in the collection.

LastBuildTime

NotesDateTime

Date and time of the last build for this note collection.

Parent

NotesDatabase

The database that contains the note collection.

SelectACL

Boolean

Indicates whether the collection contains an ACL note.

SelectActions

Boolean

Indicates whether the collection contains notes for actions.

SelectAgents

Boolean

Indicates whether the collection contains notes for agents.

SelectDatabaseScript

Boolean

Indicates whether the collection contains a database script note.

SelectDocument

Boolean

Indicates whether the collection contains the data documents.

SelectFolders

Boolean

Indicates whether the collection contains notes for folders.

SelectForms

Boolean

Indicates whether the collection contains notes for forms.

SelectFrameSets

Boolean

Indicates whether the collection contains notes for frame sets.

SelectHelpAbout

Boolean

Indicates whether the collection contains an "About Database" note.

SelectHelpIndex

Boolean

Indicates whether the collection contains a help index note.

SelectHelpUsing

Boolean

Indicates whether the collection contains a "Using Database" note.

SelectIcon

Boolean

Indicates whether the collection contains an icon note.

SelectImageResources

Boolean

Indicates whether the collection contains notes for image resources.

SelectionFormula

String

A formula that selects notes for inclusion in the collection.

SelectJavaResources

Boolean

Indicates whether the collection contains notes for Java resources.

SelectMiscCodeElements

Boolean

Indicates whether the collection contains notes for miscellaneous code elements.

SelectMiscFormatElements

Boolean

Indicates whether the collection contains notes for miscellaneous format elements.

SelectMiscIndexElements

Boolean

Indicates whether the collection contains notes for miscellaneous index elements.

SelectNavigators

Boolean

Indicates whether the collection contains notes for navigators.

SelectOutlines

Boolean

Indicates whether the collection contains notes for outlines.

SelectPages

Boolean

Indicates whether the collection contains notes for pages.

SelectProfiles

Boolean

Indicates whether the collection contains profile documents.

SelectReplicationFormulas

Boolean

Indicates whether the collection contains replication formulas.

SelectScriptLibraries

Boolean

Indicates whether the collection contains notes for script libraries.

SelectSharedFields

Boolean

Indicates whether the collection contains notes for shared fields.

SelectStyleSheetResources

Boolean

Indicates whether the collection contains notes for style sheet resources.

SelectSubforms

Boolean

Indicates whether the collection contains notes for subforms.

SelectViews

Boolean

Indicates whether the collection contains notes for views.

SinceTime

NotesDateTime

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.
  • SelectFrameSets 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.