Liferay 6.0.3

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

All Superinterfaces:
BasePersistence<IGFolder>
All Known Implementing Classes:
IGFolderPersistenceImpl

public interface IGFolderPersistence
extends BasePersistence<IGFolder>

See Also:
IGFolderPersistenceImpl, IGFolderUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 void cacheResult(IGFolder igFolder)
           
 void cacheResult(List<IGFolder> igFolders)
           
 int countAll()
           
 int countByCompanyId(long companyId)
           
 int countByG_P_N(long groupId, long parentFolderId, String name)
           
 int countByG_P(long groupId, long parentFolderId)
           
 int countByGroupId(long groupId)
           
 int countByUUID_G(String uuid, long groupId)
           
 int countByUuid(String uuid)
           
 IGFolder create(long folderId)
           
 IGFolder fetchByG_P_N(long groupId, long parentFolderId, String name)
           
 IGFolder fetchByG_P_N(long groupId, long parentFolderId, String name, boolean retrieveFromCache)
           
 IGFolder fetchByPrimaryKey(long folderId)
           
 IGFolder fetchByUUID_G(String uuid, long groupId)
           
 IGFolder fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
           
 int filterCountByG_P_N(long groupId, long parentFolderId, String name)
           
 int filterCountByG_P(long groupId, long parentFolderId)
           
 int filterCountByGroupId(long groupId)
           
 List<IGFolder> filterFindByG_P(long groupId, long parentFolderId)
           
 List<IGFolder> filterFindByG_P(long groupId, long parentFolderId, int start, int end)
           
 List<IGFolder> filterFindByG_P(long groupId, long parentFolderId, int start, int end, OrderByComparator orderByComparator)
           
 List<IGFolder> filterFindByGroupId(long groupId)
           
 List<IGFolder> filterFindByGroupId(long groupId, int start, int end)
           
 List<IGFolder> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 List<IGFolder> findAll()
           
 List<IGFolder> findAll(int start, int end)
           
 List<IGFolder> findAll(int start, int end, OrderByComparator orderByComparator)
           
 IGFolder findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
           
 IGFolder findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
           
 IGFolder[] findByCompanyId_PrevAndNext(long folderId, long companyId, OrderByComparator orderByComparator)
           
 List<IGFolder> findByCompanyId(long companyId)
           
 List<IGFolder> findByCompanyId(long companyId, int start, int end)
           
 List<IGFolder> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
           
 IGFolder findByG_P_First(long groupId, long parentFolderId, OrderByComparator orderByComparator)
           
 IGFolder findByG_P_Last(long groupId, long parentFolderId, OrderByComparator orderByComparator)
           
 IGFolder findByG_P_N(long groupId, long parentFolderId, String name)
           
 IGFolder[] findByG_P_PrevAndNext(long folderId, long groupId, long parentFolderId, OrderByComparator orderByComparator)
           
 List<IGFolder> findByG_P(long groupId, long parentFolderId)
           
 List<IGFolder> findByG_P(long groupId, long parentFolderId, int start, int end)
           
 List<IGFolder> findByG_P(long groupId, long parentFolderId, int start, int end, OrderByComparator orderByComparator)
           
 IGFolder findByGroupId_First(long groupId, OrderByComparator orderByComparator)
           
 IGFolder findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
           
 IGFolder[] findByGroupId_PrevAndNext(long folderId, long groupId, OrderByComparator orderByComparator)
           
 List<IGFolder> findByGroupId(long groupId)
           
 List<IGFolder> findByGroupId(long groupId, int start, int end)
           
 List<IGFolder> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 IGFolder findByPrimaryKey(long folderId)
           
 IGFolder findByUuid_First(String uuid, OrderByComparator orderByComparator)
           
 IGFolder findByUUID_G(String uuid, long groupId)
           
 IGFolder findByUuid_Last(String uuid, OrderByComparator orderByComparator)
           
 IGFolder[] findByUuid_PrevAndNext(long folderId, String uuid, OrderByComparator orderByComparator)
           
 List<IGFolder> findByUuid(String uuid)
           
 List<IGFolder> findByUuid(String uuid, int start, int end)
           
 List<IGFolder> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
           
 IGFolder remove(long folderId)
           
 void removeAll()
           
 void removeByCompanyId(long companyId)
           
 void removeByG_P_N(long groupId, long parentFolderId, String name)
           
 void removeByG_P(long groupId, long parentFolderId)
           
 void removeByGroupId(long groupId)
           
 void removeByUUID_G(String uuid, long groupId)
           
 void removeByUuid(String uuid)
           
 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, update
 

Method Detail

cacheResult

void cacheResult(IGFolder igFolder)

cacheResult

void cacheResult(List<IGFolder> igFolders)

create

IGFolder create(long folderId)

remove

IGFolder remove(long folderId)
                throws SystemException,
                       NoSuchFolderException
Throws:
SystemException
NoSuchFolderException

updateImpl

IGFolder updateImpl(IGFolder igFolder,
                    boolean merge)
                    throws SystemException
Throws:
SystemException

findByPrimaryKey

IGFolder findByPrimaryKey(long folderId)
                          throws SystemException,
                                 NoSuchFolderException
Throws:
SystemException
NoSuchFolderException

fetchByPrimaryKey

IGFolder fetchByPrimaryKey(long folderId)
                           throws SystemException
Throws:
SystemException

findByUuid

List<IGFolder> findByUuid(String uuid)
                          throws SystemException
Throws:
SystemException

findByUuid

List<IGFolder> findByUuid(String uuid,
                          int start,
                          int end)
                          throws SystemException
Throws:
SystemException

findByUuid

List<IGFolder> findByUuid(String uuid,
                          int start,
                          int end,
                          OrderByComparator orderByComparator)
                          throws SystemException
Throws:
SystemException

findByUuid_First

IGFolder findByUuid_First(String uuid,
                          OrderByComparator orderByComparator)
                          throws SystemException,
                                 NoSuchFolderException
Throws:
SystemException
NoSuchFolderException

findByUuid_Last

IGFolder findByUuid_Last(String uuid,
                         OrderByComparator orderByComparator)
                         throws SystemException,
                                NoSuchFolderException
Throws:
SystemException
NoSuchFolderException

findByUuid_PrevAndNext

IGFolder[] findByUuid_PrevAndNext(long folderId,
                                  String uuid,
                                  OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchFolderException
Throws:
SystemException
NoSuchFolderException

findByUUID_G

IGFolder findByUUID_G(String uuid,
                      long groupId)
                      throws SystemException,
                             NoSuchFolderException
Throws:
SystemException
NoSuchFolderException

fetchByUUID_G

IGFolder fetchByUUID_G(String uuid,
                       long groupId)
                       throws SystemException
Throws:
SystemException

fetchByUUID_G

IGFolder fetchByUUID_G(String uuid,
                       long groupId,
                       boolean retrieveFromCache)
                       throws SystemException
Throws:
SystemException

findByGroupId

List<IGFolder> findByGroupId(long groupId)
                             throws SystemException
Throws:
SystemException

findByGroupId

List<IGFolder> findByGroupId(long groupId,
                             int start,
                             int end)
                             throws SystemException
Throws:
SystemException

findByGroupId

List<IGFolder> findByGroupId(long groupId,
                             int start,
                             int end,
                             OrderByComparator orderByComparator)
                             throws SystemException
Throws:
SystemException

findByGroupId_First

IGFolder findByGroupId_First(long groupId,
                             OrderByComparator orderByComparator)
                             throws SystemException,
                                    NoSuchFolderException
Throws:
SystemException
NoSuchFolderException

findByGroupId_Last

IGFolder findByGroupId_Last(long groupId,
                            OrderByComparator orderByComparator)
                            throws SystemException,
                                   NoSuchFolderException
Throws:
SystemException
NoSuchFolderException

findByGroupId_PrevAndNext

IGFolder[] findByGroupId_PrevAndNext(long folderId,
                                     long groupId,
                                     OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchFolderException
Throws:
SystemException
NoSuchFolderException

filterFindByGroupId

List<IGFolder> filterFindByGroupId(long groupId)
                                   throws SystemException
Throws:
SystemException

filterFindByGroupId

List<IGFolder> filterFindByGroupId(long groupId,
                                   int start,
                                   int end)
                                   throws SystemException
Throws:
SystemException

filterFindByGroupId

List<IGFolder> filterFindByGroupId(long groupId,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                                   throws SystemException
Throws:
SystemException

findByCompanyId

List<IGFolder> findByCompanyId(long companyId)
                               throws SystemException
Throws:
SystemException

findByCompanyId

List<IGFolder> findByCompanyId(long companyId,
                               int start,
                               int end)
                               throws SystemException
Throws:
SystemException

findByCompanyId

List<IGFolder> findByCompanyId(long companyId,
                               int start,
                               int end,
                               OrderByComparator orderByComparator)
                               throws SystemException
Throws:
SystemException

findByCompanyId_First

IGFolder findByCompanyId_First(long companyId,
                               OrderByComparator orderByComparator)
                               throws SystemException,
                                      NoSuchFolderException
Throws:
SystemException
NoSuchFolderException

findByCompanyId_Last

IGFolder findByCompanyId_Last(long companyId,
                              OrderByComparator orderByComparator)
                              throws SystemException,
                                     NoSuchFolderException
Throws:
SystemException
NoSuchFolderException

findByCompanyId_PrevAndNext

IGFolder[] findByCompanyId_PrevAndNext(long folderId,
                                       long companyId,
                                       OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchFolderException
Throws:
SystemException
NoSuchFolderException

findByG_P

List<IGFolder> findByG_P(long groupId,
                         long parentFolderId)
                         throws SystemException
Throws:
SystemException

findByG_P

List<IGFolder> findByG_P(long groupId,
                         long parentFolderId,
                         int start,
                         int end)
                         throws SystemException
Throws:
SystemException

findByG_P

List<IGFolder> findByG_P(long groupId,
                         long parentFolderId,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                         throws SystemException
Throws:
SystemException

findByG_P_First

IGFolder findByG_P_First(long groupId,
                         long parentFolderId,
                         OrderByComparator orderByComparator)
                         throws SystemException,
                                NoSuchFolderException
Throws:
SystemException
NoSuchFolderException

findByG_P_Last

IGFolder findByG_P_Last(long groupId,
                        long parentFolderId,
                        OrderByComparator orderByComparator)
                        throws SystemException,
                               NoSuchFolderException
Throws:
SystemException
NoSuchFolderException

findByG_P_PrevAndNext

IGFolder[] findByG_P_PrevAndNext(long folderId,
                                 long groupId,
                                 long parentFolderId,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchFolderException
Throws:
SystemException
NoSuchFolderException

filterFindByG_P

List<IGFolder> filterFindByG_P(long groupId,
                               long parentFolderId)
                               throws SystemException
Throws:
SystemException

filterFindByG_P

List<IGFolder> filterFindByG_P(long groupId,
                               long parentFolderId,
                               int start,
                               int end)
                               throws SystemException
Throws:
SystemException

filterFindByG_P

List<IGFolder> filterFindByG_P(long groupId,
                               long parentFolderId,
                               int start,
                               int end,
                               OrderByComparator orderByComparator)
                               throws SystemException
Throws:
SystemException

findByG_P_N

IGFolder findByG_P_N(long groupId,
                     long parentFolderId,
                     String name)
                     throws SystemException,
                            NoSuchFolderException
Throws:
SystemException
NoSuchFolderException

fetchByG_P_N

IGFolder fetchByG_P_N(long groupId,
                      long parentFolderId,
                      String name)
                      throws SystemException
Throws:
SystemException

fetchByG_P_N

IGFolder fetchByG_P_N(long groupId,
                      long parentFolderId,
                      String name,
                      boolean retrieveFromCache)
                      throws SystemException
Throws:
SystemException

findAll

List<IGFolder> findAll()
                       throws SystemException
Throws:
SystemException

findAll

List<IGFolder> findAll(int start,
                       int end)
                       throws SystemException
Throws:
SystemException

findAll

List<IGFolder> findAll(int start,
                       int end,
                       OrderByComparator orderByComparator)
                       throws SystemException
Throws:
SystemException

removeByUuid

void removeByUuid(String uuid)
                  throws SystemException
Throws:
SystemException

removeByUUID_G

void removeByUUID_G(String uuid,
                    long groupId)
                    throws SystemException,
                           NoSuchFolderException
Throws:
SystemException
NoSuchFolderException

removeByGroupId

void removeByGroupId(long groupId)
                     throws SystemException
Throws:
SystemException

removeByCompanyId

void removeByCompanyId(long companyId)
                       throws SystemException
Throws:
SystemException

removeByG_P

void removeByG_P(long groupId,
                 long parentFolderId)
                 throws SystemException
Throws:
SystemException

removeByG_P_N

void removeByG_P_N(long groupId,
                   long parentFolderId,
                   String name)
                   throws SystemException,
                          NoSuchFolderException
Throws:
SystemException
NoSuchFolderException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByUuid

int countByUuid(String uuid)
                throws SystemException
Throws:
SystemException

countByUUID_G

int countByUUID_G(String uuid,
                  long groupId)
                  throws SystemException
Throws:
SystemException

countByGroupId

int countByGroupId(long groupId)
                   throws SystemException
Throws:
SystemException

filterCountByGroupId

int filterCountByGroupId(long groupId)
                         throws SystemException
Throws:
SystemException

countByCompanyId

int countByCompanyId(long companyId)
                     throws SystemException
Throws:
SystemException

countByG_P

int countByG_P(long groupId,
               long parentFolderId)
               throws SystemException
Throws:
SystemException

filterCountByG_P

int filterCountByG_P(long groupId,
                     long parentFolderId)
                     throws SystemException
Throws:
SystemException

countByG_P_N

int countByG_P_N(long groupId,
                 long parentFolderId,
                 String name)
                 throws SystemException
Throws:
SystemException

filterCountByG_P_N

int filterCountByG_P_N(long groupId,
                       long parentFolderId,
                       String name)
                       throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException

Liferay 6.0.3