Liferay 7.0-ce-m2

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<String,String> getEmailDefinitionTerms(PortletRequest portletRequest, String emailFromAddress, String emailFromName)
           
static List<Object> getEntries(Hits hits)
           
static OrderByComparator<BookmarksEntry> 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
Throws:
PortalException

getControlPanelLink

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

getEmailDefinitionTerms

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

getEntries

public static List<Object> getEntries(Hits hits)

getEntryOrderByComparator

public static OrderByComparator<BookmarksEntry> getEntryOrderByComparator(String orderByCol,
                                                                          String orderByType)

Liferay 7.0-ce-m2