All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.dynamic.data.lists.service.persistence.DDLRecordSetPersistence Maven / Gradle / Ivy

There is a newer version: 7.4.3.112-ga112
Show newest version
/**
 * 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.dynamic.data.lists.service.persistence;

import aQute.bnd.annotation.ProviderType;

import com.liferay.dynamic.data.lists.exception.NoSuchRecordSetException;
import com.liferay.dynamic.data.lists.model.DDLRecordSet;

import com.liferay.portal.kernel.service.persistence.BasePersistence;

/**
 * The persistence interface for the ddl record set service.
 *
 * 

* Caching information and settings can be found in portal.properties *

* * @author Brian Wing Shun Chan * @see com.liferay.dynamic.data.lists.service.persistence.impl.DDLRecordSetPersistenceImpl * @see DDLRecordSetUtil * @generated */ @ProviderType public interface DDLRecordSetPersistence extends BasePersistence { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this interface directly. Always use {@link DDLRecordSetUtil} to access the ddl record set persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. */ /** * Returns all the ddl record sets where uuid = ?. * * @param uuid the uuid * @return the matching ddl record sets */ public java.util.List findByUuid(String uuid); /** * Returns a range of all the ddl record sets where uuid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDLRecordSetModelImpl}. If both orderByComparator 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. *

* * @param uuid the uuid * @param start the lower bound of the range of ddl record sets * @param end the upper bound of the range of ddl record sets (not inclusive) * @return the range of matching ddl record sets */ public java.util.List findByUuid(String uuid, int start, int end); /** * Returns an ordered range of all the ddl record sets where uuid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDLRecordSetModelImpl}. If both orderByComparator 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. *

* * @param uuid the uuid * @param start the lower bound of the range of ddl record sets * @param end the upper bound of the range of ddl record sets (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddl record sets */ public java.util.List findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the ddl record sets where uuid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDLRecordSetModelImpl}. If both orderByComparator 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. *

* * @param uuid the uuid * @param start the lower bound of the range of ddl record sets * @param end the upper bound of the range of ddl record sets (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching ddl record sets */ public java.util.List findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first ddl record set in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddl record set * @throws NoSuchRecordSetException if a matching ddl record set could not be found */ public DDLRecordSet findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchRecordSetException; /** * Returns the first ddl record set in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddl record set, or null if a matching ddl record set could not be found */ public DDLRecordSet fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ddl record set in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddl record set * @throws NoSuchRecordSetException if a matching ddl record set could not be found */ public DDLRecordSet findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchRecordSetException; /** * Returns the last ddl record set in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddl record set, or null if a matching ddl record set could not be found */ public DDLRecordSet fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddl record sets before and after the current ddl record set in the ordered set where uuid = ?. * * @param recordSetId the primary key of the current ddl record set * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddl record set * @throws NoSuchRecordSetException if a ddl record set with the primary key could not be found */ public DDLRecordSet[] findByUuid_PrevAndNext(long recordSetId, String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchRecordSetException; /** * Removes all the ddl record sets where uuid = ? from the database. * * @param uuid the uuid */ public void removeByUuid(String uuid); /** * Returns the number of ddl record sets where uuid = ?. * * @param uuid the uuid * @return the number of matching ddl record sets */ public int countByUuid(String uuid); /** * Returns the ddl record set where uuid = ? and groupId = ? or throws a {@link NoSuchRecordSetException} if it could not be found. * * @param uuid the uuid * @param groupId the group ID * @return the matching ddl record set * @throws NoSuchRecordSetException if a matching ddl record set could not be found */ public DDLRecordSet findByUUID_G(String uuid, long groupId) throws NoSuchRecordSetException; /** * Returns the ddl record set where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. * * @param uuid the uuid * @param groupId the group ID * @return the matching ddl record set, or null if a matching ddl record set could not be found */ public DDLRecordSet fetchByUUID_G(String uuid, long groupId); /** * Returns the ddl record set where uuid = ? and groupId = ? or returns null 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 ddl record set, or null if a matching ddl record set could not be found */ public DDLRecordSet fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache); /** * Removes the ddl record set where uuid = ? and groupId = ? from the database. * * @param uuid the uuid * @param groupId the group ID * @return the ddl record set that was removed */ public DDLRecordSet removeByUUID_G(String uuid, long groupId) throws NoSuchRecordSetException; /** * Returns the number of ddl record sets where uuid = ? and groupId = ?. * * @param uuid the uuid * @param groupId the group ID * @return the number of matching ddl record sets */ public int countByUUID_G(String uuid, long groupId); /** * Returns all the ddl record sets where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the matching ddl record sets */ public java.util.List findByUuid_C(String uuid, long companyId); /** * Returns a range of all the ddl record sets where uuid = ? and companyId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDLRecordSetModelImpl}. If both orderByComparator 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. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of ddl record sets * @param end the upper bound of the range of ddl record sets (not inclusive) * @return the range of matching ddl record sets */ public java.util.List findByUuid_C(String uuid, long companyId, int start, int end); /** * Returns an ordered range of all the ddl record sets where uuid = ? and companyId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDLRecordSetModelImpl}. If both orderByComparator 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. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of ddl record sets * @param end the upper bound of the range of ddl record sets (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddl record sets */ public java.util.List findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the ddl record sets where uuid = ? and companyId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDLRecordSetModelImpl}. If both orderByComparator 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. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of ddl record sets * @param end the upper bound of the range of ddl record sets (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching ddl record sets */ public java.util.List findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first ddl record set 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 null) * @return the first matching ddl record set * @throws NoSuchRecordSetException if a matching ddl record set could not be found */ public DDLRecordSet findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchRecordSetException; /** * Returns the first ddl record set 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 null) * @return the first matching ddl record set, or null if a matching ddl record set could not be found */ public DDLRecordSet fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ddl record set 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 null) * @return the last matching ddl record set * @throws NoSuchRecordSetException if a matching ddl record set could not be found */ public DDLRecordSet findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchRecordSetException; /** * Returns the last ddl record set 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 null) * @return the last matching ddl record set, or null if a matching ddl record set could not be found */ public DDLRecordSet fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddl record sets before and after the current ddl record set in the ordered set where uuid = ? and companyId = ?. * * @param recordSetId the primary key of the current ddl record set * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddl record set * @throws NoSuchRecordSetException if a ddl record set with the primary key could not be found */ public DDLRecordSet[] findByUuid_C_PrevAndNext(long recordSetId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchRecordSetException; /** * Removes all the ddl record sets where uuid = ? and companyId = ? from the database. * * @param uuid the uuid * @param companyId the company ID */ public void removeByUuid_C(String uuid, long companyId); /** * Returns the number of ddl record sets where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the number of matching ddl record sets */ public int countByUuid_C(String uuid, long companyId); /** * Returns all the ddl record sets where groupId = ?. * * @param groupId the group ID * @return the matching ddl record sets */ public java.util.List findByGroupId(long groupId); /** * Returns a range of all the ddl record sets where groupId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDLRecordSetModelImpl}. If both orderByComparator 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. *

* * @param groupId the group ID * @param start the lower bound of the range of ddl record sets * @param end the upper bound of the range of ddl record sets (not inclusive) * @return the range of matching ddl record sets */ public java.util.List findByGroupId(long groupId, int start, int end); /** * Returns an ordered range of all the ddl record sets where groupId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDLRecordSetModelImpl}. If both orderByComparator 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. *

* * @param groupId the group ID * @param start the lower bound of the range of ddl record sets * @param end the upper bound of the range of ddl record sets (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddl record sets */ public java.util.List findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the ddl record sets where groupId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDLRecordSetModelImpl}. If both orderByComparator 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. *

