?? cmschannelmng.java
字號:
package com.jeecms.cms.manager;
import java.util.Collection;
import java.util.List;
import com.jeecms.core.JeeCoreManager;
import com.jeecms.core.util.UploadRule;
import com.jeecms.cms.entity.CmsAdmin;
import com.jeecms.cms.entity.CmsChannel;
public interface CmsChannelMng extends JeeCoreManager<CmsChannel> {
/**
* 獲得欄目子節點。
* <p>
* start和count都為0時,不限制結果數量。
* </p>
*
* @param webId
* @param pid
* 父節點ID
* @param orderBy
* 排序方式。0:優先級升序;1:優先級降序;2:點擊次數升序;3:點擊次數降序
* @param isDisplay
* 是否只獲取顯示的欄目
* @param hasChild
* 是否只獲取可以有內容的欄目
* @param start
* @param count
* @return
*/
public List<CmsChannel> getChild(Long webId, String sysType, Long pid,
int orderBy, boolean isDisplay, boolean hasChild, int start,
int count);
/**
* 通過欄目路徑獲得欄目對象
*
* @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
* @param hasChild
* @return
*/
public CmsChannel getRoot(Long webId, String sysType, boolean hasChild);
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 CmsChannel saveChannel(CmsChannel chnl, CmsAdmin admin,
Collection<CmsAdmin> admins, UploadRule rule);
public CmsChannel updateChannel(CmsChannel chnl, CmsAdmin admin,
Collection<CmsAdmin> admins, UploadRule rule);
public List<CmsChannel> getChnlsForMember(Long webId, Integer groupLevel);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -