IBM FileNet P8, バージョン 5.2.1            

コメント・オブジェクトの作成

以下の Java™ および C# の例では、ClbDocumentComment オブジェクトを作成します。 タグは、渡された Document オブジェクトに適用されます。

Java の例

CmAbstractPersistable comment = Factory.CmAbstractPersistable.createInstance(os,"ClbDocumentComment");
String commentText="Modified section 3.1.6";
comment.getProperties().putValue("ClbCommentText",commentText);
comment.getProperties().putObjectValue("ClbCommentedDocument",documentObj);
comment.save(RefreshMode.REFRESH);

C# の例

ICmAbstractPersistable comment = Factory.CmAbstractPersistable.CreateInstance(os, "ClbDocumentComment");
String commentText = "Modified section 3.1.6";
comment.Properties["ClbCommentText"] = commentText;
comment.Properties["ClbCommentedDocument"] = documentObj;
comment.Save(RefreshMode.REFRESH);


最終更新日: 2015 年 10 月
socialCollab_comments_snip1.htm

© Copyright IBM Corp. 2015.