Package com.liferay.journal.util
Interface JournalHelper
public interface JournalHelper
-
Method Summary
Modifier and TypeMethodDescriptioncreateURLPattern
(JournalArticle article, Locale locale, boolean privateLayout, String separator, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) diffHtml
(long groupId, String articleId, double sourceVersion, double targetVersion, String languageId, com.liferay.portal.kernel.portlet.PortletRequestModel portletRequestModel, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) getAbsolutePath
(javax.portlet.PortletRequest portletRequest, long folderId) com.liferay.portal.kernel.model.Layout
getArticleLayout
(String layoutUuid, long groupId) getArticles
(com.liferay.portal.kernel.search.Hits hits) Deprecated.As of Judson (7.1.x), with no direct replacementint
getRestrictionType
(long folderId)
-
Method Details
-
createURLPattern
String createURLPattern(JournalArticle article, Locale locale, boolean privateLayout, String separator, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
diffHtml
String diffHtml(long groupId, String articleId, double sourceVersion, double targetVersion, String languageId, com.liferay.portal.kernel.portlet.PortletRequestModel portletRequestModel, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws Exception - Throws:
Exception
-
getAbsolutePath
String getAbsolutePath(javax.portlet.PortletRequest portletRequest, long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getArticleLayout
-
getArticles
@Deprecated List<JournalArticle> getArticles(com.liferay.portal.kernel.search.Hits hits) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Judson (7.1.x), with no direct replacement- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getRestrictionType
int getRestrictionType(long folderId)
-