Ejemplo n.º 1
0
 public DataService(ClientQueryDeserializer queryDeserializer,
                    IWebClientWorkflowService service
                    )
     : base(queryDeserializer)
 {
     _service = service;
 }
Ejemplo n.º 2
0
        public DataService(
            ClientQueryDeserializer queryDeserializer,
            IChangeSetApplier changeSetApplier,
            ChangeSetDeserializer changeSetDeserializer,
            IUnitOfWorkFactory unitOfWorkFactory,
            ISessionFactory factory,
            TypedAutoCardStructureDataProvider <CstReqCustoms> cstReqCustomsStructureDataProvider,
            TransportDocumentStructureDataProvider transportDocumentStructureDataProvider,
            TransportContractStructureDataProvider transportContractStructureDataProvider,
            CstReqCustomsPosDataProvider cstReqCustomsPosDataProvider,
            CstReqCustoms2WBStructureDataProvider cstReqCustoms2WbStructureDataProvider
            )
            : base(queryDeserializer, changeSetDeserializer, changeSetApplier, unitOfWorkFactory)
        {
            _factory = factory;
            StructureDataProviders.Add(cstReqCustomsStructureDataProvider);
            StructureDataProviders.Add(transportDocumentStructureDataProvider);
            StructureDataProviders.Add(transportContractStructureDataProvider);
            StructureDataProviders.Add(cstReqCustomsPosDataProvider);
            StructureDataProviders.Add(cstReqCustoms2WbStructureDataProvider);

            CommittableBindingsProvider.Register(cstReqCustomsStructureDataProvider);
            CommittableBindingsProvider.Register(transportDocumentStructureDataProvider);
            CommittableBindingsProvider.Register(transportContractStructureDataProvider);
        }
Ejemplo n.º 3
0
 public DataService(ClientQueryDeserializer queryDeserializer,
                    TypedAutoGridStructureDataProvider <CstReqCustoms> cstReqCustomsListDataProvider,
                    CstReqCustomsReportStructureDataProvider cstReqCustomsReportStructureDataProvider,
                    IWebClientWorkflowService service, IWorkflowStorage workflowStorage)
     : base(queryDeserializer, service, workflowStorage)
 {
     StructureDataProviders.Add(cstReqCustomsListDataProvider);
     StructureDataProviders.Add(cstReqCustomsReportStructureDataProvider);
 }
Ejemplo n.º 4
0
 public DataService(ClientQueryDeserializer queryDeserializer,
                    IwbGridStructureDataProvider iwbGridStructureDataProvider,
                    OwbGridStructureDataProvider owbGridStructureDataProvider,
                    IWebClientWorkflowService service, IWorkflowStorage workflowStorage)
     : base(queryDeserializer, service, workflowStorage)
 {
     StructureDataProviders.Add(iwbGridStructureDataProvider);
     StructureDataProviders.Add(owbGridStructureDataProvider);
 }
Ejemplo n.º 5
0
        public DataService(ClientQueryDeserializer queryDeserializer,
                           ChangeSetDeserializer changeSetDeserializer,
                           IChangeSetApplier changeSetApplier,
                           IUnitOfWorkFactory unitOfWorkFactory,
                           TETypeLookupStructureDataProvider teTypeLookupStructureDataProvider)
            : base(queryDeserializer, changeSetDeserializer, changeSetApplier, unitOfWorkFactory)
        {
            Contract.Requires(teTypeLookupStructureDataProvider != null);

            StructureDataProviders.Add(teTypeLookupStructureDataProvider);
        }
Ejemplo n.º 6
0
        public DataService(
            ClientQueryDeserializer queryDeserializer,
            IChangeSetApplier changeSetApplier,
            ChangeSetDeserializer changeSetDeserializer,
            IUnitOfWorkFactory unitOfWorkFactory,
            TypedAutoGridStructureDataProvider <YInternalTrafficMonitor> internalTrafficMonitorStructureDataProvider,
            ISessionFactory factory
            )
            : base(queryDeserializer, changeSetDeserializer, changeSetApplier, unitOfWorkFactory)
        {
            _factory = factory;
            StructureDataProviders.Add(internalTrafficMonitorStructureDataProvider);

            //CommittableBindingsProvider.Register(internalTrafficStructureDataProvider);
        }
Ejemplo n.º 7
0
        public DataService(
            ClientQueryDeserializer queryDeserializer,
            IChangeSetApplier changeSetApplier,
            ChangeSetDeserializer changeSetDeserializer,
            IUnitOfWorkFactory unitOfWorkFactory,
            WorkerCardStructureDataProvider workerStructureDataProvider,
            TypedAutoGridStructureDataProvider <WmsAddressBook> addressListStructureDataProvider
            )
            : base(queryDeserializer, changeSetDeserializer, changeSetApplier, unitOfWorkFactory)
        {
            StructureDataProviders.Add(workerStructureDataProvider);
            StructureDataProviders.Add(addressListStructureDataProvider);

            CommittableBindingsProvider.Register(workerStructureDataProvider);
        }
Ejemplo n.º 8
0
        public DataService(
            ClientQueryDeserializer queryDeserializer,
            IChangeSetApplier changeSetApplier,
            ChangeSetDeserializer changeSetDeserializer,
            IUnitOfWorkFactory unitOfWorkFactory,
            PassRequestCardStructureDataProvider cardStructureDataProvider,
            PassRequestListStructureDataProvider listStructureDataProvider
            )
            : base(queryDeserializer, changeSetDeserializer, changeSetApplier, unitOfWorkFactory)
        {
            StructureDataProviders.Add(cardStructureDataProvider);
            StructureDataProviders.Add(listStructureDataProvider);

            CommittableBindingsProvider.Register(cardStructureDataProvider);
            CommittableBindingsProvider.Register(listStructureDataProvider);
        }
Ejemplo n.º 9
0
        public DataService(
            ClientQueryDeserializer queryDeserializer,
            IChangeSetApplier changeSetApplier,
            ChangeSetDeserializer changeSetDeserializer,
            CustomUnitOfWorkFactory unitOfWorkFactory,
            ExternalTrafficCreateStructureDataProvider externalTrafficCreateStructureDataProvider,
            InternalTrafficCreateStructureDataProvider internalTrafficCreateStructureDataProvider
            )
            : base(queryDeserializer, changeSetDeserializer, changeSetApplier, unitOfWorkFactory)
        {
            StructureDataProviders.Add(externalTrafficCreateStructureDataProvider);
            StructureDataProviders.Add(internalTrafficCreateStructureDataProvider);

            CommittableBindingsProvider.Register(externalTrafficCreateStructureDataProvider);
            CommittableBindingsProvider.Register(internalTrafficCreateStructureDataProvider);
        }
Ejemplo n.º 10
0
        public DataService(
            ClientQueryDeserializer queryDeserializer,
            IChangeSetApplier changeSetApplier,
            ChangeSetDeserializer changeSetDeserializer,
            IUnitOfWorkFactory unitOfWorkFactory,
            ExternalTrafficStructureDataProvider externalTrafficStructureDataProvider,
            InternalTrafficSubListStructureDataProvider internalTrafficSubListStructureDataProvider,
            ISessionFactory factory
            )
            : base(queryDeserializer, changeSetDeserializer, changeSetApplier, unitOfWorkFactory)
        {
            _factory = factory;
            StructureDataProviders.Add(externalTrafficStructureDataProvider);
            StructureDataProviders.Add(internalTrafficSubListStructureDataProvider);

            CommittableBindingsProvider.Register(externalTrafficStructureDataProvider);
            CommittableBindingsProvider.Register(internalTrafficSubListStructureDataProvider);
        }
