예제 #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));
        }