| java.lang.Object dlog4j.ParamManager
ParamManager | public class ParamManager (Code) | | author: Liudong author: 系统参数管理接口 |
Method Summary | |
public static Date | getDateParam(Session ssn, SiteForm site, String param, Date defValue) | public static Date | getDateTimeParam(Session ssn, SiteForm site, String param, Date defValue) | public static int | getIntParam(Session ssn, SiteForm site, String param, int defValue) | public static int | getLogPerPage(Session ssn, SiteForm site) | public static ParamForm | getParam(Session ssn, SiteForm site, String param) | public static String | getStringParam(Session ssn, SiteForm site, String param, String defValue) | public static Date | getTimeParam(Session ssn, SiteForm site, String param, Date defValue) | public static List | listParams(Session ssn, SiteForm site) |
getIntParam | public static int getIntParam(Session ssn, SiteForm site, String param, int defValue) throws SQLException, HibernateException(Code) | | 获取整形参数值
Parameters: ssn - Parameters: site - Parameters: param - Parameters: defValue - throws: Exception - |
getLogPerPage | public static int getLogPerPage(Session ssn, SiteForm site) throws Exception(Code) | | 获取指定站点设定的每页显示的日记数
Parameters: ssn - Parameters: site - throws: Exception - |
listParams | public static List listParams(Session ssn, SiteForm site) throws HibernateException(Code) | | 列出某个站点的所有参数信息
Parameters: ssn - Parameters: site - throws: HibernateException - |
|
|