package org.annotationmvc.service; import java.util.List; import org.annotationmvc.dao.MyObjectDao; import org.annotationmvc.vo.MyObjectVO; public class MyObjectServiceImpl implements MyObjectService { MyObjectDao myObjectDao; /** * findMyObjectById * * @param id int * @return MyObjectVO * @todo Implement this org.annotationmvc.service.MyObjectService method */ public MyObjectVO findMyObjectById(int id) { return myObjectDao.findMyObjectById(id); } /** * getAllMyObjectVOs * * @return List * @todo Implement this org.annotationmvc.service.MyObjectService method */ public List getAllMyObjectVOs() { return myObjectDao.getAllMyObjectVOs(); } /** * insertMyObjectVO * * @param myObjectVO MyObjectVO * @todo Implement this org.annotationmvc.service.MyObjectService method */ public void insertMyObjectVO(MyObjectVO myObjectVO) { myObjectDao.insertMyObjectVO(myObjectVO); } /** * removeMyObjectVO * * @param myObjectVO MyObjectVO * @todo Implement this org.annotationmvc.service.MyObjectService method */ public void removeMyObjectVO(MyObjectVO myObjectVO) { myObjectDao.removeMyObjectVO(myObjectVO); } /** * updateMyObjectVO * * @param myObjectVO MyObjectVO * @todo Implement this org.annotationmvc.service.MyObjectService method */ public void updateMyObjectVO(MyObjectVO myObjectVO) { myObjectDao.updateMyObjectVO(myObjectVO); } public void setMyObjectDao(MyObjectDao myObjectDao) { this.myObjectDao = myObjectDao; } }