kCura.EDDS.WebAPI.DocumentManagerBase.DocumentManager
namespace kCura.EDDS.WebAPI.DocumentManagerBase
{
public class DocumentManager
{
public string Url { get; set; }
public bool UseDefaultCredentials { get; set; }
public event NewFileDTOCompletedEventHandler NewFileDTOCompleted;
public event ReadCompletedEventHandler ReadCompleted;
public event DeleteCompletedEventHandler DeleteCompleted;
public event UpdateCompletedEventHandler UpdateCompleted;
public event GetDocumentArtifactIDFromIdentifierCompletedEventHandler GetDocumentArtifactIDFromIdentifierCompleted;
public event ReadFromIdentifierCompletedEventHandler ReadFromIdentifierCompleted;
public event GetDocumentDirectoryByCaseArtifactIDCompletedEventHandler GetDocumentDirectoryByCaseArtifactIDCompleted;
public event GetPrintImageGuidsCompletedEventHandler GetPrintImageGuidsCompleted;
public event AllHaveOriginalImagesCompletedEventHandler AllHaveOriginalImagesCompleted;
public event GetIdentifierFromDocumentArtifactIDCompletedEventHandler GetIdentifierFromDocumentArtifactIDCompleted;
public event RetrieveAllUnsupportedOiFileIdsCompletedEventHandler RetrieveAllUnsupportedOiFileIdsCompleted;
public event ReadAsNameValueCollectionFromLayoutArtifactIDCompletedEventHandler ReadAsNameValueCollectionFromLayoutArtifactIDCompleted;
public event RetrieveDocumentCountCompletedEventHandler RetrieveDocumentCountCompleted;
public event RetrieveDocumentLimitCompletedEventHandler RetrieveDocumentLimitCompleted;
public DocumentManager();
public File NewFileDTO();
public IAsyncResult BeginNewFileDTO(AsyncCallback callback, object asyncState);
public File EndNewFileDTO(IAsyncResult asyncResult);
public void NewFileDTOAsync();
public void NewFileDTOAsync(object userState);
public Document Read(int caseContextArtifactID, int artifactID, int[] fieldArtifactIds);
public IAsyncResult BeginRead(int caseContextArtifactID, int artifactID, int[] fieldArtifactIds, AsyncCallback callback, object asyncState);
public Document EndRead(IAsyncResult asyncResult);
public void ReadAsync(int caseContextArtifactID, int artifactID, int[] fieldArtifactIds);
public void ReadAsync(int caseContextArtifactID, int artifactID, int[] fieldArtifactIds, object userState);
public void Delete(int caseContextArtifactID, string[] identifiers);
public IAsyncResult BeginDelete(int caseContextArtifactID, string[] identifiers, AsyncCallback callback, object asyncState);
public void EndDelete(IAsyncResult asyncResult);
public void DeleteAsync(int caseContextArtifactID, string[] identifiers);
public void DeleteAsync(int caseContextArtifactID, string[] identifiers, object userState);
public int Update(int caseContextArtifactID, Document docDTO, File[] files);
public IAsyncResult BeginUpdate(int caseContextArtifactID, Document docDTO, File[] files, AsyncCallback callback, object asyncState);
public int EndUpdate(IAsyncResult asyncResult);
public void UpdateAsync(int caseContextArtifactID, Document docDTO, File[] files);
public void UpdateAsync(int caseContextArtifactID, Document docDTO, File[] files, object userState);
public int GetDocumentArtifactIDFromIdentifier(int caseContextArtifactID, string identifier, string fieldDisplayName);
public IAsyncResult BeginGetDocumentArtifactIDFromIdentifier(int caseContextArtifactID, string identifier, string fieldDisplayName, AsyncCallback callback, object asyncState);
public int EndGetDocumentArtifactIDFromIdentifier(IAsyncResult asyncResult);
public void GetDocumentArtifactIDFromIdentifierAsync(int caseContextArtifactID, string identifier, string fieldDisplayName);
public void GetDocumentArtifactIDFromIdentifierAsync(int caseContextArtifactID, string identifier, string fieldDisplayName, object userState);
public Document ReadFromIdentifier(int caseContextArtifactID, string fieldDisplayName, string identifier, int[] fieldArtifactIds);
public IAsyncResult BeginReadFromIdentifier(int caseContextArtifactID, string fieldDisplayName, string identifier, int[] fieldArtifactIds, AsyncCallback callback, object asyncState);
public Document EndReadFromIdentifier(IAsyncResult asyncResult);
public void ReadFromIdentifierAsync(int caseContextArtifactID, string fieldDisplayName, string identifier, int[] fieldArtifactIds);
public void ReadFromIdentifierAsync(int caseContextArtifactID, string fieldDisplayName, string identifier, int[] fieldArtifactIds, object userState);
public string GetDocumentDirectoryByCaseArtifactID(int caseArtifactID);
public IAsyncResult BeginGetDocumentDirectoryByCaseArtifactID(int caseArtifactID, AsyncCallback callback, object asyncState);
public string EndGetDocumentDirectoryByCaseArtifactID(IAsyncResult asyncResult);
public void GetDocumentDirectoryByCaseArtifactIDAsync(int caseArtifactID);
public void GetDocumentDirectoryByCaseArtifactIDAsync(int caseArtifactID, object userState);
public Guid[] GetPrintImageGuids(int caseContextArtifactID, int artifactID, int[] orderedProductionIDList);
public IAsyncResult BeginGetPrintImageGuids(int caseContextArtifactID, int artifactID, int[] orderedProductionIDList, AsyncCallback callback, object asyncState);
public Guid[] EndGetPrintImageGuids(IAsyncResult asyncResult);
public void GetPrintImageGuidsAsync(int caseContextArtifactID, int artifactID, int[] orderedProductionIDList);
public void GetPrintImageGuidsAsync(int caseContextArtifactID, int artifactID, int[] orderedProductionIDList, object userState);
public bool AllHaveOriginalImages(int caseContextArtifactID, int[] artifactIDs);
public IAsyncResult BeginAllHaveOriginalImages(int caseContextArtifactID, int[] artifactIDs, AsyncCallback callback, object asyncState);
public bool EndAllHaveOriginalImages(IAsyncResult asyncResult);
public void AllHaveOriginalImagesAsync(int caseContextArtifactID, int[] artifactIDs);
public void AllHaveOriginalImagesAsync(int caseContextArtifactID, int[] artifactIDs, object userState);
public string GetIdentifierFromDocumentArtifactID(int caseContextArtifactID, int artifactID);
public IAsyncResult BeginGetIdentifierFromDocumentArtifactID(int caseContextArtifactID, int artifactID, AsyncCallback callback, object asyncState);
public string EndGetIdentifierFromDocumentArtifactID(IAsyncResult asyncResult);
public void GetIdentifierFromDocumentArtifactIDAsync(int caseContextArtifactID, int artifactID);
public void GetIdentifierFromDocumentArtifactIDAsync(int caseContextArtifactID, int artifactID, object userState);
public int[] RetrieveAllUnsupportedOiFileIds();
public IAsyncResult BeginRetrieveAllUnsupportedOiFileIds(AsyncCallback callback, object asyncState);
public int[] EndRetrieveAllUnsupportedOiFileIds(IAsyncResult asyncResult);
public void RetrieveAllUnsupportedOiFileIdsAsync();
public void RetrieveAllUnsupportedOiFileIdsAsync(object userState);
public NameValuePair[] ReadAsNameValueCollectionFromLayoutArtifactID(int caseContextArtifactID, int artifactID, int layoutArtifactID, int utcOffset, string locale);
public IAsyncResult BeginReadAsNameValueCollectionFromLayoutArtifactID(int caseContextArtifactID, int artifactID, int layoutArtifactID, int utcOffset, string locale, AsyncCallback callback, object asyncState);
public NameValuePair[] EndReadAsNameValueCollectionFromLayoutArtifactID(IAsyncResult asyncResult);
public void ReadAsNameValueCollectionFromLayoutArtifactIDAsync(int caseContextArtifactID, int artifactID, int layoutArtifactID, int utcOffset, string locale);
public void ReadAsNameValueCollectionFromLayoutArtifactIDAsync(int caseContextArtifactID, int artifactID, int layoutArtifactID, int utcOffset, string locale, object userState);
public int RetrieveDocumentCount(int caseArtifactID);
public IAsyncResult BeginRetrieveDocumentCount(int caseArtifactID, AsyncCallback callback, object asyncState);
public int EndRetrieveDocumentCount(IAsyncResult asyncResult);
public void RetrieveDocumentCountAsync(int caseArtifactID);
public void RetrieveDocumentCountAsync(int caseArtifactID, object userState);
public int RetrieveDocumentLimit(int caseArtifactID);
public IAsyncResult BeginRetrieveDocumentLimit(int caseArtifactID, AsyncCallback callback, object asyncState);
public int EndRetrieveDocumentLimit(IAsyncResult asyncResult);
public void RetrieveDocumentLimitAsync(int caseArtifactID);
public void RetrieveDocumentLimitAsync(int caseArtifactID, object userState);
public void CancelAsync(object userState);
}
}