org.codelabor.system.login.daos
Class LoginDAOImpl

java.lang.Object
  extended by org.codelabor.system.daos.BaseDAOImpl
      extended by org.codelabor.system.login.daos.LoginDAOImpl
All Implemented Interfaces:
LoginDAO

public class LoginDAOImpl
extends org.codelabor.system.daos.BaseDAOImpl
implements LoginDAO

로그인 DAO 구현 클래스

Author:
Shin Sangjae

Field Summary
 
Fields inherited from class org.codelabor.system.daos.BaseDAOImpl
idGenerationService, logger, loggerName, messageSource, propertiesService, queryService
 
Constructor Summary
LoginDAOImpl()
           
 
Method Summary
 int insertLogin(LoginDTO loginDTO)
          로그인 정보를 등록한다.
 List<LoginDTO> selectLogin()
          로그인 정보를 가져온다.
 LoginDTO selectLogin(LoginDTO loginDTO)
          로그인 정보를 가져온다.
 LoginDTO selectLoginByLastLogoutUserId(LoginDTO loginDTO)
          마지막에 로그아웃한 로그인 정보를 가져온다.
 int updateLogin(LoginDTO loginDTO)
          로그인 정보를 수정한다.
 
Methods inherited from class org.codelabor.system.daos.BaseDAOImpl
getIdGenerationService, getLoggerName, getMessageSource, getPropertiesService, getQueryService, setIdGenerationService, setLoggerName, setMessageSource, setPropertiesService, setQueryService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginDAOImpl

public LoginDAOImpl()
Method Detail

insertLogin

public int insertLogin(LoginDTO loginDTO)
                throws Exception
Description copied from interface: LoginDAO
로그인 정보를 등록한다.

Specified by:
insertLogin in interface LoginDAO
Parameters:
loginDTO - 로그인 정보 DTO
Returns:
등록 건수
Throws:
Exception - 예외

selectLogin

public LoginDTO selectLogin(LoginDTO loginDTO)
                     throws Exception
Description copied from interface: LoginDAO
로그인 정보를 가져온다.

Specified by:
selectLogin in interface LoginDAO
Parameters:
loginDTO - 로그인 정보 DTO
Returns:
로그인 정보 DTO
Throws:
Exception - 예외

selectLoginByLastLogoutUserId

public LoginDTO selectLoginByLastLogoutUserId(LoginDTO loginDTO)
                                       throws Exception
Description copied from interface: LoginDAO
마지막에 로그아웃한 로그인 정보를 가져온다.

Specified by:
selectLoginByLastLogoutUserId in interface LoginDAO
Parameters:
loginDTO - 로그인 정보 DTO
Returns:
로그인 정보 DTO
Throws:
Exception - 예외

selectLogin

public List<LoginDTO> selectLogin()
                           throws Exception
Description copied from interface: LoginDAO
로그인 정보를 가져온다.

Specified by:
selectLogin in interface LoginDAO
Returns:
로그인 정보 DTO List
Throws:
Exception

updateLogin

public int updateLogin(LoginDTO loginDTO)
                throws Exception
Description copied from interface: LoginDAO
로그인 정보를 수정한다.

Specified by:
updateLogin in interface LoginDAO
Parameters:
loginDTO - 로그인 정보 DTO
Returns:
수정 건수
Throws:
Exception - 예외


Copyright © 2010 CODELABOR. All Rights Reserved.