* * @param groupId the group ID * @param start the lower bound of the range of ddl record sets * @param end the upper bound of the range of ddl record sets (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching ddl record sets */ public java.util.List findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first ddl record set in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddl record set * @throws NoSuchRecordSetException if a matching ddl record set could not be found */ public DDLRecordSet findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchRecordSetException; /** * Returns the first ddl record set in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddl record set, or null if a matching ddl record set could not be found */ public DDLRecordSet fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ddl record set in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddl record set * @throws NoSuchRecordSetException if a matching ddl record set could not be found */ public DDLRecordSet findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchRecordSetException; /** * Returns the last ddl record set in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddl record set, or null if a matching ddl record set could not be found */ public DDLRecordSet fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddl record sets before and after the current ddl record set in the ordered set where groupId = ?. * * @param recordSetId the primary key of the current ddl record set * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddl record set * @throws NoSuchRecordSetException if a ddl record set with the primary key could not be found */ public DDLRecordSet[] findByGroupId_PrevAndNext(long recordSetId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchRecordSetException; /** * Returns all the ddl record sets that the user has permission to view where groupId = ?. * * @param groupId the group ID * @return the matching ddl record sets that the user has permission to view */ public java.util.List filterFindByGroupId(long groupId); /** * Returns a range of all the ddl record sets that the user has permission to view where groupId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDLRecordSetModelImpl}. If both orderByComparator 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. *

* * @param groupId the group ID * @param start the lower bound of the range of ddl record sets * @param end the upper bound of the range of ddl record sets (not inclusive) * @return the range of matching ddl record sets that the user has permission to view */ public java.util.List filterFindByGroupId(long groupId, int start, int end); /** * Returns an ordered range of all the ddl record sets that the user has permissions to view where groupId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDLRecordSetModelImpl}. If both orderByComparator 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. *

* * @param groupId the group ID * @param start the lower bound of the range of ddl record sets * @param end the upper bound of the range of ddl record sets (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddl record sets that the user has permission to view */ public java.util.List filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddl record sets before and after the current ddl record set in the ordered set of ddl record sets that the user has permission to view where groupId = ?. * * @param recordSetId the primary key of the current ddl record set * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddl record set * @throws NoSuchRecordSetException if a ddl record set with the primary key could not be found */ public DDLRecordSet[] filterFindByGroupId_PrevAndNext(long recordSetId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchRecordSetException; /** * Returns all the ddl record sets that the user has permission to view where groupId = any ?. * * @param groupIds the group IDs * @return the matching ddl record sets that the user has permission to view */ public java.util.List filterFindByGroupId(long[] groupIds); /** * Returns a range of all the ddl record sets that the user has permission to view where groupId = any ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDLRecordSetModelImpl}. If both orderByComparator 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. *

* * @param groupIds the group IDs * @param start the lower bound of the range of ddl record sets * @param end the upper bound of the range of ddl record sets (not inclusive) * @return the range of matching ddl record sets that the user has permission to view */ public java.util.List filterFindByGroupId(long[] groupIds, int start, int end); /** * Returns an ordered range of all the ddl record sets that the user has permission to view where groupId = any ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDLRecordSetModelImpl}. If both orderByComparator 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. *

* * @param groupIds the group IDs * @param start the lower bound of the range of ddl record sets * @param end the upper bound of the range of ddl record sets (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddl record sets that the user has permission to view */ public java.util.List filterFindByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns all the ddl record sets where groupId = any ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDLRecordSetModelImpl}. If both orderByComparator 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. *

* * @param groupIds the group IDs * @return the matching ddl record sets */ public java.util.List findByGroupId(long[] groupIds); /** * Returns a range of all the ddl record sets where groupId = any ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDLRecordSetModelImpl}. If both orderByComparator 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. *

* * @param groupIds the group IDs * @param start the lower bound of the range of ddl record sets * @param end the upper bound of the range of ddl record sets (not inclusive) * @return the range of matching ddl record sets */ public java.util.List findByGroupId(long[] groupIds, int start, int end); /** * Returns an ordered range of all the ddl record sets where groupId = any ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDLRecordSetModelImpl}. If both orderByComparator 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. *

* * @param groupIds the group IDs * @param start the lower bound of the range of ddl record sets * @param end the upper bound of the range of ddl record sets (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddl record sets */ public java.util.List findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the ddl record sets where groupId = ?, optionally using the finder cache. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDLRecordSetModelImpl}. If both orderByComparator 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. *

* * @param groupId the group ID * @param start the lower bound of the range of ddl record sets * @param end the upper bound of the range of ddl record sets (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching ddl record sets */ public java.util.List findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Removes all the ddl record sets where groupId = ? from the database. * * @param groupId the group ID */ public void removeByGroupId(long groupId); /** * Returns the number of ddl record sets where groupId = ?. * * @param groupId the group ID * @return the number of matching ddl record sets */ public int countByGroupId(long groupId); /** * Returns the number of ddl record sets where groupId = any ?. * * @param groupIds the group IDs * @return the number of matching ddl record sets */ public int countByGroupId(long[] groupIds); /** * Returns the number of ddl record sets that the user has permission to view where groupId = ?. * * @param groupId the group ID * @return the number of matching ddl record sets that the user has permission to view */ public int filterCountByGroupId(long groupId); /** * Returns the number of ddl record sets that the user has permission to view where groupId = any ?. * * @param groupIds the group IDs * @return the number of matching ddl record sets that the user has permission to view */ public int filterCountByGroupId(long[] groupIds); /** * Returns the ddl record set where groupId = ? and recordSetKey = ? or throws a {@link NoSuchRecordSetException} if it could not be found. * * @param groupId the group ID * @param recordSetKey the record set key * @return the matching ddl record set * @throws NoSuchRecordSetException if a matching ddl record set could not be found */ public DDLRecordSet findByG_R(long groupId, String recordSetKey) throws NoSuchRecordSetException; /** * Returns the ddl record set where groupId = ? and recordSetKey = ? or returns null if it could not be found. Uses the finder cache. * * @param groupId the group ID * @param recordSetKey the record set key * @return the matching ddl record set, or null if a matching ddl record set could not be found */ public DDLRecordSet fetchByG_R(long groupId, String recordSetKey); /** * Returns the ddl record set where groupId = ? and recordSetKey = ? or returns null if it could not be found, optionally using the finder cache. * * @param groupId the group ID * @param recordSetKey the record set key * @param retrieveFromCache whether to retrieve from the finder cache * @return the matching ddl record set, or null if a matching ddl record set could not be found */ public DDLRecordSet fetchByG_R(long groupId, String recordSetKey, boolean retrieveFromCache); /** * Removes the ddl record set where groupId = ? and recordSetKey = ? from the database. * * @param groupId the group ID * @param recordSetKey the record set key * @return the ddl record set that was removed */ public DDLRecordSet removeByG_R(long groupId, String recordSetKey) throws NoSuchRecordSetException; /** * Returns the number of ddl record sets where groupId = ? and recordSetKey = ?. * * @param groupId the group ID * @param recordSetKey the record set key * @return the number of matching ddl record sets */ public int countByG_R(long groupId, String recordSetKey); /** * Caches the ddl record set in the entity cache if it is enabled. * * @param ddlRecordSet the ddl record set */ public void cacheResult(DDLRecordSet ddlRecordSet); /** * Caches the ddl record sets in the entity cache if it is enabled. * * @param ddlRecordSets the ddl record sets */ public void cacheResult(java.util.List ddlRecordSets); /** * Creates a new ddl record set with the primary key. Does not add the ddl record set to the database. * * @param recordSetId the primary key for the new ddl record set * @return the new ddl record set */ public DDLRecordSet create(long recordSetId); /** * Removes the ddl record set with the primary key from the database. Also notifies the appropriate model listeners. * * @param recordSetId the primary key of the ddl record set * @return the ddl record set that was removed * @throws NoSuchRecordSetException if a ddl record set with the primary key could not be found */ public DDLRecordSet remove(long recordSetId) throws NoSuchRecordSetException; public DDLRecordSet updateImpl(DDLRecordSet ddlRecordSet); /** * Returns the ddl record set with the primary key or throws a {@link NoSuchRecordSetException} if it could not be found. * * @param recordSetId the primary key of the ddl record set * @return the ddl record set * @throws NoSuchRecordSetException if a ddl record set with the primary key could not be found */ public DDLRecordSet findByPrimaryKey(long recordSetId) throws NoSuchRecordSetException; /** * Returns the ddl record set with the primary key or returns null if it could not be found. * * @param recordSetId the primary key of the ddl record set * @return the ddl record set, or null if a ddl record set with the primary key could not be found */ public DDLRecordSet fetchByPrimaryKey(long recordSetId); @Override public java.util.Map fetchByPrimaryKeys( java.util.Set primaryKeys); /** * Returns all the ddl record sets. * * @return the ddl record sets */ public java.util.List findAll(); /** * Returns a range of all the ddl record sets. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDLRecordSetModelImpl}. If both orderByComparator 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. *

* * @param start the lower bound of the range of ddl record sets * @param end the upper bound of the range of ddl record sets (not inclusive) * @return the range of ddl record sets */ public java.util.List findAll(int start, int end); /** * Returns an ordered range of all the ddl record sets. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDLRecordSetModelImpl}. If both orderByComparator 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. *

* * @param start the lower bound of the range of ddl record sets * @param end the upper bound of the range of ddl record sets (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of ddl record sets */ public java.util.List findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the ddl record sets. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDLRecordSetModelImpl}. If both orderByComparator 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. *

* * @param start the lower bound of the range of ddl record sets * @param end the upper bound of the range of ddl record sets (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of ddl record sets */ public java.util.List findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Removes all the ddl record sets from the database. */ public void removeAll(); /** * Returns the number of ddl record sets. * * @return the number of ddl record sets */ public int countAll(); @Override public java.util.Set getBadColumnNames(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy