Liferay 6.0.5

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

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

public class DLFileEntryUtil
extends Object

The persistence utility for the d l file entry service. This utility wraps DLFileEntryPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class.

Caching information and settings can be found in portal.properties

See Also:
DLFileEntryPersistence, DLFileEntryPersistenceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
DLFileEntryUtil()
           
 
Method Summary
static void cacheResult(DLFileEntry dlFileEntry)
          Caches the d l file entry in the entity cache if it is enabled.
static void cacheResult(List<DLFileEntry> dlFileEntries)
          Caches the d l file entries in the entity cache if it is enabled.
static void clearCache()
           
static void clearCache(DLFileEntry dlFileEntry)
           
static int countAll()
          Counts all the d l file entries.
static int countByCompanyId(long companyId)
          Counts all the d l file entries where companyId = ?.
static int countByG_F_N(long groupId, long folderId, String name)
          Counts all the d l file entries where groupId = ? and folderId = ? and name = ?.
static int countByG_F_T(long groupId, long folderId, String title)
          Counts all the d l file entries where groupId = ? and folderId = ? and title = ?.
static int countByG_F(long groupId, long folderId)
          Counts all the d l file entries where groupId = ? and folderId = ?.
static int countByG_F(long groupId, long[] folderIds)
          Counts all the d l file entries where groupId = ? and folderId = any ?.
static int countByG_U_F(long groupId, long userId, long folderId)
          Counts all the d l file entries where groupId = ? and userId = ? and folderId = ?.
static int countByG_U_F(long groupId, long userId, long[] folderIds)
          Counts all the d l file entries where groupId = ? and userId = ? and folderId = any ?.
static int countByG_U(long groupId, long userId)
          Counts all the d l file entries where groupId = ? and userId = ?.
static int countByGroupId(long groupId)
          Counts all the d l file entries where groupId = ?.
static int countByUUID_G(String uuid, long groupId)
          Counts all the d l file entries where uuid = ? and groupId = ?.
static int countByUuid(String uuid)
          Counts all the d l file entries where uuid = ?.
 long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static DLFileEntry create(long fileEntryId)
          Creates a new d l file entry with the primary key.
static DLFileEntry fetchByG_F_N(long groupId, long folderId, String name)
          Finds the d l file entry where groupId = ? and folderId = ? and name = ? or returns null if it could not be found.
static DLFileEntry fetchByG_F_N(long groupId, long folderId, String name, boolean retrieveFromCache)
          Finds the d l file entry where groupId = ? and folderId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
static DLFileEntry fetchByG_F_T(long groupId, long folderId, String title)
          Finds the d l file entry where groupId = ? and folderId = ? and title = ? or returns null if it could not be found.
static DLFileEntry fetchByG_F_T(long groupId, long folderId, String title, boolean retrieveFromCache)
          Finds the d l file entry where groupId = ? and folderId = ? and title = ? or returns null if it could not be found, optionally using the finder cache.
static DLFileEntry fetchByPrimaryKey(long fileEntryId)
          Finds the d l file entry with the primary key or returns null if it could not be found.
static DLFileEntry fetchByUUID_G(String uuid, long groupId)
          Finds the d l file entry where uuid = ? and groupId = ? or returns null if it could not be found.
static DLFileEntry fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
          Finds the d l file entry where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
static int filterCountByG_F_N(long groupId, long folderId, String name)
          Filters by the user's permissions and counts all the d l file entries where groupId = ? and folderId = ? and name = ?.
static int filterCountByG_F_T(long groupId, long folderId, String title)
          Filters by the user's permissions and counts all the d l file entries where groupId = ? and folderId = ? and title = ?.
static int filterCountByG_F(long groupId, long folderId)
          Filters by the user's permissions and counts all the d l file entries where groupId = ? and folderId = ?.
static int filterCountByG_F(long groupId, long[] folderIds)
          Filters by the user's permissions and counts all the d l file entries where groupId = ? and folderId = any ?.
static int filterCountByG_U_F(long groupId, long userId, long folderId)
          Filters by the user's permissions and counts all the d l file entries where groupId = ? and userId = ? and folderId = ?.
static int filterCountByG_U_F(long groupId, long userId, long[] folderIds)
          Filters by the user's permissions and counts all the d l file entries where groupId = ? and userId = ? and folderId = any ?.
static int filterCountByG_U(long groupId, long userId)
          Filters by the user's permissions and counts all the d l file entries where groupId = ? and userId = ?.
static int filterCountByGroupId(long groupId)
          Filters by the user's permissions and counts all the d l file entries where groupId = ?.
static List<DLFileEntry> filterFindByG_F(long groupId, long folderId)
          Filters by the user's permissions and finds all the d l file entries where groupId = ? and folderId = ?.
static List<DLFileEntry> filterFindByG_F(long groupId, long[] folderIds)
          Filters by the user's permissions and finds all the d l file entries where groupId = ? and folderId = any ?.
static List<DLFileEntry> filterFindByG_F(long groupId, long[] folderIds, int start, int end)
          Filters by the user's permissions and finds a range of all the d l file entries where groupId = ? and folderId = any ?.
static List<DLFileEntry> filterFindByG_F(long groupId, long[] folderIds, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the d l file entries where groupId = ? and folderId = any ?.
static List<DLFileEntry> filterFindByG_F(long groupId, long folderId, int start, int end)
          Filters by the user's permissions and finds a range of all the d l file entries where groupId = ? and folderId = ?.
static List<DLFileEntry> filterFindByG_F(long groupId, long folderId, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the d l file entries where groupId = ? and folderId = ?.
static List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long folderId)
          Filters by the user's permissions and finds all the d l file entries where groupId = ? and userId = ? and folderId = ?.
static List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long[] folderIds)
          Filters by the user's permissions and finds all the d l file entries where groupId = ? and userId = ? and folderId = any ?.
static List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long[] folderIds, int start, int end)
          Filters by the user's permissions and finds a range of all the d l file entries where groupId = ? and userId = ? and folderId = any ?.
static List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long[] folderIds, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the d l file entries where groupId = ? and userId = ? and folderId = any ?.
static List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long folderId, int start, int end)
          Filters by the user's permissions and finds a range of all the d l file entries where groupId = ? and userId = ? and folderId = ?.
static List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long folderId, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the d l file entries where groupId = ? and userId = ? and folderId = ?.
static List<DLFileEntry> filterFindByG_U(long groupId, long userId)
          Filters by the user's permissions and finds all the d l file entries where groupId = ? and userId = ?.
