Пример #1
0
        public DataService GetServiceForFlow(string flowId, string request, ServiceType serviceType)
        {
            IList <DataService> services =
                ServiceDao.GetDataServicesForFlow(flowId, request, serviceType);

            return(CollectionUtils.IsNullOrEmpty(services) ? null : services[0]);        // TODO: Return first if more than one?
        }
Пример #2
0
 /// <summary>
 /// Return the data services for the flow with the specified flow id, or null
 /// if the id is not found.
 /// </summary>
 public IList <DataService> GetDataServicesForFlow(string flowId, bool includeServiceParameters)
 {
     return(ServiceDao.GetDataServicesForFlow(flowId, includeServiceParameters));
 }
Пример #3
0
 private void PostMapDataRequest(DataRequest request, string serviceId, bool paramsByName)
 {
     GetRequestArguments(request, paramsByName);
     request.Service = ServiceDao.GetDataService(serviceId);
 }