public class BlogsUtil
extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DISPLAY_STYLE_ABSTRACT |
static String |
DISPLAY_STYLE_FULL_CONTENT |
static String |
DISPLAY_STYLE_TITLE |
Constructor and Description |
---|
BlogsUtil() |
Modifier and Type | Method and Description |
---|---|
static int |
getCommentsCount(com.liferay.blogs.kernel.model.BlogsEntry entry) |
static Map<String,String> |
getEmailDefinitionTerms(PortletRequest portletRequest,
String emailFromAddress,
String emailFromName) |
static Map<String,String> |
getEmailFromDefinitionTerms(PortletRequest portletRequest,
String emailFromAddress,
String emailFromName) |
static com.liferay.portal.kernel.util.OrderByComparator<com.liferay.blogs.kernel.model.BlogsEntry> |
getOrderByComparator(String orderByCol,
String orderByType) |
static com.liferay.portal.kernel.dao.search.SearchContainerResults<com.liferay.asset.kernel.model.AssetEntry> |
getSearchContainerResults(com.liferay.portal.kernel.dao.search.SearchContainer<?> searchContainer) |
static String |
getUrlTitle(long entryId,
String title) |
public static final String DISPLAY_STYLE_ABSTRACT
public static final String DISPLAY_STYLE_FULL_CONTENT
public static final String DISPLAY_STYLE_TITLE
public static int getCommentsCount(com.liferay.blogs.kernel.model.BlogsEntry entry)
public static Map<String,String> getEmailDefinitionTerms(PortletRequest portletRequest, String emailFromAddress, String emailFromName)
public static Map<String,String> getEmailFromDefinitionTerms(PortletRequest portletRequest, String emailFromAddress, String emailFromName)
public static com.liferay.portal.kernel.util.OrderByComparator<com.liferay.blogs.kernel.model.BlogsEntry> getOrderByComparator(String orderByCol, String orderByType)
public static com.liferay.portal.kernel.dao.search.SearchContainerResults<com.liferay.asset.kernel.model.AssetEntry> getSearchContainerResults(com.liferay.portal.kernel.dao.search.SearchContainer<?> searchContainer) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static String getUrlTitle(long entryId, String title)