cmschanneldao.java

来自「JAVA做的CMS源码」· Java 代码 · 共 50 行

JAVA
50
字号
package com.jeecms.cms.dao;

import java.util.List;

import com.jeecms.cms.entity.CmsChannel;
import com.jeecms.core.JeeCoreDao;

public interface CmsChannelDao extends JeeCoreDao<CmsChannel> {
	/**
	 * 根据路径查找栏目
	 * 
	 * @param webId
	 * @param path
	 *            栏目路径
	 * @return
	 */
	public CmsChannel getByPath(Long webId, String path);

	/**
	 * 查找根栏目
	 * 
	 * @param webId
	 * @param sysType
	 *            系统类型
	 * @return
	 */
	public CmsChannel getRoot(Long webId, String sysType);

	/**
	 * 查找根栏目,启动过滤器,过滤不能有子节点的栏目。
	 * 
	 * @param webId
	 * @param sysType
	 * @return
	 */
	public CmsChannel getRootWithFilter(Long webId, String sysType);

	public boolean isChild(Long pid, Long cid);

	public List<CmsChannel> getRightChnl(Long webId, String sysType,
			Long adminId, Boolean hasChild);

	public List<CmsChannel> getRightChnl(Long webId, String sysType,
			Long chnlId, Long adminId, Long modelId, Boolean hasChild);

	public List<CmsChannel> getChnlsAndExclude(Long webId, String sysType,
			Long excludeNode);

	public List<CmsChannel> getChnlsForMember(Long webId, Integer groupLevel);
}

⌨️ 快捷键说明

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