/** * 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.exception.NoSuchFileEntryTypeException; import com.liferay.document.library.kernel.model.DLFileEntryType; import com.liferay.portal.kernel.service.persistence.BasePersistence; /** * The persistence interface for the document library file entry type service. * * <p> * Caching information and settings can be found in <code>portal.properties</code> * </p> * * @author Brian Wing Shun Chan * @see com.liferay.portlet.documentlibrary.service.persistence.impl.DLFileEntryTypePersistenceImpl * @see DLFileEntryTypeUtil * @generated */ @ProviderType public interface DLFileEntryTypePersistence extends BasePersistence<DLFileEntryType> { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this interface directly. Always use {@link DLFileEntryTypeUtil} to access the document library file entry type persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. */ /** * Returns all the document library file entry types where uuid = ?. * * @param uuid the uuid * @return the matching document library file entry types */ public java.util.List<DLFileEntryType> findByUuid(java.lang.String uuid); /** * Returns a range of all the document library file entry types 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 DLFileEntryTypeModelImpl}. 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 entry types * @param end the upper bound of the range of document library file entry types (not inclusive) * @return the range of matching document library file entry types */ public java.util.List<DLFileEntryType> findByUuid(java.lang.String uuid, int start, int end); /** * Returns an ordered range of all the document library file entry types 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 DLFileEntryTypeModelImpl}. 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 entry types * @param end the upper bound of the range of document library file entry types (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entry types */ public java.util.List<DLFileEntryType> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator); /** * Returns an ordered range of all the document library file entry types 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 DLFileEntryTypeModelImpl}. 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 entry types * @param end the upper bound of the range of document library file entry types (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 entry types */ public java.util.List<DLFileEntryType> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator, boolean retrieveFromCache); /** * Returns the first document library file entry type 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 type * @throws NoSuchFileEntryTypeException if a matching document library file entry type could not be found */ public DLFileEntryType findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator) throws NoSuchFileEntryTypeException; /** * Returns the first document library file entry type 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 type, or <code>null</code> if a matching document library file entry type could not be found */ public DLFileEntryType fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator); /** * Returns the last document library file entry type 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 type * @throws NoSuchFileEntryTypeException if a matching document library file entry type could not be found */ public DLFileEntryType findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator) throws NoSuchFileEntryTypeException; /** * Returns the last document library file entry type 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 type, or <code>null</code> if a matching document library file entry type could not be found */ public DLFileEntryType fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator); /** * Returns the document library file entry types before and after the current document library file entry type in the ordered set where uuid = ?. * * @param fileEntryTypeId the primary key of the current document library file entry type * @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 type * @throws NoSuchFileEntryTypeException if a document library file entry type with the primary key could not be found */ public DLFileEntryType[] findByUuid_PrevAndNext(long fileEntryTypeId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator) throws NoSuchFileEntryTypeException; /** * Removes all the document library file entry types where uuid = ? from the database. * * @param uuid the uuid */ public void removeByUuid(java.lang.String uuid); /** * Returns the number of document library file entry types where uuid = ?. * * @param uuid the uuid * @return the number of matching document library file entry types */ public int countByUuid(java.lang.String uuid); /** * Returns the document library file entry type where uuid = ? and groupId = ? or throws a {@link NoSuchFileEntryTypeException} if it could not be found. * * @param uuid the uuid * @param groupId the group ID * @return the matching document library file entry type * @throws NoSuchFileEntryTypeException if a matching document library file entry type could not be found */ public DLFileEntryType findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchFileEntryTypeException; /** * Returns the document library file entry type 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 type, or <code>null</code> if a matching document library file entry type could not be found */ public DLFileEntryType fetchByUUID_G(java.lang.String uuid, long groupId); /** * Returns the document library file entry type 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 type, or <code>null</code> if a matching document library file entry type could not be found */ public DLFileEntryType fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache); /** * Removes the document library file entry type where uuid = ? and groupId = ? from the database. * * @param uuid the uuid * @param groupId the group ID * @return the document library file entry type that was removed */ public DLFileEntryType removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchFileEntryTypeException; /** * Returns the number of document library file entry types where uuid = ? and groupId = ?. * * @param uuid the uuid * @param groupId the group ID * @return the number of matching document library file entry types */ public int countByUUID_G(java.lang.String uuid, long groupId); /** * Returns all the document library file entry types where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the matching document library file entry types */ public java.util.List<DLFileEntryType> findByUuid_C(java.lang.String uuid, long companyId); /** * Returns a range of all the document library file entry types 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 DLFileEntryTypeModelImpl}. 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 entry types * @param end the upper bound of the range of document library file entry types (not inclusive) * @return the range of matching document library file entry types */ public java.util.List<DLFileEntryType> findByUuid_C(java.lang.String uuid, long companyId, int start, int end); /** * Returns an ordered range of all the document library file entry types 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 DLFileEntryTypeModelImpl}. 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 entry types * @param end the upper bound of the range of document library file entry types (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entry types */ public java.util.List<DLFileEntryType> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator); /** * Returns an ordered range of all the document library file entry types 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 DLFileEntryTypeModelImpl}. 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 entry types * @param end the upper bound of the range of document library file entry types (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 entry types */ public java.util.List<DLFileEntryType> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator, boolean retrieveFromCache); /** * Returns the first document library file entry type 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 type * @throws NoSuchFileEntryTypeException if a matching document library file entry type could not be found */ public DLFileEntryType findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator) throws NoSuchFileEntryTypeException; /** * Returns the first document library file entry type 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 type, or <code>null</code> if a matching document library file entry type could not be found */ public DLFileEntryType fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator); /** * Returns the last document library file entry type 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 type * @throws NoSuchFileEntryTypeException if a matching document library file entry type could not be found */ public DLFileEntryType findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator) throws NoSuchFileEntryTypeException; /** * Returns the last document library file entry type 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 type, or <code>null</code> if a matching document library file entry type could not be found */ public DLFileEntryType fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator); /** * Returns the document library file entry types before and after the current document library file entry type in the ordered set where uuid = ? and companyId = ?. * * @param fileEntryTypeId the primary key of the current document library file entry type * @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 type * @throws NoSuchFileEntryTypeException if a document library file entry type with the primary key could not be found */ public DLFileEntryType[] findByUuid_C_PrevAndNext(long fileEntryTypeId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator) throws NoSuchFileEntryTypeException; /** * Removes all the document library file entry types where uuid = ? and companyId = ? from the database. * * @param uuid the uuid * @param companyId the company ID */ public void removeByUuid_C(java.lang.String uuid, long companyId); /** * Returns the number of document library file entry types where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the number of matching document library file entry types */ public int countByUuid_C(java.lang.String uuid, long companyId); /** * Returns all the document library file entry types where groupId = ?. * * @param groupId the group ID * @return the matching document library file entry types */ public java.util.List<DLFileEntryType> findByGroupId(long groupId); /** * Returns a range of all the document library file entry types 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 DLFileEntryTypeModelImpl}. 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 entry types * @param end the upper bound of the range of document library file entry types (not inclusive) * @return the range of matching document library file entry types */ public java.util.List<DLFileEntryType> findByGroupId(long groupId, int start, int end); /** * Returns an ordered range of all the document library file entry types 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 DLFileEntryTypeModelImpl}. 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 entry types * @param end the upper bound of the range of document library file entry types (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entry types */ public java.util.List<DLFileEntryType> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator); /** * Returns an ordered range of all the document library file entry types 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 DLFileEntryTypeModelImpl}. 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 entry types * @param end the upper bound of the range of document library file entry types (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 entry types */ public java.util.List<DLFileEntryType> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator, boolean retrieveFromCache); /** * Returns the first document library file entry type 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 type * @throws NoSuchFileEntryTypeException if a matching document library file entry type could not be found */ public DLFileEntryType findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator) throws NoSuchFileEntryTypeException; /** * Returns the first document library file entry type 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 type, or <code>null</code> if a matching document library file entry type could not be found */ public DLFileEntryType fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator); /** * Returns the last document library file entry type 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 type * @throws NoSuchFileEntryTypeException if a matching document library file entry type could not be found */ public DLFileEntryType findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator) throws NoSuchFileEntryTypeException; /** * Returns the last document library file entry type 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 type, or <code>null</code> if a matching document library file entry type could not be found */ public DLFileEntryType fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator); /** * Returns the document library file entry types before and after the current document library file entry type in the ordered set where groupId = ?. * * @param fileEntryTypeId the primary key of the current document library file entry type * @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 type * @throws NoSuchFileEntryTypeException if a document library file entry type with the primary key could not be found */ public DLFileEntryType[] findByGroupId_PrevAndNext(long fileEntryTypeId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator) throws NoSuchFileEntryTypeException; /** * Returns all the document library file entry types that the user has permission to view where groupId = ?. * * @param groupId the group ID * @return the matching document library file entry types that the user has permission to view */ public java.util.List<DLFileEntryType> filterFindByGroupId(long groupId); /** * Returns a range of all the document library file entry types 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 DLFileEntryTypeModelImpl}. 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 entry types * @param end the upper bound of the range of document library file entry types (not inclusive) * @return the range of matching document library file entry types that the user has permission to view */ public java.util.List<DLFileEntryType> filterFindByGroupId(long groupId, int start, int end); /** * Returns an ordered range of all the document library file entry types 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 DLFileEntryTypeModelImpl}. 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 entry types * @param end the upper bound of the range of document library file entry types (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entry types that the user has permission to view */ public java.util.List<DLFileEntryType> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator); /** * Returns the document library file entry types before and after the current document library file entry type in the ordered set of document library file entry types that the user has permission to view where groupId = ?. * * @param fileEntryTypeId the primary key of the current document library file entry type * @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 type * @throws NoSuchFileEntryTypeException if a document library file entry type with the primary key could not be found */ public DLFileEntryType[] filterFindByGroupId_PrevAndNext( long fileEntryTypeId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator) throws NoSuchFileEntryTypeException; /** * Returns all the document library file entry types that the user has permission to view where groupId = any ?. * * @param groupIds the group IDs * @return the matching document library file entry types that the user has permission to view */ public java.util.List<DLFileEntryType> filterFindByGroupId(long[] groupIds); /** * Returns a range of all the document library file entry types that the user has permission to view where groupId = 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 DLFileEntryTypeModelImpl}. 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 groupIds the group IDs * @param start the lower bound of the range of document library file entry types * @param end the upper bound of the range of document library file entry types (not inclusive) * @return the range of matching document library file entry types that the user has permission to view */ public java.util.List<DLFileEntryType> filterFindByGroupId( long[] groupIds, int start, int end); /** * Returns an ordered range of all the document library file entry types that the user has permission to view where groupId = 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 DLFileEntryTypeModelImpl}. 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 groupIds the group IDs * @param start the lower bound of the range of document library file entry types * @param end the upper bound of the range of document library file entry types (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entry types that the user has permission to view */ public java.util.List<DLFileEntryType> filterFindByGroupId( long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator); /** * Returns all the document library file entry types where groupId = 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 DLFileEntryTypeModelImpl}. 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 groupIds the group IDs * @return the matching document library file entry types */ public java.util.List<DLFileEntryType> findByGroupId(long[] groupIds); /** * Returns a range of all the document library file entry types where groupId = 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 DLFileEntryTypeModelImpl}. 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 groupIds the group IDs * @param start the lower bound of the range of document library file entry types * @param end the upper bound of the range of document library file entry types (not inclusive) * @return the range of matching document library file entry types */ public java.util.List<DLFileEntryType> findByGroupId(long[] groupIds, int start, int end); /** * Returns an ordered range of all the document library file entry types where groupId = 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 DLFileEntryTypeModelImpl}. 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 groupIds the group IDs * @param start the lower bound of the range of document library file entry types * @param end the upper bound of the range of document library file entry types (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching document library file entry types */ public java.util.List<DLFileEntryType> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator); /** * Returns an ordered range of all the document library file entry types where groupId = ?, 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 DLFileEntryTypeModelImpl}. 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 entry types * @param end the upper bound of the range of document library file entry types (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 entry types */ public java.util.List<DLFileEntryType> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator, boolean retrieveFromCache); /** * Removes all the document library file entry types where groupId = ? from the database. * * @param groupId the group ID */ public void removeByGroupId(long groupId); /** * Returns the number of document library file entry types where groupId = ?. * * @param groupId the group ID * @return the number of matching document library file entry types */ public int countByGroupId(long groupId); /** * Returns the number of document library file entry types where groupId = any ?. * * @param groupIds the group IDs * @return the number of matching document library file entry types */ public int countByGroupId(long[] groupIds); /** * Returns the number of document library file entry types that the user has permission to view where groupId = ?. * * @param groupId the group ID * @return the number of matching document library file entry types that the user has permission to view */ public int filterCountByGroupId(long groupId); /** * Returns the number of document library file entry types that the user has permission to view where groupId = any ?. * * @param groupIds the group IDs * @return the number of matching document library file entry types that the user has permission to view */ public int filterCountByGroupId(long[] groupIds); /** * Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or throws a {@link NoSuchFileEntryTypeException} if it could not be found. * * @param groupId the group ID * @param fileEntryTypeKey the file entry type key * @return the matching document library file entry type * @throws NoSuchFileEntryTypeException if a matching document library file entry type could not be found */ public DLFileEntryType findByG_F(long groupId, java.lang.String fileEntryTypeKey) throws NoSuchFileEntryTypeException; /** * Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or returns <code>null</code> if it could not be found. Uses the finder cache. * * @param groupId the group ID * @param fileEntryTypeKey the file entry type key * @return the matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found */ public DLFileEntryType fetchByG_F(long groupId, java.lang.String fileEntryTypeKey); /** * Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. * * @param groupId the group ID * @param fileEntryTypeKey the file entry type key * @param retrieveFromCache whether to retrieve from the finder cache * @return the matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found */ public DLFileEntryType fetchByG_F(long groupId, java.lang.String fileEntryTypeKey, boolean retrieveFromCache); /** * Removes the document library file entry type where groupId = ? and fileEntryTypeKey = ? from the database. * * @param groupId the group ID * @param fileEntryTypeKey the file entry type key * @return the document library file entry type that was removed */ public DLFileEntryType removeByG_F(long groupId, java.lang.String fileEntryTypeKey) throws NoSuchFileEntryTypeException; /** * Returns the number of document library file entry types where groupId = ? and fileEntryTypeKey = ?. * * @param groupId the group ID * @param fileEntryTypeKey the file entry type key * @return the number of matching document library file entry types */ public int countByG_F(long groupId, java.lang.String fileEntryTypeKey); /** * Caches the document library file entry type in the entity cache if it is enabled. * * @param dlFileEntryType the document library file entry type */ public void cacheResult(DLFileEntryType dlFileEntryType); /** * Caches the document library file entry types in the entity cache if it is enabled. * * @param dlFileEntryTypes the document library file entry types */ public void cacheResult(java.util.List<DLFileEntryType> dlFileEntryTypes); /** * Creates a new document library file entry type with the primary key. Does not add the document library file entry type to the database. * * @param fileEntryTypeId the primary key for the new document library file entry type * @return the new document library file entry type */ public DLFileEntryType create(long fileEntryTypeId); /** * Removes the document library file entry type with the primary key from the database. Also notifies the appropriate model listeners. * * @param fileEntryTypeId the primary key of the document library file entry type * @return the document library file entry type that was removed * @throws NoSuchFileEntryTypeException if a document library file entry type with the primary key could not be found */ public DLFileEntryType remove(long fileEntryTypeId) throws NoSuchFileEntryTypeException; public DLFileEntryType updateImpl(DLFileEntryType dlFileEntryType); /** * Returns the document library file entry type with the primary key or throws a {@link NoSuchFileEntryTypeException} if it could not be found. * * @param fileEntryTypeId the primary key of the document library file entry type * @return the document library file entry type * @throws NoSuchFileEntryTypeException if a document library file entry type with the primary key could not be found */ public DLFileEntryType findByPrimaryKey(long fileEntryTypeId) throws NoSuchFileEntryTypeException; /** * Returns the document library file entry type with the primary key or returns <code>null</code> if it could not be found. * * @param fileEntryTypeId the primary key of the document library file entry type * @return the document library file entry type, or <code>null</code> if a document library file entry type with the primary key could not be found */ public DLFileEntryType fetchByPrimaryKey(long fileEntryTypeId); @Override public java.util.Map<java.io.Serializable, DLFileEntryType> fetchByPrimaryKeys( java.util.Set<java.io.Serializable> primaryKeys); /** * Returns all the document library file entry types. * * @return the document library file entry types */ public java.util.List<DLFileEntryType> findAll(); /** * Returns a range of all the document library file entry types. * * <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 DLFileEntryTypeModelImpl}. 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 entry types * @param end the upper bound of the range of document library file entry types (not inclusive) * @return the range of document library file entry types */ public java.util.List<DLFileEntryType> findAll(int start, int end); /** * Returns an ordered range of all the document library file entry types. * * <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 DLFileEntryTypeModelImpl}. 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 entry types * @param end the upper bound of the range of document library file entry types (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of document library file entry types */ public java.util.List<DLFileEntryType> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator); /** * Returns an ordered range of all the document library file entry types. * * <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 DLFileEntryTypeModelImpl}. 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 entry types * @param end the upper bound of the range of document library file entry types (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 entry types */ public java.util.List<DLFileEntryType> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator, boolean retrieveFromCache); /** * Removes all the document library file entry types from the database. */ public void removeAll(); /** * Returns the number of document library file entry types. * * @return the number of document library file entry types */ public int countAll(); /** * Returns the primaryKeys of document library folders associated with the document library file entry type. * * @param pk the primary key of the document library file entry type * @return long[] of the primaryKeys of document library folders associated with the document library file entry type */ public long[] getDLFolderPrimaryKeys(long pk); /** * Returns all the document library folders associated with the document library file entry type. * * @param pk the primary key of the document library file entry type * @return the document library folders associated with the document library file entry type */ public java.util.List<com.liferay.document.library.kernel.model.DLFolder> getDLFolders( long pk); /** * Returns a range of all the document library folders associated with the document library file entry type. * * <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 DLFileEntryTypeModelImpl}. 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 pk the primary key of the document library file entry type * @param start the lower bound of the range of document library file entry types * @param end the upper bound of the range of document library file entry types (not inclusive) * @return the range of document library folders associated with the document library file entry type */ public java.util.List<com.liferay.document.library.kernel.model.DLFolder> getDLFolders( long pk, int start, int end); /** * Returns an ordered range of all the document library folders associated with the document library file entry type. * * <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 DLFileEntryTypeModelImpl}. 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 pk the primary key of the document library file entry type * @param start the lower bound of the range of document library file entry types * @param end the upper bound of the range of document library file entry types (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of document library folders associated with the document library file entry type */ public java.util.List<com.liferay.document.library.kernel.model.DLFolder> getDLFolders( long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFolder> orderByComparator); /** * Returns the number of document library folders associated with the document library file entry type. * * @param pk the primary key of the document library file entry type * @return the number of document library folders associated with the document library file entry type */ public int getDLFoldersSize(long pk); /** * Returns <code>true</code> if the document library folder is associated with the document library file entry type. * * @param pk the primary key of the document library file entry type * @param dlFolderPK the primary key of the document library folder * @return <code>true</code> if the document library folder is associated with the document library file entry type; <code>false</code> otherwise */ public boolean containsDLFolder(long pk, long dlFolderPK); /** * Returns <code>true</code> if the document library file entry type has any document library folders associated with it. * * @param pk the primary key of the document library file entry type to check for associations with document library folders * @return <code>true</code> if the document library file entry type has any document library folders associated with it; <code>false</code> otherwise */ public boolean containsDLFolders(long pk); /** * Adds an association between the document library file entry type and the document library folder. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the document library file entry type * @param dlFolderPK the primary key of the document library folder */ public void addDLFolder(long pk, long dlFolderPK); /** * Adds an association between the document library file entry type and the document library folder. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the document library file entry type * @param dlFolder the document library folder */ public void addDLFolder(long pk, com.liferay.document.library.kernel.model.DLFolder dlFolder); /** * Adds an association between the document library file entry type and the document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the document library file entry type * @param dlFolderPKs the primary keys of the document library folders */ public void addDLFolders(long pk, long[] dlFolderPKs); /** * Adds an association between the document library file entry type and the document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the document library file entry type * @param dlFolders the document library folders */ public void addDLFolders(long pk, java.util.List<com.liferay.document.library.kernel.model.DLFolder> dlFolders); /** * Clears all associations between the document library file entry type and its document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the document library file entry type to clear the associated document library folders from */ public void clearDLFolders(long pk); /** * Removes the association between the document library file entry type and the document library folder. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the document library file entry type * @param dlFolderPK the primary key of the document library folder */ public void removeDLFolder(long pk, long dlFolderPK); /** * Removes the association between the document library file entry type and the document library folder. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the document library file entry type * @param dlFolder the document library folder */ public void removeDLFolder(long pk, com.liferay.document.library.kernel.model.DLFolder dlFolder); /** * Removes the association between the document library file entry type and the document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the document library file entry type * @param dlFolderPKs the primary keys of the document library folders */ public void removeDLFolders(long pk, long[] dlFolderPKs); /** * Removes the association between the document library file entry type and the document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the document library file entry type * @param dlFolders the document library folders */ public void removeDLFolders(long pk, java.util.List<com.liferay.document.library.kernel.model.DLFolder> dlFolders); /** * Sets the document library folders associated with the document library file entry type, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the document library file entry type * @param dlFolderPKs the primary keys of the document library folders to be associated with the document library file entry type */ public void setDLFolders(long pk, long[] dlFolderPKs); /** * Sets the document library folders associated with the document library file entry type, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the document library file entry type * @param dlFolders the document library folders to be associated with the document library file entry type */ public void setDLFolders(long pk, java.util.List<com.liferay.document.library.kernel.model.DLFolder> dlFolders); @Override public java.util.Set<java.lang.String> getBadColumnNames(); }