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

All Superinterfaces:
BasePersistence

public interface BookmarksEntryPersistence
extends BasePersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 void cacheResult(BookmarksEntry bookmarksEntry)
           
 void cacheResult(java.util.List<BookmarksEntry> bookmarksEntries)
           
 void clearCache()
           
 int countAll()
           
 int countByFolderId(long folderId)
           
 int countByG_U(long groupId, long userId)
           
 int countByGroupId(long groupId)
           
 int countByUUID_G(java.lang.String uuid, long groupId)
           
 int countByUuid(java.lang.String uuid)
           
 BookmarksEntry create(long entryId)
           
 BookmarksEntry fetchByPrimaryKey(long entryId)
           
 BookmarksEntry fetchByUUID_G(java.lang.String uuid, long groupId)
           
 BookmarksEntry fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
           
 java.util.List<BookmarksEntry> findAll()
           
 java.util.List<BookmarksEntry> findAll(int start, int end)
           
 java.util.List<BookmarksEntry> findAll(int start, 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<BookmarksEntry> findByFolderId(long folderId)
           
 java.util.List<BookmarksEntry> findByFolderId(long folderId, int start, int end)
           
 java.util.List<BookmarksEntry> findByFolderId(long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BookmarksEntry findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BookmarksEntry findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BookmarksEntry[] findByG_U_PrevAndNext(long entryId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<BookmarksEntry> findByG_U(long groupId, long userId)
           
 java.util.List<BookmarksEntry> findByG_U(long groupId, long userId, int start, int end)
           
 java.util.List<BookmarksEntry> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BookmarksEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BookmarksEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BookmarksEntry[] findByGroupId_PrevAndNext(long entryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<BookmarksEntry> findByGroupId(long groupId)
           
 java.util.List<BookmarksEntry> findByGroupId(long groupId, int start, int end)
           
 java.util.List<BookmarksEntry> findByGroupId(long groupId, int start, 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_G(java.lang.String uuid, long groupId)
           
 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<BookmarksEntry> findByUuid(java.lang.String uuid)
           
 java.util.List<BookmarksEntry> findByUuid(java.lang.String uuid, int start, int end)
           
 java.util.List<BookmarksEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 BookmarksEntry remove(BookmarksEntry bookmarksEntry)
           
 BookmarksEntry remove(long entryId)
           
 void removeAll()
           
 void removeByFolderId(long folderId)
           
 void removeByG_U(long groupId, long userId)
           
 void removeByGroupId(long groupId)
           
 void removeByUUID_G(java.lang.String uuid, long groupId)
           
 void removeByUuid(java.lang.String uuid)
           
 BookmarksEntry update(BookmarksEntry bookmarksEntry)
          Deprecated. Use update(BookmarksEntry bookmarksEntry, boolean merge).
 BookmarksEntry update(BookmarksEntry bookmarksEntry, boolean merge)
          Add, update, or merge, the entity.
 BookmarksEntry updateImpl(BookmarksEntry bookmarksEntry, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
getListeners, registerListener, unregisterListener
 

Method Detail

cacheResult

void cacheResult(BookmarksEntry bookmarksEntry)

cacheResult

void cacheResult(java.util.List<BookmarksEntry> bookmarksEntries)

clearCache

void clearCache()
Specified by:
clearCache in interface BasePersistence

create

BookmarksEntry create(long entryId)

remove

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

remove

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

update

BookmarksEntry update(BookmarksEntry bookmarksEntry)
                      throws com.liferay.portal.SystemException
Deprecated. Use update(BookmarksEntry bookmarksEntry, boolean merge).

Throws:
com.liferay.portal.SystemException

update

BookmarksEntry update(BookmarksEntry bookmarksEntry,
                      boolean merge)
                      throws com.liferay.portal.SystemException
Add, update, or merge, the entity. This method also calls the model listeners to trigger the proper events associated with adding, deleting, or updating an entity.

Parameters:
bookmarksEntry - the entity to add, update, or merge
merge - boolean value for whether to merge the entity. The default value is false. Setting merge to true is more expensive and should only be true when bookmarksEntry is transient. See LEP-5473 for a detailed discussion of this method.
Returns:
true if the portlet can be displayed via Ajax
Throws:
com.liferay.portal.SystemException

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByUuid

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

findByUuid

java.util.List<BookmarksEntry> findByUuid(java.lang.String uuid,
                                          int start,
                                          int end)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

java.util.List<BookmarksEntry> findByUuid(java.lang.String uuid,
                                          int start,
                                          int end,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid_First

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

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

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

findByUUID_G

BookmarksEntry findByUUID_G(java.lang.String uuid,
                            long groupId)
                            throws com.liferay.portal.SystemException,
                                   NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

fetchByUUID_G

BookmarksEntry fetchByUUID_G(java.lang.String uuid,
                             long groupId)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByUUID_G

BookmarksEntry fetchByUUID_G(java.lang.String uuid,
                             long groupId,
                             boolean retrieveFromCache)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

java.util.List<BookmarksEntry> findByGroupId(long groupId)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

java.util.List<BookmarksEntry> findByGroupId(long groupId,
                                             int start,
                                             int end)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

java.util.List<BookmarksEntry> findByGroupId(long groupId,
                                             int start,
                                             int end,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId_First

BookmarksEntry findByGroupId_First(long groupId,
                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

findByGroupId_Last

BookmarksEntry findByGroupId_Last(long groupId,
                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

findByGroupId_PrevAndNext

BookmarksEntry[] findByGroupId_PrevAndNext(long entryId,
                                           long groupId,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.SystemException,
                                                  NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

findByFolderId

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

findByFolderId

java.util.List<BookmarksEntry> findByFolderId(long folderId,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFolderId

java.util.List<BookmarksEntry> findByFolderId(long folderId,
                                              int start,
                                              int end,
                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFolderId_First

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

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

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

findByG_U

java.util.List<BookmarksEntry> findByG_U(long groupId,
                                         long userId)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_U

java.util.List<BookmarksEntry> findByG_U(long groupId,
                                         long userId,
                                         int start,
                                         int end)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_U

java.util.List<BookmarksEntry> findByG_U(long groupId,
                                         long userId,
                                         int start,
                                         int end,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_U_First

BookmarksEntry findByG_U_First(long groupId,
                               long userId,
                               com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.SystemException,
                                      NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

findByG_U_Last

BookmarksEntry findByG_U_Last(long groupId,
                              long userId,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                              throws com.liferay.portal.SystemException,
                                     NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

findByG_U_PrevAndNext

BookmarksEntry[] findByG_U_PrevAndNext(long entryId,
                                       long groupId,
                                       long userId,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.SystemException,
                                              NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

findWithDynamicQuery

java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                      int start,
                                                      int end)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<BookmarksEntry> findAll()
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<BookmarksEntry> findAll(int start,
                                       int end)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<BookmarksEntry> findAll(int start,
                                       int end,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByUuid

void removeByUuid(java.lang.String uuid)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByUUID_G

void removeByUUID_G(java.lang.String uuid,
                    long groupId)
                    throws com.liferay.portal.SystemException,
                           NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

removeByGroupId

void removeByGroupId(long groupId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByFolderId

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

removeByG_U

void removeByG_U(long groupId,
                 long userId)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

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

countByUuid

int countByUuid(java.lang.String uuid)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByUUID_G

int countByUUID_G(java.lang.String uuid,
                  long groupId)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByGroupId

int countByGroupId(long groupId)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByFolderId

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

countByG_U

int countByG_U(long groupId,
               long userId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

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