01-29-2014 02:20 PM
02-03-2014 02:06 PM
Session cmisSession = getCmisSession();
Document document = (Document) cmisSession.getObjectByPath("/test/test.txt");
List<Document> documents = document.getAllVersions();
Iterator<Document> itr = documents.iterator();
while(itr.hasNext()) {
Document version = (Document) itr.next();
System.out.println(
((LinkAccess) cmisSession.getBinding().getObjectService())
.loadContentLink(
cmisSession.getRepositoryInfo().getId(),
version.getId()
)
);
}
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.