public static int GetTotalOfCreateHtmlCommonModelInfo(int nodeId, int created, ContentSortType sortType, bool isEshop) { return(dal.GetTotalOfCommonModelInfo()); }
public static int GetTotalOfCommonModelInfoBySpecialIdOrSpecialCategoryId(int specialId, int specialCategoryId, ContentSortType sortType, int status) { if ((specialCategoryId > 0) && (specialId == 0)) { return(GetTotalOfCommonModelInfoBySpecialCategoryId(specialCategoryId, sortType, status)); } return(GetTotalOfCommonModelInfoBySpecialId(specialId, sortType, status)); }
public static int GetTotalOfCommonModelInfoByUserName(string userName, int nodeId, ContentSortType sortType, int status, string title) { return(dal.GetTotalOfCommonModelInfo()); }
public static int GetTotalOfCommonModelInfoBySignInType(int nodeId, int signInType, ContentSortType sortType, int status, string searchType, string keyword) { return(dal.GetTotalOfCommonModelInfo()); }
public static int GetTotalOfCommonModelInfoBySpecialId(int specialId, ContentSortType sortType, int status) { return(dal.GetTotalOfCommonModelInfoBySpecialId()); }
public static IList <CommonModelInfo> GetSearchContentList(int startRowIndexId, int maxNumberRows, int nodeId, ContentSortType sortType, int status, string searchType, string keyword) { string nodeIds = ""; string roles = ""; CommonMethod(nodeId, ref nodeIds, ref roles); string cacheContentModelIdList = ModelManager.GetCacheContentModelIdList(); if (!string.IsNullOrEmpty(keyword) && (nodeId > 0)) { return(dal.GetSearchContentList(startRowIndexId, maxNumberRows, nodeIds, cacheContentModelIdList, sortType, status, roles, searchType, keyword, nodeId, ModelManager.GetNodeFieldList(nodeId))); } return(dal.GetSearchContentList(startRowIndexId, maxNumberRows, nodeIds, cacheContentModelIdList, sortType, status, roles, searchType, keyword, nodeId, null)); }
public static int GetTotalOfCommonModelInfo(string nodeId, int modelId, ContentSortType sortType, int status) { return(dal.GetTotalOfCommonModelInfo()); }
public static IList <CommonModelInfo> GetCommonModelInfoListByUserName(int startRowIndexId, int maxNumberRows, string userName, int nodeId, ContentSortType sortType, int status, string title) { string nodeArrChildId = GetNodeArrChildId(nodeId); return(dal.GetCommonModelInfoListByUserName(startRowIndexId, maxNumberRows, userName, nodeArrChildId, sortType, status, title)); }
public static IList <CommonModelInfo> GetCreateHtmlCommonModelInfoList(int startRowIndexId, int maxNumberRows, int nodeId, int created, ContentSortType sortType, bool isEshop) { string nodeArrChildId = GetNodeArrChildId(nodeId); return(dal.GetCreateHtmlCommonModelInfoList(startRowIndexId, maxNumberRows, nodeArrChildId, created, sortType, isEshop)); }
public static IList <SpecialCommonModelInfo> GetCommonModelInfoListBySpecialIdOrSpecialCategoryId(int startRowIndexId, int maxNumberRows, int specialId, int specialCategoryId, ContentSortType sortType, int status) { IList <SpecialCommonModelInfo> list = new List <SpecialCommonModelInfo>(); if ((specialCategoryId > 0) && (specialId == 0)) { return(GetCommonModelInfoListBySpecialCategoryId(startRowIndexId, maxNumberRows, specialCategoryId, sortType, status)); } return(GetCommonModelInfoListBySpecialId(startRowIndexId, maxNumberRows, specialId, sortType, status)); }
public static IList <SpecialCommonModelInfo> GetCommonModelInfoListBySpecialId(int startRowIndexId, int maxNumberRows, int specialId, ContentSortType sortType, int status) { string roleIds = ""; if (!PEContext.Current.Admin.IsSuperAdmin) { roleIds = PEContext.Current.Admin.Roles; } return(dal.GetCommonModelInfoListBySpecialId(startRowIndexId, maxNumberRows, specialId, sortType, status, roleIds, false)); }
public static IList <CommonModelInfo> GetCommonModelInfoListBySignInType(int startRowIndexId, int maxNumberRows, int nodeId, int signInType, ContentSortType sortType, int status, string searchType, string keyword) { string nodeArrChildId = GetNodeArrChildId(nodeId); return(dal.GetCommonModelInfoListBySignInType(startRowIndexId, maxNumberRows, nodeArrChildId, signInType, sortType, status, searchType, DataSecurity.FilterBadChar(keyword))); }
public static IList <CommonModelInfo> GetCommonModelInfoListByShop(int startRowIndexId, int maxNumberRows, int nodeId, ContentSortType sortType, int status) { string nodeIds = ""; string roles = ""; CommonMethod(nodeId, ref nodeIds, ref roles); return(dal.GetCommonModelInfoListByShop(startRowIndexId, maxNumberRows, nodeIds, sortType, status, roles)); }
public static IList <CommonModelInfo> GetAdvancedSearchContentList(int startRowIndexId, int maxNumberRows, string nodeId, int modelId, ContentSortType sortType, int status) { if (((HttpContext.Current.Session["SearchFieldName"] == null) || string.IsNullOrEmpty(HttpContext.Current.Session["SearchFieldName"].ToString())) || (modelId == 0)) { return(new List <CommonModelInfo>()); } ModelInfo cacheModelById = ModelManager.GetCacheModelById(modelId); if (cacheModelById.IsNull) { return(new List <CommonModelInfo>()); } IList <FieldInfo> fieldList = Field.GetFieldList(modelId); return(dal.GetAdvancedSearchContentList(startRowIndexId, maxNumberRows, nodeId, cacheModelById, fieldList, sortType, status, HttpContext.Current.Session["SearchFieldName"].ToString(), HttpContext.Current.Session["SearchFieldValue"].ToString())); }