iuserdao.java

来自「esri的ArcGIS Server超级学习模板程序(for java)」· Java 代码 · 共 39 行

JAVA
39
字号
package com.esri.solutions.jitk.personalization.dao;

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

	/**
	 * Insert a single User record into the database.
	 * @param bookmark
	 */
	public void insert(UserRecord user) throws PersonalizationDAOException;

	/**
	 * Selects a single User record based on the input User Id and returns
	 * the information as a UserRecord.
	 * @param id
	 */
	public UserRecord selectOne(String id) throws PersonalizationDAOException;

	/**
	 * Updates a single User record.  All fields will be updated based on the 
	 * UserRecord passed in. 
	 * @param bookmark
	 */
	public void update(UserRecord user) throws PersonalizationDAOException;

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

}

⌨️ 快捷键说明

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