⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 userserviceimpl.java

📁 采用最新Struts2+Hibernate架构开发
💻 JAVA
字号:
package org.itfuture.www.service.impl;

import org.itfuture.www.dao.UserDao;
import org.itfuture.www.dao.impl.UserDaoImpl;
import org.itfuture.www.po.Account;
import org.itfuture.www.po.Lineitem;
import org.itfuture.www.po.Orders;
import org.itfuture.www.po.Orderstatus;
import org.itfuture.www.po.Profile;
import org.itfuture.www.po.Signon;
import org.itfuture.www.service.UserService;
//服务接口的实现类,调用的全是UserDao中的方法
public class UserServiceImpl implements UserService {

	public UserDao getUserDao() {
	
		return new UserDaoImpl();
	}
	public Signon checkOut(String name, String password) {
	
		return this.getUserDao().checkOut(name, password);
	}
	public boolean regist(Signon signon, Account account, Profile profile) {
		
		return this.getUserDao().regist(signon, account, profile);
	}
	public boolean addOrder(Orders order,Signon signon) {
		
		return this.getUserDao().addOrder(order, signon);
	}
	public String getValue() {
		
		return this.getUserDao().getValue();
	}
    
}

⌨️ 快捷键说明

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