コレクションのすべての文書に未読マークを付けます。
markAllUnread(username:string) : void
パラメータ | 説明 |
---|---|
username | 指定すると、メソッドは、コレクションのすべての文書に、指定された名前の未読マークをつけます。省略すると、メソッドは、現在のユーザー ID の未読マークを文書につけます。 |
var dc:NotesDocumentCollection = database.getAllDocuments();
var query:string = requestScope.query;
if (!query.isEmpty()) {
query = "¥"" + query + "¥"";
database.updateFTIndex(true);
dc.FTSearch(query);
dc.markAllUnread();
} else {
requestScope.status = "No query";
}
Java™ DocumentCollection クラスの markAllUnread メソッド