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


public interface BookmarksFolderPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByCompanyId(long companyId)
           
 int countByG_P(long groupId, long parentFolderId)
           
 int countByGroupId(long groupId)
           
 int countByUUID_G(java.lang.String uuid, long groupId)
           
 int countByUuid(java.lang.String uuid)
           
 BookmarksFolder create(long folderId)
           
 BookmarksFolder fetchByPrimaryKey(long folderId)
           
 BookmarksFolder fetchByUUID_G(java.lang.String uuid, long groupId)
           
 java.util.List<BookmarksFolder> findAll()
           
 java.util.List<BookmarksFolder> findAll(int start, int end)
           
 java.util.List<BookmarksFolder> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BookmarksFolder findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BookmarksFolder findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BookmarksFolder[] findByCompanyId_PrevAndNext(long folderId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<BookmarksFolder> findByCompanyId(long companyId)
           
 java.util.List<BookmarksFolder> findByCompanyId(long companyId, int start, int end)
           
 java.util.List<BookmarksFolder> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BookmarksFolder findByG_P_First(long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BookmarksFolder findByG_P_Last(long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BookmarksFolder[] findByG_P_PrevAndNext(long folderId, long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<BookmarksFolder> findByG_P(long groupId, long parentFolderId)
           
 java.util.List<BookmarksFolder> findByG_P(long groupId, long parentFolderId, int start, int end)
           
 java.util.List<BookmarksFolder> findByG_P(long groupId, long parentFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BookmarksFolder findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BookmarksFolder findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BookmarksFolder[] findByGroupId_PrevAndNext(long folderId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<BookmarksFolder> findByGroupId(long groupId)
           
 java.util.List<BookmarksFolder> findByGroupId(long groupId, int start, int end)
           
 java.util.List<BookmarksFolder> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BookmarksFolder findByPrimaryKey(long folderId)
           
 BookmarksFolder findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BookmarksFolder findByUUID_G(java.lang.String uuid, long groupId)
           
 BookmarksFolder findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BookmarksFolder[] findByUuid_PrevAndNext(long folderId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<BookmarksFolder> findByUuid(java.lang.String uuid)
           
 java.util.List<BookmarksFolder> findByUuid(java.lang.String uuid, int start, int end)
           
 java.util.List<BookmarksFolder> 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)
           
 void registerListener(ModelListener listener)
           
 BookmarksFolder remove(BookmarksFolder bookmarksFolder)
           
 BookmarksFolder remove(long folderId)
           
 void removeAll()
           
 void removeByCompanyId(long companyId)
           
 void removeByG_P(long groupId, long parentFolderId)
           
 void removeByGroupId(long groupId)
           
 void removeByUUID_G(java.lang.String uuid, long groupId)
           
 void removeByUuid(java.lang.String uuid)
           
 void unregisterListener(ModelListener listener)
           
 BookmarksFolder update(BookmarksFolder bookmarksFolder)
          Deprecated. Use update(BookmarksFolder bookmarksFolder, boolean merge).
 BookmarksFolder update(BookmarksFolder bookmarksFolder, boolean merge)
          Add, update, or merge, the entity.
 BookmarksFolder updateImpl(BookmarksFolder bookmarksFolder, boolean merge)
           
 

Method Detail

create

BookmarksFolder create(long folderId)

remove

BookmarksFolder remove(long folderId)
                       throws com.liferay.portal.SystemException,
                              NoSuchFolderException
Throws:
com.liferay.portal.SystemException
NoSuchFolderException

remove

BookmarksFolder remove(BookmarksFolder bookmarksFolder)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

BookmarksFolder update(BookmarksFolder bookmarksFolder)
                       throws com.liferay.portal.SystemException
Deprecated. Use update(BookmarksFolder bookmarksFolder, boolean merge).

Throws:
com.liferay.portal.SystemException

update

BookmarksFolder update(BookmarksFolder bookmarksFolder,
                       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:
bookmarksFolder - 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 bookmarksFolder 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

BookmarksFolder updateImpl(BookmarksFolder bookmarksFolder,
                           boolean merge)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

BookmarksFolder findByPrimaryKey(long folderId)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchFolderException
Throws:
com.liferay.portal.SystemException
NoSuchFolderException

fetchByPrimaryKey

BookmarksFolder fetchByPrimaryKey(long folderId)
                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

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

findByUuid

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

findByUuid

java.util.List<BookmarksFolder> 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

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

findByUuid_Last

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

findByUuid_PrevAndNext

BookmarksFolder[] findByUuid_PrevAndNext(long folderId,
                                         java.lang.String uuid,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws com.liferay.portal.SystemException,
                                                NoSuchFolderException
Throws:
com.liferay.portal.SystemException
NoSuchFolderException

findByUUID_G

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

fetchByUUID_G

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

findByGroupId

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

findByGroupId

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

findByGroupId

java.util.List<BookmarksFolder> 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

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

findByGroupId_Last

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

findByGroupId_PrevAndNext

BookmarksFolder[] findByGroupId_PrevAndNext(long folderId,
                                            long groupId,
                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                            throws com.liferay.portal.SystemException,
                                                   NoSuchFolderException
Throws:
com.liferay.portal.SystemException
NoSuchFolderException

findByCompanyId

java.util.List<BookmarksFolder> findByCompanyId(long companyId)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

java.util.List<BookmarksFolder> findByCompanyId(long companyId,
                                                int start,
                                                int end)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

java.util.List<BookmarksFolder> findByCompanyId(long companyId,
                                                int start,
                                                int end,
                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId_First

BookmarksFolder findByCompanyId_First(long companyId,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                      throws com.liferay.portal.SystemException,
                                             NoSuchFolderException
Throws:
com.liferay.portal.SystemException
NoSuchFolderException

findByCompanyId_Last

BookmarksFolder findByCompanyId_Last(long companyId,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchFolderException
Throws:
com.liferay.portal.SystemException
NoSuchFolderException

findByCompanyId_PrevAndNext

BookmarksFolder[] findByCompanyId_PrevAndNext(long folderId,
                                              long companyId,
                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                              throws com.liferay.portal.SystemException,
                                                     NoSuchFolderException
Throws:
com.liferay.portal.SystemException
NoSuchFolderException

findByG_P

java.util.List<BookmarksFolder> findByG_P(long groupId,
                                          long parentFolderId)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_P

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

findByG_P

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

findByG_P_First

BookmarksFolder findByG_P_First(long groupId,
                                long parentFolderId,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.SystemException,
                                       NoSuchFolderException
Throws:
com.liferay.portal.SystemException
NoSuchFolderException

findByG_P_Last

BookmarksFolder findByG_P_Last(long groupId,
                               long parentFolderId,
                               com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.SystemException,
                                      NoSuchFolderException
Throws:
com.liferay.portal.SystemException
NoSuchFolderException

findByG_P_PrevAndNext

BookmarksFolder[] findByG_P_PrevAndNext(long folderId,
                                        long groupId,
                                        long parentFolderId,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.SystemException,
                                               NoSuchFolderException
Throws:
com.liferay.portal.SystemException
NoSuchFolderException

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<BookmarksFolder> findAll()
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

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

findAll

java.util.List<BookmarksFolder> 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,
                           NoSuchFolderException
Throws:
com.liferay.portal.SystemException
NoSuchFolderException

removeByGroupId

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

removeByCompanyId

void removeByCompanyId(long companyId)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_P

void removeByG_P(long groupId,
                 long parentFolderId)
                 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

countByCompanyId

int countByCompanyId(long companyId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_P

int countByG_P(long groupId,
               long parentFolderId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

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

registerListener

void registerListener(ModelListener listener)

unregisterListener

void unregisterListener(ModelListener listener)