JAVA/CORBA クラス


getModifiedDocuments メソッド

指定した時刻以降に修正された文書をデータベースから取得します。

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

定義が行われるクラス
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


関連項目