<PackageReference Include="Relativity.Server.Import.SDK" Version="2.9.2" />

kCura.EDDS.WebAPI.FileManagerBase.FileManager

namespace kCura.EDDS.WebAPI.FileManagerBase { public class FileManager { public string Url { get; set; } public bool UseDefaultCredentials { get; set; } public event RetrieveByProductionArtifactIDForProductionCompletedEventHandler RetrieveByProductionArtifactIDForProductionCompleted; public event RetrieveFileGuidsByDocumentArtifactIDAndProductionArtifactIDCompletedEventHandler RetrieveFileGuidsByDocumentArtifactIDAndProductionArtifactIDCompleted; public event ReturnFileGuidsForOriginalImagesCompletedEventHandler ReturnFileGuidsForOriginalImagesCompleted; public event CreateCompletedEventHandler CreateCompleted; public event CreateImagesCompletedEventHandler CreateImagesCompleted; public event CreateProductionImagesCompletedEventHandler CreateProductionImagesCompleted; public event CreateNativesCompletedEventHandler CreateNativesCompleted; public event GetHeightCompletedEventHandler GetHeightCompleted; public event GetWidthCompletedEventHandler GetWidthCompleted; public event DeleteImagesByGuidForDocumentCompletedEventHandler DeleteImagesByGuidForDocumentCompleted; public event DeleteCompletedEventHandler DeleteCompleted; public event GetRotationCompletedEventHandler GetRotationCompleted; public event SetRotationCompletedEventHandler SetRotationCompleted; public event GetFullTextGuidsByDocumentArtifactIdAndTypeCompletedEventHandler GetFullTextGuidsByDocumentArtifactIdAndTypeCompleted; public event RetrieveNativesFileSizeCompletedEventHandler RetrieveNativesFileSizeCompleted; public event GetBatesByImageGuidCompletedEventHandler GetBatesByImageGuidCompleted; public event GetFileByGuidCompletedEventHandler GetFileByGuidCompleted; public event GetTotalImageCountByArtifactIDsCompletedEventHandler GetTotalImageCountByArtifactIDsCompleted; public event SetRotationForAllCompletedEventHandler SetRotationForAllCompleted; public FileManager(); public DataSet RetrieveByProductionArtifactIDForProduction(int caseContextArtifactID, int productionArtifactID); public IAsyncResult BeginRetrieveByProductionArtifactIDForProduction(int caseContextArtifactID, int productionArtifactID, AsyncCallback callback, object asyncState); public DataSet EndRetrieveByProductionArtifactIDForProduction(IAsyncResult asyncResult); public void RetrieveByProductionArtifactIDForProductionAsync(int caseContextArtifactID, int productionArtifactID); public void RetrieveByProductionArtifactIDForProductionAsync(int caseContextArtifactID, int productionArtifactID, object userState); public string[] RetrieveFileGuidsByDocumentArtifactIDAndProductionArtifactID(int caseContextArtifactID, int documentArtifactID, int productionArtifactID); public IAsyncResult BeginRetrieveFileGuidsByDocumentArtifactIDAndProductionArtifactID(int caseContextArtifactID, int documentArtifactID, int productionArtifactID, AsyncCallback callback, object asyncState); public string[] EndRetrieveFileGuidsByDocumentArtifactIDAndProductionArtifactID(IAsyncResult asyncResult); public void RetrieveFileGuidsByDocumentArtifactIDAndProductionArtifactIDAsync(int caseContextArtifactID, int documentArtifactID, int productionArtifactID); public void RetrieveFileGuidsByDocumentArtifactIDAndProductionArtifactIDAsync(int caseContextArtifactID, int documentArtifactID, int productionArtifactID, object userState); public string[] ReturnFileGuidsForOriginalImages(int caseContextArtifactID, int documentArtifactID); public IAsyncResult BeginReturnFileGuidsForOriginalImages(int caseContextArtifactID, int documentArtifactID, AsyncCallback callback, object asyncState); public string[] EndReturnFileGuidsForOriginalImages(IAsyncResult asyncResult); public void ReturnFileGuidsForOriginalImagesAsync(int caseContextArtifactID, int documentArtifactID); public void ReturnFileGuidsForOriginalImagesAsync(int caseContextArtifactID, int documentArtifactID, object userState); public string Create(int caseContextArtifactID, File fileDTO); public IAsyncResult BeginCreate(int caseContextArtifactID, File fileDTO, AsyncCallback callback, object asyncState); public string EndCreate(IAsyncResult asyncResult); public void CreateAsync(int caseContextArtifactID, File fileDTO); public void CreateAsync(int caseContextArtifactID, File fileDTO, object userState); public void CreateImages(int caseContextArtifactID, FileInfoBase[] files, int documentArtifactID); public IAsyncResult BeginCreateImages(int caseContextArtifactID, FileInfoBase[] files, int documentArtifactID, AsyncCallback callback, object asyncState); public void EndCreateImages(IAsyncResult asyncResult); public void CreateImagesAsync(int caseContextArtifactID, FileInfoBase[] files, int documentArtifactID); public void CreateImagesAsync(int caseContextArtifactID, FileInfoBase[] files, int documentArtifactID, object userState); public void CreateProductionImages(int caseContextArtifactID, FileInfoBase[] files, int documentArtifactID); public IAsyncResult BeginCreateProductionImages(int caseContextArtifactID, FileInfoBase[] files, int documentArtifactID, AsyncCallback callback, object asyncState); public void EndCreateProductionImages(IAsyncResult asyncResult); public void CreateProductionImagesAsync(int caseContextArtifactID, FileInfoBase[] files, int documentArtifactID); public void CreateProductionImagesAsync(int caseContextArtifactID, FileInfoBase[] files, int documentArtifactID, object userState); public void CreateNatives(int caseContextArtifactID, FileInfoBase[] files, int[] documentArtifactIDs); public IAsyncResult BeginCreateNatives(int caseContextArtifactID, FileInfoBase[] files, int[] documentArtifactIDs, AsyncCallback callback, object asyncState); public void EndCreateNatives(IAsyncResult asyncResult); public void CreateNativesAsync(int caseContextArtifactID, FileInfoBase[] files, int[] documentArtifactIDs); public void CreateNativesAsync(int caseContextArtifactID, FileInfoBase[] files, int[] documentArtifactIDs, object userState); public int GetHeight(int caseContextArtifactID, string guid); public IAsyncResult BeginGetHeight(int caseContextArtifactID, string guid, AsyncCallback callback, object asyncState); public int EndGetHeight(IAsyncResult asyncResult); public void GetHeightAsync(int caseContextArtifactID, string guid); public void GetHeightAsync(int caseContextArtifactID, string guid, object userState); public int GetWidth(int caseContextArtifactID, string guid); public IAsyncResult BeginGetWidth(int caseContextArtifactID, string guid, AsyncCallback callback, object asyncState); public int EndGetWidth(IAsyncResult asyncResult); public void GetWidthAsync(int caseContextArtifactID, string guid); public void GetWidthAsync(int caseContextArtifactID, string guid, object userState); public void DeleteImagesByGuidForDocument(int caseContextArtifactID, int documentArtifactId, string[] guidList, int[] imageOrder, string documentIdentifier); public IAsyncResult BeginDeleteImagesByGuidForDocument(int caseContextArtifactID, int documentArtifactId, string[] guidList, int[] imageOrder, string documentIdentifier, AsyncCallback callback, object asyncState); public void EndDeleteImagesByGuidForDocument(IAsyncResult asyncResult); public void DeleteImagesByGuidForDocumentAsync(int caseContextArtifactID, int documentArtifactId, string[] guidList, int[] imageOrder, string documentIdentifier); public void DeleteImagesByGuidForDocumentAsync(int caseContextArtifactID, int documentArtifactId, string[] guidList, int[] imageOrder, string documentIdentifier, object userState); public void Delete(int caseContextArtifactID, string guid); public IAsyncResult BeginDelete(int caseContextArtifactID, string guid, AsyncCallback callback, object asyncState); public void EndDelete(IAsyncResult asyncResult); public void DeleteAsync(int caseContextArtifactID, string guid); public void DeleteAsync(int caseContextArtifactID, string guid, object userState); public int GetRotation(int caseContextArtifactID, string guid); public IAsyncResult BeginGetRotation(int caseContextArtifactID, string guid, AsyncCallback callback, object asyncState); public int EndGetRotation(IAsyncResult asyncResult); public void GetRotationAsync(int caseContextArtifactID, string guid); public void GetRotationAsync(int caseContextArtifactID, string guid, object userState); public void SetRotation(int caseContextArtifactID, string guid, int rotation); public IAsyncResult BeginSetRotation(int caseContextArtifactID, string guid, int rotation, AsyncCallback callback, object asyncState); public void EndSetRotation(IAsyncResult asyncResult); public void SetRotationAsync(int caseContextArtifactID, string guid, int rotation); public void SetRotationAsync(int caseContextArtifactID, string guid, int rotation, object userState); public string GetFullTextGuidsByDocumentArtifactIdAndType(int caseContextArtifactID, int documentArtifactID, int TypeId); public IAsyncResult BeginGetFullTextGuidsByDocumentArtifactIdAndType(int caseContextArtifactID, int documentArtifactID, int TypeId, AsyncCallback callback, object asyncState); public string EndGetFullTextGuidsByDocumentArtifactIdAndType(IAsyncResult asyncResult); public void GetFullTextGuidsByDocumentArtifactIdAndTypeAsync(int caseContextArtifactID, int documentArtifactID, int TypeId); public void GetFullTextGuidsByDocumentArtifactIdAndTypeAsync(int caseContextArtifactID, int documentArtifactID, int TypeId, object userState); public long RetrieveNativesFileSize(int caseContextArtifactID, string guid); public IAsyncResult BeginRetrieveNativesFileSize(int caseContextArtifactID, string guid, AsyncCallback callback, object asyncState); public long EndRetrieveNativesFileSize(IAsyncResult asyncResult); public void RetrieveNativesFileSizeAsync(int caseContextArtifactID, string guid); public void RetrieveNativesFileSizeAsync(int caseContextArtifactID, string guid, object userState); public string GetBatesByImageGuid(int caseContextArtifactID, string guid); public IAsyncResult BeginGetBatesByImageGuid(int caseContextArtifactID, string guid, AsyncCallback callback, object asyncState); public string EndGetBatesByImageGuid(IAsyncResult asyncResult); public void GetBatesByImageGuidAsync(int caseContextArtifactID, string guid); public void GetBatesByImageGuidAsync(int caseContextArtifactID, string guid, object userState); public File GetFileByGuid(int caseContextArtifactID, string guid); public IAsyncResult BeginGetFileByGuid(int caseContextArtifactID, string guid, AsyncCallback callback, object asyncState); public File EndGetFileByGuid(IAsyncResult asyncResult); public void GetFileByGuidAsync(int caseContextArtifactID, string guid); public void GetFileByGuidAsync(int caseContextArtifactID, string guid, object userState); public int GetTotalImageCountByArtifactIDs(int caseContextArtifactID, int[] documentArtifactIDs); public IAsyncResult BeginGetTotalImageCountByArtifactIDs(int caseContextArtifactID, int[] documentArtifactIDs, AsyncCallback callback, object asyncState); public int EndGetTotalImageCountByArtifactIDs(IAsyncResult asyncResult); public void GetTotalImageCountByArtifactIDsAsync(int caseContextArtifactID, int[] documentArtifactIDs); public void GetTotalImageCountByArtifactIDsAsync(int caseContextArtifactID, int[] documentArtifactIDs, object userState); public void SetRotationForAll(int caseContextArtifactID, int artifactID, int rotation, int productionArtifactID); public IAsyncResult BeginSetRotationForAll(int caseContextArtifactID, int artifactID, int rotation, int productionArtifactID, AsyncCallback callback, object asyncState); public void EndSetRotationForAll(IAsyncResult asyncResult); public void SetRotationForAllAsync(int caseContextArtifactID, int artifactID, int rotation, int productionArtifactID); public void SetRotationForAllAsync(int caseContextArtifactID, int artifactID, int rotation, int productionArtifactID, object userState); public void CancelAsync(object userState); } }