/// <summary> /// Get information about all factor data types. /// </summary> /// <param name="clientInformation">Information about the client that makes this web service call.</param> /// <returns>Factor data types.</returns> public List <WebFactorDataType> GetFactorDataTypes(WebClientInformation clientInformation) { using (WebServiceContext context = GetWebServiceContext(clientInformation)) { try { return(FactorManager.GetFactorDataTypes(context)); } catch (Exception exception) { WebServiceData.LogManager.LogError(context, exception); throw; } } }
/// <summary> /// Get information about factor trees that matches the search criteria. /// </summary> /// <param name="clientInformation">Information about the client that makes this web service call.</param> /// <param name="searchCriteria">Factor tree information.</param> /// <returns>Factor trees.</returns> public List <WebFactorTreeNode> GetFactorTreesBySearchCriteria(WebClientInformation clientInformation, WebFactorTreeSearchCriteria searchCriteria) { using (WebServiceContext context = GetWebServiceContext(clientInformation)) { try { return(FactorManager.GetFactorTreesBySearchCriteria(context, searchCriteria)); } catch (Exception exception) { WebServiceData.LogManager.LogError(context, exception); throw; } } }