thotspotdao.java
来自「利用hibernate框架进行开发的全景浏览与导航系统。」· Java 代码 · 共 50 行
JAVA
50 行
package com.shandong.bean.dao.iface;
public interface THotspotDAO {
public com.shandong.bean.THotspot get(Integer key);
public com.shandong.bean.THotspot load(Integer key);
public java.util.List<com.shandong.bean.THotspot> findAll ();
/**
* Persist the given transient instance, first assigning a generated identifier. (Or using the current value
* of the identifier property if the assigned generator is used.)
* @param tHotspot a transient instance of a persistent class
* @return the class identifier
*/
public Integer save(com.shandong.bean.THotspot tHotspot);
/**
* Either save() or update() the given instance, depending upon the value of its identifier property. By default
* the instance is always saved. This behaviour may be adjusted by specifying an unsaved-value attribute of the
* identifier property mapping.
* @param tHotspot a transient instance containing new or updated state
*/
public void saveOrUpdate(com.shandong.bean.THotspot tHotspot);
/**
* Update the persistent state associated with the given identifier. An exception is thrown if there is a persistent
* instance with the same identifier in the current session.
* @param tHotspot a transient instance containing updated state
*/
public void update(com.shandong.bean.THotspot tHotspot);
/**
* Remove a persistent instance from the datastore. The argument may be an instance associated with the receiving
* Session or a transient instance with an identifier associated with existing persistent state.
* @param id the instance ID to be removed
*/
public void delete(Integer id);
/**
* Remove a persistent instance from the datastore. The argument may be an instance associated with the receiving
* Session or a transient instance with an identifier associated with existing persistent state.
* @param tHotspot the instance to be removed
*/
public void delete(com.shandong.bean.THotspot tHotspot);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?