BaseDAO<IssueActivity>
, IssueActivityDAO
public class IssueActivityDAOImpl extends BaseHibernateDAOImpl<IssueActivity> implements IssueActivityDAO
Constructor | Description |
---|---|
IssueActivityDAOImpl() |
Modifier and Type | Method | Description |
---|---|---|
IssueActivity |
findById(Integer activityId) |
Finds the activity with the given ID.
|
List<IssueActivity> |
findByIssueId(Integer issueId) |
Finds all activities of a given Issue.
|
List<IssueActivity> |
findByIssueIdAndNotification(Integer issueId,
boolean notificationSent) |
Finds all activities for an Issue with the given notification status.
|
delete, detach, merge, refresh, save, saveOrUpdate
delete, detach, merge, refresh, save, saveOrUpdate
public IssueActivity findById(Integer activityId)
IssueActivityDAO
findById
in interface IssueActivityDAO
activityId
- system ID of the activity to returnpublic List<IssueActivity> findByIssueId(Integer issueId)
IssueActivityDAO
findByIssueId
in interface IssueActivityDAO
issueId
- system ID of the issue of which to retrieve activitiespublic List<IssueActivity> findByIssueIdAndNotification(Integer issueId, boolean notificationSent)
IssueActivityDAO
findByIssueIdAndNotification
in interface IssueActivityDAO
issueId
- system ID of the issue of which to retrieve activitiesnotificationSent
- whether to return activities for which
a notification has been sent or notCopyright © 2002–2019 itracker. All rights reserved.