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

View Source

Author:
Brian Wing Shun Chan, Thiago Moreira

Field Summary
static java.lang.String POP_PORTLET_PREFIX
           
 
Constructor Summary
BlogsUtil()
           
 
Method Summary
static java.lang.String getEmailEntryAddedBody(javax.portlet.PortletPreferences preferences)
           
static boolean getEmailEntryAddedEnabled(javax.portlet.PortletPreferences preferences)
           
static java.lang.String getEmailEntryAddedSubject(javax.portlet.PortletPreferences preferences)
           
static java.lang.String getEmailEntryUpdatedBody(javax.portlet.PortletPreferences preferences)
           
static boolean getEmailEntryUpdatedEnabled(javax.portlet.PortletPreferences preferences)
           
static java.lang.String getEmailEntryUpdatedSubject(javax.portlet.PortletPreferences preferences)
           
static java.lang.String getEmailFromAddress(javax.portlet.PortletPreferences preferences)
           
static java.lang.String getEmailFromName(javax.portlet.PortletPreferences preferences)
           
static java.lang.String getMailId(java.lang.String mx, long entryId)
           
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
 

Field Detail

POP_PORTLET_PREFIX

public static final java.lang.String POP_PORTLET_PREFIX
See Also:
Constant Field Values
Constructor Detail

BlogsUtil

public BlogsUtil()
Method Detail

getEmailEntryAddedBody

public static java.lang.String getEmailEntryAddedBody(javax.portlet.PortletPreferences preferences)

getEmailEntryAddedEnabled

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

getEmailEntryAddedSubject

public static java.lang.String getEmailEntryAddedSubject(javax.portlet.PortletPreferences preferences)

getEmailEntryUpdatedBody

public static java.lang.String getEmailEntryUpdatedBody(javax.portlet.PortletPreferences preferences)

getEmailEntryUpdatedEnabled

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

getEmailEntryUpdatedSubject

public static java.lang.String getEmailEntryUpdatedSubject(javax.portlet.PortletPreferences preferences)

getEmailFromAddress

public static java.lang.String getEmailFromAddress(javax.portlet.PortletPreferences preferences)

getEmailFromName

public static java.lang.String getEmailFromName(javax.portlet.PortletPreferences preferences)

getMailId

public static java.lang.String getMailId(java.lang.String mx,
                                         long entryId)

getUrlTitle

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