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 findAll()
           
 java.util.List findAll(int begin, int end)
           
 java.util.List findAll(int begin, 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 findByCompanyId(long companyId)
           
 java.util.List findByCompanyId(long companyId, int begin, int end)
           
 java.util.List findByCompanyId(long companyId, int begin, 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 findByG_P(long groupId, long parentFolderId)
           
 java.util.List findByG_P(long groupId, long parentFolderId, int begin, int end)
           
 java.util.List findByG_P(long groupId, long parentFolderId, int begin, 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 findByGroupId(long groupId)
           
 java.util.List findByGroupId(long groupId, int begin, int end)
           
 java.util.List findByGroupId(long groupId, int begin, 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 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)
           
 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)
           
 BookmarksFolder update(BookmarksFolder bookmarksFolder)
           
 BookmarksFolder update(BookmarksFolder bookmarksFolder, boolean merge)
           
 BookmarksFolder updateImpl(BookmarksFolder bookmarksFolder, boolean merge)
           
 

Method Detail

create

public BookmarksFolder create(long folderId)

remove

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

remove

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

update

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

update

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

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

public BookmarksFolder fetchByPrimaryKey(long folderId)
                                  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 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

public 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

public 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

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

fetchByUUID_G

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

findByGroupId

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

findByGroupId

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

findByGroupId

public java.util.List findByGroupId(long groupId,
                                    int begin,
                                    int end,
                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId_First

public 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

public 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

public 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

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

findByCompanyId

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

findByCompanyId

public java.util.List findByCompanyId(long companyId,
                                      int begin,
                                      int end,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId_First

public 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

public 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

public 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

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

findByG_P

public java.util.List findByG_P(long groupId,
                                long parentFolderId,
                                int begin,
                                int end)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_P

public java.util.List findByG_P(long groupId,
                                long parentFolderId,
                                int begin,
                                int end,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_P_First

public 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

public 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

public 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

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

removeByUUID_G

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

removeByGroupId

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

removeByCompanyId

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

removeByG_P

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

countByUUID_G

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

countByGroupId

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

countByCompanyId

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

countByG_P

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

countAll

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