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