org.squashtest.csp.tm.internal.service
Class AttachmentManagerServiceImpl
java.lang.Object
org.squashtest.csp.tm.internal.service.AttachmentManagerServiceImpl
- All Implemented Interfaces:
- AttachmentManagerService
@Service(value="squashtest.tm.service.AttachmentManagerService")
public class AttachmentManagerServiceImpl
- extends Object
- implements AttachmentManagerService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachmentManagerServiceImpl
public AttachmentManagerServiceImpl()
addAttachment
public Long addAttachment(Long attachmentListId,
Attachment attachment)
- Specified by:
addAttachment in interface AttachmentManagerService
findAttachment
public Attachment findAttachment(Long attachmentId)
- Specified by:
findAttachment in interface AttachmentManagerService
findAttachments
public Set<Attachment> findAttachments(Long attachmentListId)
- Specified by:
findAttachments in interface AttachmentManagerService
setAttachmentContent
public void setAttachmentContent(InputStream stream,
Long attachmentId)
- Specified by:
setAttachmentContent in interface AttachmentManagerService
getAttachmentContent
public InputStream getAttachmentContent(Long attachmentId)
- Specified by:
getAttachmentContent in interface AttachmentManagerService
removeAttachmentFromList
public void removeAttachmentFromList(Long attachmentListId,
Long attachmentId)
- Specified by:
removeAttachmentFromList in interface AttachmentManagerService
removeListOfAttachments
public void removeListOfAttachments(Long attachmentListId,
List<Long> attachmentIds)
- Specified by:
removeListOfAttachments in interface AttachmentManagerService
renameAttachment
public void renameAttachment(Long attachmentId,
String newName)
- Specified by:
renameAttachment in interface AttachmentManagerService
findAttachmentShortName
public String findAttachmentShortName(Long attachmentId)
- Specified by:
findAttachmentShortName in interface AttachmentManagerService
findFilteredAttachmentForList
public FilteredCollectionHolder<List<Attachment>> findFilteredAttachmentForList(long attachmentListId,
CollectionSorting filter)
- Specified by:
findFilteredAttachmentForList in interface AttachmentManagerService
Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.