|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UserDAO
User Data Access Object interface.
| Method Summary | |
|---|---|
List<User> |
findActive()
Finds all active users. |
List<User> |
findAll()
Finds all users. |
User |
findByLogin(String login)
Finds a user by login. |
User |
findByPrimaryKey(Integer userId)
Finds the users with the given primary key. |
List<User> |
findByRegistrationType(int registrationType)
Finds users with the given registration type. |
List<User> |
findByStatus(int status)
Finds users with the given status. |
List<User> |
findSuperUsers()
Finds all super users. |
List<User> |
findUsersForProjectByAllPermissionTypeList(Integer projectID,
Integer[] permissionTypes)
|
Map<Integer,Set<PermissionType>> |
getUsersMapOfProjectsAndPermissionTypes(User user)
Finds of the given user the set of permission types for all projects on which the user has permissions. |
| Methods inherited from interface org.itracker.persistence.dao.BaseDAO |
|---|
delete, detach, merge, refresh, save, saveOrUpdate |
| Method Detail |
|---|
User findByPrimaryKey(Integer userId)
userId - ID of the user to retrieve
User findByLogin(String login)
login - login name of the user to find
List<User> findAll()
List<User> findActive()
List<User> findByStatus(int status)
status - status code
List<User> findSuperUsers()
List<User> findByRegistrationType(int registrationType)
registrationType -
Map<Integer,Set<PermissionType>> getUsersMapOfProjectsAndPermissionTypes(User user)
user - sourceRequest -
List<User> findUsersForProjectByAllPermissionTypeList(Integer projectID,
Integer[] permissionTypes)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||