11-30-2011 03:29 PM
12-02-2011 10:33 AM
02-15-2012 10:57 AM
02-29-2012 04:48 AM
public static final String getDocumentURL(final Document document, final Session session) {
String link = null;
try {
Method loadLink = AbstractAtomPubService.class.getDeclaredMethod("loadLink",
new Class[] { String.class, String.class, String.class, String.class });
loadLink.setAccessible(true);
link = (String) loadLink.invoke(session.getBinding().getObjectService(), session.getRepositoryInfo().getId(),
document.getId(), AtomPubParser.LINK_REL_CONTENT, null);
} catch (Exception e) {
e.printStackTrace();
}
return link;
}
Hope this helps.
04-11-2012 03:25 AM
09-19-2013 03:21 AM
09-19-2013 08:30 AM
02-25-2014 09:41 AM
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.