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


public interface DLFileEntryFinder

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countByFolderIds(java.util.List<java.lang.Long> folderIds)
           
 int countByG_U(long groupId, long userId)
           
 int countByGroupId(long groupId)
           
 java.util.List<DLFileEntry> findByG_U(long groupId, long userId, int start, int end)
           
 java.util.List<DLFileEntry> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<DLFileEntry> findByGroupId(long groupId, int start, int end)
           
 java.util.List<DLFileEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<DLFileEntry> findByNoAssets()
           
 DLFileEntry findByUuid_G(java.lang.String uuid, long groupId)
           
 

Method Detail

countByFolderIds

int countByFolderIds(java.util.List<java.lang.Long> folderIds)
                     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

countByG_U

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

findByGroupId

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

findByGroupId

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

findByNoAssets

java.util.List<DLFileEntry> findByNoAssets()
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_U

java.util.List<DLFileEntry> 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<DLFileEntry> 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

findByUuid_G

DLFileEntry findByUuid_G(java.lang.String uuid,
                         long groupId)
                         throws com.liferay.portal.SystemException,
                                NoSuchFileEntryException
Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException