|
||||||||||
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.UserRoleMapDAOImpl
public class UserRoleMapDAOImpl
사용자 역할 매핑 DAO 구현 클래스
Field Summary |
---|
Fields inherited from class org.codelabor.system.daos.BaseDAOImpl |
---|
idGenerationService, logger, loggerName, messageSource, propertiesService, queryService |
Constructor Summary | |
---|---|
UserRoleMapDAOImpl()
|
Method Summary | |
---|---|
int |
map(String userId,
String roleId)
사용자 정보와 역할 정보를 매핑한다. |
int |
reset()
매핑 정보를 초기화한다. |
int |
reset(String userId)
매핑 정보를 초기화한다. |
List<String> |
selectRoleIdList(String userId)
역할 Id List를 가져온다. |
List<String> |
selectUserIdList(String roleId)
사용자 Id List를 가져온다. |
int |
unmap(String userId,
String roleId)
사용자 정보와 역할 정보의 매핑을 해제한다. |
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 UserRoleMapDAOImpl()
Method Detail |
---|
public int map(String userId, String roleId) throws Exception
UserRoleMapDAO
map
in interface UserRoleMapDAO
userId
- 사용자 IdroleId
- 역할 Id
Exception
- 예외public List<String> selectRoleIdList(String userId) throws Exception
UserRoleMapDAO
selectRoleIdList
in interface UserRoleMapDAO
userId
- 사용자 Id
Exception
- 예외public List<String> selectUserIdList(String roleId) throws Exception
UserRoleMapDAO
selectUserIdList
in interface UserRoleMapDAO
roleId
- 역할 Id
Exception
- 예외public int unmap(String userId, String roleId) throws Exception
UserRoleMapDAO
unmap
in interface UserRoleMapDAO
userId
- 사용자 IdroleId
- 역할 Id
Exception
- 예외public int reset() throws Exception
UserRoleMapDAO
reset
in interface UserRoleMapDAO
Exception
- 예외public int reset(String userId) throws Exception
UserRoleMapDAO
reset
in interface UserRoleMapDAO
userId
- 사용자 Id
Exception
- 예외
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |