/** * @author * @desc this query support page * @param ClassInfoInfo * @param pageInfo * @return PageWraper */ public PageWraper getClassInfos(ClassInfoInfo model, PageInfo pageInfo) throws Exception { if (log.isDebugEnabled()) { log.debug( "getClassInfos(ClassInfoInfo model =" + model + ", PageInfo pageInfo = " + pageInfo + ")----begin"); } try { PageWraper list = dao.getClassInfos(model, pageInfo); if (log.isDebugEnabled()) { log.debug( "getClassInfos(ClassInfoInfo model =" + model + ", PageInfo pageInfo = " + pageInfo + ")----end"); } return list; } catch (Exception e) { if (log.isDebugEnabled()) { log.error( "getClassInfos(ClassInfoInfo model =" + model + ", PageInfo pageInfo = " + pageInfo + ")----error", e); } e.printStackTrace(); throw e; } }
/** @see pc.web.service.ClassInfoManager#saveClassInfo(pc.web.vo.ClassInfo) */ public void saveClassInfo(ClassInfo classInfo) throws Exception { try { dao.saveClassInfo(classInfo); } catch (Exception e) { throw e; } }
/** @see pc.web.service.ClassInfoManager#getClassInfos(pc.web.vo.ClassInfo) */ public List getClassInfos(ClassInfo classInfo) throws Exception { try { return dao.getClassInfos(classInfo); } catch (Exception e) { throw e; } }
/** @see pc.web.service.ClassInfoManager#getClassInfo(java.lang.String) */ public ClassInfo getClassInfo(Short pkey) throws Exception { try { return dao.getClassInfo(pkey); } catch (Exception e) { throw e; } }
public List getClassInfosByClassType(String classType) throws Exception { try { return dao.getClassInfosByClassType(classType); } catch (Exception e) { throw e; } }
@Override public List getClassInfoByClassTypeAndParentId(String classType, String parentId) throws Exception { try { return dao.getClassInfoByClassTypeAndParentId(classType, parentId); } catch (Exception e) { throw e; } }
/** @see pc.web.service.ClassInfoManager#removeClassInfo(java.lang.String) */ public void removeClassInfo(Short pkey) throws Exception { try { if (log.isDebugEnabled()) { log.debug("removing classInfo: " + pkey); } dao.removeClassInfo(pkey); } catch (Exception e) { throw e; } }
@Override public List getClassInfosForJsGen() throws Exception { return dao.getClassInfosForJsGen(); }