@WebMethod
public Version checkin(@WebParam(name = "token") String token, @WebParam(name = "docPath") String docPath,
@WebParam(name = "content") @XmlMimeType("application/octet-stream") DataHandler content,
@WebParam(name = "comment") String comment) throws FileSizeExceededException, UserQuotaExceededException,
VirusDetectedException, LockException, VersionException, PathNotFoundException, AccessDeniedException, RepositoryException,
IOException, DatabaseException, ExtensionException, AutomationException {
log.debug("checkin({}, {} ,{})", new Object[]{token, docPath, comment});
DocumentModule dm = ModuleManager.getDocumentModule();
InputStream bais = content.getInputStream();
Version version = dm.checkin(token, docPath, bais, comment);
log.debug("checkin: {}", version);
return version;
}
DocumentService.java 文件源码
java
阅读 39
收藏 0
点赞 0
评论 0
项目:document-management-system
作者:
评论列表
文章目录