Liferay 7.0-ce-b8 portal-impl

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<com.liferay.portal.kernel.repository.model.FileEntry> tempFileEntries)
           
 com.liferay.portal.kernel.repository.model.FileEntry addBlogsEntryAttachmentFileEntry(long groupId, long userId, long blogsEntryId, long folderId, String fileName, String mimeType, byte[] bytes)
           
 com.liferay.portal.kernel.repository.model.FileEntry addBlogsEntryAttachmentFileEntry(long groupId, long userId, long blogsEntryId, long folderId, String fileName, String mimeType, File file)
           
 com.liferay.portal.kernel.repository.model.FileEntry addBlogsEntryAttachmentFileEntry(long groupId, long userId, long blogsEntryId, long folderId, String fileName, String mimeType, InputStream is)
           
protected  String getBlogsEntryAttachmentFileEntryImgTag(com.liferay.portal.kernel.repository.model.FileEntry blogsEntryAttachmentFileEntry)
           
 List<com.liferay.portal.kernel.repository.model.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<com.liferay.portal.kernel.repository.model.FileEntry> tempFileEntries)
                                                                                throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

addBlogsEntryAttachmentFileEntry

public com.liferay.portal.kernel.repository.model.FileEntry addBlogsEntryAttachmentFileEntry(long groupId,
                                                                                             long userId,
                                                                                             long blogsEntryId,
                                                                                             long folderId,
                                                                                             String fileName,
                                                                                             String mimeType,
                                                                                             byte[] bytes)
                                                                                      throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

addBlogsEntryAttachmentFileEntry

public com.liferay.portal.kernel.repository.model.FileEntry addBlogsEntryAttachmentFileEntry(long groupId,
                                                                                             long userId,
                                                                                             long blogsEntryId,
                                                                                             long folderId,
                                                                                             String fileName,
                                                                                             String mimeType,
                                                                                             File file)
                                                                                      throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

addBlogsEntryAttachmentFileEntry

public com.liferay.portal.kernel.repository.model.FileEntry addBlogsEntryAttachmentFileEntry(long groupId,
                                                                                             long userId,
                                                                                             long blogsEntryId,
                                                                                             long folderId,
                                                                                             String fileName,
                                                                                             String mimeType,
                                                                                             InputStream is)
                                                                                      throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getTempBlogsEntryAttachmentFileEntries

public List<com.liferay.portal.kernel.repository.model.FileEntry> getTempBlogsEntryAttachmentFileEntries(String content)
                                                                                                  throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

updateContent

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

getBlogsEntryAttachmentFileEntryImgTag

protected String getBlogsEntryAttachmentFileEntryImgTag(com.liferay.portal.kernel.repository.model.FileEntry blogsEntryAttachmentFileEntry)

getUniqueFileName

protected String getUniqueFileName(long groupId,
                                   String fileName,
                                   long folderId)
                            throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

Liferay 7.0-ce-b8 portal-impl