コード例 #1
0
 public void SetSearchSetting(SearchSettingInfo searchSettingObj, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         AspxSearchController.SetSearchSetting(searchSettingObj, aspxCommonObj);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
コード例 #2
0
 public List <SearchTermList> GetTopSearchTerms(AspxCommonInfo aspxCommonObj, int Count)
 {
     try
     {
         List <SearchTermList> searchList = AspxSearchController.GetTopSearchTerms(aspxCommonObj, Count);
         return(searchList);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
コード例 #3
0
 public List <CategoryInfo> GetAllCategoryForSearch(string prefix, bool isActive, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List <CategoryInfo> catList = AspxSearchController.GetAllCategoryForSearch(prefix, isActive, aspxCommonObj);
         return(catList);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
コード例 #4
0
        //----------------General Search Sort By DropDown Options----------------------------

        public List <ItemBasicDetailsInfo> GetSimpleSearchResult(int offset, int limit, int categoryID, bool isGiftCard, string searchText, int sortBy, int rowTotal, AspxCommonInfo aspxCommonObj)
        {
            try
            {
                List <ItemBasicDetailsInfo> lstItemBasic = AspxSearchController.GetSimpleSearchResult(offset, limit, categoryID, isGiftCard, searchText, sortBy, rowTotal, aspxCommonObj);
                return(lstItemBasic);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
コード例 #5
0
 //Search Setting
 public SearchSettingInfo GetSearchSetting(AspxCommonInfo aspxCommonObj)
 {
     try
     {
         SearchSettingInfo objSearchSetting = AspxSearchController.GetSearchSetting(aspxCommonObj);
         return(objSearchSetting);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
コード例 #6
0
 public List <SortOptionTypeInfo> BindItemsSortByList()
 {
     try
     {
         List <SortOptionTypeInfo> bind = AspxSearchController.BindItemsSortByList();
         return(bind);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
コード例 #7
0
        //[WebMethod]
        //public List<SortOptionTypeInfo> BindItemsSortByList()
        //{
        //    try
        //    {
        //        List<SortOptionTypeInfo> bind = AspxSearchController.BindItemsSortByList();
        //        return bind;
        //    }
        //    catch (Exception ex)
        //    {
        //        throw ex;
        //    }
        //}

        public List <ItemBasicDetailsInfo> GetItemsByGeneralSearch(int storeID, int portalID, string nameSearchText, float priceFrom, float priceTo,
                                                                   string skuSearchText, int categoryID, string categorySearchText, bool isByName, bool isByPrice, bool isBySKU, bool isByCategory, string userName, string cultureName)
        {
            try
            {
                List <ItemBasicDetailsInfo> lstItemBasic = AspxSearchController.GetItemsByGeneralSearch(storeID, portalID, nameSearchText, priceFrom, priceTo,
                                                                                                        skuSearchText, categoryID, categorySearchText, isByName, isByPrice, isBySKU, isByCategory, userName, cultureName);
                return(lstItemBasic);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
コード例 #8
0
        //Auto Complete search Box

        public List <SearchTermList> GetSearchedTermList(string search, AspxCommonInfo aspxCommonObj)
        {
            List <SearchTermList> srInfo = AspxSearchController.GetSearchedTermList(search, aspxCommonObj);

            return(srInfo);
        }