"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/main/java/com/openkm/ws/endpoint/DocumentService.java" between
OpenKM-document-management-system-6.3.10.tar.gz and OpenKM-document-management-system-6.3.11.tar.gz

About: OpenKM (Knowledge Management) is a document management system that allows easy management of documents, users, roles and finding your enterprise documents and records. Community version (source code).

DocumentService.java  (OpenKM-document-management-system-6.3.10):DocumentService.java  (OpenKM-document-management-system-6.3.11)
skipping to change at line 138 skipping to change at line 138
Document doc = dm.getProperties(token, docPath); Document doc = dm.getProperties(token, docPath);
log.debug("getProperties: {}", doc); log.debug("getProperties: {}", doc);
return doc; return doc;
} }
@WebMethod @WebMethod
public public
@XmlMimeType("application/octet-stream") @XmlMimeType("application/octet-stream")
DataHandler getContent(@WebParam(name = "token") String token, @WebParam( name = "docPath") String docPath, DataHandler getContent(@WebParam(name = "token") String token, @WebParam( name = "docPath") String docPath,
@WebParam(name = "checkout") boolean checkout) throws Rep ositoryException, IOException, PathNotFoundException, @WebParam(name = "checkout") boolean checkout) throws Rep ositoryException, IOException, PathNotFoundException,
AccessDeniedException, DatabaseException { AccessDeniedException, DatabaseException, LockException {
log.debug("getContent({}, {}, {})", token, docPath, checkout); log.debug("getContent({}, {}, {})", token, docPath, checkout);
DocumentModule dm = ModuleManager.getDocumentModule(); DocumentModule dm = ModuleManager.getDocumentModule();
InputStream is = dm.getContent(token, docPath, checkout); InputStream is = dm.getContent(token, docPath, checkout);
DataHandler data = new DataHandler(new DhDatasource(is, null, doc Path)); DataHandler data = new DataHandler(new DhDatasource(is, null, doc Path));
log.debug("getContent: {}", data); log.debug("getContent: {}", data);
return data; return data;
} }
@WebMethod @WebMethod
public public
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)