org.squashtest.tm.service.internal.attachment
Class AttachmentManagerServiceImpl
java.lang.Object
org.squashtest.tm.service.internal.attachment.AttachmentManagerServiceImpl
- All Implemented Interfaces:
- AttachmentFinderService, 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,
org.squashtest.tm.domain.attachment.Attachment attachment)
- Specified by:
addAttachment in interface AttachmentManagerService
findAttachment
public org.squashtest.tm.domain.attachment.Attachment findAttachment(Long attachmentId)
- Specified by:
findAttachment in interface AttachmentFinderService
findAttachments
public Set<org.squashtest.tm.domain.attachment.Attachment> findAttachments(Long attachmentListId)
- Specified by:
findAttachments in interface AttachmentFinderService
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 AttachmentFinderService
findPagedAttachments
public 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)
- Specified by:
findPagedAttachments in interface AttachmentFinderService
findPagedAttachments
public 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)
- Specified by:
findPagedAttachments in interface AttachmentFinderService
Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.