// returns a list of ProductHistory contracts from ProductSearchService // links: // docLink: http://sql2x.org/documentationLink/0b582d9b-64df-473e-9f42-7ce7701e67f0 // parameters: // productId: filter by this key, 00000000-0000-0000-0000-000000000000 for no filter public virtual List <ProductHistoryContract> ProductHistory(System.Guid productId) { // transfer all ProductHistory serialized objects from ProductSearch as ProductHistory contracts var dataAccessLayer = new SolutionNorSolutionPim.DataAccessLayer.ProductSearch(); var businessLogicLayer = new ProductHistory(); return(businessLogicLayer.ProductHistoryFromDal(dataAccessLayer.ProductHistory(productId))); }
// returns a list of ProductSearchById contracts // links: // docLink: http://sql2x.org/documentationLink/eb26aecd-6edc-44ae-938f-42f53929062d // parameters: // productId: filter by this key, 00000000-0000-0000-0000-000000000000 for no filter public ProductSearchByIdContract ProductSearchById(System.Guid productId) { // transfer all ProductSearchById serialized objects from ProductSearch as ProductSearchById contracts var dataAccessLayer = new SolutionNorSolutionPim.DataAccessLayer.ProductSearch(); var businessLogicLayer = new ProductSearchById(); return(businessLogicLayer.ProductSearchByIdFromDal(dataAccessLayer.ProductSearchById(productId))); }
// returns a list of ProductSearchByName contracts // links: // docLink: http://sql2x.org/documentationLink/eb26aecd-6edc-44ae-938f-42f53929062d // parameters: // productName: filter by this key, 00000000-0000-0000-0000-000000000000 for no filter public List <ProductSearchByNameContract> ProductSearchByName(System.String productName) { // transfer all ProductSearchByName serialized objects from ProductSearch as ProductSearchByName contracts var dataAccessLayer = new SolutionNorSolutionPim.DataAccessLayer.ProductSearch(); var businessLogicLayer = new ProductSearchByName(); return(businessLogicLayer.ProductSearchByNameFromDal(dataAccessLayer.ProductSearchByName(productName))); }
// returns a list of ProductSearchByCategory contracts // links: // docLink: http://sql2x.org/documentationLink/eb26aecd-6edc-44ae-938f-42f53929062d // parameters: // productCategoryId: filter by this key, 00000000-0000-0000-0000-000000000000 for no filter // onParent: filter by this key, 00000000-0000-0000-0000-000000000000 for no filter public List <ProductSearchByCategoryContract> ProductSearchByCategory(System.Guid productCategoryId, System.Boolean onParent) { // transfer all ProductSearchByCategory serialized objects from ProductSearch as ProductSearchByCategory contracts var dataAccessLayer = new SolutionNorSolutionPim.DataAccessLayer.ProductSearch(); var businessLogicLayer = new ProductSearchByCategory(); return(businessLogicLayer.ProductSearchByCategoryFromDal(dataAccessLayer.ProductSearchByCategory(productCategoryId, onParent))); }