content: package egovframework.com.uss.umt.service.impl;
  
  import java.util.List;
  
  import egovframework.com.uss.umt.service.DeptManageVO;
  import egovframework.com.uss.umt.service.EgovDeptManageService;
  
  import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl;
  
  import javax.annotation.Resource;
  
  import org.springframework.stereotype.Service;
  
  @Service("egovDeptManageService")
  public class EgovDeptManageServiceImpl extends EgovAbstractServiceImpl implements EgovDeptManageService {
  	
  	@Resource(name="deptManageDAO")
      private DeptManageDAO deptManageDAO;
  
  	/**
  	 * 부서를 관리하기 위해 등록된 부서목록을 조회한다.
  	 * @param deptManageVO - 부서 Vo
  	 * @return List - 부서 목록
  	 * 
  	 * @param deptManageVO
  	 */
  	public List<DeptManageVO> selectDeptManageList(DeptManageVO deptManageVO) throws Exception {
  		return deptManageDAO.selectDeptManageList(deptManageVO);
  	}
  
  	/**
  	 * 부서목록 총 갯수를 조회한다.
  	 * @param deptManageVO - 부서 Vo
  	 * @return int - 부서 카운트 수
  	 * 
  	 * @param deptManageVO
  	 */
  	public int selectDeptManageListTotCnt(DeptManageVO deptManageVO) throws Exception {
  		return deptManageDAO.selectDeptManageListTotCnt(deptManageVO);
  	}
  
  	/**
  	 * 등록된 부서의 상세정보를 조회한다.
  	 * @param deptManageVO - 부서 Vo
  	 * @return deptManageVO - 부서 Vo
  	 * 
  	 * @param deptManageVO
  	 */
  	public DeptManageVO selectDeptManage(DeptManageVO deptManageVO) throws Exception {
  		return deptManageDAO.selectDeptManage(deptManageVO);
  	}
  
  	/**
  	 * 부서정보를 신규로 등록한다.
  	 * @param deptManageVO - 부서 model
  	 * 
  	 * @param deptManageVO
  	 */
  	public void insertDeptManage(DeptManageVO deptManageVO) throws Exception {
  		deptManageDAO.insertDeptManage(deptManageVO);
  	}
  
  	/**
  	 * 기 등록된 부서정보를 수정한다.
  	 * @param deptManageVO - 부서 model
  	 * 
  	 * @param deptManageVO
  	 */
  	public void updateDeptManage(DeptManageVO deptManageVO) throws Exception {
  		deptManageDAO.updateDeptManage(deptManageVO);
  	}
  
  	/**
  	 * 기 등록된 부서정보를 삭제한다.
  	 * @param deptManageVO - 부서 model
  	 * 
  	 * @param deptManageVO
  	 */
  	public void deleteDeptManage(DeptManageVO deptManageVO) throws Exception {
  		deptManageDAO.deleteDeptManage(deptManageVO);
  	}
  }
  