Uses of Class
com.bytedesk.core.upload.UploadEntity
Packages that use UploadEntity
Package
Description
ByteDesk 文件上传包
提供文件上传、存储管理等功能
Utility classes package containing helper methods and common functionality
-
Uses of UploadEntity in com.bytedesk.ai.ocr
Methods in com.bytedesk.ai.ocr with parameters of type UploadEntityModifier and TypeMethodDescriptionprivate List<org.springframework.ai.document.Document>OcrEventListener.convertTextToDocuments(String extractedText, UploadEntity upload) 将OCR提取的文字转换为Document列表private FileResponseOcrEventListener.findOrCreateFileRecord(UploadEntity upload, String extractedText) 查找或创建文件记录private booleanOcrEventListener.isImageFile(UploadEntity upload) 判断是否为图片文件private voidOcrEventListener.processOcrResultToChunks(String extractedText, UploadEntity upload) 处理OCR结果,将提取的文字转换为Documents并存储到chunks -
Uses of UploadEntity in com.bytedesk.core.upload
Methods in com.bytedesk.core.upload that return UploadEntityModifier and TypeMethodDescriptionprotected UploadEntityUploadRestService.doSave(UploadEntity entity) UploadRestService.handleOptimisticLockingFailureException(org.springframework.orm.ObjectOptimisticLockingFailureException e, UploadEntity entity) Methods in com.bytedesk.core.upload that return types with arguments of type UploadEntityModifier and TypeMethodDescriptionprotected org.springframework.data.jpa.domain.Specification<UploadEntity>UploadRestService.createSpecification(UploadRequest request) protected org.springframework.data.domain.Page<UploadEntity>UploadRestService.executePageQuery(org.springframework.data.jpa.domain.Specification<UploadEntity> spec, org.springframework.data.domain.Pageable pageable) static org.springframework.data.jpa.domain.Specification<UploadEntity>UploadSpecification.search(UploadRequest request, AuthService authService) Methods in com.bytedesk.core.upload with parameters of type UploadEntityModifier and TypeMethodDescriptionUploadRestService.convertToResponse(UploadEntity entity) protected UploadEntityUploadRestService.doSave(UploadEntity entity) UploadRestService.handleOptimisticLockingFailureException(org.springframework.orm.ObjectOptimisticLockingFailureException e, UploadEntity entity) org.springframework.core.io.ResourceUploadRestService.loadAsResource(UploadEntity upload) 从 UploadEntity 加载文件资源 优先使用 fileUrl,如果 fileUrl 为空则使用 fileNamevoidUploadEntityListener.postPersist(UploadEntity upload) voidUploadEntityListener.postUpdate(UploadEntity upload) Method parameters in com.bytedesk.core.upload with type arguments of type UploadEntityModifier and TypeMethodDescriptionprotected org.springframework.data.domain.Page<UploadEntity>UploadRestService.executePageQuery(org.springframework.data.jpa.domain.Specification<UploadEntity> spec, org.springframework.data.domain.Pageable pageable) -
Uses of UploadEntity in com.bytedesk.core.upload.event
Fields in com.bytedesk.core.upload.event declared as UploadEntityMethods in com.bytedesk.core.upload.event that return UploadEntityModifier and TypeMethodDescriptionAbstractUploadEvent.getUpload()private UploadEntityAbstractUploadEvent.snapshot(UploadEntity source) Methods in com.bytedesk.core.upload.event with parameters of type UploadEntityModifier and TypeMethodDescriptionprivate UploadEntityAbstractUploadEvent.snapshot(UploadEntity source) Constructors in com.bytedesk.core.upload.event with parameters of type UploadEntityModifierConstructorDescriptionprotectedAbstractUploadEvent(Object source, UploadEntity upload) UploadCreateEvent(Object source, UploadEntity upload) UploadUpdateEvent(Object source, UploadEntity upload) -
Uses of UploadEntity in com.bytedesk.core.utils
Methods in com.bytedesk.core.utils with parameters of type UploadEntityModifier and TypeMethodDescriptionstatic UploadResponseConvertUtils.convertToUploadResponse(UploadEntity entity) -
Uses of UploadEntity in com.bytedesk.kbase.llm_file
Fields in com.bytedesk.kbase.llm_file declared as UploadEntityMethods in com.bytedesk.kbase.llm_file with parameters of type UploadEntityModifier and TypeMethodDescriptionList<org.springframework.ai.document.Document>FileService.parseFileContent(UploadEntity upload) https://docs.spring.io/spring-ai/reference/api/etl-pipeline.html -
Uses of UploadEntity in com.bytedesk.kbase.material
Fields in com.bytedesk.kbase.material declared as UploadEntity -
Uses of UploadEntity in com.bytedesk.ticket.attachment
Fields in com.bytedesk.ticket.attachment declared as UploadEntity