Liferay 7.0-ce-b4

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, long folderId, List<FileEntry> tempFileEntries)
           
 FileEntry addBlogsEntryAttachmentFileEntry(long groupId, long userId, long blogsEntryId, long folderId, String fileName, String mimeType, byte[] bytes)
           
 FileEntry addBlogsEntryAttachmentFileEntry(long groupId, long userId, long blogsEntryId, long folderId, String fileName, String mimeType, File file)
           
 FileEntry addBlogsEntryAttachmentFileEntry(long groupId, long userId, long blogsEntryId, long folderId, String fileName, String mimeType, InputStream is)
           
protected  String getBlogsEntryAttachmentFileEntryImgTag(FileEntry blogsEntryAttachmentFileEntry)
           
 List<FileEntry> getTempBlogsEntryAttachmentFileEntries(String content)
           
protected  String getUniqueFileName(long groupId, String fileName, long folderId)
           
 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,
                                                                                       long folderId,
                                                                                       List<FileEntry> tempFileEntries)
                                                                                throws PortalException
Throws:
PortalException

addBlogsEntryAttachmentFileEntry

public FileEntry addBlogsEntryAttachmentFileEntry(long groupId,
                                                  long userId,
                                                  long blogsEntryId,
                                                  long folderId,
                                                  String fileName,
                                                  String mimeType,
                                                  byte[] bytes)
                                           throws PortalException
Throws:
PortalException

addBlogsEntryAttachmentFileEntry

public FileEntry addBlogsEntryAttachmentFileEntry(long groupId,
                                                  long userId,
                                                  long blogsEntryId,
                                                  long folderId,
                                                  String fileName,
                                                  String mimeType,
                                                  File file)
                                           throws PortalException
Throws:
PortalException

addBlogsEntryAttachmentFileEntry

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

getTempBlogsEntryAttachmentFileEntries

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

updateContent

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

getBlogsEntryAttachmentFileEntryImgTag

protected String getBlogsEntryAttachmentFileEntryImgTag(FileEntry blogsEntryAttachmentFileEntry)

getUniqueFileName

protected String getUniqueFileName(long groupId,
                                   String fileName,
                                   long folderId)
                            throws PortalException
Throws:
PortalException

Liferay 7.0-ce-b4