|
||||||||||
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.RoleDAOImpl
public class RoleDAOImpl
역할 DTO 구현 클래스
Field Summary |
---|
Fields inherited from class org.codelabor.system.daos.BaseDAOImpl |
---|
idGenerationService, logger, loggerName, messageSource, propertiesService, queryService |
Constructor Summary | |
---|---|
RoleDAOImpl()
|
Method Summary | |
---|---|
int |
deleteRole()
역할 정보를 삭제한다. |
int |
deleteRole(String roleId)
역할 정보를 삭제한다. |
int |
insertRole(RoleDTO roleDTO)
역할 DTO를 입력한다. |
List<RoleDTO> |
selectRole()
역할 정보를 가져온다. |
RoleDTO |
selectRoleByRoleId(String roleId)
역할 정보를 가져온다. |
List<RoleDTO> |
selectRoleByUserId(String userId)
역할 정보를 가져온다. |
int |
updateRole(RoleDTO roleDTO)
역할 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 RoleDAOImpl()
Method Detail |
---|
public int insertRole(RoleDTO roleDTO) throws Exception
RoleDAO
insertRole
in interface RoleDAO
roleDTO
- 역할 DTO
Exception
- 예외public List<RoleDTO> selectRole() throws Exception
RoleDAO
selectRole
in interface RoleDAO
Exception
- 예외public RoleDTO selectRoleByRoleId(String roleId) throws Exception
RoleDAO
selectRoleByRoleId
in interface RoleDAO
roleId
- 역할 Id
Exception
- 예외public int deleteRole(String roleId) throws Exception
RoleDAO
deleteRole
in interface RoleDAO
Exception
- 예외public int deleteRole() throws Exception
RoleDAO
deleteRole
in interface RoleDAO
Exception
- 예외public int updateRole(RoleDTO roleDTO) throws Exception
RoleDAO
updateRole
in interface RoleDAO
roleDTO
- 역할 DTO
Exception
- 예외public List<RoleDTO> selectRoleByUserId(String userId) throws Exception
RoleDAO
selectRoleByUserId
in interface RoleDAO
userId
- 사용자 Id
Exception
- 예외
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |