public interface NewsAttachmentsService
| Modifier and Type | Method and Description |
|---|---|
void |
addAttachmentFromExistingResource(javax.jcr.Node newsNode,
String attachmentId) |
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 |
makeAttachmentsPublic(javax.jcr.Node newsNode) |
void |
removeAttachment(javax.jcr.Node newsNode,
String attachmentId) |
void |
unmakeAttachmentsPublic(javax.jcr.Node newsNode) |
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 addAttachmentFromExistingResource(javax.jcr.Node newsNode,
String attachmentId)
throws Exception
Exceptionvoid makeAttachmentsPublic(javax.jcr.Node newsNode)
throws Exception
Exceptionvoid unmakeAttachmentsPublic(javax.jcr.Node newsNode)
throws Exception
Exceptionvoid removeAttachment(javax.jcr.Node newsNode,
String attachmentId)
Copyright © 2003–2020 eXo Platform SAS. All rights reserved.