Package | Description |
---|---|
org.itracker.model |
All entity classes are POJO beans.
|
org.itracker.model.util |
This package contains code for what?
|
org.itracker.persistence.dao |
This package contains all Data Access Object (XxxDAO) interfaces
along with their Hibernate implementations (XxxDAOImpl).
|
Modifier and Type | Field | Description |
---|---|---|
static Comparator<User> |
User.LOGIN_COMPARATOR |
|
static Comparator<User> |
User.NAME_COMPARATOR |
Modifier and Type | Method | Description |
---|---|---|
User |
Issue.getCreator() |
|
User |
IssueSearchQuery.getCreator() |
|
User |
Issue.getOwner() |
|
User |
IssueSearchQuery.getOwner() |
|
User |
IssueActivity.getUser() |
|
User |
IssueAttachment.getUser() |
|
User |
IssueHistory.getUser() |
|
User |
Notification.getUser() |
|
User |
Permission.getUser() |
|
User |
UserPreferences.getUser() |
Modifier and Type | Method | Description |
---|---|---|
List<User> |
Project.getOwners() |
Modifier and Type | Method | Description |
---|---|---|
int |
User.LoginComparator.compare(User o1,
User o2) |
|
void |
Issue.setCreator(User creator) |
|
void |
IssueSearchQuery.setCreator(User value) |
|
void |
Issue.setOwner(User owner) |
|
void |
IssueSearchQuery.setOwner(User value) |
|
void |
IssueActivity.setUser(User user) |
|
void |
IssueAttachment.setUser(User user) |
|
void |
IssueHistory.setUser(User creator) |
|
void |
Notification.setUser(User user) |
|
void |
Permission.setUser(User user) |
|
void |
UserPreferences.setUser(User user) |
Modifier and Type | Method | Description |
---|---|---|
void |
Project.setOwners(List<User> getOwners) |
Constructor | Description |
---|---|
IssueActivity(Issue issue,
User user,
IssueActivityType type) |
Creates a new instance with a
notificationSent flag set to
false and a creation and last modified time stamp set to the
current time. |
IssueAttachment(Issue issue,
String origFileName,
String type,
String description,
long size,
User user) |
Convenience constructor.
|
IssueHistory(Issue issue,
User creator) |
|
IssueHistory(Issue issue,
User creator,
String description,
int status) |
|
Notification(User user,
Issue issue,
int role) |
Deprecated.
use Role instead int for role
|
Notification(User user,
Issue issue,
Notification.Role role) |
|
Permission(PermissionType type,
User user) |
Grants permissions on all projects to the given user.
|
Permission(PermissionType type,
User user,
Project project) |
Grants permissions on all projects to the given user.
|
Modifier and Type | Method | Description |
---|---|---|
static Map<User,Set<Notification.Role>> |
NotificationUtilities.mappedRoles(List<Notification> notifications) |
Modifier and Type | Method | Description |
---|---|---|
static boolean |
IssueUtilities.canViewIssue(Issue issue,
User user,
Map<Integer,Set<PermissionType>> permissions) |
Returns true if the user has permission to view the requested issue.
|
static Permission[] |
UserUtilities.createPermissionArray(User user,
Project project,
int[] permissions) |
|
static String |
IssueUtilities.getOwnerName(User owner,
Locale locale) |
Modifier and Type | Method | Description |
---|---|---|
static List<NameValuePair> |
Convert.usersToNameValuePairs(List<User> users) |
Converts an array of UserModels to NameValuePairs
|
Modifier and Type | Method | Description |
---|---|---|
User |
UserDAO.findByLogin(String login) |
Finds a user by login.
|
User |
UserDAOImpl.findByLogin(String login) |
|
User |
UserDAO.findByPrimaryKey(Integer userId) |
Finds the users with the given primary key.
|
User |
UserDAOImpl.findByPrimaryKey(Integer userId) |
Modifier and Type | Method | Description |
---|---|---|
List<User> |
UserDAO.findActive() |
Finds all active users.
|
List<User> |
UserDAOImpl.findActive() |
|
List<User> |
UserDAO.findAll() |
Finds all users.
|
List<User> |
UserDAOImpl.findAll() |
|
List<User> |
UserDAO.findByRegistrationType(int registrationType) |
Finds users with the given registration type.
|
List<User> |
UserDAOImpl.findByRegistrationType(int registrationType) |
|
List<User> |
UserDAO.findByStatus(int status) |
Finds users with the given status.
|
List<User> |
UserDAOImpl.findByStatus(int status) |
|
List<User> |
UserDAO.findSuperUsers() |
Finds all super users.
|
List<User> |
UserDAOImpl.findSuperUsers() |
|
List<User> |
UserDAO.findUsersForProjectByAllPermissionTypeList(Integer projectID,
Integer[] permissionTypes) |
Deprecated.
|
List<User> |
UserDAO.findUsersForProjectByAllPermissionTypeList(Integer projectID,
PermissionType[] permissionTypes) |
Finds all users assigned to a project having all of the given permissionTypes.
|
List<User> |
UserDAOImpl.findUsersForProjectByAllPermissionTypeList(Integer projectID,
Integer[] permissionTypes) |
|
List<User> |
UserDAOImpl.findUsersForProjectByAllPermissionTypeList(Integer projectID,
PermissionType[] permissionTypes) |
Modifier and Type | Method | Description |
---|---|---|
Map<Integer,Set<PermissionType>> |
UserDAO.getUsersMapOfProjectsAndPermissionTypes(User user) |
Finds of the given user the set of permission types for all projects
on which the user has permissions.
|
Map<Integer,Set<PermissionType>> |
UserDAOImpl.getUsersMapOfProjectsAndPermissionTypes(User user) |
Searches all permissions for the given user and sorts it by project.
|
List<Issue> |
IssueDAO.query(IssueSearchQuery queryModel,
User user,
Map<Integer,Set<PermissionType>> userPermissions) |
Query the list of issues that satisfies the search criteria
specified in
queryModel . |
List<Issue> |
IssueDAOImpl.query(IssueSearchQuery searchQuery,
User user,
Map<Integer,Set<PermissionType>> userPermissions) |
It doens't really make sense for this method to receive projectDAO, it's just a quick
fix for the fact that IssueSearchQuery handles ids and not objects
|
Copyright © 2002–2019 itracker. All rights reserved.