public abstract class AbstractForumServiceImpl extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ATTACHMENT_TEMPORARY_FILE_PREFIX
Attachment temporary file prefix.
|
| Constructor and Description |
|---|
AbstractForumServiceImpl()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
deleteAttachment(ForumFiles attachments)
Delete attachment.
|
protected void |
setAttachmentFileProperties(org.springframework.web.multipart.MultipartFile upload,
ForumFile file,
String prefix)
Set attachment file properties.
|
protected void |
uploadAttachments(ForumFiles attachments)
Upload attachments.
|
protected static final String ATTACHMENT_TEMPORARY_FILE_PREFIX
protected void uploadAttachments(ForumFiles attachments) throws IOException
attachments - attachmentsIOExceptionprotected void setAttachmentFileProperties(org.springframework.web.multipart.MultipartFile upload,
ForumFile file,
String prefix)
throws IOException
upload - multipart file uploadfile - attachment fileprefix - temporary file prefixIOExceptionprotected void deleteAttachment(ForumFiles attachments) throws IOException
attachments - attachmentsIOExceptionCopyright © 2022 OSIVIA. All rights reserved.