BaseDAO<IssueAttachment>
, IssueAttachmentDAO
public 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, saveOrUpdate
delete, detach, merge, refresh, save, saveOrUpdate
public IssueAttachment findByPrimaryKey(Integer attachmentId)
findByPrimaryKey
in interface IssueAttachmentDAO
attachmentId
- system IDpublic IssueAttachment findByFileName(String fileName)
IssueAttachmentDAO
findByFileName
in interface IssueAttachmentDAO
public List<IssueAttachment> findAll()
IssueAttachmentDAO
findAll
in interface IssueAttachmentDAO
public List<IssueAttachment> findByIssue(Integer issueId)
IssueAttachmentDAO
findByIssue
in interface IssueAttachmentDAO
issueId
- system IDpublic Long countAll()
IssueAttachmentDAO
countAll
in interface IssueAttachmentDAO
public Long totalAttachmentsSize()
IssueAttachmentDAO
totalAttachmentsSize
in interface IssueAttachmentDAO
Copyright © 2002–2019 itracker. All rights reserved.