Content management system Oracle UCM-ridc-获取文档的所有版本

Content management system Oracle UCM-ridc-获取文档的所有版本,content-management-system,oracle-ucm,webcenter,Content Management System,Oracle Ucm,Webcenter,我通过RIDC从Oracle UCM获取文件。我使用DataBinder的方式如下: IdcClient client =getUCMConnection(); DataBinder dataBinder = client.createBinder (); dataBinder.putLocal ("IdcService", "GET_FILE"); dataBinder.putLocal ("dID", dID); IdcContext userContext = new IdcContext

我通过RIDC从Oracle UCM获取文件。我使用DataBinder的方式如下:

IdcClient client =getUCMConnection();
DataBinder dataBinder = client.createBinder ();
dataBinder.putLocal ("IdcService", "GET_FILE");
dataBinder.putLocal ("dID", dID);
IdcContext userContext = new IdcContext(username);
ServiceResponse response = client.sendRequest (userContext, dataBinder);  
InputStream fstream = response.getResponseStream ();

....... etc.

我想问,我如何才能获得文档的“所有版本”而不是最新发布的版本?

我现在无法测试它,但我认为您正在寻找的服务是获取信息,尝试一下并检查您获得的所有结果集我非常确定其中一个具有文档所有修订的信息。

首先您必须调用该服务,您可以使用revision\u HISTORY集获得修订的结果集

您将获得每个版本的特定dID,您将迭代它们并使用dID作为每个版本的参数

您可以使用该服务获取包含所有修订信息的结果集修订