com.liferay.portlet.documentlibrary.service.persistence
Interface DLFolderPersistence

All Superinterfaces:
BasePersistence<DLFolder>

public interface DLFolderPersistence
extends BasePersistence<DLFolder>

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:
DLFolderPersistenceImpl, DLFolderUtil
Generated:

Method Summary
 void cacheResult(DLFolder dlFolder)
           
 void cacheResult(java.util.List<DLFolder> dlFolders)
           
 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 countByP_N(long parentFolderId, java.lang.String name)
           
 int countByUUID_G(java.lang.String uuid, long groupId)
           
 int countByUuid(java.lang.String uuid)
           
 DLFolder create(long folderId)
           
 DLFolder fetchByG_P_N(long groupId, long parentFolderId, java.lang.String name)
           
 DLFolder fetchByG_P_N(long groupId, long parentFolderId, java.lang.String name, boolean retrieveFromCache)
           
 DLFolder fetchByPrimaryKey(long folderId)
           
 DLFolder fetchByUUID_G(java.lang.String uuid, long groupId)
           
 DLFolder fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
           
 int filterCountByG_P_N(long groupId, long parentFolderId, java.lang.String name)
           
 int filterCountByG_P(long groupId, long parentFolderId)
           
 int filterCountByGroupId(long groupId)
           
 java.util.List<DLFolder> filterFindByG_P(long groupId, long parentFolderId)
           
 java.util.List<DLFolder> filterFindByG_P(long groupId, long parentFolderId, int start, int end)
           
 java.util.List<DLFolder> filterFindByG_P(long groupId, long parentFolderId, int start, int end, OrderByComparator orderByComparator)
           
 java.util.List<DLFolder> filterFindByGroupId(long groupId)
           
 java.util.List<DLFolder> filterFindByGroupId(long groupId, int start, int end)
           
 java.util.List<DLFolder> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 java.util.List<DLFolder> findAll()
           
 java.util.List<DLFolder> findAll(int start, int end)
           
 java.util.List<DLFolder> findAll(int start, int end, OrderByComparator orderByComparator)
           
 DLFolder findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
           
 DLFolder findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
           
 DLFolder[] findByCompanyId_PrevAndNext(long folderId, long companyId, OrderByComparator orderByComparator)
           
 java.util.List<DLFolder> findByCompanyId(long companyId)
           
 java.util.List<DLFolder> findByCompanyId(long companyId, int start, int end)
           
 java.util.List<DLFolder> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
           
 DLFolder findByG_P_First(long groupId, long parentFolderId, OrderByComparator orderByComparator)
           
 DLFolder findByG_P_Last(long groupId, long parentFolderId, OrderByComparator orderByComparator)
           
 DLFolder findByG_P_N(long groupId, long parentFolderId, java.lang.String name)
           
 DLFolder[] findByG_P_PrevAndNext(long folderId, long groupId, long parentFolderId, OrderByComparator orderByComparator)
           
 java.util.List<DLFolder> findByG_P(long groupId, long parentFolderId)
           
 java.util.List<DLFolder> findByG_P(long groupId, long parentFolderId, int start, int end)
           
 java.util.List<DLFolder> findByG_P(long groupId, long parentFolderId, int start, int end, OrderByComparator orderByComparator)
           
 DLFolder findByGroupId_First(long groupId, OrderByComparator orderByComparator)
           
 DLFolder findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
           
 DLFolder[] findByGroupId_PrevAndNext(long folderId, long groupId, OrderByComparator orderByComparator)
           
 java.util.List<DLFolder> findByGroupId(long groupId)
           
 java.util.List<DLFolder> findByGroupId(long groupId, int start, int end)
           
 java.util.List<DLFolder> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 DLFolder findByP_N_First(long parentFolderId, java.lang.String name, OrderByComparator orderByComparator)
           
 DLFolder findByP_N_Last(long parentFolderId, java.lang.String name, OrderByComparator orderByComparator)
           
 DLFolder[] findByP_N_PrevAndNext(long folderId, long parentFolderId, java.lang.String name, OrderByComparator orderByComparator)
           
 java.util.List<DLFolder> findByP_N(long parentFolderId, java.lang.String name)
           
 java.util.List<DLFolder> findByP_N(long parentFolderId, java.lang.String name, int start, int end)
           
 java.util.List<DLFolder> findByP_N(long parentFolderId, java.lang.String name, int start, int end, OrderByComparator orderByComparator)
           
 DLFolder findByPrimaryKey(long folderId)
           
 DLFolder findByUuid_First(java.lang.String uuid, OrderByComparator orderByComparator)
           
 DLFolder findByUUID_G(java.lang.String uuid, long groupId)
           
 DLFolder findByUuid_Last(java.lang.String uuid, OrderByComparator orderByComparator)
           
 DLFolder[] findByUuid_PrevAndNext(long folderId, java.lang.String uuid, OrderByComparator orderByComparator)
           
 java.util.List<DLFolder> findByUuid(java.lang.String uuid)
           
 java.util.List<DLFolder> findByUuid(java.lang.String uuid, int start, int end)
           
 java.util.List<DLFolder> findByUuid(java.lang.String uuid, int start, int end, OrderByComparator orderByComparator)
           
 DLFolder 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 removeByP_N(long parentFolderId, java.lang.String name)
           
 void removeByUUID_G(java.lang.String uuid, long groupId)
           
 void removeByUuid(java.lang.String uuid)
           
 DLFolder updateImpl(DLFolder dlFolder, 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(DLFolder dlFolder)

cacheResult

void cacheResult(java.util.List<DLFolder> dlFolders)

create

DLFolder create(long folderId)

remove

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

updateImpl

DLFolder updateImpl(DLFolder dlFolder,
                    boolean merge)
                    throws SystemException
Throws:
SystemException

findByPrimaryKey

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

fetchByPrimaryKey

DLFolder fetchByPrimaryKey(long folderId)
                           throws SystemException
Throws:
SystemException

findByUuid

java.util.List<DLFolder> findByUuid(java.lang.String uuid)
                                    throws SystemException
Throws:
SystemException

findByUuid

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

findByUuid

java.util.List<DLFolder> findByUuid(java.lang.String uuid,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                                    throws SystemException
Throws:
SystemException

findByUuid_First

DLFolder findByUuid_First(java.lang.String uuid,
                          OrderByComparator orderByComparator)
                          throws SystemException,
                                 NoSuchFolderException
Throws:
SystemException
NoSuchFolderException

findByUuid_Last

DLFolder findByUuid_Last(java.lang.String uuid,
                         OrderByComparator orderByComparator)
                         throws SystemException,
                                NoSuchFolderException
Throws:
SystemException
NoSuchFolderException

findByUuid_PrevAndNext

DLFolder[] findByUuid_PrevAndNext(long folderId,
                                  java.lang.String uuid,
                                  OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchFolderException
Throws:
SystemException
NoSuchFolderException

findByUUID_G

DLFolder findByUUID_G(java.lang.String uuid,
                      long groupId)
                      throws SystemException,
                             NoSuchFolderException
Throws:
SystemException
NoSuchFolderException

fetchByUUID_G

DLFolder fetchByUUID_G(java.lang.String uuid,
                       long groupId)
                       throws SystemException
Throws:
SystemException

fetchByUUID_G

DLFolder fetchByUUID_G(java.lang.String uuid,
                       long groupId,
                       boolean retrieveFromCache)
                       throws SystemException
Throws:
SystemException

findByGroupId

java.util.List<DLFolder> findByGroupId(long groupId)
                                       throws SystemException
Throws:
SystemException

findByGroupId

java.util.List<DLFolder> findByGroupId(long groupId,
                                       int start,
                                       int end)
                                       throws SystemException
Throws:
SystemException

findByGroupId

java.util.List<DLFolder> findByGroupId(long groupId,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                       throws SystemException
Throws:
SystemException

findByGroupId_First

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

findByGroupId_Last

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

findByGroupId_PrevAndNext

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

filterFindByGroupId

java.util.List<DLFolder> filterFindByGroupId(long groupId)
                                             throws SystemException
Throws:
SystemException

filterFindByGroupId

java.util.List<DLFolder> filterFindByGroupId(long groupId,
                                             int start,
                                             int end)
                                             throws SystemException
Throws:
SystemException

filterFindByGroupId

java.util.List<DLFolder> filterFindByGroupId(long groupId,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                             throws SystemException
Throws:
SystemException

findByCompanyId

java.util.List<DLFolder> findByCompanyId(long companyId)
                                         throws SystemException
Throws:
SystemException

findByCompanyId

java.util.List<DLFolder> findByCompanyId(long companyId,
                                         int start,
                                         int end)
                                         throws SystemException
Throws:
SystemException

findByCompanyId

java.util.List<DLFolder> findByCompanyId(long companyId,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                         throws SystemException
Throws:
SystemException

findByCompanyId_First

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

findByCompanyId_Last

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

findByCompanyId_PrevAndNext

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

findByG_P

java.util.List<DLFolder> findByG_P(long groupId,
                                   long parentFolderId)
                                   throws SystemException
Throws:
SystemException

findByG_P

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

findByG_P

java.util.List<DLFolder> findByG_P(long groupId,
                                   long parentFolderId,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                                   throws SystemException
Throws:
SystemException

findByG_P_First

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

findByG_P_Last

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

findByG_P_PrevAndNext

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

filterFindByG_P

java.util.List<DLFolder> filterFindByG_P(long groupId,
                                         long parentFolderId)
                                         throws SystemException
Throws:
SystemException

filterFindByG_P

java.util.List<DLFolder> filterFindByG_P(long groupId,
                                         long parentFolderId,
                                         int start,
                                         int end)
                                         throws SystemException
Throws:
SystemException

filterFindByG_P

java.util.List<DLFolder> filterFindByG_P(long groupId,
                                         long parentFolderId,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                         throws SystemException
Throws:
SystemException

findByP_N

java.util.List<DLFolder> findByP_N(long parentFolderId,
                                   java.lang.String name)
                                   throws SystemException
Throws:
SystemException

findByP_N

java.util.List<DLFolder> findByP_N(long parentFolderId,
                                   java.lang.String name,
                                   int start,
                                   int end)
                                   throws SystemException
Throws:
SystemException

findByP_N

java.util.List<DLFolder> findByP_N(long parentFolderId,
                                   java.lang.String name,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                                   throws SystemException
Throws:
SystemException

findByP_N_First

DLFolder findByP_N_First(long parentFolderId,
                         java.lang.String name,
                         OrderByComparator orderByComparator)
                         throws SystemException,
                                NoSuchFolderException
Throws:
SystemException
NoSuchFolderException

findByP_N_Last

DLFolder findByP_N_Last(long parentFolderId,
                        java.lang.String name,
                        OrderByComparator orderByComparator)
                        throws SystemException,
                               NoSuchFolderException
Throws:
SystemException
NoSuchFolderException

findByP_N_PrevAndNext

DLFolder[] findByP_N_PrevAndNext(long folderId,
                                 long parentFolderId,
                                 java.lang.String name,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchFolderException
Throws:
SystemException
NoSuchFolderException

findByG_P_N

DLFolder findByG_P_N(long groupId,
                     long parentFolderId,
                     java.lang.String name)
                     throws SystemException,
                            NoSuchFolderException
Throws:
SystemException
NoSuchFolderException

fetchByG_P_N

DLFolder fetchByG_P_N(long groupId,
                      long parentFolderId,
                      java.lang.String name)
                      throws SystemException
Throws:
SystemException

fetchByG_P_N

DLFolder fetchByG_P_N(long groupId,
                      long parentFolderId,
                      java.lang.String name,
                      boolean retrieveFromCache)
                      throws SystemException
Throws:
SystemException

findAll

java.util.List<DLFolder> findAll()
                                 throws SystemException
Throws:
SystemException

findAll

java.util.List<DLFolder> findAll(int start,
                                 int end)
                                 throws SystemException
Throws:
SystemException

findAll

java.util.List<DLFolder> findAll(int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                                 throws SystemException
Throws:
SystemException

removeByUuid

void removeByUuid(java.lang.String uuid)
                  throws SystemException
Throws:
SystemException

removeByUUID_G

void removeByUUID_G(java.lang.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

removeByP_N

void removeByP_N(long parentFolderId,
                 java.lang.String name)
                 throws SystemException
Throws:
SystemException

removeByG_P_N

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

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByUuid

int countByUuid(java.lang.String uuid)
                throws SystemException
Throws:
SystemException

countByUUID_G

int countByUUID_G(java.lang.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

countByP_N

int countByP_N(long parentFolderId,
               java.lang.String name)
               throws SystemException
Throws:
SystemException

countByG_P_N

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

filterCountByG_P_N

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

countAll

int countAll()
             throws SystemException
Throws:
SystemException