com.liferay.portlet.documentlibrary.service.persistence
Class DLFileEntryFinderUtil

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinderUtil

public class DLFileEntryFinderUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
DLFileEntryFinderUtil()
           
 
Method Summary
static int countByFolderIds(java.util.List<java.lang.Long> folderIds)
           
static int countByG_U(long groupId, long userId)
           
static int countByGroupId(long groupId)
           
static java.util.List<DLFileEntry> findByG_U(long groupId, long userId, int start, int end)
           
static java.util.List<DLFileEntry> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<DLFileEntry> findByGroupId(long groupId, int start, int end)
           
static java.util.List<DLFileEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<DLFileEntry> findByNoAssets()
           
static DLFileEntry findByUuid_G(java.lang.String uuid, long groupId)
           
static DLFileEntryFinder getFinder()
           
 void setFinder(DLFileEntryFinder finder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLFileEntryFinderUtil

public DLFileEntryFinderUtil()
Method Detail

countByFolderIds

public static int countByFolderIds(java.util.List<java.lang.Long> folderIds)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByGroupId

public static int countByGroupId(long groupId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_U

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

findByGroupId

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

findByGroupId

public static 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

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

findByG_U

public static 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

public static 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

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

getFinder

public static DLFileEntryFinder getFinder()

setFinder

public void setFinder(DLFileEntryFinder finder)