/** * Copyright (c) 2000-present Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ package com.liferay.document.library.kernel.service.persistence; import aQute.bnd.annotation.ProviderType; import com.liferay.document.library.kernel.model.DLFileEntry; import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil; import com.liferay.portal.kernel.dao.orm.DynamicQuery; import com.liferay.portal.kernel.service.ServiceContext; import com.liferay.portal.kernel.util.OrderByComparator; import com.liferay.portal.kernel.util.ReferenceRegistry; import java.util.List; /** * The persistence utility for the document library file entry service. This utility wraps {@link com.liferay.portlet.documentlibrary.service.persistence.impl.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. * * <p> * Caching information and settings can be found in <code>portal.properties</code> * </p> * * @author Brian Wing Shun Chan * @see DLFileEntryPersistence * @see com.liferay.portlet.documentlibrary.service.persistence.impl.DLFileEntryPersistenceImpl * @generated */ @ProviderType public class DLFileEntryUtil { /* * NOTE FOR DEVELOPERS: * * Never modify this class directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this class. */ /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#clearCache() */ public static void clearCache() { getPersistence().clearCache(); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#clearCache(com.liferay.portal.kernel.model.BaseModel) */ public static void clearCache(DLFileEntry dlFileEntry) { getPersistence().clearCache(dlFileEntry); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) */ public static long countWithDynamicQuery(DynamicQuery dynamicQuery) { return getPersistence().countWithDynamicQuery(dynamicQuery); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) */ public static List<DLFileEntry> findWithDynamicQuery( DynamicQuery dynamicQuery) { return getPersistence().findWithDynamicQuery(dynamicQuery); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) */ public static List<DLFileEntry> findWithDynamicQuery( DynamicQuery dynamicQuery, int start, int end) { return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) */ public static List<DLFileEntry> findWithDynamicQuery( DynamicQuery dynamicQuery, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .findWithDynamicQuery(dynamicQuery, start, end, orderByComparator); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#update(com.liferay.portal.kernel.model.BaseModel) */ public static DLFileEntry update(DLFileEntry dlFileEntry) { return getPersistence().update(dlFileEntry); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#update(com.liferay.portal.kernel.model.BaseModel, ServiceContext) */ public static DLFileEntry update(DLFileEntry dlFileEntry, ServiceContext serviceContext) { return getPersistence().update(dlFileEntry, serviceContext); } /** * Returns all the document library file entries where uuid = ?. * * @param uuid the uuid * @return the matching document library file entries */ public static List<DLFileEntry> findByUuid(java.lang.String uuid) { return getPersistence().findByUuid(uuid); } /** * Returns a range of all the document library file entries where uuid = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param uuid the uuid * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @return the range of matching document library file entries */ public static List<DLFileEntry> findByUuid(java.lang.String uuid, int start, int end) { return getPersistence().findByUuid(uuid, start, end); } /** * Returns an ordered range of all the document library file entries where uuid = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param uuid the uuid * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByUuid(java.lang.String uuid, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence().findByUuid(uuid, start, end, orderByComparator); } /** * Returns an ordered range of all the document library file entries where uuid = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param uuid the uuid * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByUuid(java.lang.String uuid, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByUuid(uuid, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first document library file entry in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByUuid_First(java.lang.String uuid, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence().findByUuid_First(uuid, orderByComparator); } /** * Returns the first document library file entry in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByUuid_First(java.lang.String uuid, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence().fetchByUuid_First(uuid, orderByComparator); } /** * Returns the last document library file entry in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByUuid_Last(java.lang.String uuid, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence().findByUuid_Last(uuid, orderByComparator); } /** * Returns the last document library file entry in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByUuid_Last(java.lang.String uuid, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence().fetchByUuid_Last(uuid, orderByComparator); } /** * Returns the document library file entries before and after the current document library file entry in the ordered set where uuid = ?. * * @param fileEntryId the primary key of the current document library file entry * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the previous, current, and next document library file entry * @throws NoSuchFileEntryException if a document library file entry with the primary key could not be found */ public static DLFileEntry[] findByUuid_PrevAndNext(long fileEntryId, java.lang.String uuid, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByUuid_PrevAndNext(fileEntryId, uuid, orderByComparator); } /** * Removes all the document library file entries where uuid = ? from the database. * * @param uuid the uuid */ public static void removeByUuid(java.lang.String uuid) { getPersistence().removeByUuid(uuid); } /** * Returns the number of document library file entries where uuid = ?. * * @param uuid the uuid * @return the number of matching document library file entries */ public static int countByUuid(java.lang.String uuid) { return getPersistence().countByUuid(uuid); } /** * Returns the document library file entry where uuid = ? and groupId = ? or throws a {@link NoSuchFileEntryException} if it could not be found. * * @param uuid the uuid * @param groupId the group ID * @return the matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByUUID_G(java.lang.String uuid, long groupId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence().findByUUID_G(uuid, groupId); } /** * Returns the document library file entry where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. * * @param uuid the uuid * @param groupId the group ID * @return the matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByUUID_G(java.lang.String uuid, long groupId) { return getPersistence().fetchByUUID_G(uuid, groupId); } /** * Returns the document library file entry where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. * * @param uuid the uuid * @param groupId the group ID * @param retrieveFromCache whether to retrieve from the finder cache * @return the matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache) { return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); } /** * Removes the document library file entry where uuid = ? and groupId = ? from the database. * * @param uuid the uuid * @param groupId the group ID * @return the document library file entry that was removed */ public static DLFileEntry removeByUUID_G(java.lang.String uuid, long groupId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence().removeByUUID_G(uuid, groupId); } /** * Returns the number of document library file entries where uuid = ? and groupId = ?. * * @param uuid the uuid * @param groupId the group ID * @return the number of matching document library file entries */ public static int countByUUID_G(java.lang.String uuid, long groupId) { return getPersistence().countByUUID_G(uuid, groupId); } /** * Returns all the document library file entries where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the matching document library file entries */ public static List<DLFileEntry> findByUuid_C(java.lang.String uuid, long companyId) { return getPersistence().findByUuid_C(uuid, companyId); } /** * Returns a range of all the document library file entries where uuid = ? and companyId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @return the range of matching document library file entries */ public static List<DLFileEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end) { return getPersistence().findByUuid_C(uuid, companyId, start, end); } /** * Returns an ordered range of all the document library file entries where uuid = ? and companyId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .findByUuid_C(uuid, companyId, start, end, orderByComparator); } /** * Returns an ordered range of all the document library file entries where uuid = ? and companyId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByUuid_C(uuid, companyId, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first document library file entry in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByUuid_C_First(java.lang.String uuid, long companyId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByUuid_C_First(uuid, companyId, orderByComparator); } /** * Returns the first document library file entry in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByUuid_C_First(java.lang.String uuid, long companyId, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .fetchByUuid_C_First(uuid, companyId, orderByComparator); } /** * Returns the last document library file entry in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByUuid_C_Last(java.lang.String uuid, long companyId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByUuid_C_Last(uuid, companyId, orderByComparator); } /** * Returns the last document library file entry in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByUuid_C_Last(java.lang.String uuid, long companyId, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .fetchByUuid_C_Last(uuid, companyId, orderByComparator); } /** * Returns the document library file entries before and after the current document library file entry in the ordered set where uuid = ? and companyId = ?. * * @param fileEntryId the primary key of the current document library file entry * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the previous, current, and next document library file entry * @throws NoSuchFileEntryException if a document library file entry with the primary key could not be found */ public static DLFileEntry[] findByUuid_C_PrevAndNext(long fileEntryId, java.lang.String uuid, long companyId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByUuid_C_PrevAndNext(fileEntryId, uuid, companyId, orderByComparator); } /** * Removes all the document library file entries where uuid = ? and companyId = ? from the database. * * @param uuid the uuid * @param companyId the company ID */ public static void removeByUuid_C(java.lang.String uuid, long companyId) { getPersistence().removeByUuid_C(uuid, companyId); } /** * Returns the number of document library file entries where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the number of matching document library file entries */ public static int countByUuid_C(java.lang.String uuid, long companyId) { return getPersistence().countByUuid_C(uuid, companyId); } /** * Returns all the document library file entries where groupId = ?. * * @param groupId the group ID * @return the matching document library file entries */ public static List<DLFileEntry> findByGroupId(long groupId) { return getPersistence().findByGroupId(groupId); } /** * Returns a range of all the document library file entries where groupId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @return the range of matching document library file entries */ public static List<DLFileEntry> findByGroupId(long groupId, int start, int end) { return getPersistence().findByGroupId(groupId, start, end); } /** * Returns an ordered range of all the document library file entries where groupId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByGroupId(long groupId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .findByGroupId(groupId, start, end, orderByComparator); } /** * Returns an ordered range of all the document library file entries where groupId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByGroupId(long groupId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByGroupId(groupId, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first document library file entry in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByGroupId_First(long groupId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence().findByGroupId_First(groupId, orderByComparator); } /** * Returns the first document library file entry in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByGroupId_First(long groupId, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence().fetchByGroupId_First(groupId, orderByComparator); } /** * Returns the last document library file entry in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByGroupId_Last(long groupId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence().findByGroupId_Last(groupId, orderByComparator); } /** * Returns the last document library file entry in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByGroupId_Last(long groupId, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence().fetchByGroupId_Last(groupId, orderByComparator); } /** * Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ?. * * @param fileEntryId the primary key of the current document library file entry * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the previous, current, and next document library file entry * @throws NoSuchFileEntryException if a document library file entry with the primary key could not be found */ public static DLFileEntry[] findByGroupId_PrevAndNext(long fileEntryId, long groupId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByGroupId_PrevAndNext(fileEntryId, groupId, orderByComparator); } /** * Returns all the document library file entries that the user has permission to view where groupId = ?. * * @param groupId the group ID * @return the matching document library file entries that the user has permission to view */ public static List<DLFileEntry> filterFindByGroupId(long groupId) { return getPersistence().filterFindByGroupId(groupId); } /** * Returns a range of all the document library file entries that the user has permission to view where groupId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @return the range of matching document library file entries that the user has permission to view */ public static List<DLFileEntry> filterFindByGroupId(long groupId, int start, int end) { return getPersistence().filterFindByGroupId(groupId, start, end); } /** * Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entries that the user has permission to view */ public static List<DLFileEntry> filterFindByGroupId(long groupId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .filterFindByGroupId(groupId, start, end, orderByComparator); } /** * Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ?. * * @param fileEntryId the primary key of the current document library file entry * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the previous, current, and next document library file entry * @throws NoSuchFileEntryException if a document library file entry with the primary key could not be found */ public static DLFileEntry[] filterFindByGroupId_PrevAndNext( long fileEntryId, long groupId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .filterFindByGroupId_PrevAndNext(fileEntryId, groupId, orderByComparator); } /** * Removes all the document library file entries where groupId = ? from the database. * * @param groupId the group ID */ public static void removeByGroupId(long groupId) { getPersistence().removeByGroupId(groupId); } /** * Returns the number of document library file entries where groupId = ?. * * @param groupId the group ID * @return the number of matching document library file entries */ public static int countByGroupId(long groupId) { return getPersistence().countByGroupId(groupId); } /** * Returns the number of document library file entries that the user has permission to view where groupId = ?. * * @param groupId the group ID * @return the number of matching document library file entries that the user has permission to view */ public static int filterCountByGroupId(long groupId) { return getPersistence().filterCountByGroupId(groupId); } /** * Returns all the document library file entries where companyId = ?. * * @param companyId the company ID * @return the matching document library file entries */ public static List<DLFileEntry> findByCompanyId(long companyId) { return getPersistence().findByCompanyId(companyId); } /** * Returns a range of all the document library file entries where companyId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param companyId the company ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @return the range of matching document library file entries */ public static List<DLFileEntry> findByCompanyId(long companyId, int start, int end) { return getPersistence().findByCompanyId(companyId, start, end); } /** * Returns an ordered range of all the document library file entries where companyId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param companyId the company ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByCompanyId(long companyId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .findByCompanyId(companyId, start, end, orderByComparator); } /** * Returns an ordered range of all the document library file entries where companyId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param companyId the company ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByCompanyId(long companyId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByCompanyId(companyId, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first document library file entry in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByCompanyId_First(long companyId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByCompanyId_First(companyId, orderByComparator); } /** * Returns the first document library file entry in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByCompanyId_First(long companyId, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .fetchByCompanyId_First(companyId, orderByComparator); } /** * Returns the last document library file entry in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByCompanyId_Last(long companyId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByCompanyId_Last(companyId, orderByComparator); } /** * Returns the last document library file entry in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByCompanyId_Last(long companyId, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .fetchByCompanyId_Last(companyId, orderByComparator); } /** * Returns the document library file entries before and after the current document library file entry in the ordered set where companyId = ?. * * @param fileEntryId the primary key of the current document library file entry * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the previous, current, and next document library file entry * @throws NoSuchFileEntryException if a document library file entry with the primary key could not be found */ public static DLFileEntry[] findByCompanyId_PrevAndNext(long fileEntryId, long companyId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByCompanyId_PrevAndNext(fileEntryId, companyId, orderByComparator); } /** * Removes all the document library file entries where companyId = ? from the database. * * @param companyId the company ID */ public static void removeByCompanyId(long companyId) { getPersistence().removeByCompanyId(companyId); } /** * Returns the number of document library file entries where companyId = ?. * * @param companyId the company ID * @return the number of matching document library file entries */ public static int countByCompanyId(long companyId) { return getPersistence().countByCompanyId(companyId); } /** * Returns all the document library file entries where repositoryId = ?. * * @param repositoryId the repository ID * @return the matching document library file entries */ public static List<DLFileEntry> findByRepositoryId(long repositoryId) { return getPersistence().findByRepositoryId(repositoryId); } /** * Returns a range of all the document library file entries where repositoryId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param repositoryId the repository ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @return the range of matching document library file entries */ public static List<DLFileEntry> findByRepositoryId(long repositoryId, int start, int end) { return getPersistence().findByRepositoryId(repositoryId, start, end); } /** * Returns an ordered range of all the document library file entries where repositoryId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param repositoryId the repository ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByRepositoryId(long repositoryId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .findByRepositoryId(repositoryId, start, end, orderByComparator); } /** * Returns an ordered range of all the document library file entries where repositoryId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param repositoryId the repository ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByRepositoryId(long repositoryId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByRepositoryId(repositoryId, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first document library file entry in the ordered set where repositoryId = ?. * * @param repositoryId the repository ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByRepositoryId_First(long repositoryId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByRepositoryId_First(repositoryId, orderByComparator); } /** * Returns the first document library file entry in the ordered set where repositoryId = ?. * * @param repositoryId the repository ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByRepositoryId_First(long repositoryId, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .fetchByRepositoryId_First(repositoryId, orderByComparator); } /** * Returns the last document library file entry in the ordered set where repositoryId = ?. * * @param repositoryId the repository ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByRepositoryId_Last(long repositoryId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByRepositoryId_Last(repositoryId, orderByComparator); } /** * Returns the last document library file entry in the ordered set where repositoryId = ?. * * @param repositoryId the repository ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByRepositoryId_Last(long repositoryId, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .fetchByRepositoryId_Last(repositoryId, orderByComparator); } /** * Returns the document library file entries before and after the current document library file entry in the ordered set where repositoryId = ?. * * @param fileEntryId the primary key of the current document library file entry * @param repositoryId the repository ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the previous, current, and next document library file entry * @throws NoSuchFileEntryException if a document library file entry with the primary key could not be found */ public static DLFileEntry[] findByRepositoryId_PrevAndNext( long fileEntryId, long repositoryId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByRepositoryId_PrevAndNext(fileEntryId, repositoryId, orderByComparator); } /** * Removes all the document library file entries where repositoryId = ? from the database. * * @param repositoryId the repository ID */ public static void removeByRepositoryId(long repositoryId) { getPersistence().removeByRepositoryId(repositoryId); } /** * Returns the number of document library file entries where repositoryId = ?. * * @param repositoryId the repository ID * @return the number of matching document library file entries */ public static int countByRepositoryId(long repositoryId) { return getPersistence().countByRepositoryId(repositoryId); } /** * Returns all the document library file entries where mimeType = ?. * * @param mimeType the mime type * @return the matching document library file entries */ public static List<DLFileEntry> findByMimeType(java.lang.String mimeType) { return getPersistence().findByMimeType(mimeType); } /** * Returns a range of all the document library file entries where mimeType = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param mimeType the mime type * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @return the range of matching document library file entries */ public static List<DLFileEntry> findByMimeType(java.lang.String mimeType, int start, int end) { return getPersistence().findByMimeType(mimeType, start, end); } /** * Returns an ordered range of all the document library file entries where mimeType = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param mimeType the mime type * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByMimeType(java.lang.String mimeType, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .findByMimeType(mimeType, start, end, orderByComparator); } /** * Returns an ordered range of all the document library file entries where mimeType = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param mimeType the mime type * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByMimeType(java.lang.String mimeType, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByMimeType(mimeType, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first document library file entry in the ordered set where mimeType = ?. * * @param mimeType the mime type * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByMimeType_First(java.lang.String mimeType, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence().findByMimeType_First(mimeType, orderByComparator); } /** * Returns the first document library file entry in the ordered set where mimeType = ?. * * @param mimeType the mime type * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByMimeType_First(java.lang.String mimeType, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .fetchByMimeType_First(mimeType, orderByComparator); } /** * Returns the last document library file entry in the ordered set where mimeType = ?. * * @param mimeType the mime type * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByMimeType_Last(java.lang.String mimeType, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence().findByMimeType_Last(mimeType, orderByComparator); } /** * Returns the last document library file entry in the ordered set where mimeType = ?. * * @param mimeType the mime type * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByMimeType_Last(java.lang.String mimeType, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence().fetchByMimeType_Last(mimeType, orderByComparator); } /** * Returns the document library file entries before and after the current document library file entry in the ordered set where mimeType = ?. * * @param fileEntryId the primary key of the current document library file entry * @param mimeType the mime type * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the previous, current, and next document library file entry * @throws NoSuchFileEntryException if a document library file entry with the primary key could not be found */ public static DLFileEntry[] findByMimeType_PrevAndNext(long fileEntryId, java.lang.String mimeType, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByMimeType_PrevAndNext(fileEntryId, mimeType, orderByComparator); } /** * Removes all the document library file entries where mimeType = ? from the database. * * @param mimeType the mime type */ public static void removeByMimeType(java.lang.String mimeType) { getPersistence().removeByMimeType(mimeType); } /** * Returns the number of document library file entries where mimeType = ?. * * @param mimeType the mime type * @return the number of matching document library file entries */ public static int countByMimeType(java.lang.String mimeType) { return getPersistence().countByMimeType(mimeType); } /** * Returns all the document library file entries where fileEntryTypeId = ?. * * @param fileEntryTypeId the file entry type ID * @return the matching document library file entries */ public static List<DLFileEntry> findByFileEntryTypeId(long fileEntryTypeId) { return getPersistence().findByFileEntryTypeId(fileEntryTypeId); } /** * Returns a range of all the document library file entries where fileEntryTypeId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param fileEntryTypeId the file entry type ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @return the range of matching document library file entries */ public static List<DLFileEntry> findByFileEntryTypeId( long fileEntryTypeId, int start, int end) { return getPersistence() .findByFileEntryTypeId(fileEntryTypeId, start, end); } /** * Returns an ordered range of all the document library file entries where fileEntryTypeId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param fileEntryTypeId the file entry type ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByFileEntryTypeId( long fileEntryTypeId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .findByFileEntryTypeId(fileEntryTypeId, start, end, orderByComparator); } /** * Returns an ordered range of all the document library file entries where fileEntryTypeId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param fileEntryTypeId the file entry type ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByFileEntryTypeId( long fileEntryTypeId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByFileEntryTypeId(fileEntryTypeId, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first document library file entry in the ordered set where fileEntryTypeId = ?. * * @param fileEntryTypeId the file entry type ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByFileEntryTypeId_First( long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByFileEntryTypeId_First(fileEntryTypeId, orderByComparator); } /** * Returns the first document library file entry in the ordered set where fileEntryTypeId = ?. * * @param fileEntryTypeId the file entry type ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByFileEntryTypeId_First( long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .fetchByFileEntryTypeId_First(fileEntryTypeId, orderByComparator); } /** * Returns the last document library file entry in the ordered set where fileEntryTypeId = ?. * * @param fileEntryTypeId the file entry type ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByFileEntryTypeId_Last(long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByFileEntryTypeId_Last(fileEntryTypeId, orderByComparator); } /** * Returns the last document library file entry in the ordered set where fileEntryTypeId = ?. * * @param fileEntryTypeId the file entry type ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByFileEntryTypeId_Last( long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .fetchByFileEntryTypeId_Last(fileEntryTypeId, orderByComparator); } /** * Returns the document library file entries before and after the current document library file entry in the ordered set where fileEntryTypeId = ?. * * @param fileEntryId the primary key of the current document library file entry * @param fileEntryTypeId the file entry type ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the previous, current, and next document library file entry * @throws NoSuchFileEntryException if a document library file entry with the primary key could not be found */ public static DLFileEntry[] findByFileEntryTypeId_PrevAndNext( long fileEntryId, long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByFileEntryTypeId_PrevAndNext(fileEntryId, fileEntryTypeId, orderByComparator); } /** * Removes all the document library file entries where fileEntryTypeId = ? from the database. * * @param fileEntryTypeId the file entry type ID */ public static void removeByFileEntryTypeId(long fileEntryTypeId) { getPersistence().removeByFileEntryTypeId(fileEntryTypeId); } /** * Returns the number of document library file entries where fileEntryTypeId = ?. * * @param fileEntryTypeId the file entry type ID * @return the number of matching document library file entries */ public static int countByFileEntryTypeId(long fileEntryTypeId) { return getPersistence().countByFileEntryTypeId(fileEntryTypeId); } /** * Returns all the document library file entries where groupId = ? and userId = ?. * * @param groupId the group ID * @param userId the user ID * @return the matching document library file entries */ public static List<DLFileEntry> findByG_U(long groupId, long userId) { return getPersistence().findByG_U(groupId, userId); } /** * Returns a range of all the document library file entries where groupId = ? and userId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param userId the user ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @return the range of matching document library file entries */ public static List<DLFileEntry> findByG_U(long groupId, long userId, int start, int end) { return getPersistence().findByG_U(groupId, userId, start, end); } /** * Returns an ordered range of all the document library file entries where groupId = ? and userId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param userId the user ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByG_U(long groupId, long userId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .findByG_U(groupId, userId, start, end, orderByComparator); } /** * Returns an ordered range of all the document library file entries where groupId = ? and userId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param userId the user ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByG_U(long groupId, long userId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByG_U(groupId, userId, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first document library file entry in the ordered set where groupId = ? and userId = ?. * * @param groupId the group ID * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByG_U_First(long groupId, long userId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByG_U_First(groupId, userId, orderByComparator); } /** * Returns the first document library file entry in the ordered set where groupId = ? and userId = ?. * * @param groupId the group ID * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByG_U_First(long groupId, long userId, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .fetchByG_U_First(groupId, userId, orderByComparator); } /** * Returns the last document library file entry in the ordered set where groupId = ? and userId = ?. * * @param groupId the group ID * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByG_U_Last(long groupId, long userId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByG_U_Last(groupId, userId, orderByComparator); } /** * Returns the last document library file entry in the ordered set where groupId = ? and userId = ?. * * @param groupId the group ID * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByG_U_Last(long groupId, long userId, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .fetchByG_U_Last(groupId, userId, orderByComparator); } /** * Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and userId = ?. * * @param fileEntryId the primary key of the current document library file entry * @param groupId the group ID * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the previous, current, and next document library file entry * @throws NoSuchFileEntryException if a document library file entry with the primary key could not be found */ public static DLFileEntry[] findByG_U_PrevAndNext(long fileEntryId, long groupId, long userId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByG_U_PrevAndNext(fileEntryId, groupId, userId, orderByComparator); } /** * Returns all the document library file entries that the user has permission to view where groupId = ? and userId = ?. * * @param groupId the group ID * @param userId the user ID * @return the matching document library file entries that the user has permission to view */ public static List<DLFileEntry> filterFindByG_U(long groupId, long userId) { return getPersistence().filterFindByG_U(groupId, userId); } /** * Returns a range of all the document library file entries that the user has permission to view where groupId = ? and userId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param userId the user ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @return the range of matching document library file entries that the user has permission to view */ public static List<DLFileEntry> filterFindByG_U(long groupId, long userId, int start, int end) { return getPersistence().filterFindByG_U(groupId, userId, start, end); } /** * Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and userId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param userId the user ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entries that the user has permission to view */ public static List<DLFileEntry> filterFindByG_U(long groupId, long userId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .filterFindByG_U(groupId, userId, start, end, orderByComparator); } /** * Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and userId = ?. * * @param fileEntryId the primary key of the current document library file entry * @param groupId the group ID * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the previous, current, and next document library file entry * @throws NoSuchFileEntryException if a document library file entry with the primary key could not be found */ public static DLFileEntry[] filterFindByG_U_PrevAndNext(long fileEntryId, long groupId, long userId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .filterFindByG_U_PrevAndNext(fileEntryId, groupId, userId, orderByComparator); } /** * Removes all the document library file entries where groupId = ? and userId = ? from the database. * * @param groupId the group ID * @param userId the user ID */ public static void removeByG_U(long groupId, long userId) { getPersistence().removeByG_U(groupId, userId); } /** * Returns the number of document library file entries where groupId = ? and userId = ?. * * @param groupId the group ID * @param userId the user ID * @return the number of matching document library file entries */ public static int countByG_U(long groupId, long userId) { return getPersistence().countByG_U(groupId, userId); } /** * Returns the number of document library file entries that the user has permission to view where groupId = ? and userId = ?. * * @param groupId the group ID * @param userId the user ID * @return the number of matching document library file entries that the user has permission to view */ public static int filterCountByG_U(long groupId, long userId) { return getPersistence().filterCountByG_U(groupId, userId); } /** * Returns all the document library file entries where groupId = ? and folderId = ?. * * @param groupId the group ID * @param folderId the folder ID * @return the matching document library file entries */ public static List<DLFileEntry> findByG_F(long groupId, long folderId) { return getPersistence().findByG_F(groupId, folderId); } /** * Returns a range of all the document library file entries where groupId = ? and folderId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param folderId the folder ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @return the range of matching document library file entries */ public static List<DLFileEntry> findByG_F(long groupId, long folderId, int start, int end) { return getPersistence().findByG_F(groupId, folderId, start, end); } /** * Returns an ordered range of all the document library file entries where groupId = ? and folderId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param folderId the folder ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByG_F(long groupId, long folderId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .findByG_F(groupId, folderId, start, end, orderByComparator); } /** * Returns an ordered range of all the document library file entries where groupId = ? and folderId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param folderId the folder ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByG_F(long groupId, long folderId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByG_F(groupId, folderId, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first document library file entry in the ordered set where groupId = ? and folderId = ?. * * @param groupId the group ID * @param folderId the folder ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByG_F_First(long groupId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByG_F_First(groupId, folderId, orderByComparator); } /** * Returns the first document library file entry in the ordered set where groupId = ? and folderId = ?. * * @param groupId the group ID * @param folderId the folder ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByG_F_First(long groupId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .fetchByG_F_First(groupId, folderId, orderByComparator); } /** * Returns the last document library file entry in the ordered set where groupId = ? and folderId = ?. * * @param groupId the group ID * @param folderId the folder ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByG_F_Last(long groupId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByG_F_Last(groupId, folderId, orderByComparator); } /** * Returns the last document library file entry in the ordered set where groupId = ? and folderId = ?. * * @param groupId the group ID * @param folderId the folder ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByG_F_Last(long groupId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .fetchByG_F_Last(groupId, folderId, orderByComparator); } /** * Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and folderId = ?. * * @param fileEntryId the primary key of the current document library file entry * @param groupId the group ID * @param folderId the folder ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the previous, current, and next document library file entry * @throws NoSuchFileEntryException if a document library file entry with the primary key could not be found */ public static DLFileEntry[] findByG_F_PrevAndNext(long fileEntryId, long groupId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByG_F_PrevAndNext(fileEntryId, groupId, folderId, orderByComparator); } /** * Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = ?. * * @param groupId the group ID * @param folderId the folder ID * @return the matching document library file entries that the user has permission to view */ public static List<DLFileEntry> filterFindByG_F(long groupId, long folderId) { return getPersistence().filterFindByG_F(groupId, folderId); } /** * Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param folderId the folder ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @return the range of matching document library file entries that the user has permission to view */ public static List<DLFileEntry> filterFindByG_F(long groupId, long folderId, int start, int end) { return getPersistence().filterFindByG_F(groupId, folderId, start, end); } /** * Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and folderId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param folderId the folder ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entries that the user has permission to view */ public static List<DLFileEntry> filterFindByG_F(long groupId, long folderId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .filterFindByG_F(groupId, folderId, start, end, orderByComparator); } /** * Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and folderId = ?. * * @param fileEntryId the primary key of the current document library file entry * @param groupId the group ID * @param folderId the folder ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the previous, current, and next document library file entry * @throws NoSuchFileEntryException if a document library file entry with the primary key could not be found */ public static DLFileEntry[] filterFindByG_F_PrevAndNext(long fileEntryId, long groupId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .filterFindByG_F_PrevAndNext(fileEntryId, groupId, folderId, orderByComparator); } /** * Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = any ?. * * @param groupId the group ID * @param folderIds the folder IDs * @return the matching document library file entries that the user has permission to view */ public static List<DLFileEntry> filterFindByG_F(long groupId, long[] folderIds) { return getPersistence().filterFindByG_F(groupId, folderIds); } /** * Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param folderIds the folder IDs * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @return the range of matching document library file entries that the user has permission to view */ public static List<DLFileEntry> filterFindByG_F(long groupId, long[] folderIds, int start, int end) { return getPersistence().filterFindByG_F(groupId, folderIds, start, end); } /** * Returns an ordered range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param folderIds the folder IDs * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entries that the user has permission to view */ public static List<DLFileEntry> filterFindByG_F(long groupId, long[] folderIds, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .filterFindByG_F(groupId, folderIds, start, end, orderByComparator); } /** * Returns all the document library file entries where groupId = ? and folderId = any ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param folderIds the folder IDs * @return the matching document library file entries */ public static List<DLFileEntry> findByG_F(long groupId, long[] folderIds) { return getPersistence().findByG_F(groupId, folderIds); } /** * Returns a range of all the document library file entries where groupId = ? and folderId = any ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param folderIds the folder IDs * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @return the range of matching document library file entries */ public static List<DLFileEntry> findByG_F(long groupId, long[] folderIds, int start, int end) { return getPersistence().findByG_F(groupId, folderIds, start, end); } /** * Returns an ordered range of all the document library file entries where groupId = ? and folderId = any ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param folderIds the folder IDs * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByG_F(long groupId, long[] folderIds, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .findByG_F(groupId, folderIds, start, end, orderByComparator); } /** * Returns an ordered range of all the document library file entries where groupId = ? and folderId = ?, optionally using the finder cache. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param folderId the folder ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByG_F(long groupId, long[] folderIds, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByG_F(groupId, folderIds, start, end, orderByComparator, retrieveFromCache); } /** * Removes all the document library file entries where groupId = ? and folderId = ? from the database. * * @param groupId the group ID * @param folderId the folder ID */ public static void removeByG_F(long groupId, long folderId) { getPersistence().removeByG_F(groupId, folderId); } /** * Returns the number of document library file entries where groupId = ? and folderId = ?. * * @param groupId the group ID * @param folderId the folder ID * @return the number of matching document library file entries */ public static int countByG_F(long groupId, long folderId) { return getPersistence().countByG_F(groupId, folderId); } /** * Returns the number of document library file entries where groupId = ? and folderId = any ?. * * @param groupId the group ID * @param folderIds the folder IDs * @return the number of matching document library file entries */ public static int countByG_F(long groupId, long[] folderIds) { return getPersistence().countByG_F(groupId, folderIds); } /** * Returns the number of document library file entries that the user has permission to view where groupId = ? and folderId = ?. * * @param groupId the group ID * @param folderId the folder ID * @return the number of matching document library file entries that the user has permission to view */ public static int filterCountByG_F(long groupId, long folderId) { return getPersistence().filterCountByG_F(groupId, folderId); } /** * Returns the number of document library file entries that the user has permission to view where groupId = ? and folderId = any ?. * * @param groupId the group ID * @param folderIds the folder IDs * @return the number of matching document library file entries that the user has permission to view */ public static int filterCountByG_F(long groupId, long[] folderIds) { return getPersistence().filterCountByG_F(groupId, folderIds); } /** * Returns all the document library file entries where repositoryId = ? and folderId = ?. * * @param repositoryId the repository ID * @param folderId the folder ID * @return the matching document library file entries */ public static List<DLFileEntry> findByR_F(long repositoryId, long folderId) { return getPersistence().findByR_F(repositoryId, folderId); } /** * Returns a range of all the document library file entries where repositoryId = ? and folderId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param repositoryId the repository ID * @param folderId the folder ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @return the range of matching document library file entries */ public static List<DLFileEntry> findByR_F(long repositoryId, long folderId, int start, int end) { return getPersistence().findByR_F(repositoryId, folderId, start, end); } /** * Returns an ordered range of all the document library file entries where repositoryId = ? and folderId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param repositoryId the repository ID * @param folderId the folder ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByR_F(long repositoryId, long folderId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .findByR_F(repositoryId, folderId, start, end, orderByComparator); } /** * Returns an ordered range of all the document library file entries where repositoryId = ? and folderId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param repositoryId the repository ID * @param folderId the folder ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByR_F(long repositoryId, long folderId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByR_F(repositoryId, folderId, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first document library file entry in the ordered set where repositoryId = ? and folderId = ?. * * @param repositoryId the repository ID * @param folderId the folder ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByR_F_First(long repositoryId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByR_F_First(repositoryId, folderId, orderByComparator); } /** * Returns the first document library file entry in the ordered set where repositoryId = ? and folderId = ?. * * @param repositoryId the repository ID * @param folderId the folder ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByR_F_First(long repositoryId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .fetchByR_F_First(repositoryId, folderId, orderByComparator); } /** * Returns the last document library file entry in the ordered set where repositoryId = ? and folderId = ?. * * @param repositoryId the repository ID * @param folderId the folder ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByR_F_Last(long repositoryId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByR_F_Last(repositoryId, folderId, orderByComparator); } /** * Returns the last document library file entry in the ordered set where repositoryId = ? and folderId = ?. * * @param repositoryId the repository ID * @param folderId the folder ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByR_F_Last(long repositoryId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .fetchByR_F_Last(repositoryId, folderId, orderByComparator); } /** * Returns the document library file entries before and after the current document library file entry in the ordered set where repositoryId = ? and folderId = ?. * * @param fileEntryId the primary key of the current document library file entry * @param repositoryId the repository ID * @param folderId the folder ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the previous, current, and next document library file entry * @throws NoSuchFileEntryException if a document library file entry with the primary key could not be found */ public static DLFileEntry[] findByR_F_PrevAndNext(long fileEntryId, long repositoryId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByR_F_PrevAndNext(fileEntryId, repositoryId, folderId, orderByComparator); } /** * Removes all the document library file entries where repositoryId = ? and folderId = ? from the database. * * @param repositoryId the repository ID * @param folderId the folder ID */ public static void removeByR_F(long repositoryId, long folderId) { getPersistence().removeByR_F(repositoryId, folderId); } /** * Returns the number of document library file entries where repositoryId = ? and folderId = ?. * * @param repositoryId the repository ID * @param folderId the folder ID * @return the number of matching document library file entries */ public static int countByR_F(long repositoryId, long folderId) { return getPersistence().countByR_F(repositoryId, folderId); } /** * Returns all the document library file entries where folderId = ? and name = ?. * * @param folderId the folder ID * @param name the name * @return the matching document library file entries */ public static List<DLFileEntry> findByF_N(long folderId, java.lang.String name) { return getPersistence().findByF_N(folderId, name); } /** * Returns a range of all the document library file entries where folderId = ? and name = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param folderId the folder ID * @param name the name * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @return the range of matching document library file entries */ public static List<DLFileEntry> findByF_N(long folderId, java.lang.String name, int start, int end) { return getPersistence().findByF_N(folderId, name, start, end); } /** * Returns an ordered range of all the document library file entries where folderId = ? and name = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param folderId the folder ID * @param name the name * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByF_N(long folderId, java.lang.String name, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .findByF_N(folderId, name, start, end, orderByComparator); } /** * Returns an ordered range of all the document library file entries where folderId = ? and name = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param folderId the folder ID * @param name the name * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByF_N(long folderId, java.lang.String name, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByF_N(folderId, name, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first document library file entry in the ordered set where folderId = ? and name = ?. * * @param folderId the folder ID * @param name the name * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByF_N_First(long folderId, java.lang.String name, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByF_N_First(folderId, name, orderByComparator); } /** * Returns the first document library file entry in the ordered set where folderId = ? and name = ?. * * @param folderId the folder ID * @param name the name * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByF_N_First(long folderId, java.lang.String name, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .fetchByF_N_First(folderId, name, orderByComparator); } /** * Returns the last document library file entry in the ordered set where folderId = ? and name = ?. * * @param folderId the folder ID * @param name the name * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByF_N_Last(long folderId, java.lang.String name, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence().findByF_N_Last(folderId, name, orderByComparator); } /** * Returns the last document library file entry in the ordered set where folderId = ? and name = ?. * * @param folderId the folder ID * @param name the name * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByF_N_Last(long folderId, java.lang.String name, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .fetchByF_N_Last(folderId, name, orderByComparator); } /** * Returns the document library file entries before and after the current document library file entry in the ordered set where folderId = ? and name = ?. * * @param fileEntryId the primary key of the current document library file entry * @param folderId the folder ID * @param name the name * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the previous, current, and next document library file entry * @throws NoSuchFileEntryException if a document library file entry with the primary key could not be found */ public static DLFileEntry[] findByF_N_PrevAndNext(long fileEntryId, long folderId, java.lang.String name, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByF_N_PrevAndNext(fileEntryId, folderId, name, orderByComparator); } /** * Removes all the document library file entries where folderId = ? and name = ? from the database. * * @param folderId the folder ID * @param name the name */ public static void removeByF_N(long folderId, java.lang.String name) { getPersistence().removeByF_N(folderId, name); } /** * Returns the number of document library file entries where folderId = ? and name = ?. * * @param folderId the folder ID * @param name the name * @return the number of matching document library file entries */ public static int countByF_N(long folderId, java.lang.String name) { return getPersistence().countByF_N(folderId, name); } /** * Returns all the document library file entries where groupId = ? and userId = ? and folderId = ?. * * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @return the matching document library file entries */ public static List<DLFileEntry> findByG_U_F(long groupId, long userId, long folderId) { return getPersistence().findByG_U_F(groupId, userId, folderId); } /** * Returns a range of all the document library file entries where groupId = ? and userId = ? and folderId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @return the range of matching document library file entries */ public static List<DLFileEntry> findByG_U_F(long groupId, long userId, long folderId, int start, int end) { return getPersistence() .findByG_U_F(groupId, userId, folderId, start, end); } /** * Returns an ordered range of all the document library file entries where groupId = ? and userId = ? and folderId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByG_U_F(long groupId, long userId, long folderId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .findByG_U_F(groupId, userId, folderId, start, end, orderByComparator); } /** * Returns an ordered range of all the document library file entries where groupId = ? and userId = ? and folderId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByG_U_F(long groupId, long userId, long folderId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByG_U_F(groupId, userId, folderId, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?. * * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByG_U_F_First(long groupId, long userId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByG_U_F_First(groupId, userId, folderId, orderByComparator); } /** * Returns the first document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?. * * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByG_U_F_First(long groupId, long userId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .fetchByG_U_F_First(groupId, userId, folderId, orderByComparator); } /** * Returns the last document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?. * * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByG_U_F_Last(long groupId, long userId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByG_U_F_Last(groupId, userId, folderId, orderByComparator); } /** * Returns the last document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?. * * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByG_U_F_Last(long groupId, long userId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .fetchByG_U_F_Last(groupId, userId, folderId, orderByComparator); } /** * Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?. * * @param fileEntryId the primary key of the current document library file entry * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the previous, current, and next document library file entry * @throws NoSuchFileEntryException if a document library file entry with the primary key could not be found */ public static DLFileEntry[] findByG_U_F_PrevAndNext(long fileEntryId, long groupId, long userId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByG_U_F_PrevAndNext(fileEntryId, groupId, userId, folderId, orderByComparator); } /** * Returns all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?. * * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @return the matching document library file entries that the user has permission to view */ public static List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long folderId) { return getPersistence().filterFindByG_U_F(groupId, userId, folderId); } /** * Returns a range of all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @return the range of matching document library file entries that the user has permission to view */ public static List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long folderId, int start, int end) { return getPersistence() .filterFindByG_U_F(groupId, userId, folderId, start, end); } /** * Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and userId = ? and folderId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entries that the user has permission to view */ public static List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long folderId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .filterFindByG_U_F(groupId, userId, folderId, start, end, orderByComparator); } /** * Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?. * * @param fileEntryId the primary key of the current document library file entry * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the previous, current, and next document library file entry * @throws NoSuchFileEntryException if a document library file entry with the primary key could not be found */ public static DLFileEntry[] filterFindByG_U_F_PrevAndNext( long fileEntryId, long groupId, long userId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .filterFindByG_U_F_PrevAndNext(fileEntryId, groupId, userId, folderId, orderByComparator); } /** * Returns all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?. * * @param groupId the group ID * @param userId the user ID * @param folderIds the folder IDs * @return the matching document library file entries that the user has permission to view */ public static List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long[] folderIds) { return getPersistence().filterFindByG_U_F(groupId, userId, folderIds); } /** * Returns a range of all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param userId the user ID * @param folderIds the folder IDs * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @return the range of matching document library file entries that the user has permission to view */ public static List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long[] folderIds, int start, int end) { return getPersistence() .filterFindByG_U_F(groupId, userId, folderIds, start, end); } /** * Returns an ordered range of all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param userId the user ID * @param folderIds the folder IDs * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entries that the user has permission to view */ public static List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long[] folderIds, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .filterFindByG_U_F(groupId, userId, folderIds, start, end, orderByComparator); } /** * Returns all the document library file entries where groupId = ? and userId = ? and folderId = any ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param userId the user ID * @param folderIds the folder IDs * @return the matching document library file entries */ public static List<DLFileEntry> findByG_U_F(long groupId, long userId, long[] folderIds) { return getPersistence().findByG_U_F(groupId, userId, folderIds); } /** * Returns a range of all the document library file entries where groupId = ? and userId = ? and folderId = any ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param userId the user ID * @param folderIds the folder IDs * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @return the range of matching document library file entries */ public static List<DLFileEntry> findByG_U_F(long groupId, long userId, long[] folderIds, int start, int end) { return getPersistence() .findByG_U_F(groupId, userId, folderIds, start, end); } /** * Returns an ordered range of all the document library file entries where groupId = ? and userId = ? and folderId = any ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param userId the user ID * @param folderIds the folder IDs * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByG_U_F(long groupId, long userId, long[] folderIds, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .findByG_U_F(groupId, userId, folderIds, start, end, orderByComparator); } /** * Returns an ordered range of all the document library file entries where groupId = ? and userId = ? and folderId = ?, optionally using the finder cache. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByG_U_F(long groupId, long userId, long[] folderIds, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByG_U_F(groupId, userId, folderIds, start, end, orderByComparator, retrieveFromCache); } /** * Removes all the document library file entries where groupId = ? and userId = ? and folderId = ? from the database. * * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID */ public static void removeByG_U_F(long groupId, long userId, long folderId) { getPersistence().removeByG_U_F(groupId, userId, folderId); } /** * Returns the number of document library file entries where groupId = ? and userId = ? and folderId = ?. * * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @return the number of matching document library file entries */ public static int countByG_U_F(long groupId, long userId, long folderId) { return getPersistence().countByG_U_F(groupId, userId, folderId); } /** * Returns the number of document library file entries where groupId = ? and userId = ? and folderId = any ?. * * @param groupId the group ID * @param userId the user ID * @param folderIds the folder IDs * @return the number of matching document library file entries */ public static int countByG_U_F(long groupId, long userId, long[] folderIds) { return getPersistence().countByG_U_F(groupId, userId, folderIds); } /** * Returns the number of document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?. * * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @return the number of matching document library file entries that the user has permission to view */ public static int filterCountByG_U_F(long groupId, long userId, long folderId) { return getPersistence().filterCountByG_U_F(groupId, userId, folderId); } /** * Returns the number of document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?. * * @param groupId the group ID * @param userId the user ID * @param folderIds the folder IDs * @return the number of matching document library file entries that the user has permission to view */ public static int filterCountByG_U_F(long groupId, long userId, long[] folderIds) { return getPersistence().filterCountByG_U_F(groupId, userId, folderIds); } /** * Returns the document library file entry where groupId = ? and folderId = ? and name = ? or throws a {@link NoSuchFileEntryException} if it could not be found. * * @param groupId the group ID * @param folderId the folder ID * @param name the name * @return the matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByG_F_N(long groupId, long folderId, java.lang.String name) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence().findByG_F_N(groupId, folderId, name); } /** * Returns the document library file entry where groupId = ? and folderId = ? and name = ? or returns <code>null</code> if it could not be found. Uses the finder cache. * * @param groupId the group ID * @param folderId the folder ID * @param name the name * @return the matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByG_F_N(long groupId, long folderId, java.lang.String name) { return getPersistence().fetchByG_F_N(groupId, folderId, name); } /** * Returns the document library file entry where groupId = ? and folderId = ? and name = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. * * @param groupId the group ID * @param folderId the folder ID * @param name the name * @param retrieveFromCache whether to retrieve from the finder cache * @return the matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByG_F_N(long groupId, long folderId, java.lang.String name, boolean retrieveFromCache) { return getPersistence() .fetchByG_F_N(groupId, folderId, name, retrieveFromCache); } /** * Removes the document library file entry where groupId = ? and folderId = ? and name = ? from the database. * * @param groupId the group ID * @param folderId the folder ID * @param name the name * @return the document library file entry that was removed */ public static DLFileEntry removeByG_F_N(long groupId, long folderId, java.lang.String name) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence().removeByG_F_N(groupId, folderId, name); } /** * Returns the number of document library file entries where groupId = ? and folderId = ? and name = ?. * * @param groupId the group ID * @param folderId the folder ID * @param name the name * @return the number of matching document library file entries */ public static int countByG_F_N(long groupId, long folderId, java.lang.String name) { return getPersistence().countByG_F_N(groupId, folderId, name); } /** * Returns the document library file entry where groupId = ? and folderId = ? and fileName = ? or throws a {@link NoSuchFileEntryException} if it could not be found. * * @param groupId the group ID * @param folderId the folder ID * @param fileName the file name * @return the matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByG_F_FN(long groupId, long folderId, java.lang.String fileName) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence().findByG_F_FN(groupId, folderId, fileName); } /** * Returns the document library file entry where groupId = ? and folderId = ? and fileName = ? or returns <code>null</code> if it could not be found. Uses the finder cache. * * @param groupId the group ID * @param folderId the folder ID * @param fileName the file name * @return the matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByG_F_FN(long groupId, long folderId, java.lang.String fileName) { return getPersistence().fetchByG_F_FN(groupId, folderId, fileName); } /** * Returns the document library file entry where groupId = ? and folderId = ? and fileName = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. * * @param groupId the group ID * @param folderId the folder ID * @param fileName the file name * @param retrieveFromCache whether to retrieve from the finder cache * @return the matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByG_F_FN(long groupId, long folderId, java.lang.String fileName, boolean retrieveFromCache) { return getPersistence() .fetchByG_F_FN(groupId, folderId, fileName, retrieveFromCache); } /** * Removes the document library file entry where groupId = ? and folderId = ? and fileName = ? from the database. * * @param groupId the group ID * @param folderId the folder ID * @param fileName the file name * @return the document library file entry that was removed */ public static DLFileEntry removeByG_F_FN(long groupId, long folderId, java.lang.String fileName) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence().removeByG_F_FN(groupId, folderId, fileName); } /** * Returns the number of document library file entries where groupId = ? and folderId = ? and fileName = ?. * * @param groupId the group ID * @param folderId the folder ID * @param fileName the file name * @return the number of matching document library file entries */ public static int countByG_F_FN(long groupId, long folderId, java.lang.String fileName) { return getPersistence().countByG_F_FN(groupId, folderId, fileName); } /** * Returns the document library file entry where groupId = ? and folderId = ? and title = ? or throws a {@link NoSuchFileEntryException} if it could not be found. * * @param groupId the group ID * @param folderId the folder ID * @param title the title * @return the matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByG_F_T(long groupId, long folderId, java.lang.String title) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence().findByG_F_T(groupId, folderId, title); } /** * Returns the document library file entry where groupId = ? and folderId = ? and title = ? or returns <code>null</code> if it could not be found. Uses the finder cache. * * @param groupId the group ID * @param folderId the folder ID * @param title the title * @return the matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByG_F_T(long groupId, long folderId, java.lang.String title) { return getPersistence().fetchByG_F_T(groupId, folderId, title); } /** * Returns the document library file entry where groupId = ? and folderId = ? and title = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. * * @param groupId the group ID * @param folderId the folder ID * @param title the title * @param retrieveFromCache whether to retrieve from the finder cache * @return the matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByG_F_T(long groupId, long folderId, java.lang.String title, boolean retrieveFromCache) { return getPersistence() .fetchByG_F_T(groupId, folderId, title, retrieveFromCache); } /** * Removes the document library file entry where groupId = ? and folderId = ? and title = ? from the database. * * @param groupId the group ID * @param folderId the folder ID * @param title the title * @return the document library file entry that was removed */ public static DLFileEntry removeByG_F_T(long groupId, long folderId, java.lang.String title) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence().removeByG_F_T(groupId, folderId, title); } /** * Returns the number of document library file entries where groupId = ? and folderId = ? and title = ?. * * @param groupId the group ID * @param folderId the folder ID * @param title the title * @return the number of matching document library file entries */ public static int countByG_F_T(long groupId, long folderId, java.lang.String title) { return getPersistence().countByG_F_T(groupId, folderId, title); } /** * Returns all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?. * * @param groupId the group ID * @param folderId the folder ID * @param fileEntryTypeId the file entry type ID * @return the matching document library file entries */ public static List<DLFileEntry> findByG_F_F(long groupId, long folderId, long fileEntryTypeId) { return getPersistence().findByG_F_F(groupId, folderId, fileEntryTypeId); } /** * Returns a range of all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param folderId the folder ID * @param fileEntryTypeId the file entry type ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @return the range of matching document library file entries */ public static List<DLFileEntry> findByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end) { return getPersistence() .findByG_F_F(groupId, folderId, fileEntryTypeId, start, end); } /** * Returns an ordered range of all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param folderId the folder ID * @param fileEntryTypeId the file entry type ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .findByG_F_F(groupId, folderId, fileEntryTypeId, start, end, orderByComparator); } /** * Returns an ordered range of all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param folderId the folder ID * @param fileEntryTypeId the file entry type ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByG_F_F(groupId, folderId, fileEntryTypeId, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?. * * @param groupId the group ID * @param folderId the folder ID * @param fileEntryTypeId the file entry type ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByG_F_F_First(long groupId, long folderId, long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByG_F_F_First(groupId, folderId, fileEntryTypeId, orderByComparator); } /** * Returns the first document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?. * * @param groupId the group ID * @param folderId the folder ID * @param fileEntryTypeId the file entry type ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByG_F_F_First(long groupId, long folderId, long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .fetchByG_F_F_First(groupId, folderId, fileEntryTypeId, orderByComparator); } /** * Returns the last document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?. * * @param groupId the group ID * @param folderId the folder ID * @param fileEntryTypeId the file entry type ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByG_F_F_Last(long groupId, long folderId, long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByG_F_F_Last(groupId, folderId, fileEntryTypeId, orderByComparator); } /** * Returns the last document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?. * * @param groupId the group ID * @param folderId the folder ID * @param fileEntryTypeId the file entry type ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByG_F_F_Last(long groupId, long folderId, long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .fetchByG_F_F_Last(groupId, folderId, fileEntryTypeId, orderByComparator); } /** * Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?. * * @param fileEntryId the primary key of the current document library file entry * @param groupId the group ID * @param folderId the folder ID * @param fileEntryTypeId the file entry type ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the previous, current, and next document library file entry * @throws NoSuchFileEntryException if a document library file entry with the primary key could not be found */ public static DLFileEntry[] findByG_F_F_PrevAndNext(long fileEntryId, long groupId, long folderId, long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByG_F_F_PrevAndNext(fileEntryId, groupId, folderId, fileEntryTypeId, orderByComparator); } /** * Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?. * * @param groupId the group ID * @param folderId the folder ID * @param fileEntryTypeId the file entry type ID * @return the matching document library file entries that the user has permission to view */ public static List<DLFileEntry> filterFindByG_F_F(long groupId, long folderId, long fileEntryTypeId) { return getPersistence() .filterFindByG_F_F(groupId, folderId, fileEntryTypeId); } /** * Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param folderId the folder ID * @param fileEntryTypeId the file entry type ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @return the range of matching document library file entries that the user has permission to view */ public static List<DLFileEntry> filterFindByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end) { return getPersistence() .filterFindByG_F_F(groupId, folderId, fileEntryTypeId, start, end); } /** * Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and folderId = ? and fileEntryTypeId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param folderId the folder ID * @param fileEntryTypeId the file entry type ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entries that the user has permission to view */ public static List<DLFileEntry> filterFindByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .filterFindByG_F_F(groupId, folderId, fileEntryTypeId, start, end, orderByComparator); } /** * Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?. * * @param fileEntryId the primary key of the current document library file entry * @param groupId the group ID * @param folderId the folder ID * @param fileEntryTypeId the file entry type ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the previous, current, and next document library file entry * @throws NoSuchFileEntryException if a document library file entry with the primary key could not be found */ public static DLFileEntry[] filterFindByG_F_F_PrevAndNext( long fileEntryId, long groupId, long folderId, long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .filterFindByG_F_F_PrevAndNext(fileEntryId, groupId, folderId, fileEntryTypeId, orderByComparator); } /** * Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?. * * @param groupId the group ID * @param folderIds the folder IDs * @param fileEntryTypeId the file entry type ID * @return the matching document library file entries that the user has permission to view */ public static List<DLFileEntry> filterFindByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId) { return getPersistence() .filterFindByG_F_F(groupId, folderIds, fileEntryTypeId); } /** * Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param folderIds the folder IDs * @param fileEntryTypeId the file entry type ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @return the range of matching document library file entries that the user has permission to view */ public static List<DLFileEntry> filterFindByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end) { return getPersistence() .filterFindByG_F_F(groupId, folderIds, fileEntryTypeId, start, end); } /** * Returns an ordered range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param folderIds the folder IDs * @param fileEntryTypeId the file entry type ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entries that the user has permission to view */ public static List<DLFileEntry> filterFindByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .filterFindByG_F_F(groupId, folderIds, fileEntryTypeId, start, end, orderByComparator); } /** * Returns all the document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param folderIds the folder IDs * @param fileEntryTypeId the file entry type ID * @return the matching document library file entries */ public static List<DLFileEntry> findByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId) { return getPersistence().findByG_F_F(groupId, folderIds, fileEntryTypeId); } /** * Returns a range of all the document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param folderIds the folder IDs * @param fileEntryTypeId the file entry type ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @return the range of matching document library file entries */ public static List<DLFileEntry> findByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end) { return getPersistence() .findByG_F_F(groupId, folderIds, fileEntryTypeId, start, end); } /** * Returns an ordered range of all the document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param folderIds the folder IDs * @param fileEntryTypeId the file entry type ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .findByG_F_F(groupId, folderIds, fileEntryTypeId, start, end, orderByComparator); } /** * Returns an ordered range of all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?, optionally using the finder cache. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param folderId the folder ID * @param fileEntryTypeId the file entry type ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByG_F_F(groupId, folderIds, fileEntryTypeId, start, end, orderByComparator, retrieveFromCache); } /** * Removes all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ? from the database. * * @param groupId the group ID * @param folderId the folder ID * @param fileEntryTypeId the file entry type ID */ public static void removeByG_F_F(long groupId, long folderId, long fileEntryTypeId) { getPersistence().removeByG_F_F(groupId, folderId, fileEntryTypeId); } /** * Returns the number of document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?. * * @param groupId the group ID * @param folderId the folder ID * @param fileEntryTypeId the file entry type ID * @return the number of matching document library file entries */ public static int countByG_F_F(long groupId, long folderId, long fileEntryTypeId) { return getPersistence().countByG_F_F(groupId, folderId, fileEntryTypeId); } /** * Returns the number of document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?. * * @param groupId the group ID * @param folderIds the folder IDs * @param fileEntryTypeId the file entry type ID * @return the number of matching document library file entries */ public static int countByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId) { return getPersistence().countByG_F_F(groupId, folderIds, fileEntryTypeId); } /** * Returns the number of document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?. * * @param groupId the group ID * @param folderId the folder ID * @param fileEntryTypeId the file entry type ID * @return the number of matching document library file entries that the user has permission to view */ public static int filterCountByG_F_F(long groupId, long folderId, long fileEntryTypeId) { return getPersistence() .filterCountByG_F_F(groupId, folderId, fileEntryTypeId); } /** * Returns the number of document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?. * * @param groupId the group ID * @param folderIds the folder IDs * @param fileEntryTypeId the file entry type ID * @return the number of matching document library file entries that the user has permission to view */ public static int filterCountByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId) { return getPersistence() .filterCountByG_F_F(groupId, folderIds, fileEntryTypeId); } /** * Returns all the document library file entries where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?. * * @param smallImageId the small image ID * @param largeImageId the large image ID * @param custom1ImageId the custom1 image ID * @param custom2ImageId the custom2 image ID * @return the matching document library file entries */ public static List<DLFileEntry> findByS_L_C1_C2(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId) { return getPersistence() .findByS_L_C1_C2(smallImageId, largeImageId, custom1ImageId, custom2ImageId); } /** * Returns a range of all the document library file entries where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param smallImageId the small image ID * @param largeImageId the large image ID * @param custom1ImageId the custom1 image ID * @param custom2ImageId the custom2 image ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @return the range of matching document library file entries */ public static List<DLFileEntry> findByS_L_C1_C2(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, int start, int end) { return getPersistence() .findByS_L_C1_C2(smallImageId, largeImageId, custom1ImageId, custom2ImageId, start, end); } /** * Returns an ordered range of all the document library file entries where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param smallImageId the small image ID * @param largeImageId the large image ID * @param custom1ImageId the custom1 image ID * @param custom2ImageId the custom2 image ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByS_L_C1_C2(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .findByS_L_C1_C2(smallImageId, largeImageId, custom1ImageId, custom2ImageId, start, end, orderByComparator); } /** * Returns an ordered range of all the document library file entries where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param smallImageId the small image ID * @param largeImageId the large image ID * @param custom1ImageId the custom1 image ID * @param custom2ImageId the custom2 image ID * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching document library file entries */ public static List<DLFileEntry> findByS_L_C1_C2(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByS_L_C1_C2(smallImageId, largeImageId, custom1ImageId, custom2ImageId, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first document library file entry in the ordered set where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?. * * @param smallImageId the small image ID * @param largeImageId the large image ID * @param custom1ImageId the custom1 image ID * @param custom2ImageId the custom2 image ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByS_L_C1_C2_First(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByS_L_C1_C2_First(smallImageId, largeImageId, custom1ImageId, custom2ImageId, orderByComparator); } /** * Returns the first document library file entry in the ordered set where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?. * * @param smallImageId the small image ID * @param largeImageId the large image ID * @param custom1ImageId the custom1 image ID * @param custom2ImageId the custom2 image ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByS_L_C1_C2_First(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .fetchByS_L_C1_C2_First(smallImageId, largeImageId, custom1ImageId, custom2ImageId, orderByComparator); } /** * Returns the last document library file entry in the ordered set where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?. * * @param smallImageId the small image ID * @param largeImageId the large image ID * @param custom1ImageId the custom1 image ID * @param custom2ImageId the custom2 image ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry * @throws NoSuchFileEntryException if a matching document library file entry could not be found */ public static DLFileEntry findByS_L_C1_C2_Last(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByS_L_C1_C2_Last(smallImageId, largeImageId, custom1ImageId, custom2ImageId, orderByComparator); } /** * Returns the last document library file entry in the ordered set where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?. * * @param smallImageId the small image ID * @param largeImageId the large image ID * @param custom1ImageId the custom1 image ID * @param custom2ImageId the custom2 image ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching document library file entry, or <code>null</code> if a matching document library file entry could not be found */ public static DLFileEntry fetchByS_L_C1_C2_Last(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence() .fetchByS_L_C1_C2_Last(smallImageId, largeImageId, custom1ImageId, custom2ImageId, orderByComparator); } /** * Returns the document library file entries before and after the current document library file entry in the ordered set where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?. * * @param fileEntryId the primary key of the current document library file entry * @param smallImageId the small image ID * @param largeImageId the large image ID * @param custom1ImageId the custom1 image ID * @param custom2ImageId the custom2 image ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the previous, current, and next document library file entry * @throws NoSuchFileEntryException if a document library file entry with the primary key could not be found */ public static DLFileEntry[] findByS_L_C1_C2_PrevAndNext(long fileEntryId, long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, OrderByComparator<DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence() .findByS_L_C1_C2_PrevAndNext(fileEntryId, smallImageId, largeImageId, custom1ImageId, custom2ImageId, orderByComparator); } /** * Removes all the document library file entries where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ? from the database. * * @param smallImageId the small image ID * @param largeImageId the large image ID * @param custom1ImageId the custom1 image ID * @param custom2ImageId the custom2 image ID */ public static void removeByS_L_C1_C2(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId) { getPersistence() .removeByS_L_C1_C2(smallImageId, largeImageId, custom1ImageId, custom2ImageId); } /** * Returns the number of document library file entries where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?. * * @param smallImageId the small image ID * @param largeImageId the large image ID * @param custom1ImageId the custom1 image ID * @param custom2ImageId the custom2 image ID * @return the number of matching document library file entries */ public static int countByS_L_C1_C2(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId) { return getPersistence() .countByS_L_C1_C2(smallImageId, largeImageId, custom1ImageId, custom2ImageId); } /** * Caches the document library file entry in the entity cache if it is enabled. * * @param dlFileEntry the document library file entry */ public static void cacheResult(DLFileEntry dlFileEntry) { getPersistence().cacheResult(dlFileEntry); } /** * Caches the document library file entries in the entity cache if it is enabled. * * @param dlFileEntries the document library file entries */ public static void cacheResult(List<DLFileEntry> dlFileEntries) { getPersistence().cacheResult(dlFileEntries); } /** * Creates a new document library file entry with the primary key. Does not add the document library file entry to the database. * * @param fileEntryId the primary key for the new document library file entry * @return the new document library file entry */ public static DLFileEntry create(long fileEntryId) { return getPersistence().create(fileEntryId); } /** * Removes the document library file entry with the primary key from the database. Also notifies the appropriate model listeners. * * @param fileEntryId the primary key of the document library file entry * @return the document library file entry that was removed * @throws NoSuchFileEntryException if a document library file entry with the primary key could not be found */ public static DLFileEntry remove(long fileEntryId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence().remove(fileEntryId); } public static DLFileEntry updateImpl(DLFileEntry dlFileEntry) { return getPersistence().updateImpl(dlFileEntry); } /** * Returns the document library file entry with the primary key or throws a {@link NoSuchFileEntryException} if it could not be found. * * @param fileEntryId the primary key of the document library file entry * @return the document library file entry * @throws NoSuchFileEntryException if a document library file entry with the primary key could not be found */ public static DLFileEntry findByPrimaryKey(long fileEntryId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException { return getPersistence().findByPrimaryKey(fileEntryId); } /** * Returns the document library file entry with the primary key or returns <code>null</code> if it could not be found. * * @param fileEntryId the primary key of the document library file entry * @return the document library file entry, or <code>null</code> if a document library file entry with the primary key could not be found */ public static DLFileEntry fetchByPrimaryKey(long fileEntryId) { return getPersistence().fetchByPrimaryKey(fileEntryId); } public static java.util.Map<java.io.Serializable, DLFileEntry> fetchByPrimaryKeys( java.util.Set<java.io.Serializable> primaryKeys) { return getPersistence().fetchByPrimaryKeys(primaryKeys); } /** * Returns all the document library file entries. * * @return the document library file entries */ public static List<DLFileEntry> findAll() { return getPersistence().findAll(); } /** * Returns a range of all the document library file entries. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @return the range of document library file entries */ public static List<DLFileEntry> findAll(int start, int end) { return getPersistence().findAll(start, end); } /** * Returns an ordered range of all the document library file entries. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of document library file entries */ public static List<DLFileEntry> findAll(int start, int end, OrderByComparator<DLFileEntry> orderByComparator) { return getPersistence().findAll(start, end, orderByComparator); } /** * Returns an ordered range of all the document library file entries. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param start the lower bound of the range of document library file entries * @param end the upper bound of the range of document library file entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of document library file entries */ public static List<DLFileEntry> findAll(int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache) { return getPersistence() .findAll(start, end, orderByComparator, retrieveFromCache); } /** * Removes all the document library file entries from the database. */ public static void removeAll() { getPersistence().removeAll(); } /** * Returns the number of document library file entries. * * @return the number of document library file entries */ public static int countAll() { return getPersistence().countAll(); } public static java.util.Set<java.lang.String> getBadColumnNames() { return getPersistence().getBadColumnNames(); } public static DLFileEntryPersistence getPersistence() { if (_persistence == null) { _persistence = (DLFileEntryPersistence)PortalBeanLocatorUtil.locate(DLFileEntryPersistence.class.getName()); ReferenceRegistry.registerReference(DLFileEntryUtil.class, "_persistence"); } return _persistence; } private static DLFileEntryPersistence _persistence; }