- 浏览: 203593 次
- 性别:
- 来自: 重庆
最新评论
文章列表
package com.huaweisymantec.rmc.core.dao.impl;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.orm.hibernate3.HibernateTemplate;
import org.springframework.stereotype.Component;
import com.huaweisymantec.rmc.core.dao.PointDao;
import com.huaweisymantec.rmc.core.d ...
package com.huaweisymantec.rmc.core.dao.impl;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.orm.hibernate3.HibernateTemplate;
import org.springframework.stereotype.Component;
import com.huaweisymantec.rmc.core.dao.InfoDAO;
import com.huaweisymantec.rmc.core.d ...
package com.huaweisymantec.rmc.core.dao.impl;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.orm.hibernate3.HibernateTemplate;
import org.springframework.stereotype.Component;
import com.huaweisymantec.rmc.core.dao.EquipmentDAO;
import com.huaweisymantec.rmc.c ...
package com.huaweisymantec.rmc.core.dao;
import com.huaweisymantec.rmc.core.domain.User;
public interface UserDao {
public void saveUser(User u);
public boolean checkUserExistByName(String username);
public void delUser(User u);
public void updateUser(User user);
public User getUserByName(Str ...
package com.huaweisymantec.rmc.core.dao;
import com.huaweisymantec.rmc.core.domain.RemoteClientPoint;
public interface PointDao {
public void savePoint(RemoteClientPoint rcp);
public RemoteClientPoint getPoint(String rcpname);
public void delPoint(RemoteClientPoint rcp);
public void updatePoin ...
package com.huaweisymantec.rmc.core.dao;
import com.huaweisymantec.rmc.core.domain.Info;
public interface InfoDAO {
public Info findInfo(String ESN);
public void saveInfo(Info info);
public Info getInfo(String esn);
}
package com.huaweisymantec.rmc.core.dao;
import com.huaweisymantec.rmc.core.domain.*;
import java.util.List;
import org.springframework.stereotype.Component;
public interface EquipmentDAO {
//新建设备
public void saveEquipment(Equipment equip);
//删除设备
public void deleteEquipment(String ESN);
...
package com.huaweisymantec.rmc.core.domain;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.OneToMan ...
package com.huaweisymantec.rmc.core.domain;
import java.util.*;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
@Entity
public class Re ...
package com.huaweisymantec.rmc.core.domain;
import javax.persistence.CascadeType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
@Entity
public class Info {
private int id;
private String location;
...
package com.huaweisymantec.rmc.core.domain;
import java.util.*;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
@Entity
public class Equipment {
private String esn;
pr ...
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/x ...