Liferay 7.0-ce-b4

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(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 OrderByComparator<BlogsEntry> getOrderByComparator(String orderByCol, String orderByType)
           
static SearchContainerResults<AssetEntry> getSearchContainerResults(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(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 OrderByComparator<BlogsEntry> getOrderByComparator(String orderByCol,
                                                                 String orderByType)

getSearchContainerResults

public static SearchContainerResults<AssetEntry> getSearchContainerResults(SearchContainer<?> searchContainer)
                                                                    throws PortalException
Throws:
PortalException

getUrlTitle

public static String getUrlTitle(long entryId,
                                 String title)

Liferay 7.0-ce-b4