com.liferay.portlet.bookmarks.service.persistence
Class BookmarksEntryUtil

java.lang.Object
  extended bycom.liferay.portlet.bookmarks.service.persistence.BookmarksEntryUtil

public class BookmarksEntryUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
BookmarksEntryUtil()
           
 
Method Summary
static int countAll()
           
static int countByFolderId(long folderId)
           
static com.liferay.portlet.bookmarks.model.BookmarksEntry create(long entryId)
           
static com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByPrimaryKey(long entryId)
           
static java.util.List findAll()
           
static java.util.List findAll(int begin, int end)
           
static java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.bookmarks.model.BookmarksEntry findByFolderId_First(long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.bookmarks.model.BookmarksEntry findByFolderId_Last(long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByFolderId_PrevAndNext(long entryId, long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List findByFolderId(long folderId)
           
static java.util.List findByFolderId(long folderId, int begin, int end)
           
static java.util.List findByFolderId(long folderId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.bookmarks.model.BookmarksEntry findByPrimaryKey(long entryId)
           
static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static BookmarksEntryPersistence getPersistence()
           
static com.liferay.portlet.bookmarks.model.BookmarksEntry remove(com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
           
static com.liferay.portlet.bookmarks.model.BookmarksEntry remove(long entryId)
           
static void removeAll()
           
static void removeByFolderId(long folderId)
           
 void setPersistence(BookmarksEntryPersistence persistence)
           
static com.liferay.portlet.bookmarks.model.BookmarksEntry update(com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
           
static com.liferay.portlet.bookmarks.model.BookmarksEntry update(com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookmarksEntryUtil

public BookmarksEntryUtil()
Method Detail

create

public static com.liferay.portlet.bookmarks.model.BookmarksEntry create(long entryId)

remove

public static com.liferay.portlet.bookmarks.model.BookmarksEntry remove(long entryId)
                                                                 throws com.liferay.portal.SystemException,
                                                                        com.liferay.portlet.bookmarks.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.bookmarks.NoSuchEntryException

remove

public static com.liferay.portlet.bookmarks.model.BookmarksEntry remove(com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
                                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public static com.liferay.portlet.bookmarks.model.BookmarksEntry update(com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
                                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public static com.liferay.portlet.bookmarks.model.BookmarksEntry update(com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry,
                                                                        boolean merge)
                                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByPrimaryKey(long entryId)
                                                                           throws com.liferay.portal.SystemException,
                                                                                  com.liferay.portlet.bookmarks.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.bookmarks.NoSuchEntryException

fetchByPrimaryKey

public static com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByPrimaryKey(long entryId)
                                                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFolderId

public static java.util.List findByFolderId(long folderId)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFolderId

public static java.util.List findByFolderId(long folderId,
                                            int begin,
                                            int end)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFolderId

public static java.util.List findByFolderId(long folderId,
                                            int begin,
                                            int end,
                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFolderId_First

public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByFolderId_First(long folderId,
                                                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                               throws com.liferay.portal.SystemException,
                                                                                      com.liferay.portlet.bookmarks.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.bookmarks.NoSuchEntryException

findByFolderId_Last

public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByFolderId_Last(long folderId,
                                                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                              throws com.liferay.portal.SystemException,
                                                                                     com.liferay.portlet.bookmarks.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.bookmarks.NoSuchEntryException

findByFolderId_PrevAndNext

public static com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByFolderId_PrevAndNext(long entryId,
                                                                                              long folderId,
                                                                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                                       throws com.liferay.portal.SystemException,
                                                                                              com.liferay.portlet.bookmarks.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.bookmarks.NoSuchEntryException

findWithDynamicQuery

public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                                  int begin,
                                                  int end)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List findAll()
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List findAll(int begin,
                                     int end)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List findAll(int begin,
                                     int end,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByFolderId

public static void removeByFolderId(long folderId)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

public static void removeAll()
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByFolderId

public static int countByFolderId(long folderId)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

public static int countAll()
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPersistence

public static BookmarksEntryPersistence getPersistence()

setPersistence

public void setPersistence(BookmarksEntryPersistence persistence)