Ejemplo n.º 11
0
        public DataService(
            ClientQueryDeserializer queryDeserializer,
            IChangeSetApplier changeSetApplier,
            ChangeSetDeserializer changeSetDeserializer,
            IUnitOfWorkFactory unitOfWorkFactory,
            TypedAutoCardStructureDataProvider <SchJob> jobStructureDataProvider,
            TypedAutoGridStructureDataProvider <SchJobParam> jobParamListStructureDataProvider,
            TypedAutoGridStructureDataProvider <SchCronTrigger> cronTriggerStructureDataProvider,
            TypedAutoGridStructureDataProvider <SchSimpleTrigger> simpleTriggerStructureDataProvider
            )
            : base(queryDeserializer, changeSetDeserializer, changeSetApplier, unitOfWorkFactory)
        {
            StructureDataProviders.Add(jobStructureDataProvider);
            StructureDataProviders.Add(jobParamListStructureDataProvider);
            StructureDataProviders.Add(cronTriggerStructureDataProvider);
            StructureDataProviders.Add(simpleTriggerStructureDataProvider);

            CommittableBindingsProvider.Register(jobStructureDataProvider);
            CommittableBindingsProvider.Register(jobParamListStructureDataProvider);
            CommittableBindingsProvider.Register(cronTriggerStructureDataProvider);
            CommittableBindingsProvider.Register(simpleTriggerStructureDataProvider);
        }
Ejemplo n.º 12
0
        public DataService(ClientQueryDeserializer queryDeserializer,
                           ChangeSetDeserializer changeSetDeserializer,
                           IChangeSetApplier changeSetApplier,
                           IUnitOfWorkFactory unitOfWorkFactory,
                           CargoIwbCardStructureDataProvider cargoIwbCardStructureDataProvider,
                           CargoIwbLookupStructureDataProvider cargoIwbLookupStructureDataProvider,
                           CargoIwbPosByIwbGridStructureDataProvider cargoIwbPosByIwbGridStructureDataProvider,
                           CargoIwbPosGridStructureDataProvider cargoIwbPosGridStructureDataProvider,
                           Iwb2CargoGridStructureDataProvider iwb2CargoGridStructureDataProvider,
                           IwbCardStructureDataProvider iwbCardStructureDataProvider,
                           IwbGridStructureDataProvider iwbGridStructureDataProvider
                           )
            : base(queryDeserializer, changeSetDeserializer, changeSetApplier, unitOfWorkFactory)
        {
            Contract.Requires(cargoIwbCardStructureDataProvider != null);
            Contract.Requires(cargoIwbLookupStructureDataProvider != null);
            Contract.Requires(cargoIwbPosByIwbGridStructureDataProvider != null);
            Contract.Requires(cargoIwbPosGridStructureDataProvider != null);
            Contract.Requires(iwb2CargoGridStructureDataProvider != null);
            Contract.Requires(iwbCardStructureDataProvider != null);
            Contract.Requires(iwbGridStructureDataProvider != null);

            StructureDataProviders.Add(cargoIwbCardStructureDataProvider);
            StructureDataProviders.Add(cargoIwbLookupStructureDataProvider);
            StructureDataProviders.Add(cargoIwbPosByIwbGridStructureDataProvider);
            StructureDataProviders.Add(cargoIwbPosGridStructureDataProvider);
            StructureDataProviders.Add(iwb2CargoGridStructureDataProvider);
            StructureDataProviders.Add(iwbCardStructureDataProvider);
            StructureDataProviders.Add(iwbGridStructureDataProvider);

            CommittableBindingsProvider.Register(cargoIwbCardStructureDataProvider);
            CommittableBindingsProvider.Register(cargoIwbPosByIwbGridStructureDataProvider);
            CommittableBindingsProvider.Register(cargoIwbPosGridStructureDataProvider);
            CommittableBindingsProvider.Register(iwb2CargoGridStructureDataProvider);
            CommittableBindingsProvider.Register(iwbCardStructureDataProvider);
        }