⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cmsinfodao.java

📁 前台:文章浏览、发表留言、Game、Music 后台:文章相关:发表文章、修改文章、删除文章、批量移动文章 栏目相关:增加栏目、修改栏目、删除栏目、栏目链接、栏目排序系统栏目分为系统内部栏目和外部栏目
💻 JAVA
字号:
package com.yhcms.cmsinfo.itface;

import java.util.List;
import com.yhcms.cmsinfo.bean.AboutUsInfo;
import com.yhcms.cmsinfo.bean.CmsInfo;
import com.yhcms.cmsinfo.bean.Link;
import com.yhcms.cmsinfo.bean.Notice;
import com.yhcms.cmsinfo.bean.Survey;
import com.yhcms.db.DBConnException;

/**
 * <p>Title:系统属性数据操作</p>
 * <li>系统各属性的相关操作</li>
 * <br><b>CopyRight: yyhweb[由由华网]</b>
 * @author stephen
 * @version YH-2.0
 */
public interface CmsInfoDao {
	
	/** 取得系统属性
	 * @return 系统属性
	 * @throws DBConnException
	 */
	public abstract CmsInfo getCmsInfo() throws DBConnException;
	
	/** 更新系统属性
	 * @param cmsInfo 系统属性
	 * @return 成功:ture  失败:false
	 * @throws DBConnException
	 */
	public abstract boolean updateCmsInfo(CmsInfo cmsInfo) throws DBConnException;
	
	/** 增加关于我们,版权申明,联系我们信息
	 * @param aboutus 系统信息
	 * @param info 标示信息
	 * @return 成功:ture  失败:false
	 * @throws DBConnException
	 */
	public abstract boolean addAboutUs(AboutUsInfo aboutus,String info) throws DBConnException;
	
	/** 更新关于我们,版权申明,联系我们信息
	 * @param aboutus 系统信息
	 * @param info 标示信息
	 * @return 成功:ture  失败:false
	 * @throws DBConnException
	 */
	public abstract boolean updateAboutUs(AboutUsInfo aboutus,String info) throws DBConnException;
	
	/** 取得关于我们,版权申明,联系我们信息
	 * @param action 要取得的信息
	 * @return 取得信息
	 * @throws DBConnException
	 */
	public abstract AboutUsInfo getAboutUs(String action) throws DBConnException;
	
	/** 取得系统公告
	 * @param id 公告Id
	 * @return 系统公告
	 * @throws DBConnException
	 */
	public abstract Notice getNotice(int id) throws DBConnException;
	
	/** 取得系统公告列表
	 * @return 系统公告列表
	 * @throws DBConnException
	 */
	public abstract List getAllNotice() throws DBConnException;
	
	
	/** 增加系统公告
	 * @param notice 系统公告
	 * @return 成功:ture  失败:false
	 * @throws DBConnException
	 */
	public abstract boolean addNotice(Notice notice) throws DBConnException;
	
	/** 更新系统公告
	 * @param notice 系统公告
	 * @return 成功:ture  失败:false
	 * @throws DBConnException
	 */
	public abstract boolean updateNotice(Notice notice) throws DBConnException;
	
	/** 删除系统公告
	 * @param id 公告Id
	 * @return 成功:ture  失败:false
	 * @throws DBConnException
	 */
	public abstract boolean deleteNotice(int id) throws DBConnException;
	
	/** 取得所有系统调查列表
	 * @return 调查列表
	 * @throws DBConnException
	 */
	public abstract List getAllSurvey() throws DBConnException;
	
	/** 增加系统调查
	 * @param survey 系统调查
	 * @return 成功:ture  失败:false
	 * @throws DBConnException
	 */
	public abstract boolean addSurvey(Survey survey) throws DBConnException;
	
	/** 增加一个友情链接
	 * @param link 友情链接
	 * @return 成功:ture  失败:false
	 * @throws DBConnException
	 */
	public abstract boolean addLink(Link link) throws DBConnException;
	
	/** 删除一个友情链接
	 * @param id 友情链接Id
	 * @return 成功:ture  失败:false
	 * @throws DBConnException 
	 */
	public abstract boolean deleteLink(int id) throws DBConnException;
	
	/** 更新一个友情链接
	 * @param link 友情链接
	 * @return 成功:ture  失败:false
	 * @throws DBConnException 
	 */
	public abstract boolean updateLink(Link link) throws DBConnException;
	
	/** 取得一个友情链接
	 * @param id 友情链接Id
	 * @return 友情链接
	 * @throws DBConnException
	 */
	public abstract Link getLink(int id) throws DBConnException;
	
	/** 取得所有友情链接
	 * @return 友情链接列表
	 * @throws DBConnException
	 */
	public abstract List getAllLink() throws DBConnException;
	
	/** 取得所有已经审核的友情链接
	 * @return 友情链接列表
	 * @throws DBConnException
	 */
	public abstract List getCheckedLink() throws DBConnException;
	
	/** 取得所有文本友情链接
	 * @return 文本友情链接列表
	 * @throws DBConnException
	 */
	public abstract List getAllTextLink() throws DBConnException;
	
	/** 取得所有图片友情链接
	 * @return 图片友情链接列表
	 * @throws DBConnException
	 */
	public abstract List getAllImgLink() throws DBConnException;
	
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -