com.liferay.portlet.bookmarks.service.persistence
Interface BookmarksEntryPersistence

All Known Implementing Classes:
BookmarksEntryPersistenceImpl

public interface BookmarksEntryPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByFolderId(long folderId)
           
 com.liferay.portlet.bookmarks.model.BookmarksEntry create(long entryId)
           
 com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByPrimaryKey(long entryId)
           
 java.util.List findAll()
           
 java.util.List findAll(int begin, int end)
           
 java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.bookmarks.model.BookmarksEntry findByFolderId_First(long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.bookmarks.model.BookmarksEntry findByFolderId_Last(long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByFolderId_PrevAndNext(long entryId, long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByFolderId(long folderId)
           
 java.util.List findByFolderId(long folderId, int begin, int end)
           
 java.util.List findByFolderId(long folderId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.bookmarks.model.BookmarksEntry findByPrimaryKey(long entryId)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 com.liferay.portlet.bookmarks.model.BookmarksEntry remove(com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
           
 com.liferay.portlet.bookmarks.model.BookmarksEntry remove(long entryId)
           
 void removeAll()
           
 void removeByFolderId(long folderId)
           
 com.liferay.portlet.bookmarks.model.BookmarksEntry update(com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
           
 com.liferay.portlet.bookmarks.model.BookmarksEntry update(com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry, boolean merge)
           
 

Method Detail

create

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

remove

public 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 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 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 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 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 com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByPrimaryKey(long entryId)
                                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFolderId

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

findByFolderId

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

findByFolderId

public 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 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 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 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 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public 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 java.util.List findAll()
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

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

findAll

public 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 void removeByFolderId(long folderId)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

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

countByFolderId

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

countAll

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