List of usage examples for com.liferay.portal.kernel.portletfilerepository PortletFileRepositoryUtil getDownloadPortletFileEntryURL
public static String getDownloadPortletFileEntryURL(ThemeDisplay themeDisplay, FileEntry fileEntry, String queryString)
From source file:com.liferay.wiki.web.internal.display.context.util.WikiSocialActivityHelper.java
License:Open Source License
protected String getDownloadURL(long fileEntryId) throws PortalException { FileEntry fileEntry = _fetchFileEntry(fileEntryId); if (fileEntry != null) { return PortletFileRepositoryUtil.getDownloadPortletFileEntryURL(_wikiRequestHelper.getThemeDisplay(), fileEntry, StringPool.BLANK); }//w ww .jav a2 s.co m return StringPool.BLANK; }