JAVA/CORBA クラス


getModifiedDocuments メソッド

指定した時刻以後に更新されたデータベース内にある文書を取得します。

メモ このメソッドは R7 で新しく追加されました。

定義位置

Database

構文

public DocumentCollection getModifiedDocuments()
   throws NotesException

public DocumentCollection getModifiedDocuments(DateTime since)
   throws NotesException

public DocumentCollection getModifiedDocuments(DateTime since, int noteClass)
   throws NotesException

パラメータ

DateTime since


int noteClass 戻り値

DocumentCollection


使用法

収集の終了時刻は、現在のデータベース時刻であり、返される DocumentCollection オブジェクトの UntilTime プロパティとなります。後で getModifiedDocuments を呼び出すときに「since」の時刻としてこの時刻を指定すると、最近の呼び出し以降に修正されたすべての文書を取得できます。データベースの時刻とは異なる場合があるシステムの時刻には影響されません。

noteClass パラメータが無効である場合、このメソッドでは NotesError.NOTES_NOSUCH_DBGETMODDOCS (4698) 「正しくない GetModifiedDocuments コンスタント」が発生します。

クロスリファレンス

LotusScript NotesDatabase クラスの GetModifiedDocuments


関連項目