static List<DLFileEntry> filterFindByG_U(long groupId, long userId, int start, int end)
          Filters by the user's permissions and finds a range of all the d l file entries where groupId = ? and userId = ?.
static List<DLFileEntry> filterFindByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the d l file entries where groupId = ? and userId = ?.
static List<DLFileEntry> filterFindByGroupId(long groupId)
          Filters by the user's permissions and finds all the d l file entries where groupId = ?.
static List<DLFileEntry> filterFindByGroupId(long groupId, int start, int end)
          Filters by the user's permissions and finds a range of all the d l file entries where groupId = ?.
static List<DLFileEntry> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the d l file entries where groupId = ?.
static List<DLFileEntry> findAll()
          Finds all the d l file entries.
static List<DLFileEntry> findAll(int start, int end)
          Finds a range of all the d l file entries.
static List<DLFileEntry> findAll(int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the d l file entries.
static DLFileEntry findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Finds the first d l file entry in the ordered set where companyId = ?.
static DLFileEntry findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Finds the last d l file entry in the ordered set where companyId = ?.
static DLFileEntry[] findByCompanyId_PrevAndNext(long fileEntryId, long companyId, OrderByComparator orderByComparator)
          Finds the d l file entries before and after the current d l file entry in the ordered set where companyId = ?.
static List<DLFileEntry> findByCompanyId(long companyId)
          Finds all the d l file entries where companyId = ?.
static List<DLFileEntry> findByCompanyId(long companyId, int start, int end)
          Finds a range of all the d l file entries where companyId = ?.
static List<DLFileEntry> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the d l file entries where companyId = ?.
static DLFileEntry findByG_F_First(long groupId, long folderId, OrderByComparator orderByComparator)
          Finds the first d l file entry in the ordered set where groupId = ? and folderId = ?.
static DLFileEntry findByG_F_Last(long groupId, long folderId, OrderByComparator orderByComparator)
          Finds the last d l file entry in the ordered set where groupId = ? and folderId = ?.
static DLFileEntry findByG_F_N(long groupId, long folderId, String name)
          Finds the d l file entry where groupId = ? and folderId = ? and name = ? or throws a NoSuchFileEntryException if it could not be found.
static DLFileEntry[] findByG_F_PrevAndNext(long fileEntryId, long groupId, long folderId, OrderByComparator orderByComparator)
          Finds the d l file entries before and after the current d l file entry in the ordered set where groupId = ? and folderId = ?.
static DLFileEntry findByG_F_T(long groupId, long folderId, String title)
          Finds the d l file entry where groupId = ? and folderId = ? and title = ? or throws a NoSuchFileEntryException if it could not be found.
static List<DLFileEntry> findByG_F(long groupId, long folderId)
          Finds all the d l file entries where groupId = ? and folderId = ?.
static List<DLFileEntry> findByG_F(long groupId, long[] folderIds)
          Finds all the d l file entries where groupId = ? and folderId = any ?.
static List<DLFileEntry> findByG_F(long groupId, long[] folderIds, int start, int end)
          Finds a range of all the d l file entries where groupId = ? and folderId = any ?.
static List<DLFileEntry> findByG_F(long groupId, long[] folderIds, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the d l file entries where groupId = ? and folderId = any ?.
static List<DLFileEntry> findByG_F(long groupId, long folderId, int start, int end)
          Finds a range of all the d l file entries where groupId = ? and folderId = ?.
static List<DLFileEntry> findByG_F(long groupId, long folderId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the d l file entries where groupId = ? and folderId = ?.
static DLFileEntry findByG_U_F_First(long groupId, long userId, long folderId, OrderByComparator orderByComparator)
          Finds the first d l file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.
static DLFileEntry findByG_U_F_Last(long groupId, long userId, long folderId, OrderByComparator orderByComparator)
          Finds the last d l file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.
static DLFileEntry[] findByG_U_F_PrevAndNext(long fileEntryId, long groupId, long userId, long folderId, OrderByComparator orderByComparator)
          Finds the d l file entries before and after the current d l file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.
static List<DLFileEntry> findByG_U_F(long groupId, long userId, long folderId)
          Finds all the d l file entries where groupId = ? and userId = ? and folderId = ?.
static List<DLFileEntry> findByG_U_F(long groupId, long userId, long[] folderIds)
          Finds all the d l file entries where groupId = ? and userId = ? and folderId = any ?.
static List<DLFileEntry> findByG_U_F(long groupId, long userId, long[] folderIds, int start, int end)
          Finds a range of all the d l file entries where groupId = ? and userId = ? and folderId = any ?.
static List<DLFileEntry> findByG_U_F(long groupId, long userId, long[] folderIds, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the d l file entries where groupId = ? and userId = ? and folderId = any ?.
static List<DLFileEntry> findByG_U_F(long groupId, long userId, long folderId, int start, int end)
          Finds a range of all the d l file entries where groupId = ? and userId = ? and folderId = ?.
static List<DLFileEntry> findByG_U_F(long groupId, long userId, long folderId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the d l file entries where groupId = ? and userId = ? and folderId = ?.
static DLFileEntry findByG_U_First(long groupId, long userId, OrderByComparator orderByComparator)
          Finds the first d l file entry in the ordered set where groupId = ? and userId = ?.
static DLFileEntry findByG_U_Last(long groupId, long userId, OrderByComparator orderByComparator)
          Finds the last d l file entry in the ordered set where groupId = ? and userId = ?.
static DLFileEntry[] findByG_U_PrevAndNext(long fileEntryId, long groupId, long userId, OrderByComparator orderByComparator)
          Finds the d l file entries before and after the current d l file entry in the ordered set where groupId = ? and userId = ?.
static List<DLFileEntry> findByG_U(long groupId, long userId)
          Finds all the d l file entries where groupId = ? and userId = ?.
static List<DLFileEntry> findByG_U(long groupId, long userId, int start, int end)
          Finds a range of all the d l file entries where groupId = ? and userId = ?.
static List<DLFileEntry> findByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the d l file entries where groupId = ? and userId = ?.
static DLFileEntry findByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Finds the first d l file entry in the ordered set where groupId = ?.
static DLFileEntry findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Finds the last d l file entry in the ordered set where groupId = ?.
static DLFileEntry[] findByGroupId_PrevAndNext(long fileEntryId, long groupId, OrderByComparator orderByComparator)
          Finds the d l file entries before and after the current d l file entry in the ordered set where groupId = ?.
static List<DLFileEntry> findByGroupId(long groupId)
          Finds all the d l file entries where groupId = ?.
static List<DLFileEntry> findByGroupId(long groupId, int start, int end)
          Finds a range of all the d l file entries where groupId = ?.
static List<DLFileEntry> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the d l file entries where groupId = ?.
static DLFileEntry findByPrimaryKey(long fileEntryId)
          Finds the d l file entry with the primary key or throws a NoSuchFileEntryException if it could not be found.
static DLFileEntry findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Finds the first d l file entry in the ordered set where uuid = ?.
static DLFileEntry findByUUID_G(String uuid, long groupId)
          Finds the d l file entry where uuid = ? and groupId = ? or throws a NoSuchFileEntryException if it could not be found.
static DLFileEntry findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Finds the last d l file entry in the ordered set where uuid = ?.
static DLFileEntry[] findByUuid_PrevAndNext(long fileEntryId, String uuid, OrderByComparator orderByComparator)
          Finds the d l file entries before and after the current d l file entry in the ordered set where uuid = ?.
static List<DLFileEntry> findByUuid(String uuid)
          Finds all the d l file entries where uuid = ?.
static List<DLFileEntry> findByUuid(String uuid, int start, int end)
          Finds a range of all the d l file entries where uuid = ?.
static List<DLFileEntry> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the d l file entries where uuid = ?.
static List<DLFileEntry> findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static List<DLFileEntry> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static List<DLFileEntry> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
static DLFileEntryPersistence getPersistence()
           
static DLFileEntry remove(DLFileEntry dlFileEntry)
           
static DLFileEntry remove(long fileEntryId)
          Removes the d l file entry with the primary key from the database.
static void removeAll()
          Removes all the d l file entries from the database.
static void removeByCompanyId(long companyId)
          Removes all the d l file entries where companyId = ? from the database.
static void removeByG_F_N(long groupId, long folderId, String name)
          Removes the d l file entry where groupId = ? and folderId = ? and name = ? from the database.
static void removeByG_F_T(long groupId, long folderId, String title)
          Removes the d l file entry where groupId = ? and folderId = ? and title = ? from the database.
static void removeByG_F(long groupId, long folderId)
          Removes all the d l file entries where groupId = ? and folderId = ? from the database.
static void removeByG_U_F(long groupId, long userId, long folderId)
          Removes all the d l file entries where groupId = ? and userId = ? and folderId = ? from the database.
static void removeByG_U(long groupId, long userId)
          Removes all the d l file entries where groupId = ? and userId = ? from the database.
static void removeByGroupId(long groupId)
          Removes all the d l file entries where groupId = ? from the database.
static void removeByUUID_G(String uuid, long groupId)
          Removes the d l file entry where uuid = ? and groupId = ? from the database.
static void removeByUuid(String uuid)
          Removes all the d l file entries where uuid = ? from the database.
 void setPersistence(DLFileEntryPersistence persistence)
           
static DLFileEntry update(DLFileEntry dlFileEntry, boolean merge)
           
static DLFileEntry update(DLFileEntry dlFileEntry, boolean merge, ServiceContext serviceContext)
           
static DLFileEntry updateImpl(DLFileEntry dlFileEntry, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLFileEntryUtil

public DLFileEntryUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(DLFileEntry dlFileEntry)
See Also:
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)

countWithDynamicQuery

public long countWithDynamicQuery(DynamicQuery dynamicQuery)
                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<DLFileEntry> findWithDynamicQuery(DynamicQuery dynamicQuery)
                                              throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<DLFileEntry> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                     int start,
                                                     int end)
                                              throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

findWithDynamicQuery

public static List<DLFileEntry> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                     int start,
                                                     int end,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)

remove

public static DLFileEntry remove(DLFileEntry dlFileEntry)
                          throws SystemException
Throws:
SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static DLFileEntry update(DLFileEntry dlFileEntry,
                                 boolean merge)
                          throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

update

public static DLFileEntry update(DLFileEntry dlFileEntry,
                                 boolean merge,
                                 ServiceContext serviceContext)
                          throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)

cacheResult

public static void cacheResult(DLFileEntry dlFileEntry)
Caches the d l file entry in the entity cache if it is enabled.

Parameters:
dlFileEntry - the d l file entry to cache

cacheResult

public static void cacheResult(List<DLFileEntry> dlFileEntries)
Caches the d l file entries in the entity cache if it is enabled.

Parameters:
dlFileEntries - the d l file entries to cache

create

public static DLFileEntry create(long fileEntryId)
Creates a new d l file entry with the primary key. Does not add the d l file entry to the database.

Parameters:
fileEntryId - the primary key for the new d l file entry
Returns:
the new d l file entry

remove

public static DLFileEntry remove(long fileEntryId)
                          throws SystemException,
                                 NoSuchFileEntryException
Removes the d l file entry with the primary key from the database. Also notifies the appropriate model listeners.

Parameters:
fileEntryId - the primary key of the d l file entry to remove
Returns:
the d l file entry that was removed
Throws:
NoSuchFileEntryException - if a d l file entry with the primary key could not be found
SystemException - if a system exception occurred

updateImpl

public static DLFileEntry updateImpl(DLFileEntry dlFileEntry,
                                     boolean merge)
                              throws SystemException
Throws:
SystemException

findByPrimaryKey

public static DLFileEntry findByPrimaryKey(long fileEntryId)
                                    throws SystemException,
                                           NoSuchFileEntryException
Finds the d l file entry with the primary key or throws a NoSuchFileEntryException if it could not be found.

Parameters:
fileEntryId - the primary key of the d l file entry to find
Returns:
the d l file entry
Throws:
NoSuchFileEntryException - if a d l file entry with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

public static DLFileEntry fetchByPrimaryKey(long fileEntryId)
                                     throws SystemException
Finds the d l file entry with the primary key or returns null if it could not be found.

Parameters:
fileEntryId - the primary key of the d l file entry to find
Returns:
the d l file entry, or null if a d l file entry with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findByUuid

public static List<DLFileEntry> findByUuid(String uuid)
                                    throws SystemException
Finds all the d l file entries where uuid = ?.

Parameters:
uuid - the uuid to search with
Returns:
the matching d l file entries
Throws:
SystemException - if a system exception occurred

findByUuid

public static List<DLFileEntry> findByUuid(String uuid,
                                           int start,
                                           int end)
                                    throws SystemException
Finds a range of all the d l file entries where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
uuid - the uuid to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
Returns:
the range of matching d l file entries
Throws:
SystemException - if a system exception occurred

findByUuid

public static List<DLFileEntry> findByUuid(String uuid,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Finds an ordered range of all the d l file entries where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
uuid - the uuid to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file entries
Throws:
SystemException - if a system exception occurred

findByUuid_First

public static DLFileEntry findByUuid_First(String uuid,
                                           OrderByComparator orderByComparator)
                                    throws SystemException,
                                           NoSuchFileEntryException
Finds the first d l file entry in the ordered set where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
uuid - the uuid to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching d l file entry
Throws:
NoSuchFileEntryException - if a matching d l file entry could not be found
SystemException - if a system exception occurred

findByUuid_Last

public static DLFileEntry findByUuid_Last(String uuid,
                                          OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchFileEntryException
Finds the last d l file entry in the ordered set where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
uuid - the uuid to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching d l file entry
Throws:
NoSuchFileEntryException - if a matching d l file entry could not be found
SystemException - if a system exception occurred

findByUuid_PrevAndNext

public static DLFileEntry[] findByUuid_PrevAndNext(long fileEntryId,
                                                   String uuid,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException,
                                                   NoSuchFileEntryException
Finds the d l file entries before and after the current d l file entry in the ordered set where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
fileEntryId - the primary key of the current d l file entry
uuid - the uuid to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next d l file entry
Throws:
NoSuchFileEntryException - if a d l file entry with the primary key could not be found
SystemException - if a system exception occurred

findByUUID_G

public static DLFileEntry findByUUID_G(String uuid,
                                       long groupId)
                                throws SystemException,
                                       NoSuchFileEntryException
Finds the d l file entry where uuid = ? and groupId = ? or throws a NoSuchFileEntryException if it could not be found.

Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Returns:
the matching d l file entry
Throws:
NoSuchFileEntryException - if a matching d l file entry could not be found
SystemException - if a system exception occurred

fetchByUUID_G

public static DLFileEntry fetchByUUID_G(String uuid,
                                        long groupId)
                                 throws SystemException
Finds the d l file entry where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Returns:
the matching d l file entry, or null if a matching d l file entry could not be found
Throws:
SystemException - if a system exception occurred

fetchByUUID_G

public static DLFileEntry fetchByUUID_G(String uuid,
                                        long groupId,
                                        boolean retrieveFromCache)
                                 throws SystemException
Finds the d l file entry where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Returns:
the matching d l file entry, or null if a matching d l file entry could not be found
Throws:
SystemException - if a system exception occurred

findByGroupId

public static List<DLFileEntry> findByGroupId(long groupId)
                                       throws SystemException
Finds all the d l file entries where groupId = ?.

Parameters:
groupId - the group id to search with
Returns:
the matching d l file entries
Throws:
SystemException - if a system exception occurred

findByGroupId

public static List<DLFileEntry> findByGroupId(long groupId,
                                              int start,
                                              int end)
                                       throws SystemException
Finds a range of all the d l file entries where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
Returns:
the range of matching d l file entries
Throws:
SystemException - if a system exception occurred

findByGroupId

public static List<DLFileEntry> findByGroupId(long groupId,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Finds an ordered range of all the d l file entries where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file entries
Throws:
SystemException - if a system exception occurred

findByGroupId_First

public static DLFileEntry findByGroupId_First(long groupId,
                                              OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchFileEntryException
Finds the first d l file entry in the ordered set where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching d l file entry
Throws:
NoSuchFileEntryException - if a matching d l file entry could not be found
SystemException - if a system exception occurred

findByGroupId_Last

public static DLFileEntry findByGroupId_Last(long groupId,
                                             OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchFileEntryException
Finds the last d l file entry in the ordered set where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching d l file entry
Throws:
NoSuchFileEntryException - if a matching d l file entry could not be found
SystemException - if a system exception occurred

findByGroupId_PrevAndNext

public static DLFileEntry[] findByGroupId_PrevAndNext(long fileEntryId,
                                                      long groupId,
                                                      OrderByComparator orderByComparator)
                                               throws SystemException,
                                                      NoSuchFileEntryException
Finds the d l file entries before and after the current d l file entry in the ordered set where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
fileEntryId - the primary key of the current d l file entry
groupId - the group id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next d l file entry
Throws:
NoSuchFileEntryException - if a d l file entry with the primary key could not be found
SystemException - if a system exception occurred

filterFindByGroupId

public static List<DLFileEntry> filterFindByGroupId(long groupId)
                                             throws SystemException
Filters by the user's permissions and finds all the d l file entries where groupId = ?.

Parameters:
groupId - the group id to search with
Returns:
the matching d l file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

public static List<DLFileEntry> filterFindByGroupId(long groupId,
                                                    int start,
                                                    int end)
                                             throws SystemException
Filters by the user's permissions and finds a range of all the d l file entries where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
Returns:
the range of matching d l file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

public static List<DLFileEntry> filterFindByGroupId(long groupId,
                                                    int start,
                                                    int end,
                                                    OrderByComparator orderByComparator)
                                             throws SystemException
Filters by the user's permissions and finds an ordered range of all the d l file entries where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByCompanyId

public static List<DLFileEntry> findByCompanyId(long companyId)
                                         throws SystemException
Finds all the d l file entries where companyId = ?.

Parameters:
companyId - the company id to search with
Returns:
the matching d l file entries
Throws:
SystemException - if a system exception occurred

findByCompanyId

public static List<DLFileEntry> findByCompanyId(long companyId,
                                                int start,
                                                int end)
                                         throws SystemException
Finds a range of all the d l file entries where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
companyId - the company id to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
Returns:
the range of matching d l file entries
Throws:
SystemException - if a system exception occurred

findByCompanyId

public static List<DLFileEntry> findByCompanyId(long companyId,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Finds an ordered range of all the d l file entries where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
companyId - the company id to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file entries
Throws:
SystemException - if a system exception occurred

findByCompanyId_First

public static DLFileEntry findByCompanyId_First(long companyId,
                                                OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchFileEntryException
Finds the first d l file entry in the ordered set where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
companyId - the company id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching d l file entry
Throws:
NoSuchFileEntryException - if a matching d l file entry could not be found
SystemException - if a system exception occurred

findByCompanyId_Last

public static DLFileEntry findByCompanyId_Last(long companyId,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchFileEntryException
Finds the last d l file entry in the ordered set where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
companyId - the company id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching d l file entry
Throws:
NoSuchFileEntryException - if a matching d l file entry could not be found
SystemException - if a system exception occurred

findByCompanyId_PrevAndNext

public static DLFileEntry[] findByCompanyId_PrevAndNext(long fileEntryId,
                                                        long companyId,
                                                        OrderByComparator orderByComparator)
                                                 throws SystemException,
                                                        NoSuchFileEntryException
Finds the d l file entries before and after the current d l file entry in the ordered set where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
fileEntryId - the primary key of the current d l file entry
companyId - the company id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next d l file entry
Throws:
NoSuchFileEntryException - if a d l file entry with the primary key could not be found
SystemException - if a system exception occurred

findByG_U

public static List<DLFileEntry> findByG_U(long groupId,
                                          long userId)
                                   throws SystemException
Finds all the d l file entries where groupId = ? and userId = ?.

Parameters:
groupId - the group id to search with
userId - the user id to search with
Returns:
the matching d l file entries
Throws:
SystemException - if a system exception occurred

findByG_U

public static List<DLFileEntry> findByG_U(long groupId,
                                          long userId,
                                          int start,
                                          int end)
                                   throws SystemException
Finds a range of all the d l file entries where groupId = ? and userId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
userId - the user id to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
Returns:
the range of matching d l file entries
Throws:
SystemException - if a system exception occurred

findByG_U

public static List<DLFileEntry> findByG_U(long groupId,
                                          long userId,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Finds an ordered range of all the d l file entries where groupId = ? and userId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
userId - the user id to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file entries
Throws:
SystemException - if a system exception occurred

findByG_U_First

public static DLFileEntry findByG_U_First(long groupId,
                                          long userId,
                                          OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchFileEntryException
Finds the first d l file entry in the ordered set where groupId = ? and userId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
userId - the user id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching d l file entry
Throws:
NoSuchFileEntryException - if a matching d l file entry could not be found
SystemException - if a system exception occurred

findByG_U_Last

public static DLFileEntry findByG_U_Last(long groupId,
                                         long userId,
                                         OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchFileEntryException
Finds the last d l file entry in the ordered set where groupId = ? and userId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
userId - the user id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching d l file entry
Throws:
NoSuchFileEntryException - if a matching d l file entry could not be found
SystemException - if a system exception occurred

findByG_U_PrevAndNext

public static DLFileEntry[] findByG_U_PrevAndNext(long fileEntryId,
                                                  long groupId,
                                                  long userId,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException,
                                                  NoSuchFileEntryException
Finds the d l file entries before and after the current d l file entry in the ordered set where groupId = ? and userId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
fileEntryId - the primary key of the current d l file entry
groupId - the group id to search with
userId - the user id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next d l file entry
Throws:
NoSuchFileEntryException - if a d l file entry with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_U

public static List<DLFileEntry> filterFindByG_U(long groupId,
                                                long userId)
                                         throws SystemException
Filters by the user's permissions and finds all the d l file entries where groupId = ? and userId = ?.

Parameters:
groupId - the group id to search with
userId - the user id to search with
Returns:
the matching d l file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U

public static List<DLFileEntry> filterFindByG_U(long groupId,
                                                long userId,
                                                int start,
                                                int end)
                                         throws SystemException
Filters by the user's permissions and finds a range of all the d l file entries where groupId = ? and userId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
userId - the user id to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
Returns:
the range of matching d l file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U

public static List<DLFileEntry> filterFindByG_U(long groupId,
                                                long userId,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Filters by the user's permissions and finds an ordered range of all the d l file entries where groupId = ? and userId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
userId - the user id to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_F

public static List<DLFileEntry> findByG_F(long groupId,
                                          long folderId)
                                   throws SystemException
Finds all the d l file entries where groupId = ? and folderId = ?.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
Returns:
the matching d l file entries
Throws:
SystemException - if a system exception occurred

findByG_F

public static List<DLFileEntry> findByG_F(long groupId,
                                          long folderId,
                                          int start,
                                          int end)
                                   throws SystemException
Finds a range of all the d l file entries where groupId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
Returns:
the range of matching d l file entries
Throws:
SystemException - if a system exception occurred

findByG_F

public static List<DLFileEntry> findByG_F(long groupId,
                                          long folderId,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Finds an ordered range of all the d l file entries where groupId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file entries
Throws:
SystemException - if a system exception occurred

findByG_F_First

public static DLFileEntry findByG_F_First(long groupId,
                                          long folderId,
                                          OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchFileEntryException
Finds the first d l file entry in the ordered set where groupId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching d l file entry
Throws:
NoSuchFileEntryException - if a matching d l file entry could not be found
SystemException - if a system exception occurred

findByG_F_Last

public static DLFileEntry findByG_F_Last(long groupId,
                                         long folderId,
                                         OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchFileEntryException
Finds the last d l file entry in the ordered set where groupId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching d l file entry
Throws:
NoSuchFileEntryException - if a matching d l file entry could not be found
SystemException - if a system exception occurred

findByG_F_PrevAndNext

public static DLFileEntry[] findByG_F_PrevAndNext(long fileEntryId,
                                                  long groupId,
                                                  long folderId,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException,
                                                  NoSuchFileEntryException
Finds the d l file entries before and after the current d l file entry in the ordered set where groupId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
fileEntryId - the primary key of the current d l file entry
groupId - the group id to search with
folderId - the folder id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next d l file entry
Throws:
NoSuchFileEntryException - if a d l file entry with the primary key could not be found
SystemException - if a system exception occurred

findByG_F

public static List<DLFileEntry> findByG_F(long groupId,
                                          long[] folderIds)
                                   throws SystemException
Finds all the d l file entries where groupId = ? and folderId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderIds - the folder ids to search with
Returns:
the matching d l file entries
Throws:
SystemException - if a system exception occurred

findByG_F

public static List<DLFileEntry> findByG_F(long groupId,
                                          long[] folderIds,
                                          int start,
                                          int end)
                                   throws SystemException
Finds a range of all the d l file entries where groupId = ? and folderId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderIds - the folder ids to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
Returns:
the range of matching d l file entries
Throws:
SystemException - if a system exception occurred

findByG_F

public static List<DLFileEntry> findByG_F(long groupId,
                                          long[] folderIds,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Finds an ordered range of all the d l file entries where groupId = ? and folderId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderIds - the folder ids to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file entries
Throws:
SystemException - if a system exception occurred

filterFindByG_F

public static List<DLFileEntry> filterFindByG_F(long groupId,
                                                long folderId)
                                         throws SystemException
Filters by the user's permissions and finds all the d l file entries where groupId = ? and folderId = ?.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
Returns:
the matching d l file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F

public static List<DLFileEntry> filterFindByG_F(long groupId,
                                                long folderId,
                                                int start,
                                                int end)
                                         throws SystemException
Filters by the user's permissions and finds a range of all the d l file entries where groupId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
Returns:
the range of matching d l file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F

public static List<DLFileEntry> filterFindByG_F(long groupId,
                                                long folderId,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Filters by the user's permissions and finds an ordered range of all the d l file entries where groupId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F

public static List<DLFileEntry> filterFindByG_F(long groupId,
                                                long[] folderIds)
                                         throws SystemException
Filters by the user's permissions and finds all the d l file entries where groupId = ? and folderId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderIds - the folder ids to search with
Returns:
the matching d l file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F

public static List<DLFileEntry> filterFindByG_F(long groupId,
                                                long[] folderIds,
                                                int start,
                                                int end)
                                         throws SystemException
Filters by the user's permissions and finds a range of all the d l file entries where groupId = ? and folderId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderIds - the folder ids to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
Returns:
the range of matching d l file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F

public static List<DLFileEntry> filterFindByG_F(long groupId,
                                                long[] folderIds,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Filters by the user's permissions and finds an ordered range of all the d l file entries where groupId = ? and folderId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderIds - the folder ids to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_U_F

public static List<DLFileEntry> findByG_U_F(long groupId,
                                            long userId,
                                            long folderId)
                                     throws SystemException
Finds all the d l file entries where groupId = ? and userId = ? and folderId = ?.

Parameters:
groupId - the group id to search with
userId - the user id to search with
folderId - the folder id to search with
Returns:
the matching d l file entries
Throws:
SystemException - if a system exception occurred

findByG_U_F

public static List<DLFileEntry> findByG_U_F(long groupId,
                                            long userId,
                                            long folderId,
                                            int start,
                                            int end)
                                     throws SystemException
Finds a range of all the d l file entries where groupId = ? and userId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
userId - the user id to search with
folderId - the folder id to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
Returns:
the range of matching d l file entries
Throws:
SystemException - if a system exception occurred

findByG_U_F

public static List<DLFileEntry> findByG_U_F(long groupId,
                                            long userId,
                                            long folderId,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Finds an ordered range of all the d l file entries where groupId = ? and userId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
userId - the user id to search with
folderId - the folder id to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file entries
Throws:
SystemException - if a system exception occurred

findByG_U_F_First

public static DLFileEntry findByG_U_F_First(long groupId,
                                            long userId,
                                            long folderId,
                                            OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchFileEntryException
Finds the first d l file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
userId - the user id to search with
folderId - the folder id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching d l file entry
Throws:
NoSuchFileEntryException - if a matching d l file entry could not be found
SystemException - if a system exception occurred

findByG_U_F_Last

public static DLFileEntry findByG_U_F_Last(long groupId,
                                           long userId,
                                           long folderId,
                                           OrderByComparator orderByComparator)
                                    throws SystemException,
                                           NoSuchFileEntryException
Finds the last d l file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
userId - the user id to search with
folderId - the folder id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching d l file entry
Throws:
NoSuchFileEntryException - if a matching d l file entry could not be found
SystemException - if a system exception occurred

findByG_U_F_PrevAndNext

public static DLFileEntry[] findByG_U_F_PrevAndNext(long fileEntryId,
                                                    long groupId,
                                                    long userId,
                                                    long folderId,
                                                    OrderByComparator orderByComparator)
                                             throws SystemException,
                                                    NoSuchFileEntryException
Finds the d l file entries before and after the current d l file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
fileEntryId - the primary key of the current d l file entry
groupId - the group id to search with
userId - the user id to search with
folderId - the folder id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next d l file entry
Throws:
NoSuchFileEntryException - if a d l file entry with the primary key could not be found
SystemException - if a system exception occurred

findByG_U_F

public static List<DLFileEntry> findByG_U_F(long groupId,
                                            long userId,
                                            long[] folderIds)
                                     throws SystemException
Finds all the d l file entries where groupId = ? and userId = ? and folderId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
userId - the user id to search with
folderIds - the folder ids to search with
Returns:
the matching d l file entries
Throws:
SystemException - if a system exception occurred

findByG_U_F

public static List<DLFileEntry> findByG_U_F(long groupId,
                                            long userId,
                                            long[] folderIds,
                                            int start,
                                            int end)
                                     throws SystemException
Finds a range of all the d l file entries where groupId = ? and userId = ? and folderId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
userId - the user id to search with
folderIds - the folder ids to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
Returns:
the range of matching d l file entries
Throws:
SystemException - if a system exception occurred

findByG_U_F

public static List<DLFileEntry> findByG_U_F(long groupId,
                                            long userId,
                                            long[] folderIds,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Finds an ordered range of all the d l file entries where groupId = ? and userId = ? and folderId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
userId - the user id to search with
folderIds - the folder ids to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file entries
Throws:
SystemException - if a system exception occurred

filterFindByG_U_F

public static List<DLFileEntry> filterFindByG_U_F(long groupId,
                                                  long userId,
                                                  long folderId)
                                           throws SystemException
Filters by the user's permissions and finds all the d l file entries where groupId = ? and userId = ? and folderId = ?.

Parameters:
groupId - the group id to search with
userId - the user id to search with
folderId - the folder id to search with
Returns:
the matching d l file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U_F

public static List<DLFileEntry> filterFindByG_U_F(long groupId,
                                                  long userId,
                                                  long folderId,
                                                  int start,
                                                  int end)
                                           throws SystemException
Filters by the user's permissions and finds a range of all the d l file entries where groupId = ? and userId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
userId - the user id to search with
folderId - the folder id to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
Returns:
the range of matching d l file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U_F

public static List<DLFileEntry> filterFindByG_U_F(long groupId,
                                                  long userId,
                                                  long folderId,
                                                  int start,
                                                  int end,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException
Filters by the user's permissions and finds an ordered range of all the d l file entries where groupId = ? and userId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
userId - the user id to search with
folderId - the folder id to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U_F

public static List<DLFileEntry> filterFindByG_U_F(long groupId,
                                                  long userId,
                                                  long[] folderIds)
                                           throws SystemException
Filters by the user's permissions and finds all the d l file entries where groupId = ? and userId = ? and folderId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
userId - the user id to search with
folderIds - the folder ids to search with
Returns:
the matching d l file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U_F

public static List<DLFileEntry> filterFindByG_U_F(long groupId,
                                                  long userId,
                                                  long[] folderIds,
                                                  int start,
                                                  int end)
                                           throws SystemException
Filters by the user's permissions and finds a range of all the d l file entries where groupId = ? and userId = ? and folderId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
userId - the user id to search with
folderIds - the folder ids to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
Returns:
the range of matching d l file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U_F

public static List<DLFileEntry> filterFindByG_U_F(long groupId,
                                                  long userId,
                                                  long[] folderIds,
                                                  int start,
                                                  int end,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException
Filters by the user's permissions and finds an ordered range of all the d l file entries where groupId = ? and userId = ? and folderId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
userId - the user id to search with
folderIds - the folder ids to search with
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_F_N

public static DLFileEntry findByG_F_N(long groupId,
                                      long folderId,
                                      String name)
                               throws SystemException,
                                      NoSuchFileEntryException
Finds the d l file entry where groupId = ? and folderId = ? and name = ? or throws a NoSuchFileEntryException if it could not be found.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
name - the name to search with
Returns:
the matching d l file entry
Throws:
NoSuchFileEntryException - if a matching d l file entry could not be found
SystemException - if a system exception occurred

fetchByG_F_N

public static DLFileEntry fetchByG_F_N(long groupId,
                                       long folderId,
                                       String name)
                                throws SystemException
Finds the d l file entry where groupId = ? and folderId = ? and name = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
name - the name to search with
Returns:
the matching d l file entry, or null if a matching d l file entry could not be found
Throws:
SystemException - if a system exception occurred

fetchByG_F_N

public static DLFileEntry fetchByG_F_N(long groupId,
                                       long folderId,
                                       String name,
                                       boolean retrieveFromCache)
                                throws SystemException
Finds the d l file entry where groupId = ? and folderId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
name - the name to search with
Returns:
the matching d l file entry, or null if a matching d l file entry could not be found
Throws:
SystemException - if a system exception occurred

findByG_F_T

public static DLFileEntry findByG_F_T(long groupId,
                                      long folderId,
                                      String title)
                               throws SystemException,
                                      NoSuchFileEntryException
Finds the d l file entry where groupId = ? and folderId = ? and title = ? or throws a NoSuchFileEntryException if it could not be found.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
title - the title to search with
Returns:
the matching d l file entry
Throws:
NoSuchFileEntryException - if a matching d l file entry could not be found
SystemException - if a system exception occurred

fetchByG_F_T

public static DLFileEntry fetchByG_F_T(long groupId,
                                       long folderId,
                                       String title)
                                throws SystemException
Finds the d l file entry where groupId = ? and folderId = ? and title = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
title - the title to search with
Returns:
the matching d l file entry, or null if a matching d l file entry could not be found
Throws:
SystemException - if a system exception occurred

fetchByG_F_T

public static DLFileEntry fetchByG_F_T(long groupId,
                                       long folderId,
                                       String title,
                                       boolean retrieveFromCache)
                                throws SystemException
Finds the d l file entry where groupId = ? and folderId = ? and title = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
title - the title to search with
Returns:
the matching d l file entry, or null if a matching d l file entry could not be found
Throws:
SystemException - if a system exception occurred

findAll

public static List<DLFileEntry> findAll()
                                 throws SystemException
Finds all the d l file entries.

Returns:
the d l file entries
Throws:
SystemException - if a system exception occurred

findAll

public static List<DLFileEntry> findAll(int start,
                                        int end)
                                 throws SystemException
Finds a range of all the d l file entries.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
Returns:
the range of d l file entries
Throws:
SystemException - if a system exception occurred

findAll

public static List<DLFileEntry> findAll(int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Finds an ordered range of all the d l file entries.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
start - the lower bound of the range of d l file entries to return
end - the upper bound of the range of d l file entries to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of d l file entries
Throws:
SystemException - if a system exception occurred

removeByUuid

public static void removeByUuid(String uuid)
                         throws SystemException
Removes all the d l file entries where uuid = ? from the database.

Parameters:
uuid - the uuid to search with
Throws:
SystemException - if a system exception occurred

removeByUUID_G

public static void removeByUUID_G(String uuid,
                                  long groupId)
                           throws SystemException,
                                  NoSuchFileEntryException
Removes the d l file entry where uuid = ? and groupId = ? from the database.

Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Throws:
SystemException - if a system exception occurred
NoSuchFileEntryException

removeByGroupId

public static void removeByGroupId(long groupId)
                            throws SystemException
Removes all the d l file entries where groupId = ? from the database.

Parameters:
groupId - the group id to search with
Throws:
SystemException - if a system exception occurred

removeByCompanyId

public static void removeByCompanyId(long companyId)
                              throws SystemException
Removes all the d l file entries where companyId = ? from the database.

Parameters:
companyId - the company id to search with
Throws:
SystemException - if a system exception occurred

removeByG_U

public static void removeByG_U(long groupId,
                               long userId)
                        throws SystemException
Removes all the d l file entries where groupId = ? and userId = ? from the database.

Parameters:
groupId - the group id to search with
userId - the user id to search with
Throws:
SystemException - if a system exception occurred

removeByG_F

public static void removeByG_F(long groupId,
                               long folderId)
                        throws SystemException
Removes all the d l file entries where groupId = ? and folderId = ? from the database.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
Throws:
SystemException - if a system exception occurred

removeByG_U_F

public static void removeByG_U_F(long groupId,
                                 long userId,
                                 long folderId)
                          throws SystemException
Removes all the d l file entries where groupId = ? and userId = ? and folderId = ? from the database.

Parameters:
groupId - the group id to search with
userId - the user id to search with
folderId - the folder id to search with
Throws:
SystemException - if a system exception occurred

removeByG_F_N

public static void removeByG_F_N(long groupId,
                                 long folderId,
                                 String name)
                          throws SystemException,
                                 NoSuchFileEntryException
Removes the d l file entry where groupId = ? and folderId = ? and name = ? from the database.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
name - the name to search with
Throws:
SystemException - if a system exception occurred
NoSuchFileEntryException

removeByG_F_T

public static void removeByG_F_T(long groupId,
                                 long folderId,
                                 String title)
                          throws SystemException,
                                 NoSuchFileEntryException
Removes the d l file entry where groupId = ? and folderId = ? and title = ? from the database.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
title - the title to search with
Throws:
SystemException - if a system exception occurred
NoSuchFileEntryException

removeAll

public static void removeAll()
                      throws SystemException
Removes all the d l file entries from the database.

Throws:
SystemException - if a system exception occurred

countByUuid

public static int countByUuid(String uuid)
                       throws SystemException
Counts all the d l file entries where uuid = ?.

Parameters:
uuid - the uuid to search with
Returns:
the number of matching d l file entries
Throws:
SystemException - if a system exception occurred

countByUUID_G

public static int countByUUID_G(String uuid,
                                long groupId)
                         throws SystemException
Counts all the d l file entries where uuid = ? and groupId = ?.

Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Returns:
the number of matching d l file entries
Throws:
SystemException - if a system exception occurred

countByGroupId

public static int countByGroupId(long groupId)
                          throws SystemException
Counts all the d l file entries where groupId = ?.

Parameters:
groupId - the group id to search with
Returns:
the number of matching d l file entries
Throws:
SystemException - if a system exception occurred

filterCountByGroupId

public static int filterCountByGroupId(long groupId)
                                throws SystemException
Filters by the user's permissions and counts all the d l file entries where groupId = ?.

Parameters:
groupId - the group id to search with
Returns:
the number of matching d l file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByCompanyId

public static int countByCompanyId(long companyId)
                            throws SystemException
Counts all the d l file entries where companyId = ?.

Parameters:
companyId - the company id to search with
Returns:
the number of matching d l file entries
Throws:
SystemException - if a system exception occurred

countByG_U

public static int countByG_U(long groupId,
                             long userId)
                      throws SystemException
Counts all the d l file entries where groupId = ? and userId = ?.

Parameters:
groupId - the group id to search with
userId - the user id to search with
Returns:
the number of matching d l file entries
Throws:
SystemException - if a system exception occurred

filterCountByG_U

public static int filterCountByG_U(long groupId,
                                   long userId)
                            throws SystemException
Filters by the user's permissions and counts all the d l file entries where groupId = ? and userId = ?.

Parameters:
groupId - the group id to search with
userId - the user id to search with
Returns:
the number of matching d l file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByG_F

public static int countByG_F(long groupId,
                             long folderId)
                      throws SystemException
Counts all the d l file entries where groupId = ? and folderId = ?.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
Returns:
the number of matching d l file entries
Throws:
SystemException - if a system exception occurred

countByG_F

public static int countByG_F(long groupId,
                             long[] folderIds)
                      throws SystemException
Counts all the d l file entries where groupId = ? and folderId = any ?.

Parameters:
groupId - the group id to search with
folderIds - the folder ids to search with
Returns:
the number of matching d l file entries
Throws:
SystemException - if a system exception occurred

filterCountByG_F

public static int filterCountByG_F(long groupId,
                                   long folderId)
                            throws SystemException
Filters by the user's permissions and counts all the d l file entries where groupId = ? and folderId = ?.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
Returns:
the number of matching d l file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterCountByG_F

public static int filterCountByG_F(long groupId,
                                   long[] folderIds)
                            throws SystemException
Filters by the user's permissions and counts all the d l file entries where groupId = ? and folderId = any ?.

Parameters:
groupId - the group id to search with
folderIds - the folder ids to search with
Returns:
the number of matching d l file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByG_U_F

public static int countByG_U_F(long groupId,
                               long userId,
                               long folderId)
                        throws SystemException
Counts all the d l file entries where groupId = ? and userId = ? and folderId = ?.

Parameters:
groupId - the group id to search with
userId - the user id to search with
folderId - the folder id to search with
Returns:
the number of matching d l file entries
Throws:
SystemException - if a system exception occurred

countByG_U_F

public static int countByG_U_F(long groupId,
                               long userId,
                               long[] folderIds)
                        throws SystemException
Counts all the d l file entries where groupId = ? and userId = ? and folderId = any ?.

Parameters:
groupId - the group id to search with
userId - the user id to search with
folderIds - the folder ids to search with
Returns:
the number of matching d l file entries
Throws:
SystemException - if a system exception occurred

filterCountByG_U_F

public static int filterCountByG_U_F(long groupId,
                                     long userId,
                                     long folderId)
                              throws SystemException
Filters by the user's permissions and counts all the d l file entries where groupId = ? and userId = ? and folderId = ?.

Parameters:
groupId - the group id to search with
userId - the user id to search with
folderId - the folder id to search with
Returns:
the number of matching d l file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterCountByG_U_F

public static int filterCountByG_U_F(long groupId,
                                     long userId,
                                     long[] folderIds)
                              throws SystemException
Filters by the user's permissions and counts all the d l file entries where groupId = ? and userId = ? and folderId = any ?.

Parameters:
groupId - the group id to search with
userId - the user id to search with
folderIds - the folder ids to search with
Returns:
the number of matching d l file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByG_F_N

public static int countByG_F_N(long groupId,
                               long folderId,
                               String name)
                        throws SystemException
Counts all the d l file entries where groupId = ? and folderId = ? and name = ?.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
name - the name to search with
Returns:
the number of matching d l file entries
Throws:
SystemException - if a system exception occurred

filterCountByG_F_N

public static int filterCountByG_F_N(long groupId,
                                     long folderId,
                                     String name)
                              throws SystemException
Filters by the user's permissions and counts all the d l file entries where groupId = ? and folderId = ? and name = ?.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
name - the name to search with
Returns:
the number of matching d l file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByG_F_T

public static int countByG_F_T(long groupId,
                               long folderId,
                               String title)
                        throws SystemException
Counts all the d l file entries where groupId = ? and folderId = ? and title = ?.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
title - the title to search with
Returns:
the number of matching d l file entries
Throws:
SystemException - if a system exception occurred

filterCountByG_F_T

public static int filterCountByG_F_T(long groupId,
                                     long folderId,
                                     String title)
                              throws SystemException
Filters by the user's permissions and counts all the d l file entries where groupId = ? and folderId = ? and title = ?.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
title - the title to search with
Returns:
the number of matching d l file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

countAll

public static int countAll()
                    throws SystemException
Counts all the d l file entries.

Returns:
the number of d l file entries
Throws:
SystemException - if a system exception occurred

getPersistence

public static DLFileEntryPersistence getPersistence()

setPersistence

public void setPersistence(DLFileEntryPersistence persistence)

Liferay 6.0.5