資源簡介
一個基于SSH功能完善的通訊錄 可以用eclipse倒入。內含數據庫文件。

代碼片段和文件信息
package?com.relationinfo.txl.dao;
import?com.relationinfo.txl.dto.*;
import?com.relationinfo.txl.exceptions.*;
import?java.sql.CallableStatement;
public?interface?FriendDao
{
/**?
?*?增加新記錄到?friend?table.
?*/
public?FriendPk?insert(Friend?dto)?throws?FriendDaoException;
/**?
?*?更新單筆記錄?friend?table.
?*/
public?void?update(FriendPk?pk?Friend?dto)?throws?FriendDaoException;
/**?
?*?Deletes?a?single?row?in?the?friend?table.
?*/
public?void?delete(FriendPk?pk)?throws?FriendDaoException;
/**?
?*?返回符合指定主鍵值的記錄.
?*/
public?Friend?findByPrimaryKey(FriendPk?pk)?throws?FriendDaoException;
/**?
?*?返回所有的記錄,滿足條件?‘xmjp?=?:xmjp‘.
?*/
public?Friend?findByPrimaryKey(String?xmjp)?throws?FriendDaoException;
/**?
?*?返回所有的記錄,滿足條件?‘‘.
?*/
public?Friend[]?findAll()?throws?FriendDaoException;
/**?
?*?返回所有的記錄,滿足條件?‘groupid?=?:groupid‘.
?*/
public?Friend[]?findByGroup1(String?groupid)?throws?FriendDaoException;
/**?
?*?返回所有的記錄,滿足條件?‘xmjp?=?:xmjp‘.
?*/
public?Friend[]?findWhereXmjpEquals(String?xmjp)?throws?FriendDaoException;
/**?
?*?返回所有的記錄,滿足條件?‘groupid?=?:groupid‘.
?*/
public?Friend[]?findWhereGroupidEquals(String?groupid)?throws?FriendDaoException;
/**?
?*?返回所有的記錄,滿足條件?‘name?=?:name‘.
?*/
public?Friend[]?findWhereNameEquals(String?name)?throws?FriendDaoException;
/**?
?*?返回所有的記錄,滿足條件?‘age?=?:age‘.
?*/
public?Friend[]?findWhereAgeEquals(String?age)?throws?FriendDaoException;
/**?
?*?返回所有的記錄,滿足條件?‘sex?=?:sex‘.
?*/
public?Friend[]?findWhereSexEquals(String?sex)?throws?FriendDaoException;
/**?
?*?返回所有的記錄,滿足條件?‘Professional?=?:professional‘.
?*/
public?Friend[]?findWhereProfessionalEquals(String?professional)?throws?FriendDaoException;
/**?
?*?返回所有的記錄,滿足條件?‘Scholarship?=?:scholarship‘.
?*/
public?Friend[]?findWhereScholarshipEquals(String?scholarship)?throws?FriendDaoException;
/**?
?*?返回所有的記錄,滿足條件?‘address?=?:address‘.
?*/
public?Friend[]?findWhereAddressEquals(String?address)?throws?FriendDaoException;
/**?
?*?返回所有的記錄,滿足條件?‘email?=?:email‘.
?*/
public?Friend[]?findWhereEmailEquals(String?email)?throws?FriendDaoException;
/**?
?*?返回所有的記錄,滿足條件?‘phone?=?:phone‘.
?*/
public?Friend[]?findWherePhoneEquals(String?phone)?throws?FriendDaoException;
/**?
?*?返回所有的記錄,滿足條件?‘note?=?:note‘.
?*/
public?Friend[]?findWhereNoteEquals(String?note)?throws?FriendDaoException;
/**?
?*?設置?maxRows
?*/
public?void?setMaxRows(int?maxRows);
/**?
?*?獲得?maxRows
?*/
public?int?getMaxRows();
/**?
?*?Returns?all?rows?from?the?friend?table?that?match?the?specified?arbitrary?SQL?statement
?*/
public?Friend[]?findByDynamicSelect(String?sql?object[]?sqlParams)?throws?FriendDaoException;
/**?
?*?Returns?all?rows?from?the?friend?table?that?match?the?specified?arbitrary?SQL?statement
?*/
public?Friend[]?findByDynamicWhere(String?sql?object[]?sqlParams)?throws?FriendDaoException;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1318??2008-03-14?15:29??address\.classpath
?????目錄??????????0??2008-03-14?15:20??address\.myeclipse
?????文件????????295??2008-03-18?08:41??address\.myme
?????文件?????????66??2008-03-18?08:41??address\.myumldata
?????文件???????1225??2008-03-14?15:31??address\.project
?????文件????????137??2008-03-18?08:40??address\.settings\com.genuitec.eclipse.core.prefs
?????文件???????1040??2008-03-18?08:41??address\.settings\com.genuitec.eclipse.j2eedt.core.prefs
?????文件????????120??2008-03-18?08:41??address\.settings\com.genuitec.jboss.ide.eclipse.xdoclet.run.prefs
?????文件?????????88??2008-03-14?15:37??address\.settings\org.eclipse.core.resources.prefs
?????文件?????????83??2008-03-18?08:41??address\.settings\org.eclipse.core.runtime.prefs
?????文件????????179??2008-03-18?08:41??address\.settings\org.eclipse.jdt.ui.prefs
?????文件????????137??2008-03-14?15:37??address\.settings\org.eclipse.ltk.core.refactoring.prefs
?????文件???????1244??2008-03-18?08:41??address\.settings\org.eclipse.wst.validation.prefs
?????目錄??????????0??2008-03-18?08:41??address\.settings
?????文件????1048576??2008-03-14?16:41??address\db\RelationTXL_Data.MDF
?????文件????1048576??2008-03-14?16:41??address\db\RelationTXL_Log.LDF
?????目錄??????????0??2008-03-14?16:41??address\db
?????文件??????32784??2005-11-19?03:27??address\RelationTXL.cdb
?????文件??????33916??2005-09-19?05:01??address\RelationTXL.cdm
?????文件??????59249??2005-11-19?03:27??address\RelationTXL.pdb
?????文件??????59308??2005-09-19?05:01??address\RelationTXL.pdm
?????文件??????21241??2005-09-19?05:04??address\RelationTxl.xm
?????文件???????3198??2006-08-07?22:08??address\src\com\relationinfo\txl\dao\FriendDao.java
?????文件???????1844??2006-08-07?22:08??address\src\com\relationinfo\txl\dao\Group1Dao.java
?????目錄??????????0??2008-03-14?15:20??address\src\com\relationinfo\txl\dao
?????文件???????7186??2006-08-07?22:08??address\src\com\relationinfo\txl\dto\Friend.java
?????文件???????1450??2006-08-07?22:08??address\src\com\relationinfo\txl\dto\FriendPk.java
?????文件???????2409??2006-08-07?22:08??address\src\com\relationinfo\txl\dto\Group1.java
?????文件???????1644??2006-08-07?22:08??address\src\com\relationinfo\txl\dto\Group1Pk.java
?????目錄??????????0??2008-03-14?15:20??address\src\com\relationinfo\txl\dto
............此處省略207個文件信息
- 上一篇:opent網絡仿真教程--陳敏
- 下一篇:聲納基陣及其水聲信號處理引論
評論
共有 條評論