`
myway84
  • 浏览: 203069 次
  • 性别: Icon_minigender_1
  • 来自: 重庆
文章分类
社区版块
存档分类
最新评论

PointManageImpl

DAO 
阅读更多
package com.huaweisymantec.rmc.core.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.huaweisymantec.rmc.core.dao.PointDao;
import com.huaweisymantec.rmc.core.domain.RemoteClientPoint;
import com.huaweisymantec.rmc.core.service.PointManage;
@Component("pm")
public class PointManageImpl implements PointManage{

private PointDao pd;
public void addPoint(RemoteClientPoint rcp) {
pd.savePoint(rcp);

}
public PointDao getPd() {
return pd;
}
@Resource
public void setPd(PointDao pd) {
this.pd = pd;
}
public RemoteClientPoint getPointByName(String rcpname) {
return pd.getPoint(rcpname);

}
public void delPoint(RemoteClientPoint rcp) {
pd.delPoint(rcp);

}
public void updatePoint(RemoteClientPoint rcp) {
pd.updatePoint(rcp);

}
public boolean checkExist(String rcpname) {
return pd.checkExist(rcpname);
}


}
分享到:
评论
发表评论

文章已被作者锁定,不允许评论。

相关推荐

Global site tag (gtag.js) - Google Analytics