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

All Superinterfaces:
BasePersistence<DLFileRank>

public interface DLFileRankPersistence
extends BasePersistence<DLFileRank>

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:
DLFileRankPersistenceImpl, DLFileRankUtil
Generated:

Method Summary
 void cacheResult(DLFileRank dlFileRank)
           
 void cacheResult(java.util.List<DLFileRank> dlFileRanks)
           
 int countAll()
           
 int countByC_U_F_N(long companyId, long userId, long folderId, java.lang.String name)
           
 int countByF_N(long folderId, java.lang.String name)
           
 int countByG_U(long groupId, long userId)
           
 int countByUserId(long userId)
           
 DLFileRank create(long fileRankId)
           
 DLFileRank fetchByC_U_F_N(long companyId, long userId, long folderId, java.lang.String name)
           
 DLFileRank fetchByC_U_F_N(long companyId, long userId, long folderId, java.lang.String name, boolean retrieveFromCache)
           
 DLFileRank fetchByPrimaryKey(long fileRankId)
           
 java.util.List<DLFileRank> findAll()
           
 java.util.List<DLFileRank> findAll(int start, int end)
           
 java.util.List<DLFileRank> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileRank findByC_U_F_N(long companyId, long userId, long folderId, java.lang.String name)
           
 DLFileRank findByF_N_First(long folderId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileRank findByF_N_Last(long folderId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileRank[] findByF_N_PrevAndNext(long fileRankId, long folderId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<DLFileRank> findByF_N(long folderId, java.lang.String name)
           
 java.util.List<DLFileRank> findByF_N(long folderId, java.lang.String name, int start, int end)
           
 java.util.List<DLFileRank> findByF_N(long folderId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileRank findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileRank findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileRank[] findByG_U_PrevAndNext(long fileRankId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<DLFileRank> findByG_U(long groupId, long userId)
           
 java.util.List<DLFileRank> findByG_U(long groupId, long userId, int start, int end)
           
 java.util.List<DLFileRank> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileRank findByPrimaryKey(long fileRankId)
           
 DLFileRank findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileRank findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileRank[] findByUserId_PrevAndNext(long fileRankId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<DLFileRank> findByUserId(long userId)
           
 java.util.List<DLFileRank> findByUserId(long userId, int start, int end)
           
 java.util.List<DLFileRank> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileRank remove(long fileRankId)
           
 void removeAll()
           
 void removeByC_U_F_N(long companyId, long userId, long folderId, java.lang.String name)
           
 void removeByF_N(long folderId, java.lang.String name)
           
 void removeByG_U(long groupId, long userId)
           
 void removeByUserId(long userId)
           
 DLFileRank updateImpl(DLFileRank dlFileRank, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(DLFileRank dlFileRank)

cacheResult

void cacheResult(java.util.List<DLFileRank> dlFileRanks)

create

DLFileRank create(long fileRankId)

remove

DLFileRank remove(long fileRankId)
                  throws com.liferay.portal.kernel.exception.SystemException,
                         NoSuchFileRankException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchFileRankException

updateImpl

DLFileRank updateImpl(DLFileRank dlFileRank,
                      boolean merge)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByPrimaryKey

DLFileRank findByPrimaryKey(long fileRankId)
                            throws com.liferay.portal.kernel.exception.SystemException,
                                   NoSuchFileRankException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchFileRankException

fetchByPrimaryKey

DLFileRank fetchByPrimaryKey(long fileRankId)
                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUserId

java.util.List<DLFileRank> findByUserId(long userId)
                                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUserId

java.util.List<DLFileRank> findByUserId(long userId,
                                        int start,
                                        int end)
                                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUserId

java.util.List<DLFileRank> findByUserId(long userId,
                                        int start,
                                        int end,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUserId_First

DLFileRank findByUserId_First(long userId,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                              throws com.liferay.portal.kernel.exception.SystemException,
                                     NoSuchFileRankException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchFileRankException

findByUserId_Last

DLFileRank findByUserId_Last(long userId,
                             com.liferay.portal.kernel.util.OrderByComparator obc)
                             throws com.liferay.portal.kernel.exception.SystemException,
                                    NoSuchFileRankException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchFileRankException

findByUserId_PrevAndNext

DLFileRank[] findByUserId_PrevAndNext(long fileRankId,
                                      long userId,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                      throws com.liferay.portal.kernel.exception.SystemException,
                                             NoSuchFileRankException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchFileRankException

findByG_U

java.util.List<DLFileRank> findByG_U(long groupId,
                                     long userId)
                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_U

java.util.List<DLFileRank> findByG_U(long groupId,
                                     long userId,
                                     int start,
                                     int end)
                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_U

java.util.List<DLFileRank> findByG_U(long groupId,
                                     long userId,
                                     int start,
                                     int end,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_U_First

DLFileRank findByG_U_First(long groupId,
                           long userId,
                           com.liferay.portal.kernel.util.OrderByComparator obc)
                           throws com.liferay.portal.kernel.exception.SystemException,
                                  NoSuchFileRankException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchFileRankException

findByG_U_Last

DLFileRank findByG_U_Last(long groupId,
                          long userId,
                          com.liferay.portal.kernel.util.OrderByComparator obc)
                          throws com.liferay.portal.kernel.exception.SystemException,
                                 NoSuchFileRankException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchFileRankException

findByG_U_PrevAndNext

DLFileRank[] findByG_U_PrevAndNext(long fileRankId,
                                   long groupId,
                                   long userId,
                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.kernel.exception.SystemException,
                                          NoSuchFileRankException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchFileRankException

findByF_N

java.util.List<DLFileRank> findByF_N(long folderId,
                                     java.lang.String name)
                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByF_N

java.util.List<DLFileRank> findByF_N(long folderId,
                                     java.lang.String name,
                                     int start,
                                     int end)
                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByF_N

java.util.List<DLFileRank> findByF_N(long folderId,
                                     java.lang.String name,
                                     int start,
                                     int end,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByF_N_First

DLFileRank findByF_N_First(long folderId,
                           java.lang.String name,
                           com.liferay.portal.kernel.util.OrderByComparator obc)
                           throws com.liferay.portal.kernel.exception.SystemException,
                                  NoSuchFileRankException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchFileRankException

findByF_N_Last

DLFileRank findByF_N_Last(long folderId,
                          java.lang.String name,
                          com.liferay.portal.kernel.util.OrderByComparator obc)
                          throws com.liferay.portal.kernel.exception.SystemException,
                                 NoSuchFileRankException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchFileRankException

findByF_N_PrevAndNext

DLFileRank[] findByF_N_PrevAndNext(long fileRankId,
                                   long folderId,
                                   java.lang.String name,
                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.kernel.exception.SystemException,
                                          NoSuchFileRankException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchFileRankException

findByC_U_F_N

DLFileRank findByC_U_F_N(long companyId,
                         long userId,
                         long folderId,
                         java.lang.String name)
                         throws com.liferay.portal.kernel.exception.SystemException,
                                NoSuchFileRankException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchFileRankException

fetchByC_U_F_N

DLFileRank fetchByC_U_F_N(long companyId,
                          long userId,
                          long folderId,
                          java.lang.String name)
                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

fetchByC_U_F_N

DLFileRank fetchByC_U_F_N(long companyId,
                          long userId,
                          long folderId,
                          java.lang.String name,
                          boolean retrieveFromCache)
                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

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

findAll

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

findAll

java.util.List<DLFileRank> findAll(int start,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByUserId

void removeByUserId(long userId)
                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByG_U

void removeByG_U(long groupId,
                 long userId)
                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByF_N

void removeByF_N(long folderId,
                 java.lang.String name)
                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByC_U_F_N

void removeByC_U_F_N(long companyId,
                     long userId,
                     long folderId,
                     java.lang.String name)
                     throws com.liferay.portal.kernel.exception.SystemException,
                            NoSuchFileRankException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchFileRankException

removeAll

void removeAll()
               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByUserId

int countByUserId(long userId)
                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByG_U

int countByG_U(long groupId,
               long userId)
               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByF_N

int countByF_N(long folderId,
               java.lang.String name)
               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByC_U_F_N

int countByC_U_F_N(long companyId,
                   long userId,
                   long folderId,
                   java.lang.String name)
                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countAll

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