public interface NewsAttachmentsService
| Modifier and Type | Method and Description |
|---|---|
String |
addAttachmentFromUploadedResource(javax.jcr.Node newsNode,
String uploadId) |
NewsAttachment |
getNewsAttachment(String attachmentId) |
String |
getNewsAttachmentOpenUrl(String attachmentId) |
List<NewsAttachment> |
getNewsAttachments(javax.jcr.Node newsNode) |
InputStream |
getNewsAttachmentStream(String attachmentId) |
void |
removeAttachment(javax.jcr.Node newsNode,
String attachmentId) |
List<NewsAttachment> |
updateNewsAttachments(News updatedNews,
javax.jcr.Node newsNode) |
List<NewsAttachment> getNewsAttachments(javax.jcr.Node newsNode) throws Exception
ExceptionNewsAttachment getNewsAttachment(String attachmentId) throws Exception
ExceptionInputStream getNewsAttachmentStream(String attachmentId) throws Exception
ExceptionString getNewsAttachmentOpenUrl(String attachmentId) throws Exception
ExceptionList<NewsAttachment> updateNewsAttachments(News updatedNews, javax.jcr.Node newsNode) throws Exception
ExceptionString addAttachmentFromUploadedResource(javax.jcr.Node newsNode, String uploadId) throws Exception
Exceptionvoid removeAttachment(javax.jcr.Node newsNode,
String attachmentId)
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.