05-04-2007 10:18 AM
05-06-2007 08:15 AM
05-07-2007 03:12 AM
RepositoryServiceSoapBindingStub repositoryService = WebServiceFactory.getRepositoryService();
ContentServiceSoapBindingStub contentService = WebServiceFactory.getContentService();
AuthoringServiceSoapBindingStub authoringService = WebServiceFactory.getAuthoringService();
//reference al nodo
Node nodo = this.getNode(documentID);
Reference contentReference = nodo.getReference();
Predicate itemsToCheckOut = new Predicate(new Reference[]{contentReference}, null, null);
CheckoutResult checkOutResult = authoringService.checkout(itemsToCheckOut, null);
// Get a reference to the working copy
Reference workingCopyReference = checkOutResult.getWorkingCopies()[0];
Content[] readResult = contentService.read(
itemsToCheckOut, Constants.PROP_CONTENT);
Content content = readResult[0];
is = ContentUtils.getContentAsInputStream(content);
return is;
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.