icodeservice.java

来自「struts+spring+hibernate自创框架」· Java 代码 · 共 56 行

JAVA
56
字号
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 + =
减小字号Ctrl + -
显示快捷键?