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) |
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.PortalExceptionpublic 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.PortalExceptionpublic 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.PortalExceptionpublic 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.PortalExceptionpublic List<com.liferay.portal.kernel.repository.model.FileEntry> getTempBlogsEntryAttachmentFileEntries(String content) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic String updateContent(String content, List<BlogsEntryAttachmentFileEntryReference> blogsEntryAttachmentFileEntryReferences)
protected String getBlogsEntryAttachmentFileEntryImgTag(com.liferay.portal.kernel.repository.model.FileEntry blogsEntryAttachmentFileEntry)