Liferay 6.2-ce-ga5

com.liferay.portlet.bookmarks.util
Class BookmarksUtil

java.lang.Object
  extended by com.liferay.portlet.bookmarks.util.BookmarksUtil

public class BookmarksUtil
extends Object


Constructor Summary
BookmarksUtil()
           
 
Method Summary
static void addPortletBreadcrumbEntries(BookmarksEntry entry, javax.servlet.http.HttpServletRequest request, RenderResponse renderResponse)
           
static void addPortletBreadcrumbEntries(BookmarksFolder folder, javax.servlet.http.HttpServletRequest request, RenderResponse renderResponse)
           
static void addPortletBreadcrumbEntries(long folderId, javax.servlet.http.HttpServletRequest request, RenderResponse renderResponse)
           
static String getAbsolutePath(PortletRequest portletRequest, long folderId)
           
static String getControlPanelLink(PortletRequest portletRequest, long folderId)
           
static Map<Locale,String> getEmailEntryAddedBodyMap(PortletPreferences preferences)
           
static boolean getEmailEntryAddedEnabled(PortletPreferences preferences)
           
static Map<Locale,String> getEmailEntryAddedSubjectMap(PortletPreferences preferences)
           
static Map<Locale,String> getEmailEntryUpdatedBodyMap(PortletPreferences preferences)
           
static boolean getEmailEntryUpdatedEnabled(PortletPreferences preferences)
           
static Map<Locale,String> getEmailEntryUpdatedSubjectMap(PortletPreferences preferences)
           
static String getEmailFromAddress(PortletPreferences preferences, long companyId)
           
static String getEmailFromName(PortletPreferences preferences, long companyId)
           
static List<Object> getEntries(Hits hits)
           
static OrderByComparator getEntryOrderByComparator(String orderByCol, String orderByType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookmarksUtil

public BookmarksUtil()
Method Detail

addPortletBreadcrumbEntries

public static void addPortletBreadcrumbEntries(BookmarksEntry entry,
                                               javax.servlet.http.HttpServletRequest request,
                                               RenderResponse renderResponse)
                                        throws Exception
Throws:
Exception

addPortletBreadcrumbEntries

public static void addPortletBreadcrumbEntries(BookmarksFolder folder,
                                               javax.servlet.http.HttpServletRequest request,
                                               RenderResponse renderResponse)
                                        throws Exception
Throws:
Exception

addPortletBreadcrumbEntries

public static void addPortletBreadcrumbEntries(long folderId,
                                               javax.servlet.http.HttpServletRequest request,
                                               RenderResponse renderResponse)
                                        throws Exception
Throws:
Exception

getAbsolutePath

public static String getAbsolutePath(PortletRequest portletRequest,
                                     long folderId)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

getControlPanelLink

public static String getControlPanelLink(PortletRequest portletRequest,
                                         long folderId)
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

getEmailEntryAddedBodyMap

public static Map<Locale,String> getEmailEntryAddedBodyMap(PortletPreferences preferences)

getEmailEntryAddedEnabled

public static boolean getEmailEntryAddedEnabled(PortletPreferences preferences)

getEmailEntryAddedSubjectMap

public static Map<Locale,String> getEmailEntryAddedSubjectMap(PortletPreferences preferences)

getEmailEntryUpdatedBodyMap

public static Map<Locale,String> getEmailEntryUpdatedBodyMap(PortletPreferences preferences)

getEmailEntryUpdatedEnabled

public static boolean getEmailEntryUpdatedEnabled(PortletPreferences preferences)

getEmailEntryUpdatedSubjectMap

public static Map<Locale,String> getEmailEntryUpdatedSubjectMap(PortletPreferences preferences)

getEmailFromAddress

public static String getEmailFromAddress(PortletPreferences preferences,
                                         long companyId)
                                  throws SystemException
Throws:
SystemException

getEmailFromName

public static String getEmailFromName(PortletPreferences preferences,
                                      long companyId)
                               throws SystemException
Throws:
SystemException

getEntries

public static List<Object> getEntries(Hits hits)

getEntryOrderByComparator

public static OrderByComparator getEntryOrderByComparator(String orderByCol,
                                                          String orderByType)

Liferay 6.2-ce-ga5