Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

REG : RIDC for Expired Content

Suresh CheeraNov 7 2017 — edited Nov 8 2017

Hi,

while i was trying to get the Document Information for the Expired Content using the service "DOC_INFO_BY_NAME" , getting an exception as below.

oracle.stellent.ridc.protocol.ServiceException: Unable to retrieve information for 'ID083828'. Unable to find latest revision for item 'ID083828'.

at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:146)

at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:112)

at com.lausd.rest.util.ucm.rest.UpdateExpiredContent.getDataBinder(UpdateExpiredContent.java:68)

at com.lausd.rest.util.ucm.rest.UpdateExpiredContent.UpdateExpiredDate(UpdateExpiredContent.java:36)

at com.lausd.rest.util.ucm.rest.UpdateExpiredContent.main(UpdateExpiredContent.java:15)

Process exited with exit code 0.

My code:

    DataBinder getDataBinder(String dDocName) throws IdcClientException {

        DataBinder dataBinder = idcClient.createBinder();

        dataBinder.putLocal("IdcService", "DOC_INFO_BY_NAME");

        dataBinder.putLocal("dDocName", dDocName);

        ServiceResponse response = idcClient.sendRequest(idcContext, dataBinder);

        return response.getResponseAsBinder();

    }

}

How can i get the Document information..?

DataBinder m_doc1 = getDataBinder(ddocname);

DataObject docInfo = m_doc1.getResultSet("DOC_INFO").getRows().get(0);

int access = m_SGAcctAclCache.getAccessLevelForDocument(acme1, docInfo);

I was trying to find out the User access to the document.

Regards,

Suresh

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 6 2017
Added on Nov 7 2017
11 comments
608 views