I've seen some blog posts about using the Content Server's RIDC API in ADF, but none cover all aspects of using the full power of this API to work with UCM in a programmatic environment.
In order to get things started you need to install the WebCenter extensions for JDeveloper, create a WebCenter Portal project and configure a Content Server connection to point to a running instance of UCM 11g. More details on how to do this are given by Andrejus Baranovskis on his blog here.
Once you have these in place, you can start programming RIDC. I will describe below the most useful operations that can be performed using the API.
Create a RIDC session
String connectionName = DocLibADFConfigUtils.getPrimaryConnectionName();
Repository repository = ADFConnectionsManager.lookupRepository(connectionName);
Credentials creds = new SimpleCredentials("sysadmin", "".toCharArray());
SessionPool sessionPool = new SessionPool(repository, creds);
Session session = sessionPool.getSession();
IdcClient idcClient = (IdcClient) session.getAttribute(oracle.stellent.ridc.IdcClient.class.getName());
IdcContext idcCtx = (IdcContext) session.getAttribute(oracle.stellent.ridc.IdcContext.class.getName());
The IdcClient and IdcContext classes are the base classes for the RIDC API. All further operations will be performed using these two classes.
Retrieve a folder
You can properly retrieve a DataBinder object for a folder using the RIDC API, as shown below.
The input variable folderPath must contain the full path to the folder.
DataBinder binder = idcClient.createBinder();
binder.putLocal("IdcService", "COLLECTION_INFO");
binder.putLocal("hasCollectionPath", "true");
binder.putLocal("dCollectionPath", folderPath);
DataBinder folder = idcClient.sendRequest(adminUserCtx, binder).getResponseAsBinder();
...
分享到:
相关推荐
《Oracle Receivables Guide to Integrating Oracle Receivables with Taxware Sales/Use System Release 11i》是Oracle公司发布的一份技术指南,主要针对如何将Oracle Receivables(Oracle收款模块)与Taxware的...
本文档“Oracle Transportation Management Integrating Oracle Transportation Management with Oracle E-Business Suite Release 11i”主要关注的是OTM与Oracle E-Business Suite (EBS) 11i版本的集成。...
### Oracle Database 11g SQL 英文教程关键知识点概览 #### 一、Oracle Database 11g 概述 - **版本介绍**:Oracle Database 11g 是 Oracle 公司推出的一个重要的数据库管理系统版本,它在原有的基础上进行了大量的...
STK-Disk913x-Integrating a 913X OPENstorage Disk AS/400 Enviro
hadoop 与oracle数据库的结合
Integrating Open-Source Statistical Packages with ArcGIS
Solarwinds产品管理员手册
Integrating Python with Leading Computer Forensics Platforms 英文epub 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除
SystemVerilog是一种基于IEEE标准的硬件描述语言(HDL),它在Verilog的基础上进一步发展,提供更丰富的数据类型、更强大的仿真和测试能力,并支持更复杂的系统级验证。SystemC是另一种硬件仿真语言,主要用于高层次...
Integrating Windows NT Server 4.0 with NetWare, UNIX, IBM, and
g_pd3dDevice->Clear(0, NULL, D3DCLEAR_TARGET | D3DCLEAR_ZBUFFER, D3DCOLOR_XRGB(0, 0, 0), 1.0f, 0); // 开始新的一帧 if (SUCCEEDED(g_pd3dDevice->BeginScene())) { // 更新模型变换 // float ...
Vertica Documentation - Vertica ...Integrating with Voltage SecureData 5261 Vertica Plug-In for Informatica 5299 Vertica Error Messages 5345 Glossary 5525 Third-Party Software Acknowledgements 5643
VTK 13 Integrating with the Windowing__ System.pdf VTK 13 Integrating with the Windowing__ System.pdf
Integrating Python with Leading Computer Forensics Platforms 英文无水印pdf pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源...
Week 2: Integrating SAP HANA Platform Capabilities Week 3: Modern Trends in Data Management Week 4: Related Topics Week 5: Simplification of your Data Warehouse with BW/4HANA results in benefits for ...
Expand your imagination by letting go of the limitations of traditional animation mediums, software packages, or workflows and integrating 2D and 3D assets. With the updated and expanded second ...
Apress - Office and SharePoint 2010 Users Guide - Integrating SharePoint with Excel Outlook Access and Word
Integrating Custom Widgets with Qt Designer Double Buffering Part II: Intermediate Qt Chapter 6. Layout Management Laying Out Widgets on a Form Stacked Layouts Splitters Scrolling ...