com.liferay.portlet.blogs.util
Class BlogsUtil

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

public class BlogsUtil
extends java.lang.Object

Author:
Brian Wing Shun Chan, Thiago Moreira

Constructor Summary
BlogsUtil()
           
 
Method Summary
static java.util.Map<java.util.Locale,java.lang.String> getEmailEntryAddedBodyMap(javax.portlet.PortletPreferences preferences)
           
static boolean getEmailEntryAddedEnabled(javax.portlet.PortletPreferences preferences)
           
static java.util.Map<java.util.Locale,java.lang.String> getEmailEntryAddedSubjectMap(javax.portlet.PortletPreferences preferences)
           
static java.util.Map<java.util.Locale,java.lang.String> getEmailEntryUpdatedBodyMap(javax.portlet.PortletPreferences preferences)
           
static boolean getEmailEntryUpdatedEnabled(javax.portlet.PortletPreferences preferences)
           
static java.util.Map<java.util.Locale,java.lang.String> getEmailEntryUpdatedSubjectMap(javax.portlet.PortletPreferences preferences)
           
static java.lang.String getEmailFromAddress(javax.portlet.PortletPreferences preferences, long companyId)
           
static java.lang.String getEmailFromName(javax.portlet.PortletPreferences preferences, long companyId)
           
static java.lang.String getUrlTitle(long entryId, java.lang.String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlogsUtil

public BlogsUtil()
Method Detail

getEmailEntryAddedBodyMap

public static java.util.Map<java.util.Locale,java.lang.String> getEmailEntryAddedBodyMap(javax.portlet.PortletPreferences preferences)

getEmailEntryAddedEnabled

public static boolean getEmailEntryAddedEnabled(javax.portlet.PortletPreferences preferences)

getEmailEntryAddedSubjectMap

public static java.util.Map<java.util.Locale,java.lang.String> getEmailEntryAddedSubjectMap(javax.portlet.PortletPreferences preferences)

getEmailEntryUpdatedBodyMap

public static java.util.Map<java.util.Locale,java.lang.String> getEmailEntryUpdatedBodyMap(javax.portlet.PortletPreferences preferences)

getEmailEntryUpdatedEnabled

public static boolean getEmailEntryUpdatedEnabled(javax.portlet.PortletPreferences preferences)

getEmailEntryUpdatedSubjectMap

public static java.util.Map<java.util.Locale,java.lang.String> getEmailEntryUpdatedSubjectMap(javax.portlet.PortletPreferences preferences)

getEmailFromAddress

public static java.lang.String getEmailFromAddress(javax.portlet.PortletPreferences preferences,
                                                   long companyId)
                                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getEmailFromName

public static java.lang.String getEmailFromName(javax.portlet.PortletPreferences preferences,
                                                long companyId)
                                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getUrlTitle

public static java.lang.String getUrlTitle(long entryId,
                                           java.lang.String title)