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<Issue> |
Issue.OWNER_AND_STATUS_COMPARATOR |
|
static Comparator<Issue> |
Issue.PROJECT_AND_STATUS_COMPARATOR |
|
static Comparator<Issue> |
Issue.SEVERITY_COMPARATOR |
|
static Comparator<Issue> |
Issue.STATUS_COMPARATOR |
Modifier and Type | Method | Description |
---|---|---|
Issue |
IssueActivity.getIssue() |
|
Issue |
IssueAttachment.getIssue() |
|
Issue |
IssueField.getIssue() |
|
Issue |
IssueHistory.getIssue() |
|
Issue |
IssueRelation.getIssue() |
|
Issue |
Notification.getIssue() |
|
Issue |
IssueRelation.getRelatedIssue() |
Modifier and Type | Method | Description |
---|---|---|
List<Issue> |
IssueSearchQuery.getResults() |
Modifier and Type | Method | Description |
---|---|---|
void |
IssueActivity.setIssue(Issue issue) |
|
void |
IssueAttachment.setIssue(Issue issue) |
|
void |
IssueField.setIssue(Issue issue) |
|
void |
IssueHistory.setIssue(Issue issue) |
|
void |
IssueRelation.setIssue(Issue issue) |
|
void |
Notification.setIssue(Issue issue) |
|
void |
IssueRelation.setRelatedIssue(Issue relatedIssue) |
Modifier and Type | Method | Description |
---|---|---|
void |
IssueSearchQuery.setResults(List<Issue> value) |
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 originalFileName) |
|
IssueAttachment(Issue issue,
String origFileName,
String type,
String description,
long size) |
Convenience constructor.
|
IssueAttachment(Issue issue,
String origFileName,
String type,
String description,
long size,
User user) |
Convenience constructor.
|
IssueField(Issue issue,
CustomField field) |
|
IssueHistory(Issue issue,
User creator) |
|
IssueHistory(Issue issue,
User creator,
String description,
int status) |
|
IssueRelation(Issue issue,
Issue relatedIssue,
IssueRelation.Type relationType) |
|
Notification(User user,
Issue issue,
int role) |
Deprecated.
use Role instead int for role
|
Notification(User user,
Issue issue,
Notification.Role role) |
Modifier and Type | Method | Description |
---|---|---|
static boolean |
IssueUtilities.canBeAssignedIssue(Issue issue,
Integer userId,
Map<Integer,Set<PermissionType>> permissions) |
Deprecated.
|
static boolean |
IssueUtilities.canEditIssue(Issue issue,
Integer userId,
Map<Integer,Set<PermissionType>> permissions) |
Deprecated.
|
static boolean |
IssueUtilities.canUnassignIssue(Issue issue,
Integer userId,
Map<Integer,Set<PermissionType>> permissions) |
Returns true if the user can unassign themselves from the issue.
|
static boolean |
IssueUtilities.canViewIssue(Issue issue,
Integer userId,
Map<Integer,Set<PermissionType>> permissions) |
Returns true if the user has permission to view the requested issue.
|
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 int |
IssueUtilities.compareSeverity(Issue issueA,
Issue issueB) |
Compares the severity of two issues.
|
static String |
IssueUtilities.componentsToString(Issue issue) |
|
static URL |
IssueUtilities.getIssueURL(Issue issue,
String baseURL) |
|
static URL |
IssueUtilities.getIssueURL(Issue issue,
URL base) |
|
static boolean |
IssueUtilities.hasHardNotification(Issue issue,
Project project,
Integer userId) |
|
static boolean |
IssueUtilities.hasIssueNotification(Issue issue,
Integer userId) |
|
static boolean |
IssueUtilities.hasIssueNotification(Issue issue,
Project project,
Integer userId) |
Evaluate if a certain user is notified on issue change.
|
static boolean |
IssueUtilities.hasIssueRelation(Issue issue,
Integer relatedIssueId) |
|
static String |
IssueUtilities.historyToString(Issue issue,
SimpleDateFormat sdf) |
|
static String |
IssueUtilities.versionsToString(Issue issue) |
Modifier and Type | Method | Description |
---|---|---|
Issue |
IssueDAO.findByPrimaryKey(Integer issueId) |
Finds the issue with the given ID.
|
Issue |
IssueDAOImpl.findByPrimaryKey(Integer issueId) |
Modifier and Type | Method | Description |
---|---|---|
List<Issue> |
IssueDAO.findAll() |
Deprecated.
don't use due to expensive memory use.
|
List<Issue> |
IssueDAOImpl.findAll() |
|
List<Issue> |
IssueDAO.findByComponent(Integer componentId) |
Finds all issues of the component with the given ID.
|
List<Issue> |
IssueDAOImpl.findByComponent(Integer componentId) |
|
List<Issue> |
IssueDAO.findByCreator(Integer creatorId,
int maxExclusiveStatus) |
Finds all issues created by the given user in all projects
and with a status less than the given one.
|
List<Issue> |
IssueDAOImpl.findByCreator(Integer creatorId,
int maxExclusiveStatus) |
|
List<Issue> |
IssueDAO.findByCreatorInAvailableProjects(Integer creatorId,
int maxExclusiveStatus) |
Finds all issues created by the given user in all active and viewable
projects and with a status less than the given one.
|
List<Issue> |
IssueDAOImpl.findByCreatorInAvailableProjects(Integer creatorId,
int maxExclusiveStatus) |
|
List<Issue> |
IssueDAO.findByNotification(Integer userId,
int maxExclusiveStatus) |
Finds all issues with notifications for the given user in all projects
and with a status less than the given one.
|
List<Issue> |
IssueDAOImpl.findByNotification(Integer userId,
int maxExclusiveStatus) |
|
List<Issue> |
IssueDAO.findByNotificationInAvailableProjects(Integer userId,
int maxExclusiveStatus) |
Finds all issues with notifications for the given user in active
and viewable projects.
|
List<Issue> |
IssueDAOImpl.findByNotificationInAvailableProjects(Integer userId,
int maxExclusiveStatus) |
|
List<Issue> |
IssueDAO.findByOwner(Integer ownerId,
int maxExclusiveStatus) |
Finds all issues owned by the given user in all projects
and with a status lower than the given one.
|
List<Issue> |
IssueDAOImpl.findByOwner(Integer ownerId,
int maxExclusiveStatus) |
|
List<Issue> |
IssueDAO.findByOwnerInAvailableProjects(Integer ownerId,
int maxExclusiveStatus) |
Finds all issues owned by the given user in all active and viewable
projects and with a status less than the given one.
|
List<Issue> |
IssueDAOImpl.findByOwnerInAvailableProjects(Integer ownerId,
int maxExclusiveStatus) |
|
List<Issue> |
IssueDAO.findByProject(Integer projectId) |
Finds all issues of the given project.
|
List<Issue> |
IssueDAOImpl.findByProject(Integer projectId) |
|
List<Issue> |
IssueDAO.findByProjectAndHigherStatus(Integer projectId,
int minStatus) |
Finds all issues of the given project with a status higher than
or equal to the given one.
|
List<Issue> |
IssueDAOImpl.findByProjectAndHigherStatus(Integer projectId,
int status) |
|
List<Issue> |
IssueDAO.findByProjectAndLowerStatus(Integer projectId,
int maxExclusiveStatus) |
Finds all issues of the given project with a status lower than
the given one.
|
List<Issue> |
IssueDAOImpl.findByProjectAndLowerStatus(Integer projectId,
int maxExclusiveStatus) |
|
List<Issue> |
IssueDAO.findBySeverity(int severity) |
Finds all issues with the given severity in all projects.
|
List<Issue> |
IssueDAOImpl.findBySeverity(int severity) |
|
List<Issue> |
IssueDAO.findByStatus(int status) |
Finds all issues in the given status in all projects.
|
List<Issue> |
IssueDAOImpl.findByStatus(int status) |
|
List<Issue> |
IssueDAO.findByStatusLessThan(int maxExclusiveStatus) |
Finds all issues with a status less than the given one in all projects.
|
List<Issue> |
IssueDAOImpl.findByStatusLessThan(int maxExclusiveStatus) |
|
List<Issue> |
IssueDAO.findByStatusLessThanEqualTo(int maxStatus) |
Finds all issues with a status less than or equal to the given status
in all projects.
|
List<Issue> |
IssueDAOImpl.findByStatusLessThanEqualTo(int maxStatus) |
|
List<Issue> |
IssueDAO.findByStatusLessThanEqualToInAvailableProjects(int maxStatus) |
Finds all issues with a status less than or equal to the given status
in active and viewable projects.
|
List<Issue> |
IssueDAOImpl.findByStatusLessThanEqualToInAvailableProjects(int maxStatus) |
|
List<Issue> |
IssueDAO.findByTargetVersion(Integer versionId) |
Delete all issues targeted for the specified version.
|
List<Issue> |
IssueDAOImpl.findByTargetVersion(Integer versionId) |
Delete all issues targeted for the specified version.
|
List<Issue> |
IssueDAO.findByVersion(Integer versionId) |
Finds all issues of the version with the given ID.
|
List<Issue> |
IssueDAOImpl.findByVersion(Integer versionId) |
|
List<Issue> |
IssueDAO.findNextIssues(Integer issueId) |
Get the next issues in the project based on ID.
|
List<Issue> |
IssueDAOImpl.findNextIssues(Integer issueId) |
|
List<Issue> |
IssueDAO.findPreviousIssues(Integer issueId) |
Get the next issues in the project based on ID.
|
List<Issue> |
IssueDAOImpl.findPreviousIssues(Integer issueId) |
|
List<Issue> |
IssueDAO.findUnassignedIssues(int maxStatus) |
Finds all issues without owner with a status less than
or equal to the given one in all projects.
|
List<Issue> |
IssueDAOImpl.findUnassignedIssues(int maxStatus) |
|
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.