|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codelabor.system.managers.BaseManagerImpl
org.codelabor.example.user.managers.UserRoleMapManagerImpl
public class UserRoleMapManagerImpl
사용자 역할 정보 매핑 매니저 구현 클래스
Field Summary |
---|
Fields inherited from class org.codelabor.system.managers.BaseManagerImpl |
---|
logger, loggerName, messageSource, propertiesService |
Constructor Summary | |
---|---|
UserRoleMapManagerImpl()
|
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를 가져온다. |
void |
setUserRoleMapDAO(UserRoleMapDAO userRoleMapDAO)
사용자 역할 매핑 DAO를 설정한다. |
int |
unmap(String userId,
String roleId)
사용자 정보와 역할 정보의 매핑을 해제한다. |
Methods inherited from class org.codelabor.system.managers.BaseManagerImpl |
---|
getLoggerName, getMessageSource, getPropertiesService, setLoggerName, setMessageSource, setPropertiesService |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserRoleMapManagerImpl()
Method Detail |
---|
public void setUserRoleMapDAO(UserRoleMapDAO userRoleMapDAO)
userRoleMapDAO
- 사용자 역할 매핑 DAOpublic int map(String userId, String roleId) throws Exception
UserRoleMapManager
map
in interface UserRoleMapManager
userId
- 사용자 IdroleId
- 역할 Id
Exception
- 예외public int reset() throws Exception
UserRoleMapManager
reset
in interface UserRoleMapManager
Exception
- 예외public List<String> selectRoleIdList(String userId) throws Exception
UserRoleMapManager
selectRoleIdList
in interface UserRoleMapManager
userId
- 사용자 Id
Exception
- 예외public List<String> selectUserIdList(String roleId) throws Exception
UserRoleMapManager
selectUserIdList
in interface UserRoleMapManager
roleId
- 역할 Id
Exception
- 예외public int unmap(String userId, String roleId) throws Exception
UserRoleMapManager
unmap
in interface UserRoleMapManager
userId
- 사용자 IdroleId
- 역할 Id
Exception
- 예외public int reset(String userId) throws Exception
UserRoleMapManager
reset
in interface UserRoleMapManager
userId
- 사용자 Id
Exception
- 예외
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |