|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.jdbc.support.JdbcAccessor
org.springframework.orm.ibatis.SqlMapClientTemplate
org.opennms.acl.repository.ibatis.UserRepositoryIbatis
@Repository(value="userRepository") public class UserRepositoryIbatis
| Field Summary |
|---|
| Fields inherited from class org.springframework.jdbc.support.JdbcAccessor |
|---|
logger |
| Constructor Summary | |
|---|---|
UserRepositoryIbatis()
|
|
| Method Summary | |
|---|---|
Boolean |
disableUser(String id)
disable user by id |
List<UserDTOLight> |
getDisabledUsers(Pager pager)
|
List<UserDTOLight> |
getEnabledUsers(Pager pager)
|
Object |
getIdUser(String username)
|
UserView |
getUser(String id)
|
UserDTO |
getUserCredentials(String id)
|
Integer |
getUsersNumber()
|
UserAuthoritiesDTO |
getUserWithAuthorities(String username)
|
UserAuthoritiesDTO |
getUserWithAuthoritiesByID(Integer sid)
|
Long |
insertUser(UserDTO user)
|
Boolean |
save(UserAuthoritiesDTO user)
Save an UserDTO user |
void |
setSqlMapClient(com.ibatis.sqlmap.client.SqlMapClient sqlMapClient)
|
Integer |
updatePassword(UserDTO user)
Update a user |
| Methods inherited from class org.springframework.orm.ibatis.SqlMapClientTemplate |
|---|
afterPropertiesSet, delete, delete, delete, execute, executeWithListResult, executeWithMapResult, getDataSource, getSqlMapClient, insert, insert, queryForList, queryForList, queryForList, queryForList, queryForMap, queryForMap, queryForObject, queryForObject, queryForObject, queryForPaginatedList, queryForPaginatedList, queryWithRowHandler, queryWithRowHandler, update, update, update |
| Methods inherited from class org.springframework.jdbc.support.JdbcAccessor |
|---|
getExceptionTranslator, isLazyInit, setDatabaseProductName, setDataSource, setExceptionTranslator, setLazyInit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserRepositoryIbatis()
| Method Detail |
|---|
public UserDTO getUserCredentials(String id)
getUserCredentials in interface UserRepository
public void setSqlMapClient(@Qualifier(value="sqlMapClient")
com.ibatis.sqlmap.client.SqlMapClient sqlMapClient)
setSqlMapClient in class org.springframework.orm.ibatis.SqlMapClientTemplatepublic Long insertUser(UserDTO user)
insertUser in interface UserRepositorypublic Integer updatePassword(UserDTO user)
UserRepository
updatePassword in interface UserRepositorypublic UserAuthoritiesDTO getUserWithAuthorities(String username)
getUserWithAuthorities in interface UserRepositorypublic UserAuthoritiesDTO getUserWithAuthoritiesByID(Integer sid)
getUserWithAuthoritiesByID in interface UserRepositorypublic UserView getUser(String id)
getUser in interface UserRepositorypublic Integer getUsersNumber()
getUsersNumber in interface UserRepositorypublic Boolean disableUser(String id)
UserRepository
disableUser in interface UserRepositorypublic Object getIdUser(String username)
getIdUser in interface UserRepositorypublic List<UserDTOLight> getDisabledUsers(Pager pager)
getDisabledUsers in interface UserRepositorypublic List<UserDTOLight> getEnabledUsers(Pager pager)
getEnabledUsers in interface UserRepositorypublic Boolean save(UserAuthoritiesDTO user)
UserRepository
save in interface UserRepository
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||