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

All Superinterfaces:
BasePersistence

public interface DLFileRankPersistence
extends BasePersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 void cacheResult(DLFileRank dlFileRank)
           
 void cacheResult(java.util.List<DLFileRank> dlFileRanks)
           
 void clearCache()
           
 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)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 DLFileRank remove(DLFileRank dlFileRank)
           
 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 update(DLFileRank dlFileRank)
          Deprecated. Use update(DLFileRank dlFileRank, boolean merge).
 DLFileRank update(DLFileRank dlFileRank, boolean merge)
          Add, update, or merge, the entity.
 DLFileRank updateImpl(DLFileRank dlFileRank, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
getListeners, registerListener, unregisterListener
 

Method Detail

cacheResult

void cacheResult(DLFileRank dlFileRank)

cacheResult

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

clearCache

void clearCache()
Specified by:
clearCache in interface BasePersistence

create

DLFileRank create(long fileRankId)

remove

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

remove

DLFileRank remove(DLFileRank dlFileRank)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

DLFileRank update(DLFileRank dlFileRank)
                  throws com.liferay.portal.SystemException
Deprecated. Use update(DLFileRank dlFileRank, boolean merge).

Throws:
com.liferay.portal.SystemException

update

DLFileRank update(DLFileRank dlFileRank,
                  boolean merge)
                  throws com.liferay.portal.SystemException
Add, update, or merge, the entity. This method also calls the model listeners to trigger the proper events associated with adding, deleting, or updating an entity.

Parameters:
dlFileRank - the entity to add, update, or merge
merge - boolean value for whether to merge the entity. The default value is false. Setting merge to true is more expensive and should only be true when dlFileRank is transient. See LEP-5473 for a detailed discussion of this method.
Returns:
true if the portlet can be displayed via Ajax
Throws:
com.liferay.portal.SystemException

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByUserId

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

findByUserId

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

findByUserId

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

findByUserId_First

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

findByUserId_Last

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

findByUserId_PrevAndNext

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

findByG_U

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

findByG_U

java.util.List<DLFileRank> findByG_U(long groupId,
                                     long userId,
                                     int start,
                                     int end)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.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.SystemException
Throws:
com.liferay.portal.SystemException

findByG_U_First

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

findByG_U_Last

DLFileRank findByG_U_Last(long groupId,
                          long userId,
                          com.liferay.portal.kernel.util.OrderByComparator obc)
                          throws com.liferay.portal.SystemException,
                                 NoSuchFileRankException
Throws:
com.liferay.portal.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.SystemException,
                                          NoSuchFileRankException
Throws:
com.liferay.portal.SystemException
NoSuchFileRankException

findByF_N

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

findByF_N

java.util.List<DLFileRank> findByF_N(long folderId,
                                     java.lang.String name,
                                     int start,
                                     int end)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.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.SystemException
Throws:
com.liferay.portal.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.SystemException,
                                  NoSuchFileRankException
Throws:
com.liferay.portal.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.SystemException,
                                 NoSuchFileRankException
Throws:
com.liferay.portal.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.SystemException,
                                          NoSuchFileRankException
Throws:
com.liferay.portal.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.SystemException,
                                NoSuchFileRankException
Throws:
com.liferay.portal.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.SystemException
Throws:
com.liferay.portal.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.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                      int start,
                                                      int end)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

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

findAll

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

findAll

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

removeByUserId

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

removeByG_U

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

removeByF_N

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

removeByC_U_F_N

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

removeAll

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

countByUserId

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

countByG_U

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

countByF_N

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

countByC_U_F_N

int countByC_U_F_N(long companyId,
                   long userId,
                   long folderId,
                   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