com.liferay.portlet.imagegallery.service.persistence
Interface IGFolderPersistence


public interface IGFolderPersistence

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)
           
 IGFolder create(long folderId)
           
 IGFolder fetchByPrimaryKey(long folderId)
           
 IGFolder 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)
           
 IGFolder findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 IGFolder findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 IGFolder[] 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)
           
 IGFolder findByG_P_First(long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 IGFolder findByG_P_Last(long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 IGFolder[] 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)
           
 IGFolder findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 IGFolder findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 IGFolder[] 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)
           
 IGFolder findByPrimaryKey(long folderId)
           
 IGFolder findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 IGFolder findByUUID_G(java.lang.String uuid, long groupId)
           
 IGFolder findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 IGFolder[] 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)
           
 IGFolder remove(IGFolder igFolder)
           
 IGFolder 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)
           
 IGFolder update(IGFolder igFolder)
           
 IGFolder update(IGFolder igFolder, boolean merge)
           
 IGFolder updateImpl(IGFolder igFolder, boolean merge)
           
 

Method Detail

create

public IGFolder create(long folderId)

remove

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

remove

public IGFolder remove(IGFolder igFolder)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public IGFolder update(IGFolder igFolder)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public IGFolder update(IGFolder igFolder,
                       boolean merge)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateImpl

public IGFolder updateImpl(IGFolder igFolder,
                           boolean merge)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

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

fetchByPrimaryKey

public IGFolder 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 IGFolder 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 IGFolder 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 IGFolder[] 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 IGFolder findByUUID_G(java.lang.String uuid,
                             long groupId)
                      throws com.liferay.portal.SystemException,
                             NoSuchFolderException
Throws:
com.liferay.portal.SystemException
NoSuchFolderException

fetchByUUID_G

public IGFolder 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 IGFolder 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 IGFolder 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 IGFolder[] 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 IGFolder 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 IGFolder 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 IGFolder[] 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 IGFolder 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 IGFolder 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 IGFolder[] 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