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


public interface BookmarksEntryPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByFolderId(long folderId)
           
 int countByUuid(java.lang.String uuid)
           
 BookmarksEntry create(long entryId)
           
 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)
           
 BookmarksEntry findByFolderId_First(long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BookmarksEntry findByFolderId_Last(long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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)
           
 BookmarksEntry findByPrimaryKey(long entryId)
           
 BookmarksEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BookmarksEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BookmarksEntry[] findByUuid_PrevAndNext(long entryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByUuid(java.lang.String uuid)
           
 java.util.List findByUuid(java.lang.String uuid, int begin, int end)
           
 java.util.List findByUuid(java.lang.String uuid, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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)
           
 BookmarksEntry remove(BookmarksEntry bookmarksEntry)
           
 BookmarksEntry remove(long entryId)
           
 void removeAll()
           
 void removeByFolderId(long folderId)
           
 void removeByUuid(java.lang.String uuid)
           
 BookmarksEntry update(BookmarksEntry bookmarksEntry)
           
 BookmarksEntry update(BookmarksEntry bookmarksEntry, boolean merge)
           
 BookmarksEntry updateImpl(BookmarksEntry bookmarksEntry, boolean merge)
           
 

Method Detail

create

public BookmarksEntry create(long entryId)

remove

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

remove

public BookmarksEntry remove(BookmarksEntry bookmarksEntry)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public BookmarksEntry update(BookmarksEntry bookmarksEntry)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

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

updateImpl

public BookmarksEntry updateImpl(BookmarksEntry bookmarksEntry,
                                 boolean merge)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

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

fetchByPrimaryKey

public BookmarksEntry fetchByPrimaryKey(long entryId)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

public java.util.List findByUuid(java.lang.String uuid)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

public java.util.List findByUuid(java.lang.String uuid,
                                 int begin,
                                 int end)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

public java.util.List findByUuid(java.lang.String uuid,
                                 int begin,
                                 int end,
                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid_First

public BookmarksEntry findByUuid_First(java.lang.String uuid,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.SystemException,
                                       NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

findByUuid_Last

public BookmarksEntry findByUuid_Last(java.lang.String uuid,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.SystemException,
                                      NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

findByUuid_PrevAndNext

public BookmarksEntry[] findByUuid_PrevAndNext(long entryId,
                                               java.lang.String uuid,
                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.SystemException,
                                               NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

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 BookmarksEntry findByFolderId_First(long folderId,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws com.liferay.portal.SystemException,
                                           NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

findByFolderId_Last

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

findByFolderId_PrevAndNext

public BookmarksEntry[] findByFolderId_PrevAndNext(long entryId,
                                                   long folderId,
                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                            throws com.liferay.portal.SystemException,
                                                   NoSuchEntryException
Throws:
com.liferay.portal.SystemException
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

removeByUuid

public void removeByUuid(java.lang.String uuid)
                  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

countByUuid

public int countByUuid(java.lang.String uuid)
                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