Package com.xebialabs.xlrelease.service
Class UploadService
java.lang.Object
com.xebialabs.xlrelease.service.UploadService
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUploadService(AttachmentService attachmentService, com.xebialabs.xlrelease.repository.ReleaseRepository releaseRepository, com.xebialabs.xlrelease.repository.AttachmentRepository attachmentRepository, com.xebialabs.xlrelease.actors.ReleaseActorService releaseActorService, com.xebialabs.xlrelease.repository.TemplateMetadataRepository templateMetadataRepository, com.xebialabs.xlrelease.events.EventBus eventBus) -
Method Summary
Modifier and TypeMethodDescriptioncom.xebialabs.xlrelease.domain.AttachmentaddAttachment(String ciId, String fileName, byte[] fileByteArray) com.xebialabs.xlrelease.domain.AttachmentaddAttachment(String ciId, String fileName, String contentType, InputStream inputStream) List<com.xebialabs.xlrelease.domain.Attachment>addAttachment(String ciId, Iterator<jakarta.servlet.http.Part> attachments) com.xebialabs.xlrelease.domain.TemplateLogoaddLogo(String releaseId, String fileName, String contentType, InputStream inputStream) com.xebialabs.xlrelease.domain.TemplateLogo
-
Field Details
-
NEWLINES
- See Also:
-
-
Constructor Details
-
UploadService
@Autowired public UploadService(AttachmentService attachmentService, com.xebialabs.xlrelease.repository.ReleaseRepository releaseRepository, com.xebialabs.xlrelease.repository.AttachmentRepository attachmentRepository, com.xebialabs.xlrelease.actors.ReleaseActorService releaseActorService, com.xebialabs.xlrelease.repository.TemplateMetadataRepository templateMetadataRepository, com.xebialabs.xlrelease.events.EventBus eventBus)
-
-
Method Details
-
addAttachment
@Timed public List<com.xebialabs.xlrelease.domain.Attachment> addAttachment(String ciId, Iterator<jakarta.servlet.http.Part> attachments) throws IOException - Throws:
IOException
-
addLogo
@Timed public com.xebialabs.xlrelease.domain.TemplateLogo addLogo(String ciId, Iterator<jakarta.servlet.http.Part> logo) throws IOException - Throws:
IOException
-
addAttachment
-
addAttachment
@Timed public com.xebialabs.xlrelease.domain.Attachment addAttachment(String ciId, String fileName, String contentType, InputStream inputStream) -
addLogo
@Timed public com.xebialabs.xlrelease.domain.TemplateLogo addLogo(String releaseId, String fileName, String contentType, InputStream inputStream)
-