Liferay 7.0-ga1 portal-impl

com.liferay.portlet.blogs.util
Class BlogsUtil

java.lang.Object
  extended by com.liferay.portlet.blogs.util.BlogsUtil

public class BlogsUtil
extends Object


Field Summary
static String DISPLAY_STYLE_ABSTRACT
           
static String DISPLAY_STYLE_FULL_CONTENT
           
static String DISPLAY_STYLE_TITLE
           
 
Constructor Summary
BlogsUtil()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DISPLAY_STYLE_ABSTRACT

public static final String DISPLAY_STYLE_ABSTRACT
See Also:
Constant Field Values

DISPLAY_STYLE_FULL_CONTENT

public static final String DISPLAY_STYLE_FULL_CONTENT
See Also:
Constant Field Values

DISPLAY_STYLE_TITLE

public static final String DISPLAY_STYLE_TITLE
See Also:
Constant Field Values
Constructor Detail

BlogsUtil

public BlogsUtil()
Method Detail

getCommentsCount

public static int getCommentsCount(com.liferay.blogs.kernel.model.BlogsEntry entry)

getEmailDefinitionTerms

public static Map<String,String> getEmailDefinitionTerms(PortletRequest portletRequest,
                                                         String emailFromAddress,
                                                         String emailFromName)

getEmailFromDefinitionTerms

public static Map<String,String> getEmailFromDefinitionTerms(PortletRequest portletRequest,
                                                             String emailFromAddress,
                                                             String emailFromName)

getOrderByComparator

public static com.liferay.portal.kernel.util.OrderByComparator<com.liferay.blogs.kernel.model.BlogsEntry> getOrderByComparator(String orderByCol,
                                                                                                                               String orderByType)

getSearchContainerResults

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
Throws:
com.liferay.portal.kernel.exception.PortalException

getUrlTitle

public static String getUrlTitle(long entryId,
                                 String title)

Liferay 7.0-ga1 portal-impl