| java.lang.Object dlog4j.CategoryManager
CategoryManager | public class CategoryManager (Code) | | 日记分类管理器
author: Liudong |
getCategory | public static CategoryForm getCategory(Session ssn, SiteForm site, int cat_id) throws HibernateException(Code) | | 读取日记分类的详细信息(管理级别的方法)
DlogCategoryAction的删除和更新分类方法用到该方法
Parameters: ssn - Parameters: site - Parameters: loginUser - Parameters: cat_id - throws: HibernateException - |
listCategories | public static List listCategories(Session ssn, SiteForm site) throws HibernateException(Code) | | 查询指定站点的所有日记分类(管理级别的方法)
DlogCategoryAction: doCreateCategory, doMoveDown, doMoveUp
Parameters: ssn - Parameters: site - throws: SQLException - throws: HibernateException - |
listCategories | public static List listCategories(Session ssn, SiteForm site, UserForm loginUser) throws HibernateException(Code) | | 查询某个用户可见的所有日记分类,用于浏览日记而非添加日记
CategoryTag.java (一般用途)
Parameters: ssn - Parameters: site - throws: SQLException - throws: HibernateException - |
listCategoriesForModify | public static List listCategoriesForModify(Session ssn, SiteForm site, UserForm loginUser) throws HibernateException(Code) | | 查询某个用户可见的所有日记分类,用于浏览日记而非添加日记
CategoryTag.java (一般用途)
Parameters: ssn - Parameters: site - throws: SQLException - throws: HibernateException - |
|
|