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

📄 imapcompositiondao.java

📁 esri的ArcGIS Server超级学习模板程序(for java)
💻 JAVA
字号:
package com.esri.solutions.jitk.personalization.dao;
import java.util.List;

/**
 * @author Derek Sedlmyer
 * @version 1.0
 * @created 05-Nov-2007 10:29:36 AM
 * 
 * The interface used to persist and retrieve Bookmark Records to the database. Includes various 
 * Select, Insert, Update, and Delete methods. 
 */
public interface IMapCompositionDAO {

	/**
	 * Insert a single MapComposition record into the database.
	 * @param mapComp
	 */
	public void insert(MapCompositionRecord mapcomp) throws PersonalizationDAOException;

	/**
	 * Selects a set of MapComposition records based on input Criteria and returns a list
	 * of MapCompositionInfoRecords.
	 * @param Criteria
	 * @return List<MapCompositionInfoRecord>
	 * @throws PersonalizationDAOException
	 */
	public List<MapCompositionInfoRecord> selectAll(Criteria criteria) throws PersonalizationDAOException;

	/**
	 * Counts the number of MapComposition records based on the input Criteria and returns
	 * the count as an integer.
	 * @param Criteria
	 * @return int 
	 * @throws PersonalizationDAOException
	 */
	public int selectAllCount(Criteria criteria) throws PersonalizationDAOException;

	/**
	 * Selects a subset of MapComposition records based on input Criteria and PageInfo and returns
	 * the subset as a list of MapCompositionInfoRecords. It's used to page through the results
	 * as users move forward or backward through a list of records.
	 * @param Criteria
	 * @param PageInfo
	 */
	public List<MapCompositionInfoRecord> selectPage(Criteria criteria, PageInfo pageInfo) throws PersonalizationDAOException;
	
	/**
	 * Selects a single MapComposition record based on the input MapComposition Id and returns
	 * the information as a MapCompositionRecord.
	 * @param id
	 */
	public MapCompositionRecord selectOne(String id) throws PersonalizationDAOException;


	/**
	 * Updates a single MapComposition record.  All fields will be updated based on the 
	 * MapCompositionRecord passed in. 
	 * @param mapComp
	 */
	public void update(MapCompositionRecord mapcomp) throws PersonalizationDAOException;

	/**
	 * Deletes a single MapComposition record based on input MapComposition Id.
	 * @param id
	 */
	public void delete(String id) throws PersonalizationDAOException;

}

⌨️ 快捷键说明

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