public class BlogsEntryAttachmentFileEntryHelper
extends Object
Constructor and Description |
---|
BlogsEntryAttachmentFileEntryHelper() |
Modifier and Type | Method and Description |
---|---|
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)
Deprecated.
As of Judson (7.1.x), replaced by
com.liferay.blogs.util.BlogsEntryAttachmentContentUpdater#updateContent(
String, List) |
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.portal.kernel.repository.model.FileEntry> getTempBlogsEntryAttachmentFileEntries(String content) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public String updateContent(String content, List<BlogsEntryAttachmentFileEntryReference> blogsEntryAttachmentFileEntryReferences)
com.liferay.blogs.util.BlogsEntryAttachmentContentUpdater#updateContent(
String, List)
protected String getBlogsEntryAttachmentFileEntryImgTag(com.liferay.portal.kernel.repository.model.FileEntry blogsEntryAttachmentFileEntry)
protected String getUniqueFileName(long groupId, String fileName, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException