?? cellphonedao.java
字號:
package com.longtime.wap.module.cellphone.dao;
import java.util.List;
import com.longtime.wap.common.web.Page;
import com.longtime.wap.model.Cellphone;
import com.longtime.wap.module.cellphone.common.CellphoneQueryBean;
/**
* CellphoneDao層代碼
*
* @author shiz
* @date Nov 15, 2007
*/
public interface CellphoneDao {
/**
* 統計手機信息數
*
* @param queryBean
* 搜索參數
* @return 手機信息數
*/
public int retrieveCellphonesCount(CellphoneQueryBean queryBean);
/**
* 列表分頁顯示所有符合搜索條件的手機信息數
*
* @param queryBean
* 搜索參數
* @param page
* 分頁參數
* @return 手機信息列表
*/
public List retrieveCellphonesByCondition(CellphoneQueryBean queryBean,
Page page);
/**
* 獲取手機信息列表
*
* @param ids
* 手機信息編號
* @return 手機信息列表
*/
public List retrieveCellphonesByIds(String[] ids);
/**
* 獲取手機信息
*
* @param id
* 手機信息編號
* @return 手機信息
*/
public Cellphone retrieveCellphoneById(Long id);
/**
* 更新手機信息
*
* @param cellphone
* 手機對象
*/
public void updateCellphone(Cellphone cellphone);
/**
* 新增手機信息
*
* @param cellphone
* 手機對象
*/
public void createCellphone(Cellphone cellphone);
/**
* 刪除手機信息
*
* @param cellphones
* 手機對象列表
*/
public void deleteCellphoneByIds(List cellphones);
/**
* 通過UA參數獲得手機列表
*
* @param ua
* 手機ua
* @return 手機信息列表
*/
public List retrieveCellphoneByUA(String ua);
/**
* 通過手機類型參數獲得手機列表
*
* @param model
* 手機類型
* @return 手機信息列表
*/
public List retrieveCellphoneByModel(String model);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -