i-framework-lite/.svn/pristine/ae/aed6208c3c5bbf5b7b8e92ce5f0...

144 lines
4.2 KiB
Plaintext

package kr.co.i4way.manage.service;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import kr.co.i4way.manage.dao.ManageDao;
import kr.co.i4way.manage.model.CenterInfoVo;
import kr.co.i4way.manage.model.CommonInfoVo;
import kr.co.i4way.manage.model.ImageInfoVo;
import kr.co.i4way.manage.model.LoginVo;
import kr.co.i4way.manage.model.ObjInfoVo;
import kr.co.i4way.manage.model.ScreenInfoVo;
import kr.co.i4way.manage.model.UserInfoVo;
import kr.co.i4way.manage.model.WallInfoVo;
import kr.co.i4way.common.util.FileUtils;
@Service
public class ManageService {
@Resource(name="fileUtils")
private FileUtils fileUtils;
@Autowired ManageDao managedao;
public Map<String, Object> getLoginInfo(LoginVo avo) throws Exception{
return managedao.getLoginInfo(avo);
}
public ArrayList getWallInfo_Manage(WallInfoVo wallinfovo) throws Exception{
return managedao.getWallInfo_Manage(wallinfovo);
}
public void insertWallInfo(WallInfoVo wallinfovo) throws Exception{
managedao.insertWallInfo(wallinfovo);
}
public void updateWallInfo(WallInfoVo wallinfovo) throws Exception{
managedao.updateWallInfo(wallinfovo);
}
public void deleteWallInfo(WallInfoVo wallinfovo) throws Exception{
managedao.deleteWallInfo(wallinfovo);
}
public ArrayList getCenterInfo_Manage(CenterInfoVo centerinfovo) throws Exception{
return managedao.getCenterInfo_Manage(centerinfovo);
}
public void insertCenterInfo(CenterInfoVo centerinfovo) throws Exception{
managedao.insertCenterInfo(centerinfovo);
}
public void updateCenterInfo(CenterInfoVo centerinfovo) throws Exception{
managedao.updateCenterInfo(centerinfovo);
}
public void deleteCenterInfo(CenterInfoVo centerinfovo) throws Exception{
managedao.deleteCenterInfo(centerinfovo);
}
public ArrayList getUserInfo_Manage(UserInfoVo userinfovo) throws Exception{
return managedao.getUserInfo_Manage(userinfovo);
}
public void insertUserInfo(UserInfoVo userinfovo) throws Exception{
managedao.insertUserInfo(userinfovo);
}
public void updateUserInfo(UserInfoVo userinfovo) throws Exception{
managedao.updateUserInfo(userinfovo);
}
public void deleteUserInfo(UserInfoVo userinfovo) throws Exception{
managedao.deleteUserInfo(userinfovo);
}
public ArrayList getObjInfo_Manage(ObjInfoVo objinfovo) throws Exception{
return managedao.getObjInfo_Manage(objinfovo);
}
public void insertObjInfo(ObjInfoVo objinfovo) throws Exception{
managedao.insertObjInfo(objinfovo);
}
public void updateObjInfo(ObjInfoVo objinfovo) throws Exception{
managedao.updateObjInfo(objinfovo);
}
public void deleteObjInfo(ObjInfoVo objinfovo) throws Exception{
managedao.deleteObjInfo(objinfovo);
}
public ArrayList getScreenInfo_Manage(ScreenInfoVo screeninfovo) throws Exception{
return managedao.getScreenInfo_Manage(screeninfovo);
}
public void insertScreenInfo(ScreenInfoVo screeninfovo) throws Exception{
managedao.insertScreenInfo(screeninfovo);
}
public void updateScreenInfo(ScreenInfoVo screeninfovo) throws Exception{
managedao.updateScreenInfo(screeninfovo);
}
public void deleteScreenInfo(ScreenInfoVo screeninfovo) throws Exception{
managedao.deleteScreenInfo(screeninfovo);
}
public ArrayList getImageInfo_Manage(ImageInfoVo imageinfovo) throws Exception{
return managedao.getImageInfo_Manage(imageinfovo);
}
public void insertImageInfo(ImageInfoVo imageinfovo, HttpServletRequest request) throws Exception{
managedao.insertImageInfo(imageinfovo);
}
public void updateImageInfo(ImageInfoVo imageinfovo, HttpServletRequest request) throws Exception{
managedao.updateImageInfo(imageinfovo);
}
public void deleteImageInfo(ImageInfoVo imageinfovo) throws Exception{
managedao.deleteImageInfo(imageinfovo);
}
public ArrayList getCommCode(CommonInfoVo commoninfovo) throws Exception{
return managedao.getCommCode(commoninfovo);
}
public ArrayList getImages(ImageInfoVo imageinfovo) throws Exception{
return managedao.getImages(imageinfovo);
}
public void saveWallInfo(WallInfoVo wallinfovo) throws Exception{
managedao.saveWallInfo(wallinfovo);
}
}