com.liferay.portlet.blogs
Class BlogsEntryAttachmentFileEntryHelper
java.lang.Object
com.liferay.portlet.blogs.BlogsEntryAttachmentFileEntryHelper
public class BlogsEntryAttachmentFileEntryHelper
- extends Object
|
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,
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 |
BlogsEntryAttachmentFileEntryHelper
public BlogsEntryAttachmentFileEntryHelper()
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,
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