Liferay 7.0-ce-m3

com.liferay.portlet.blogs
Class BlogsEntryAttachmentFileEntryHelper

java.lang.Object
  extended by com.liferay.portlet.blogs.BlogsEntryAttachmentFileEntryHelper

public class BlogsEntryAttachmentFileEntryHelper
extends Object


Constructor Summary
BlogsEntryAttachmentFileEntryHelper()
           
 
Method Summary
 List<BlogsEntryAttachmentFileEntryReference> addBlogsEntryAttachmentFileEntries(long groupId, long userId, long blogsEntryId, List<FileEntry> tempFileEntries)
           
protected  FileEntry addBlogsEntryAttachmentFileEntry(long groupId, long userId, long blogsEntryId, String fileName, String mimeType, InputStream is)
           
protected  String getBlogsEntryAttachmentFileEntryLink(FileEntry blogsEntryAttachmentEntryFileEntry)
           
 List<FileEntry> getTempBlogsEntryAttachmentFileEntries(String content)
           
 String updateContent(String content, List<BlogsEntryAttachmentFileEntryReference> blogsEntryAttachmentFileEntryReferences)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlogsEntryAttachmentFileEntryHelper

public BlogsEntryAttachmentFileEntryHelper()
Method Detail

addBlogsEntryAttachmentFileEntries

public List<BlogsEntryAttachmentFileEntryReference> addBlogsEntryAttachmentFileEntries(long groupId,
                                                                                       long userId,
                                                                                       long blogsEntryId,
                                                                                       List<FileEntry> tempFileEntries)
                                                                                throws PortalException
Throws:
PortalException

getTempBlogsEntryAttachmentFileEntries

public List<FileEntry> getTempBlogsEntryAttachmentFileEntries(String content)
                                                       throws PortalException
Throws:
PortalException

updateContent

public String updateContent(String content,
                            List<BlogsEntryAttachmentFileEntryReference> blogsEntryAttachmentFileEntryReferences)

addBlogsEntryAttachmentFileEntry

protected FileEntry addBlogsEntryAttachmentFileEntry(long groupId,
                                                     long userId,
                                                     long blogsEntryId,
                                                     String fileName,
                                                     String mimeType,
                                                     InputStream is)
                                              throws PortalException
Throws:
PortalException

getBlogsEntryAttachmentFileEntryLink

protected String getBlogsEntryAttachmentFileEntryLink(FileEntry blogsEntryAttachmentEntryFileEntry)

Liferay 7.0-ce-m3