BaseDAO<IssueAttachment>, IssueAttachmentDAOpublic class IssueAttachmentDAOImpl extends BaseHibernateDAOImpl<IssueAttachment> implements IssueAttachmentDAO
| Constructor | Description |
|---|---|
IssueAttachmentDAOImpl() |
| Modifier and Type | Method | Description |
|---|---|---|
Long |
countAll() |
Counts all Issue attachments.
|
List<IssueAttachment> |
findAll() |
Finds all Issue attachments.
|
IssueAttachment |
findByFileName(String fileName) |
Finds an attachment by the file name on the filesystem.
|
List<IssueAttachment> |
findByIssue(Integer issueId) |
Finds all attachments for an Issue.
|
IssueAttachment |
findByPrimaryKey(Integer attachmentId) |
|
Long |
totalAttachmentsSize() |
Calculates the total Size of attachments in the system.
|
delete, detach, merge, refresh, save, saveOrUpdatedelete, detach, merge, refresh, save, saveOrUpdatepublic IssueAttachment findByPrimaryKey(Integer attachmentId)
findByPrimaryKey in interface IssueAttachmentDAOattachmentId - system IDpublic IssueAttachment findByFileName(String fileName)
IssueAttachmentDAOfindByFileName in interface IssueAttachmentDAOpublic List<IssueAttachment> findAll()
IssueAttachmentDAOfindAll in interface IssueAttachmentDAOpublic List<IssueAttachment> findByIssue(Integer issueId)
IssueAttachmentDAOfindByIssue in interface IssueAttachmentDAOissueId - system IDpublic Long countAll()
IssueAttachmentDAOcountAll in interface IssueAttachmentDAOpublic Long totalAttachmentsSize()
IssueAttachmentDAOtotalAttachmentsSize in interface IssueAttachmentDAOCopyright © 2002–2022 itracker. All rights reserved.