【发布时间】:2015-08-25 13:41:57
【问题描述】:
我使用 jdeveloper 创建了一个函数,用于使用 RIDC 服务在 UCM 中更新一些属性 COLLECTION,在这种情况下,我想更新 xcoverURL,它是一个自定义属性,调用此函数时我需要几个参数(参数是:字符串collection_id, String collection_name, String cover_id, String cover_url),这是我的代码
public void updateAlbumCover(String collection_id, String collection_name, String cover_id, String cover_url){
String didFolder = null;
try {
DataBinder binder = this.idcClient.createBinder();
binder.putLocal("IdcService", "COLLECTION_UPDATE");
binder.putLocal("dCollectionId", collection_id);
binder.putLocal("dCollectionName", collection_name);
binder.putLocal("hasParentCollectionID", "true");
binder.putLocal("dParentCollectionID", ROOT_FOLDER);
binder.putLocal("dCollectionOwner", USERNAME);
binder.putLocal("dSecurityGroup", "public");
binder.putLocal("xCoverURL", cover_url);
binder.putLocal("xCoverId", cover_id);
ServiceResponse response;
response = this.idcClient.sendRequest(this.userContext, binder);
DataBinder dataBinderResp;
dataBinderResp = response.getResponseAsBinder();
didFolder = dataBinderResp.getLocal("dCollectionID").toString();
} catch (IdcClientException e) {
e.printStackTrace();
}
}
我在调用这个函数时遇到了问题,我总是出错
'oracle.stellent.ridc.protocol.ServiceException: 无法更新 虚拟文件夹。无法打开文件夹。'
【问题讨论】:
标签: oracle-adf jdeveloper oracle-ucm