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

📄 icodeservice.java

📁 struts+spring+hibernate自创框架
💻 JAVA
字号:
package com.pegasus.framework.sys.service;

import java.util.List;
import java.util.Map;

import org.hibernate.criterion.Criterion;

import com.pegasus.framework.exception.BusinessException;
import com.pegasus.framework.service.IBasicService;
import com.pegasus.framework.sys.pojo.vo.Code;


/**
 * The Interface ICodeService.
 */
public interface ICodeService extends IBasicService {

	
	/**
	 * Gets the code list.
	 * 
	 * @param indexId the index id
	 * 
	 * @return the code list
	 * 
	 * @throws Exception the exception
	 */
	List<Code> getCodeList(String indexId) throws BusinessException;

   
    /**
     * Gets the code list.
     * 
     * @param indexId the index id
     * @param query the query
     * 
     * @return the code list
     * 
     * @throws Exception the exception
     */
    List<Code> getCodeList(String indexId, Criterion query) throws BusinessException;

    Map<String,Code> getCodeMapByName(String indexId) throws BusinessException;
    /**
     * Gets the code by name.
     * 
     * @param indexId the index id
     * @param name the name
     * 
     * @return the code by name
     * 
     * @throws Exception the exception
     */
    Code getCodeByName(String indexId, String name) throws BusinessException;
}

⌨️ 快捷键说明

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