public class BlogsEntryAttachmentFileEntryHelper
extends java.lang.Object
| Constructor and Description |
|---|
BlogsEntryAttachmentFileEntryHelper() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<BlogsEntryAttachmentFileEntryReference> |
addBlogsEntryAttachmentFileEntries(long groupId,
long userId,
long blogsEntryId,
long folderId,
java.util.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,
java.lang.String fileName,
java.lang.String mimeType,
byte[] bytes) |
com.liferay.portal.kernel.repository.model.FileEntry |
addBlogsEntryAttachmentFileEntry(long groupId,
long userId,
long blogsEntryId,
long folderId,
java.lang.String fileName,
java.lang.String mimeType,
java.io.File file) |
com.liferay.portal.kernel.repository.model.FileEntry |
addBlogsEntryAttachmentFileEntry(long groupId,
long userId,
long blogsEntryId,
long folderId,
java.lang.String fileName,
java.lang.String mimeType,
java.io.InputStream is) |
protected java.lang.String |
getBlogsEntryAttachmentFileEntryImgTag(com.liferay.portal.kernel.repository.model.FileEntry blogsEntryAttachmentFileEntry) |
java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> |
getTempBlogsEntryAttachmentFileEntries(java.lang.String content) |
protected java.lang.String |
getUniqueFileName(long groupId,
java.lang.String fileName,
long folderId) |
java.lang.String |
updateContent(java.lang.String content,
java.util.List<BlogsEntryAttachmentFileEntryReference> blogsEntryAttachmentFileEntryReferences) |
public java.util.List<BlogsEntryAttachmentFileEntryReference> addBlogsEntryAttachmentFileEntries(long groupId, long userId, long blogsEntryId, long folderId, java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> tempFileEntries) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.repository.model.FileEntry addBlogsEntryAttachmentFileEntry(long groupId,
long userId,
long blogsEntryId,
long folderId,
java.lang.String fileName,
java.lang.String mimeType,
byte[] bytes)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.repository.model.FileEntry addBlogsEntryAttachmentFileEntry(long groupId,
long userId,
long blogsEntryId,
long folderId,
java.lang.String fileName,
java.lang.String mimeType,
java.io.File file)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.repository.model.FileEntry addBlogsEntryAttachmentFileEntry(long groupId,
long userId,
long blogsEntryId,
long folderId,
java.lang.String fileName,
java.lang.String mimeType,
java.io.InputStream is)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> getTempBlogsEntryAttachmentFileEntries(java.lang.String content)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String updateContent(java.lang.String content,
java.util.List<BlogsEntryAttachmentFileEntryReference> blogsEntryAttachmentFileEntryReferences)
protected java.lang.String getBlogsEntryAttachmentFileEntryImgTag(com.liferay.portal.kernel.repository.model.FileEntry blogsEntryAttachmentFileEntry)
protected java.lang.String getUniqueFileName(long groupId,
java.lang.String fileName,
long folderId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException