public static void Main(string[] args) { var options = ParserCommandLineArguments(args); DocumasterClients documasterClients = new DocumasterClients(options); SystemInitializationSample initializationSample = new SystemInitializationSample(documasterClients); initializationSample.Execute(); IntegrationSample integrationSample = new IntegrationSample(documasterClients, options.TestFile1, options.TestFile2); integrationSample.Execute(); SignOffSample signOffSample = new SignOffSample(documasterClients); signOffSample.SignOffRegistryEntry("56", new List <string>() { "73" }); FinalizationSample finalizationSample = new FinalizationSample(documasterClients); finalizationSample.FinalizeObjectsInJournal("34", "35", "36", "37"); finalizationSample.FinalizeObjectsInArchive("42", "43", "44", "45"); QuerySample querySample = new QuerySample(documasterClients); querySample.GetCodeLists(); querySample.GetCaseFilesByExternalId("14", "2344-11", "External system"); querySample.GetCaseFileBySecondaryClass("14", "45503", "John Doe"); querySample.GetRegistryEntriesCreatedInDateRange("14", DateTime.Now.AddDays(-2), DateTime.Now); FullTextSearchSample fullTextSearchSample = new FullTextSearchSample(documasterClients); fullTextSearchSample.Search(); }
public SystemInitializationSample(DocumasterClients documasterClients) { this.documasterClients = documasterClients; }
public SignOffSample(DocumasterClients documasterClients) { this.documasterClients = documasterClients; }
public FinalizationSample(DocumasterClients documasterClients) { this.documasterClients = documasterClients; }
public QuerySample(DocumasterClients documasterClients) { this.documasterClients = documasterClients; }
public FullTextSearchSample(DocumasterClients documasterClients) { this.documasterClients = documasterClients; }
public IntegrationSample(DocumasterClients documasterClients, string testFile1, string testFile2) { this.documasterClients = documasterClients; this.testFile1 = testFile1; this.testFile2 = testFile2; }