freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

商務(wù)中心管理子系統(tǒng)畢業(yè)設(shè)計(jì)doc-資料下載頁(yè)

2025-07-18 00:25本頁(yè)面
  

【正文】 * @return */ public static OrdersDAO getOrdersDAO() { (getSellerDAO())。 return (OrdersDAO) createDAO()。 } /** * 創(chuàng)建一個(gè)實(shí)例 * * @param classObj * @return */ private static Object createDAO(Class classObj) { Object result = null。 try { result = ()。 } catch (Exception ex) { (createDAO() + ex)。 } return result。 }} EJB層業(yè)務(wù)接口設(shè)計(jì) EJB層根據(jù)業(yè)務(wù)邏輯的需要調(diào)用持久化層的數(shù)據(jù),并將結(jié)果返回給用戶。 EJB 層接口業(yè)務(wù)方法下面代碼展示了EJB層的業(yè)務(wù)接口/** 后臺(tái)管理的業(yè)務(wù)接口 * 注: EJB為本地接口 * 接口沒有定義拋出, RemoteException異常 * @author 孔繁智
* 創(chuàng)建日期 Mar 11, 2006 3:54:44 PM * */public interface IManager { /***************** Admin 管理員*********************/ /** 登陸驗(yàn)證 * * @param name 登陸名 * @param password 密碼 * @return Admin 登陸成功返回 一個(gè)Admin 對(duì)象 * @throws InvalidLoginException 用戶不存在 * @throws InvalidPasswordException 密碼錯(cuò)誤 * @throws DatastoreException 數(shù)據(jù)庫(kù)錯(cuò)誤 * @throws RemoteException 遠(yuǎn)程錯(cuò)誤 */ public Admin login(String name, String password) throws InvalidLoginException,InvalidPasswordException,DatastoreException。 /**通過id查找一個(gè)Admin對(duì)象 * * @param admin * @throws DatastoreException */ public Admin findAdminById(Long id) throws DatastoreException。 /**保存或更新一個(gè)Admin對(duì)象 * * @param admin * @throws DatastoreException * @throws RemoteException */ public void addAdmin(Admin admin)throws DatastoreException,ExistAdminException。 /**更新管理員 * * */ public void updateAdmin(Admin admin) throws DatastoreException。 /**根據(jù)Id刪除管理員 * * @param id * @throws DatastoreException */ public void deleteAdminById(long id)throws DatastoreException。 /**根據(jù)級(jí)別計(jì)算出Admin 的數(shù)量; * * @param level 默認(rèn)查詢所有 /supper/mon * @return * @throws DatastoreException */ public int countAdminByLevel(String level) throws DatastoreException。 /** 分頁(yè)查詢 管理員摘要信息 * * @param first * @param max * @param level 默認(rèn)查詢所有 /super/mon * @return List * @throws DatastoreException */ public List pageAdminSummeryByLevel(int first,int max,String level) throws DatastoreException。 /**根據(jù)ID 查詢管理員信息 * * @param id * @return * @throws DatastoreException * @throws NaughtDataException */ public Admin findAdminById(long id)throws DatastoreException,NaughtDataException。 /**根據(jù)姓名查找管理員 * * @param name * @return * @throws DatastoreException * @throws NaughtDataException */ public Admin findAdminByName(String name)throws DatastoreException,NaughtDataException。 /******************統(tǒng)計(jì)信息表************************/ /** 日統(tǒng)計(jì)數(shù)據(jù) * * @param property String 屬性 * @param date String 日期 * @return int[] 各項(xiàng)的值 * @throws DatastoreException * @throws NaughtDataException */ public long[] dailyReport(String property,String date)throws DatastoreException,NaughtDataException。 /** 月統(tǒng)計(jì)數(shù)據(jù) * * @param property String 屬性 * @param date String 日期 * @return int[] 各項(xiàng)的值 * @throws DatastoreException * @throws NaughtDataException */ public long[] mensalReport(String property,String date)throws DatastoreException,NaughtDataException。 /** 年統(tǒng)計(jì)數(shù)據(jù) * * @param property String 屬性 * @param date String 日期 * @return int[] 各項(xiàng)的值 * @throws DatastoreException * @throws NaughtDataException */ public long[] yearlyReport(String property,String date)throws DatastoreException,NaughtDataException。 /*************定時(shí)器************************/ /**啟動(dòng)日統(tǒng)計(jì)定時(shí)器 * */ public void beginDailyStat()。 /** * 取消日定時(shí)服務(wù) * */ public boolean cancelDailyTimer()。 /**啟動(dòng)月統(tǒng)計(jì)定時(shí)器 * */ public void beginMensalStat()。 /** * 取消月定時(shí)服務(wù) * */ public boolean cancelMensalTimer()。 /** 獲得日定時(shí)信息 * * @return List */ public List getDailyTimerInfo()。 /**獲得月定時(shí)信息 * * @return */ public List getMensalTimerInfo()。 /****************公告信息 Callboard **********************/ /**保存或更新一條公告 * * @param call */ public void saveOrUpdateCallboard(Callboard call)throws DatastoreException。 /**根據(jù)id刪除一條公告 * * @param id Long */ public void deleteCallboard(long id)throws DatastoreException。 /**根據(jù)state 的狀態(tài)計(jì)算出某有效/無(wú)效的公告條數(shù) state=little 計(jì)算無(wú)效公告 * * @param state * @throws DatastoreException */ public int countCallboard(String state)throws DatastoreException。 /**根據(jù)state 的狀態(tài),分頁(yè)查詢 公告的摘要信息 * * @param start * @param maxsize * @param state * @throws DatastoreException */ public List pageCallboard(int start,int maxsize,String state)throws DatastoreException。 /**根據(jù)ID查詢某條公告 * * @param id * @return * @throws DatastoreException */ public Callboard findCallboardByid(long id)throws DatastoreException。 /******************* 消費(fèi)者 Customer 表*************************/ /**保存/更新 用戶信息 * @param Customer * @throws DatastoreException */ public void saveOrUpdateCustomer(Customer customer)throws DatastoreException。 /**計(jì)算消費(fèi)者的數(shù)量 * * @return * @throws DatastoreException */ public int countCustomer()throws DatastoreException。 /**分頁(yè)查詢用戶摘要 id name registerTime * * @param first * @param max * @return * @throws DatastoreException */ public List pageCustomerSummery(int first,int max)throws DatastoreException。 /**根據(jù)id 查找用戶 * * @param id * @return * @throws DatastoreException */ public Customer findCustomerById(long id)throws DatastoreException。 /**根據(jù)ID刪除用戶 * * @param id * @throws DatastoreException */ public void deleteCustomerById(long id)throws DatastoreException。 /*******************商家 注冊(cè)信息 (Seller)****************
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1