| | |
| | | */ |
| | | List<MediaFileDTO> getAllFilesByWorkspaceId(String workspaceId); |
| | | |
| | | List<MediaFileEntity> listMediaFileEntity(String workspaceId, String jobId); |
| | | |
| | | /** |
| | | * Paginate through all media files in this workspace. |
| | | * @param workspaceId |
| | |
| | | * @param pageSize |
| | | * @return |
| | | */ |
| | | PaginationData<MediaFileDTO> getMediaFilesPaginationByWorkspaceId(String workspaceId, long page, long pageSize, MediaFileQueryParam mediaFileQueryParam); |
| | | PaginationData<MediaFileEntity> getMediaFilesPaginationByWorkspaceId(String workspaceId, long page, long pageSize, MediaFileQueryParam mediaFileQueryParam); |
| | | |
| | | /** |
| | | * Get the download address of the file. |
| | |
| | | * @return |
| | | */ |
| | | Boolean updateMediaFile(String workspaceId, MediaFileEntity mediaFileEntity); |
| | | |
| | | int deleteMedia(String workspaceId, String fileId); |
| | | } |