| | |
| | | |
| | | /** |
| | | * Check if the file has been uploaded by the fingerprint. |
| | | * |
| | | * @param workspaceId |
| | | * @param fingerprint |
| | | * @return |
| | |
| | | |
| | | /** |
| | | * Save the basic information of the file to the database. |
| | | * |
| | | * @param workspaceId |
| | | * @param file |
| | | * @return |
| | | */ |
| | | Integer saveMediaFile(String workspaceId, FileUploadDTO file); |
| | | |
| | | Integer saveMediaMarkFile(String workspaceId, FileUploadDTO file) throws IOException, FontFormatException; |
| | | |
| | | /** |
| | | * Query tiny fingerprints about all files in this workspace based on the workspace id. |
| | | * |
| | | * @param workspaceId |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * Query the fingerprints that already exist in it based on the incoming tiny fingerprints data. |
| | | * |
| | | * @param workspaceId |
| | | * @param tinyFingerprints |
| | | * @return |
| | |
| | | |
| | | PaginationData<MediaJobDTO> mediaPage(String workspaceId, SearchMediaParam param); |
| | | |
| | | PaginationData<MediaJobDTO> mediaDetail(String jobId,Long page, Long pageSize); |
| | | PaginationData<MediaJobDTO> mediaDetail(String jobId, Long page, Long pageSize); |
| | | } |