public string WriteUriInDocContent(string xmlContent, int serviceId) { IDocumentService documentService = ObjectFactory.GetInstance <IDocumentService>(); IDocumentsReceptionService documentsReceptionService = ObjectFactory.GetInstance <IDocumentsReceptionService>(); DocumentUriDTO uri = documentService.GetRegisteredDocumentURI(serviceId); string uriPath = documentsReceptionService.GetDocumentTypeXPath(serviceId); return(documentService.WriteUriInDocContent(xmlContent, uri.RegisteredIndex, uri.SequenceNumber, uri.ReceiptOrSigningDate, uriPath)); }
public RequestController(IDocumentsReceptionService docReceptionService) { this._documentsReceptionService = docReceptionService; }
public string ChangeApplicationType(string xmlContent) { IDocumentsReceptionService documentsReceptionService = ObjectFactory.GetInstance <IDocumentsReceptionService>(); return(documentsReceptionService.ChangeApplicationType(xmlContent)); }
public string GetXmlRootElementName(string xmlContent) { IDocumentsReceptionService documentsReceptionService = ObjectFactory.GetInstance <IDocumentsReceptionService>(); return(documentsReceptionService.GetXmlRootElementName(xmlContent)); }
public bool ContainsDocumentURIElement(string xmlContent) { IDocumentsReceptionService documentsReceptionService = ObjectFactory.GetInstance <IDocumentsReceptionService>(); return(documentsReceptionService.ContainsDocumentURIElement(xmlContent)); }
public string RemoveFooterElement(string xmlContent) { IDocumentsReceptionService documentsReceptionService = ObjectFactory.GetInstance <IDocumentsReceptionService>(); return(documentsReceptionService.RemoveFooterElement(xmlContent)); }