org.squashtest.tm.service.internal.attachment
@Service(value="squashtest.tm.service.AttachmentManagerService") public class AttachmentManagerServiceImpl extends Object implements AttachmentManagerService
| Constructor and Description |
|---|
AttachmentManagerServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Long |
addAttachment(Long attachmentListId,
org.squashtest.tm.domain.attachment.Attachment attachment) |
org.squashtest.tm.domain.attachment.Attachment |
findAttachment(Long attachmentId) |
Set<org.squashtest.tm.domain.attachment.Attachment> |
findAttachments(Long attachmentListId) |
String |
findAttachmentShortName(Long attachmentId) |
org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<org.squashtest.tm.domain.attachment.Attachment>> |
findPagedAttachments(org.squashtest.tm.domain.attachment.AttachmentHolder attached,
org.squashtest.tm.core.foundation.collection.PagingAndSorting pas) |
org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<org.squashtest.tm.domain.attachment.Attachment>> |
findPagedAttachments(long attachmentListId,
org.squashtest.tm.core.foundation.collection.PagingAndSorting pas) |
InputStream |
getAttachmentContent(Long attachmentId) |
void |
removeAttachmentFromList(Long attachmentListId,
Long attachmentId) |
void |
removeListOfAttachments(Long attachmentListId,
List<Long> attachmentIds) |
void |
renameAttachment(Long attachmentId,
String newName) |
void |
setAttachmentContent(InputStream stream,
Long attachmentId) |
public Long addAttachment(Long attachmentListId, org.squashtest.tm.domain.attachment.Attachment attachment)
addAttachment in interface AttachmentManagerServicepublic org.squashtest.tm.domain.attachment.Attachment findAttachment(Long attachmentId)
findAttachment in interface AttachmentFinderServicepublic Set<org.squashtest.tm.domain.attachment.Attachment> findAttachments(Long attachmentListId)
findAttachments in interface AttachmentFinderServicepublic void setAttachmentContent(InputStream stream, Long attachmentId)
setAttachmentContent in interface AttachmentManagerServicepublic InputStream getAttachmentContent(Long attachmentId)
getAttachmentContent in interface AttachmentManagerServicepublic void removeAttachmentFromList(Long attachmentListId, Long attachmentId)
removeAttachmentFromList in interface AttachmentManagerServicepublic void removeListOfAttachments(Long attachmentListId, List<Long> attachmentIds)
removeListOfAttachments in interface AttachmentManagerServicepublic void renameAttachment(Long attachmentId, String newName)
renameAttachment in interface AttachmentManagerServicepublic String findAttachmentShortName(Long attachmentId)
findAttachmentShortName in interface AttachmentFinderServicepublic org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<org.squashtest.tm.domain.attachment.Attachment>> findPagedAttachments(long attachmentListId, org.squashtest.tm.core.foundation.collection.PagingAndSorting pas)
findPagedAttachments in interface AttachmentFinderServicepublic org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<org.squashtest.tm.domain.attachment.Attachment>> findPagedAttachments(org.squashtest.tm.domain.attachment.AttachmentHolder attached, org.squashtest.tm.core.foundation.collection.PagingAndSorting pas)
findPagedAttachments in interface AttachmentFinderServiceCopyright © 2010-2014 Henix, henix.fr. All Rights Reserved.