C# Class AspNet.StarterKits.Classifieds.Web.CategoryCache

Show file Open project: mono/gert

Public Methods

Method Description
ClearAll ( HttpContext context ) : void
GetAllCategories ( ) : List
GetAllCategories ( HttpContext context ) : List
GetBrowseCategoriesByParentId ( int parentCategoryId ) : List
GetCategoriesByParentId ( HttpContext context, int parentCategoryId, bool updateFrequently ) : List
GetCategoriesByParentId ( int parentCategoryId ) : List
GetParentCategoriesById ( HttpContext context, int categoryId ) : List
GetParentCategoriesById ( int categoryId ) : List

Private Methods

Method Description
CategoryCache ( ) : System
FetchAllCategories ( ) : List
FetchCategoriesByParentId ( int parentCategoryId ) : List
FetchCategoriesRecursively ( bool recursing, List list, CategoriesDB db, int categoryId, string levelPrefix ) : void
FetchParentCategoriesById ( int categoryId ) : List

Method Details

ClearAll() public static method

public static ClearAll ( HttpContext context ) : void
context System.Web.HttpContext
return void

GetAllCategories() public static method

public static GetAllCategories ( ) : List
return List

GetAllCategories() public static method

public static GetAllCategories ( HttpContext context ) : List
context System.Web.HttpContext
return List

GetBrowseCategoriesByParentId() public static method

public static GetBrowseCategoriesByParentId ( int parentCategoryId ) : List
parentCategoryId int
return List

GetCategoriesByParentId() public static method

public static GetCategoriesByParentId ( HttpContext context, int parentCategoryId, bool updateFrequently ) : List
context System.Web.HttpContext
parentCategoryId int
updateFrequently bool
return List

GetCategoriesByParentId() public static method

public static GetCategoriesByParentId ( int parentCategoryId ) : List
parentCategoryId int
return List

GetParentCategoriesById() public static method

public static GetParentCategoriesById ( HttpContext context, int categoryId ) : List
context System.Web.HttpContext
categoryId int
return List

GetParentCategoriesById() public static method

public static GetParentCategoriesById ( int categoryId ) : List
categoryId int
return List