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

Field Summary
static java.lang.String CLASS_NAME
           
static java.lang.String LISTENER
           
 
Constructor Summary
BookmarksEntryUtil()
           
 
Method Summary
static int countByFolderId(java.lang.String folderId)
           
static BookmarksEntry create(java.lang.String entryId)
           
static BookmarksEntry fetchByPrimaryKey(java.lang.String entryId)
           
static java.util.List findAll()
           
static BookmarksEntry findByFolderId_First(java.lang.String folderId, com.liferay.util.dao.hibernate.OrderByComparator obc)
           
static BookmarksEntry findByFolderId_Last(java.lang.String folderId, com.liferay.util.dao.hibernate.OrderByComparator obc)
           
static BookmarksEntry[] findByFolderId_PrevAndNext(java.lang.String entryId, java.lang.String folderId, com.liferay.util.dao.hibernate.OrderByComparator obc)
           
static java.util.List findByFolderId(java.lang.String folderId)
           
static java.util.List findByFolderId(java.lang.String folderId, int begin, int end)
           
static java.util.List findByFolderId(java.lang.String folderId, int begin, int end, com.liferay.util.dao.hibernate.OrderByComparator obc)
           
static BookmarksEntry findByPrimaryKey(java.lang.String entryId)
           
static BookmarksEntryPersistence getPersistence()
           
static void initDao()
           
static BookmarksEntry remove(BookmarksEntry bookmarksEntry)
           
static BookmarksEntry remove(java.lang.String entryId)
           
static void removeByFolderId(java.lang.String folderId)
           
 void setPersistence(BookmarksEntryPersistence persistence)
           
static BookmarksEntry update(BookmarksEntry bookmarksEntry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_NAME

public static final java.lang.String CLASS_NAME

LISTENER

public static final java.lang.String LISTENER
Constructor Detail

BookmarksEntryUtil

public BookmarksEntryUtil()
Method Detail

create

public static BookmarksEntry create(java.lang.String entryId)

remove

public static BookmarksEntry remove(java.lang.String entryId)
                             throws NoSuchEntryException,
                                    SystemException
Throws:
NoSuchEntryException
SystemException

remove

public static BookmarksEntry remove(BookmarksEntry bookmarksEntry)
                             throws SystemException
Throws:
SystemException

update

public static BookmarksEntry update(BookmarksEntry bookmarksEntry)
                             throws SystemException
Throws:
SystemException

findByPrimaryKey

public static BookmarksEntry findByPrimaryKey(java.lang.String entryId)
                                       throws NoSuchEntryException,
                                              SystemException
Throws:
NoSuchEntryException
SystemException

fetchByPrimaryKey

public static BookmarksEntry fetchByPrimaryKey(java.lang.String entryId)
                                        throws SystemException
Throws:
SystemException

findByFolderId

public static java.util.List findByFolderId(java.lang.String folderId)
                                     throws SystemException
Throws:
SystemException

findByFolderId

public static java.util.List findByFolderId(java.lang.String folderId,
                                            int begin,
                                            int end)
                                     throws SystemException
Throws:
SystemException

findByFolderId

public static java.util.List findByFolderId(java.lang.String folderId,
                                            int begin,
                                            int end,
                                            com.liferay.util.dao.hibernate.OrderByComparator obc)
                                     throws SystemException
Throws:
SystemException

findByFolderId_First

public static BookmarksEntry findByFolderId_First(java.lang.String folderId,
                                                  com.liferay.util.dao.hibernate.OrderByComparator obc)
                                           throws NoSuchEntryException,
                                                  SystemException
Throws:
NoSuchEntryException
SystemException

findByFolderId_Last

public static BookmarksEntry findByFolderId_Last(java.lang.String folderId,
                                                 com.liferay.util.dao.hibernate.OrderByComparator obc)
                                          throws NoSuchEntryException,
                                                 SystemException
Throws:
NoSuchEntryException
SystemException

findByFolderId_PrevAndNext

public static BookmarksEntry[] findByFolderId_PrevAndNext(java.lang.String entryId,
                                                          java.lang.String folderId,
                                                          com.liferay.util.dao.hibernate.OrderByComparator obc)
                                                   throws NoSuchEntryException,
                                                          SystemException
Throws:
NoSuchEntryException
SystemException

findAll

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

removeByFolderId

public static void removeByFolderId(java.lang.String folderId)
                             throws SystemException
Throws:
SystemException

countByFolderId

public static int countByFolderId(java.lang.String folderId)
                           throws SystemException
Throws:
SystemException

initDao

public static void initDao()

getPersistence

public static BookmarksEntryPersistence getPersistence()

setPersistence

public void setPersistence(BookmarksEntryPersistence persistence)