Building a note collection (Java™)
The NoteCollection class lets you build a collection of Domino® design and data elements in a database. Use the createNoteCollection method in the Database class to create a new NoteCollection object.
The following table lists the NoteCollection properties.
Property |
Data type |
Description |
---|---|---|
getCount |
int |
The number of notes in the collection. |
getLastBuildTime |
DateTime |
Date and time of the last build for this note collection. |
getParent |
Database |
The database that contains the note collection. |
getSelectACL and setSelectACL |
boolean |
Indicates whether the collection contains an ACL note. |
getSelectActions and setSelectActions |
boolean |
Indicates whether the collection contains notes for actions. |
getSelectAgents and setSelectAgents |
boolean |
Indicates whether the collection contains notes for agents. |
getSelectDatabaseScript and setSelectDatabaseScript |
boolean |
Indicates whether the collection contains a database script note. |
getSelectDocuments and setSelectDocuments |
boolean |
Indicates whether the collection contains the data documents. |
getSelectFolders and setSelectFolders |
boolean |
Indicates whether the collection contains notes for folders. |
getSelectForms and setSelectForms |
boolean |
Indicates whether the collection contains notes for forms. |
getSelectFrameSets and setSelectFrameSets |
boolean |
Indicates whether the collection contains notes for frame sets. |
getSelectHelpAbout and setSelectHelpAbout |
boolean |
Indicates whether the collection contains an "About Database" note. |
getSelectHelpIndex and setSelectHelpIndex |
boolean |
Indicates whether the collection containsa help index note. |
getSelectHelpUsing and setSelectHelpUsing |
boolean |
Indicates whether the collection contains a "Using Database" note. |
getSelectIcon and setSelectIcon |
boolean |
Indicates whether the collection contains an icon note. |
getSelectImageResources and setSelectImageResources |
boolean |
Indicates whether the collection contains notes for image resources. |
getSelectionFormula and setSelectionFormula |
String |
A formula that selects notes for inclusion in the collection. |
getSelectJavaResources and setSelectJavaResources |
boolean |
Indicates whether the collection contains notes for Java™ resources. |
getSelectMiscCodeElements and setSelectMiscCodeElements |
boolean |
Indicates whether the collection contains notes for miscellaneous code elements. |
getSelectMiscFormatElements and setSelectMiscFormatElements |
boolean |
Indicates whether the collection contains notes for miscellaneous format elements. |
getSelectMiscIndexElements and setSelectMiscIndexElements |
boolean |
Indicates whether the collection contains notes for miscellaneous index elements. |
getSelectNavigators and setSelectNavigators |
boolean |
Indicates whether the collection contains notes for navigators. |
getSelectOutlines and setSelectOutlines |
boolean |
Indicates whether the collection contains notes for outlines. |
getSelectPages and setSelectPages |
boolean |
Indicates whether the collection contains notes for pages. |
getSelectProfiles and setSelectProfiles |
boolean |
Indicates whether the collection contains profile documents. |
getSelectReplicationFormulas and setSelectReplicationFormulas |
boolean |
Indicates whether the collection contains replication formulas. |
getSelectScriptLibraries and setSelectScriptLibraries |
boolean |
Indicates whether the collection contains notes for script libraries. |
getSelectSharedFields and setSelectSharedFields |
boolean |
Indicates whether the collection contains notes for shared fields. |
getSelectStyleSheetResources and setSelectStyleSheetResources |
boolean |
Indicates whether the collection contains notes for style sheet resources. |
getSelectSubforms and setSelectSelectSubforms |
boolean |
Indicates whether the collection contains notes for subforms. |
getSelectViews and setSelectViews |
boolean |
Indicates whether the collection contains notes for views. |
getSinceTime and setSinceTime |
DateTime |
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.