|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codelabor.system.daos.BaseDAOImpl
org.codelabor.example.user.daos.UserDAOImpl
public class UserDAOImpl
사용자 DAO 구현 클래스
Field Summary |
---|
Fields inherited from class org.codelabor.system.daos.BaseDAOImpl |
---|
idGenerationService, logger, loggerName, messageSource, propertiesService, queryService |
Constructor Summary | |
---|---|
UserDAOImpl()
|
Method Summary | |
---|---|
int |
deleteUser()
사용자 정보를 삭제한다. |
int |
deleteUser(String userId)
사용자 정보를 삭제한다. |
int |
insertUser(UserDTO userDTO)
사용자 DTO를 등록한다. |
List<UserDTO> |
selectUser()
사용자 정보를 가져온다. |
UserDTO |
selectUserByUserId(String userId)
사용자 정보를 가져온다. |
int |
updateUser(UserDTO userDTO)
사용자 DTO를 수정한다. |
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 |
---|
public UserDAOImpl()
Method Detail |
---|
public int insertUser(UserDTO userDTO) throws Exception
UserDAO
insertUser
in interface UserDAO
userDTO
- 사용자 DTO
Exception
- 예외public List<UserDTO> selectUser() throws Exception
UserDAO
selectUser
in interface UserDAO
Exception
- 예외public UserDTO selectUserByUserId(String userId) throws Exception
UserDAO
selectUserByUserId
in interface UserDAO
userId
- 사용자 Id
Exception
- 예외public int deleteUser(String userId) throws Exception
UserDAO
deleteUser
in interface UserDAO
userId
- 사용자 Id
Exception
- 예외public int deleteUser() throws Exception
UserDAO
deleteUser
in interface UserDAO
Exception
- 예외public int updateUser(UserDTO userDTO) throws Exception
UserDAO
updateUser
in interface UserDAO
userDTO
- 사용자 DTO
Exception
- 예외
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |