/* ==================================================================
* Created [2009-4-27 下午11:32:55] by Jon.King
* ==================================================================
* TSS
* ==================================================================
* mailTo:jinpujun@hotmail.com
* Copyright (c) Jon.King, 2009-2012
* ==================================================================
*/
package com.jinhe.tss.component.param;
import java.util.List;
import com.jinhe.tss.component.param.entity.Param;
import com.jinhe.tss.component.support.persistence.ITreeSupportDao;
public interface ParamDao extends ITreeSupportDao<Param>{
List<?> getAllParam();
/**
* 根据code值获取参数。(区分参数组、参数、参数项的概念)
* @param code
* @return
*/
Param getParamByCode(String code);
List<?> getCanAddParamsAndGroups(Integer mode);
List<?> getCanAddParams(Integer mode);
List<?> getCanAddGroups();
}