content: package egovframework.com.sec.ram.service.impl;
  
  import java.util.List;
  
  import egovframework.com.sec.ram.service.AuthorRoleManage;
  import egovframework.com.sec.ram.service.AuthorRoleManageVO;
  import egovframework.com.sec.ram.service.EgovAuthorRoleManageService;
  
  import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl;
  
  import javax.annotation.Resource;
  
  import org.springframework.stereotype.Service;
  
  /**
   * 권한별 롤관리에 대한 DAO 클래스를 정의한다.
   * @author 공통서비스 개발팀 이문준
   * @since 2009.06.01
   * @version 1.0
   * @see
   *
   * <pre>
   * << 개정이력(Modification Information) >>
   *   
   *   수정일      수정자           수정내용
   *  -------    --------    ---------------------------
   *   2009.03.11  이문준          최초 생성
   *
   * </pre>
   */
  
  @Service("egovAuthorRoleManageService")
  public class EgovAuthorRoleManageServiceImpl extends EgovAbstractServiceImpl implements EgovAuthorRoleManageService {
  	
  	@Resource(name="authorRoleManageDAO")
      private AuthorRoleManageDAO authorRoleManageDAO;
  	
  	/**
  	 * 권한 롤 관계정보를 조회
  	 * @param authorRoleManageVO AuthorRoleManageVO
  	 * @return AuthorRoleManageVO
  	 * @exception Exception
  	 */
  	public AuthorRoleManageVO selectAuthorRole(AuthorRoleManageVO authorRoleManageVO) throws Exception {
  		return authorRoleManageDAO.selectAuthorRole(authorRoleManageVO);
  	}
  
  	/**
  	 * 권한 롤 관계정보 목록 조회
  	 * @param authorRoleManageVO AuthorRoleManageVO
  	 * @return List<AuthorRoleManageVO>
  	 * @exception Exception
  	 */
  	public List<AuthorRoleManageVO> selectAuthorRoleList(AuthorRoleManageVO authorRoleManageVO) throws Exception {
  		return authorRoleManageDAO.selectAuthorRoleList(authorRoleManageVO);
  	}
  	
  	/**
  	 * 권한 롤 관계정보를 화면에서 입력하여 입력항목의 정합성을 체크하고 데이터베이스에 저장
  	 * @param authorRoleManage AuthorRoleManage
  	 * @exception Exception
  	 */
  	public void insertAuthorRole(AuthorRoleManage authorRoleManage) throws Exception {
  		authorRoleManageDAO.insertAuthorRole(authorRoleManage);
  	}
  
  	/**
  	 * 수정된 권한 롤 관계정보를 데이터베이스에 반영
  	 * @param authorRoleManage AuthorRoleManage
  	 * @exception Exception
  	 */
  	public void updateAuthorRole(AuthorRoleManage authorRoleManage) throws Exception {
  		authorRoleManageDAO.updateAuthorRole(authorRoleManage);
  	}
  
  	/**
  	 * 권한 롤 관계정보를 화면에 조회하여 데이터베이스에서 삭제
  	 * @param authorRoleManage AuthorRoleManage
  	 * @exception Exception
  	 */
  	public void deleteAuthorRole(AuthorRoleManage authorRoleManage) throws Exception {
  		authorRoleManageDAO.deleteAuthorRole(authorRoleManage);
  	}
  
      /**
  	 * 목록조회 카운트를 반환한다
  	 * @param authorRoleManageVO AuthorRoleManageVO
  	 * @return int
  	 * @exception Exception
  	 */
  	public int selectAuthorRoleListTotCnt(AuthorRoleManageVO authorRoleManageVO) throws Exception {
  		return authorRoleManageDAO.selectAuthorRoleListTotCnt(authorRoleManageVO);
  	}
  }