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

All Superinterfaces:
BasePersistence<IGFolder>

public interface IGFolderPersistence
extends BasePersistence<IGFolder>

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Author:
Brian Wing Shun Chan
See Also:
IGFolderPersistenceImpl, IGFolderUtil
Generated:

Method Summary
 void cacheResult(IGFolder igFolder)
           
 void cacheResult(java.util.List<IGFolder> igFolders)
           
 int countAll()
           
 int countByCompanyId(long companyId)
           
 int countByG_P_N(long groupId, long parentFolderId, java.lang.String name)
           
 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 fetchByG_P_N(long groupId, long parentFolderId, java.lang.String name)
           
 IGFolder fetchByG_P_N(long groupId, long parentFolderId, java.lang.String name, boolean retrieveFromCache)
           
 IGFolder fetchByPrimaryKey(long folderId)
           
 IGFolder fetchByUUID_G(java.lang.String uuid, long groupId)
           
 IGFolder fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
           
 java.util.List<IGFolder> findAll()
           
 java.util.List<IGFolder> findAll(int start, int end)
           
 java.util.List<IGFolder> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGFolder findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGFolder findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGFolder[] findByCompanyId_PrevAndNext(long folderId, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<IGFolder> findByCompanyId(long companyId)
           
 java.util.List<IGFolder> findByCompanyId(long companyId, int start, int end)
           
 java.util.List<IGFolder> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGFolder findByG_P_First(long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGFolder findByG_P_Last(long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGFolder findByG_P_N(long groupId, long parentFolderId, java.lang.String name)
           
 IGFolder[] findByG_P_PrevAndNext(long folderId, long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<IGFolder> findByG_P(long groupId, long parentFolderId)
           
 java.util.List<IGFolder> findByG_P(long groupId, long parentFolderId, int start, int end)
           
 java.util.List<IGFolder> findByG_P(long groupId, long parentFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGFolder findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGFolder findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGFolder[] findByGroupId_PrevAndNext(long folderId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<IGFolder> findByGroupId(long groupId)
           
 java.util.List<IGFolder> findByGroupId(long groupId, int start, int end)
           
 java.util.List<IGFolder> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGFolder findByPrimaryKey(long folderId)
           
 IGFolder findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGFolder findByUUID_G(java.lang.String uuid, long groupId)
           
 IGFolder findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGFolder[] findByUuid_PrevAndNext(long folderId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<IGFolder> findByUuid(java.lang.String uuid)
           
 java.util.List<IGFolder> findByUuid(java.lang.String uuid, int start, int end)
           
 java.util.List<IGFolder> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGFolder remove(long folderId)
           
 void removeAll()
           
 void removeByCompanyId(long companyId)
           
 void removeByG_P_N(long groupId, long parentFolderId, java.lang.String name)
           
 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)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 IGFolder updateImpl(IGFolder igFolder, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(IGFolder igFolder)

cacheResult

void cacheResult(java.util.List<IGFolder> igFolders)

create

IGFolder create(long folderId)

remove

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

update

IGFolder update(IGFolder igFolder)
                throws com.liferay.portal.SystemException
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).

Throws:
com.liferay.portal.SystemException

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByUuid

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

findByUuid

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

findByUuid

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

findByUuid_First

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

findByUuid_Last

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

findByUuid_PrevAndNext

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

findByUUID_G

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

fetchByUUID_G

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

fetchByUUID_G

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

findByGroupId

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

findByGroupId

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

findByGroupId

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

findByGroupId_First

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

findByGroupId_Last

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

findByGroupId_PrevAndNext

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

findByCompanyId

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

findByCompanyId

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

findByCompanyId

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

findByCompanyId_First

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

findByCompanyId_Last

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

findByCompanyId_PrevAndNext

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

findByG_P

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

findByG_P

java.util.List<IGFolder> 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<IGFolder> findByG_P(long groupId,
                                   long parentFolderId,
                                   int start,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_P_First

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

findByG_P_Last

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

findByG_P_PrevAndNext

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

findByG_P_N

IGFolder findByG_P_N(long groupId,
                     long parentFolderId,
                     java.lang.String name)
                     throws com.liferay.portal.SystemException,
                            NoSuchFolderException
Throws:
com.liferay.portal.SystemException
NoSuchFolderException

fetchByG_P_N

IGFolder fetchByG_P_N(long groupId,
                      long parentFolderId,
                      java.lang.String name)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByG_P_N

IGFolder fetchByG_P_N(long groupId,
                      long parentFolderId,
                      java.lang.String name,
                      boolean retrieveFromCache)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

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

findAll

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

findAll

java.util.List<IGFolder> findAll(int start,
                                 int end,
                                 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                 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

removeByG_P_N

void removeByG_P_N(long groupId,
                   long parentFolderId,
                   java.lang.String name)
                   throws com.liferay.portal.SystemException,
                          NoSuchFolderException
Throws:
com.liferay.portal.SystemException
NoSuchFolderException

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

countByG_P_N

int countByG_P_N(long groupId,
                 long parentFolderId,
                 java.lang.String name)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

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