Пример #1
0
        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));
        }
Пример #2
0
 public RequestController(IDocumentsReceptionService docReceptionService)
 {
     this._documentsReceptionService = docReceptionService;
 }
Пример #3
0
        public string ChangeApplicationType(string xmlContent)
        {
            IDocumentsReceptionService documentsReceptionService = ObjectFactory.GetInstance <IDocumentsReceptionService>();

            return(documentsReceptionService.ChangeApplicationType(xmlContent));
        }
Пример #4
0
        public string GetXmlRootElementName(string xmlContent)
        {
            IDocumentsReceptionService documentsReceptionService = ObjectFactory.GetInstance <IDocumentsReceptionService>();

            return(documentsReceptionService.GetXmlRootElementName(xmlContent));
        }
Пример #5
0
        public bool ContainsDocumentURIElement(string xmlContent)
        {
            IDocumentsReceptionService documentsReceptionService = ObjectFactory.GetInstance <IDocumentsReceptionService>();

            return(documentsReceptionService.ContainsDocumentURIElement(xmlContent));
        }
Пример #6
0
        public string RemoveFooterElement(string xmlContent)
        {
            IDocumentsReceptionService documentsReceptionService = ObjectFactory.GetInstance <IDocumentsReceptionService>();

            return(documentsReceptionService.RemoveFooterElement(xmlContent));
        }