As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
for(ResultSetRow row : rows) { String nodeId = row.getNode().getId(); Reference reference = new Reference(LilacConstants.STORE, nodeId, null); Predicate predicate = new Predicate(new Reference[]{reference}, null, null); LilacDoc contentResult = new LilacDoc(); contentResult.setId(nodeId); // Use the content service to figure out the URL ContentServiceSoapBindingStub contentService = WebServiceFactory.getContentService(); Content[] readResult = contentService.read(predicate, Constants.PROP_CONTENT); Content content = readResult[0]; contentResult.setUrl(content.getUrl() + "?ticket=" + AuthenticationUtils.getTicket()); ……