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

com.liferay.change.tracking.service.persistence.CTCollectionPersistence Maven / Gradle / Ivy

There is a newer version: 24.3.0
Show newest version
/**
 * SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
 * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
 */

package com.liferay.change.tracking.service.persistence;

import com.liferay.change.tracking.exception.NoSuchCollectionException;
import com.liferay.change.tracking.model.CTCollection;
import com.liferay.portal.kernel.service.persistence.BasePersistence;

import org.osgi.annotation.versioning.ProviderType;

/**
 * The persistence interface for the ct collection service.
 *
 * 

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

* * @author Brian Wing Shun Chan * @see CTCollectionUtil * @generated */ @ProviderType public interface CTCollectionPersistence extends BasePersistence { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this interface directly. Always use {@link CTCollectionUtil} to access the ct collection persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. */ /** * Returns all the ct collections where uuid = ?. * * @param uuid the uuid * @return the matching ct collections */ public java.util.List findByUuid(String uuid); /** * Returns a range of all the ct collections where uuid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param uuid the uuid * @param start the lower bound of the range of ct collections * @param end the upper bound of the range of ct collections (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ct collections */ 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 ct collections where uuid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param uuid the uuid * @param start the lower bound of the range of ct collections * @param end the upper bound of the range of ct collections (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching ct collections */ public java.util.List findByUuid( String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first ct collection 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 ct collection * @throws NoSuchCollectionException if a matching ct collection could not be found */ public CTCollection findByUuid_First( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchCollectionException; /** * Returns the first ct collection 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 ct collection, or null if a matching ct collection could not be found */ public CTCollection fetchByUuid_First( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ct collection 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 ct collection * @throws NoSuchCollectionException if a matching ct collection could not be found */ public CTCollection findByUuid_Last( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchCollectionException; /** * Returns the last ct collection 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 ct collection, or null if a matching ct collection could not be found */ public CTCollection fetchByUuid_Last( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ct collections before and after the current ct collection in the ordered set where uuid = ?. * * @param ctCollectionId the primary key of the current ct collection * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ct collection * @throws NoSuchCollectionException if a ct collection with the primary key could not be found */ public CTCollection[] findByUuid_PrevAndNext( long ctCollectionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchCollectionException; /** * Returns all the ct collections that the user has permission to view where uuid = ?. * * @param uuid the uuid * @return the matching ct collections that the user has permission to view */ public java.util.List filterFindByUuid(String uuid); /** * Returns a range of all the ct collections that the user has permission to view where uuid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param uuid the uuid * @param start the lower bound of the range of ct collections * @param end the upper bound of the range of ct collections (not inclusive) * @return the range of matching ct collections that the user has permission to view */ public java.util.List filterFindByUuid( String uuid, int start, int end); /** * Returns an ordered range of all the ct collections that the user has permissions to view where uuid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param uuid the uuid * @param start the lower bound of the range of ct collections * @param end the upper bound of the range of ct collections (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ct collections that the user has permission to view */ public java.util.List filterFindByUuid( String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ct collections before and after the current ct collection in the ordered set of ct collections that the user has permission to view where uuid = ?. * * @param ctCollectionId the primary key of the current ct collection * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ct collection * @throws NoSuchCollectionException if a ct collection with the primary key could not be found */ public CTCollection[] filterFindByUuid_PrevAndNext( long ctCollectionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchCollectionException; /** * Removes all the ct collections where uuid = ? from the database. * * @param uuid the uuid */ public void removeByUuid(String uuid); /** * Returns the number of ct collections where uuid = ?. * * @param uuid the uuid * @return the number of matching ct collections */ public int countByUuid(String uuid); /** * Returns the number of ct collections that the user has permission to view where uuid = ?. * * @param uuid the uuid * @return the number of matching ct collections that the user has permission to view */ public int filterCountByUuid(String uuid); /** * Returns all the ct collections where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the matching ct collections */ public java.util.List findByUuid_C( String uuid, long companyId); /** * Returns a range of all the ct collections 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 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, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of ct collections * @param end the upper bound of the range of ct collections (not inclusive) * @return the range of matching ct collections */ public java.util.List findByUuid_C( String uuid, long companyId, int start, int end); /** * Returns an ordered range of all the ct collections 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 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, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of ct collections * @param end the upper bound of the range of ct collections (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ct collections */ 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 ct collections 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 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, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of ct collections * @param end the upper bound of the range of ct collections (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching ct collections */ public java.util.List findByUuid_C( String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first ct collection 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 ct collection * @throws NoSuchCollectionException if a matching ct collection could not be found */ public CTCollection findByUuid_C_First( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchCollectionException; /** * Returns the first ct collection 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 ct collection, or null if a matching ct collection could not be found */ public CTCollection fetchByUuid_C_First( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ct collection 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 ct collection * @throws NoSuchCollectionException if a matching ct collection could not be found */ public CTCollection findByUuid_C_Last( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchCollectionException; /** * Returns the last ct collection 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 ct collection, or null if a matching ct collection could not be found */ public CTCollection fetchByUuid_C_Last( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ct collections before and after the current ct collection in the ordered set where uuid = ? and companyId = ?. * * @param ctCollectionId the primary key of the current ct collection * @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 ct collection * @throws NoSuchCollectionException if a ct collection with the primary key could not be found */ public CTCollection[] findByUuid_C_PrevAndNext( long ctCollectionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchCollectionException; /** * Returns all the ct collections that the user has permission to view where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the matching ct collections that the user has permission to view */ public java.util.List filterFindByUuid_C( String uuid, long companyId); /** * Returns a range of all the ct collections that the user has permission to view 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 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, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of ct collections * @param end the upper bound of the range of ct collections (not inclusive) * @return the range of matching ct collections that the user has permission to view */ public java.util.List filterFindByUuid_C( String uuid, long companyId, int start, int end); /** * Returns an ordered range of all the ct collections that the user has permissions to view 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 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, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of ct collections * @param end the upper bound of the range of ct collections (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ct collections that the user has permission to view */ public java.util.List filterFindByUuid_C( String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ct collections before and after the current ct collection in the ordered set of ct collections that the user has permission to view where uuid = ? and companyId = ?. * * @param ctCollectionId the primary key of the current ct collection * @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 ct collection * @throws NoSuchCollectionException if a ct collection with the primary key could not be found */ public CTCollection[] filterFindByUuid_C_PrevAndNext( long ctCollectionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchCollectionException; /** * Removes all the ct collections 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 ct collections where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the number of matching ct collections */ public int countByUuid_C(String uuid, long companyId); /** * Returns the number of ct collections that the user has permission to view where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the number of matching ct collections that the user has permission to view */ public int filterCountByUuid_C(String uuid, long companyId); /** * Returns all the ct collections where companyId = ?. * * @param companyId the company ID * @return the matching ct collections */ public java.util.List findByCompanyId(long companyId); /** * Returns a range of all the ct collections where companyId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param companyId the company ID * @param start the lower bound of the range of ct collections * @param end the upper bound of the range of ct collections (not inclusive) * @return the range of matching ct collections */ public java.util.List findByCompanyId( long companyId, int start, int end); /** * Returns an ordered range of all the ct collections where companyId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param companyId the company ID * @param start the lower bound of the range of ct collections * @param end the upper bound of the range of ct collections (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching ct collections */ public java.util.List findByCompanyId( long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first ct collection in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ct collection * @throws NoSuchCollectionException if a matching ct collection could not be found */ public CTCollection findByCompanyId_First( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchCollectionException; /** * Returns the first ct collection in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ct collection, or null if a matching ct collection could not be found */ public CTCollection fetchByCompanyId_First( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ct collection in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ct collection * @throws NoSuchCollectionException if a matching ct collection could not be found */ public CTCollection findByCompanyId_Last( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchCollectionException; /** * Returns the last ct collection in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ct collection, or null if a matching ct collection could not be found */ public CTCollection fetchByCompanyId_Last( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ct collections before and after the current ct collection in the ordered set where companyId = ?. * * @param ctCollectionId the primary key of the current ct collection * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ct collection * @throws NoSuchCollectionException if a ct collection with the primary key could not be found */ public CTCollection[] findByCompanyId_PrevAndNext( long ctCollectionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchCollectionException; /** * Returns all the ct collections that the user has permission to view where companyId = ?. * * @param companyId the company ID * @return the matching ct collections that the user has permission to view */ public java.util.List filterFindByCompanyId(long companyId); /** * Returns a range of all the ct collections that the user has permission to view where companyId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param companyId the company ID * @param start the lower bound of the range of ct collections * @param end the upper bound of the range of ct collections (not inclusive) * @return the range of matching ct collections that the user has permission to view */ public java.util.List filterFindByCompanyId( long companyId, int start, int end); /** * Returns an ordered range of all the ct collections that the user has permissions to view where companyId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param companyId the company ID * @param start the lower bound of the range of ct collections * @param end the upper bound of the range of ct collections (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ct collections that the user has permission to view */ public java.util.List filterFindByCompanyId( long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ct collections before and after the current ct collection in the ordered set of ct collections that the user has permission to view where companyId = ?. * * @param ctCollectionId the primary key of the current ct collection * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ct collection * @throws NoSuchCollectionException if a ct collection with the primary key could not be found */ public CTCollection[] filterFindByCompanyId_PrevAndNext( long ctCollectionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchCollectionException; /** * Removes all the ct collections where companyId = ? from the database. * * @param companyId the company ID */ public void removeByCompanyId(long companyId); /** * Returns the number of ct collections where companyId = ?. * * @param companyId the company ID * @return the number of matching ct collections */ public int countByCompanyId(long companyId); /** * Returns the number of ct collections that the user has permission to view where companyId = ?. * * @param companyId the company ID * @return the number of matching ct collections that the user has permission to view */ public int filterCountByCompanyId(long companyId); /** * Returns all the ct collections where schemaVersionId = ?. * * @param schemaVersionId the schema version ID * @return the matching ct collections */ public java.util.List findBySchemaVersionId( long schemaVersionId); /** * Returns a range of all the ct collections where schemaVersionId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param schemaVersionId the schema version ID * @param start the lower bound of the range of ct collections * @param end the upper bound of the range of ct collections (not inclusive) * @return the range of matching ct collections */ public java.util.List findBySchemaVersionId( long schemaVersionId, int start, int end); /** * Returns an ordered range of all the ct collections where schemaVersionId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param schemaVersionId the schema version ID * @param start the lower bound of the range of ct collections * @param end the upper bound of the range of ct collections (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching ct collections */ public java.util.List findBySchemaVersionId( long schemaVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first ct collection in the ordered set where schemaVersionId = ?. * * @param schemaVersionId the schema version ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ct collection * @throws NoSuchCollectionException if a matching ct collection could not be found */ public CTCollection findBySchemaVersionId_First( long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchCollectionException; /** * Returns the first ct collection in the ordered set where schemaVersionId = ?. * * @param schemaVersionId the schema version ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ct collection, or null if a matching ct collection could not be found */ public CTCollection fetchBySchemaVersionId_First( long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ct collection in the ordered set where schemaVersionId = ?. * * @param schemaVersionId the schema version ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ct collection * @throws NoSuchCollectionException if a matching ct collection could not be found */ public CTCollection findBySchemaVersionId_Last( long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchCollectionException; /** * Returns the last ct collection in the ordered set where schemaVersionId = ?. * * @param schemaVersionId the schema version ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ct collection, or null if a matching ct collection could not be found */ public CTCollection fetchBySchemaVersionId_Last( long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ct collections before and after the current ct collection in the ordered set where schemaVersionId = ?. * * @param ctCollectionId the primary key of the current ct collection * @param schemaVersionId the schema version ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ct collection * @throws NoSuchCollectionException if a ct collection with the primary key could not be found */ public CTCollection[] findBySchemaVersionId_PrevAndNext( long ctCollectionId, long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchCollectionException; /** * Returns all the ct collections that the user has permission to view where schemaVersionId = ?. * * @param schemaVersionId the schema version ID * @return the matching ct collections that the user has permission to view */ public java.util.List filterFindBySchemaVersionId( long schemaVersionId); /** * Returns a range of all the ct collections that the user has permission to view where schemaVersionId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param schemaVersionId the schema version ID * @param start the lower bound of the range of ct collections * @param end the upper bound of the range of ct collections (not inclusive) * @return the range of matching ct collections that the user has permission to view */ public java.util.List filterFindBySchemaVersionId( long schemaVersionId, int start, int end); /** * Returns an ordered range of all the ct collections that the user has permissions to view where schemaVersionId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param schemaVersionId the schema version ID * @param start the lower bound of the range of ct collections * @param end the upper bound of the range of ct collections (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ct collections that the user has permission to view */ public java.util.List filterFindBySchemaVersionId( long schemaVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ct collections before and after the current ct collection in the ordered set of ct collections that the user has permission to view where schemaVersionId = ?. * * @param ctCollectionId the primary key of the current ct collection * @param schemaVersionId the schema version ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ct collection * @throws NoSuchCollectionException if a ct collection with the primary key could not be found */ public CTCollection[] filterFindBySchemaVersionId_PrevAndNext( long ctCollectionId, long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchCollectionException; /** * Removes all the ct collections where schemaVersionId = ? from the database. * * @param schemaVersionId the schema version ID */ public void removeBySchemaVersionId(long schemaVersionId); /** * Returns the number of ct collections where schemaVersionId = ?. * * @param schemaVersionId the schema version ID * @return the number of matching ct collections */ public int countBySchemaVersionId(long schemaVersionId); /** * Returns the number of ct collections that the user has permission to view where schemaVersionId = ?. * * @param schemaVersionId the schema version ID * @return the number of matching ct collections that the user has permission to view */ public int filterCountBySchemaVersionId(long schemaVersionId); /** * Returns all the ct collections where companyId = ? and status = ?. * * @param companyId the company ID * @param status the status * @return the matching ct collections */ public java.util.List findByC_S(long companyId, int status); /** * Returns a range of all the ct collections where companyId = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param companyId the company ID * @param status the status * @param start the lower bound of the range of ct collections * @param end the upper bound of the range of ct collections (not inclusive) * @return the range of matching ct collections */ public java.util.List findByC_S( long companyId, int status, int start, int end); /** * Returns an ordered range of all the ct collections where companyId = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param companyId the company ID * @param status the status * @param start the lower bound of the range of ct collections * @param end the upper bound of the range of ct collections (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching ct collections */ public java.util.List findByC_S( long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first ct collection in the ordered set where companyId = ? and status = ?. * * @param companyId the company ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ct collection * @throws NoSuchCollectionException if a matching ct collection could not be found */ public CTCollection findByC_S_First( long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchCollectionException; /** * Returns the first ct collection in the ordered set where companyId = ? and status = ?. * * @param companyId the company ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ct collection, or null if a matching ct collection could not be found */ public CTCollection fetchByC_S_First( long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ct collection in the ordered set where companyId = ? and status = ?. * * @param companyId the company ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ct collection * @throws NoSuchCollectionException if a matching ct collection could not be found */ public CTCollection findByC_S_Last( long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchCollectionException; /** * Returns the last ct collection in the ordered set where companyId = ? and status = ?. * * @param companyId the company ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ct collection, or null if a matching ct collection could not be found */ public CTCollection fetchByC_S_Last( long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ct collections before and after the current ct collection in the ordered set where companyId = ? and status = ?. * * @param ctCollectionId the primary key of the current ct collection * @param companyId the company ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ct collection * @throws NoSuchCollectionException if a ct collection with the primary key could not be found */ public CTCollection[] findByC_S_PrevAndNext( long ctCollectionId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchCollectionException; /** * Returns all the ct collections that the user has permission to view where companyId = ? and status = ?. * * @param companyId the company ID * @param status the status * @return the matching ct collections that the user has permission to view */ public java.util.List filterFindByC_S( long companyId, int status); /** * Returns a range of all the ct collections that the user has permission to view where companyId = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param companyId the company ID * @param status the status * @param start the lower bound of the range of ct collections * @param end the upper bound of the range of ct collections (not inclusive) * @return the range of matching ct collections that the user has permission to view */ public java.util.List filterFindByC_S( long companyId, int status, int start, int end); /** * Returns an ordered range of all the ct collections that the user has permissions to view where companyId = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param companyId the company ID * @param status the status * @param start the lower bound of the range of ct collections * @param end the upper bound of the range of ct collections (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ct collections that the user has permission to view */ public java.util.List filterFindByC_S( long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ct collections before and after the current ct collection in the ordered set of ct collections that the user has permission to view where companyId = ? and status = ?. * * @param ctCollectionId the primary key of the current ct collection * @param companyId the company ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ct collection * @throws NoSuchCollectionException if a ct collection with the primary key could not be found */ public CTCollection[] filterFindByC_S_PrevAndNext( long ctCollectionId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchCollectionException; /** * Returns all the ct collections that the user has permission to view where companyId = ? and status = any ?. * * @param companyId the company ID * @param statuses the statuses * @return the matching ct collections that the user has permission to view */ public java.util.List filterFindByC_S( long companyId, int[] statuses); /** * Returns a range of all the ct collections that the user has permission to view where companyId = ? and status = any ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param companyId the company ID * @param statuses the statuses * @param start the lower bound of the range of ct collections * @param end the upper bound of the range of ct collections (not inclusive) * @return the range of matching ct collections that the user has permission to view */ public java.util.List filterFindByC_S( long companyId, int[] statuses, int start, int end); /** * Returns an ordered range of all the ct collections that the user has permission to view where companyId = ? and status = any ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param companyId the company ID * @param statuses the statuses * @param start the lower bound of the range of ct collections * @param end the upper bound of the range of ct collections (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ct collections that the user has permission to view */ public java.util.List filterFindByC_S( long companyId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns all the ct collections where companyId = ? and status = any ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param companyId the company ID * @param statuses the statuses * @return the matching ct collections */ public java.util.List findByC_S( long companyId, int[] statuses); /** * Returns a range of all the ct collections where companyId = ? and status = any ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param companyId the company ID * @param statuses the statuses * @param start the lower bound of the range of ct collections * @param end the upper bound of the range of ct collections (not inclusive) * @return the range of matching ct collections */ public java.util.List findByC_S( long companyId, int[] statuses, int start, int end); /** * Returns an ordered range of all the ct collections where companyId = ? and status = any ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param companyId the company ID * @param statuses the statuses * @param start the lower bound of the range of ct collections * @param end the upper bound of the range of ct collections (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ct collections */ public java.util.List findByC_S( long companyId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the ct collections where companyId = ? and status = ?, 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 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, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

* * @param companyId the company ID * @param statuses the statuses * @param start the lower bound of the range of ct collections * @param end the upper bound of the range of ct collections (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching ct collections */ public java.util.List findByC_S( long companyId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Removes all the ct collections where companyId = ? and status = ? from the database. * * @param companyId the company ID * @param status the status */ public void removeByC_S(long companyId, int status); /** * Returns the number of ct collections where companyId = ? and status = ?. * * @param companyId the company ID * @param status the status * @return the number of matching ct collections */ public int countByC_S(long companyId, int status); /** * Returns the number of ct collections where companyId = ? and status = any ?. * * @param companyId the company ID * @param statuses the statuses * @return the number of matching ct collections */ public int countByC_S(long companyId, int[] statuses); /** * Returns the number of ct collections that the user has permission to view where companyId = ? and status = ?. * * @param companyId the company ID * @param status the status * @return the number of matching ct collections that the user has permission to view */ public int filterCountByC_S(long companyId, int status); /** * Returns the number of ct collections that the user has permission to view where companyId = ? and status = any ?. * * @param companyId the company ID * @param statuses the statuses * @return the number of matching ct collections that the user has permission to view */ public int filterCountByC_S(long companyId, int[] statuses); /** * Returns the ct collection where externalReferenceCode = ? and companyId = ? or throws a NoSuchCollectionException if it could not be found. * * @param externalReferenceCode the external reference code * @param companyId the company ID * @return the matching ct collection * @throws NoSuchCollectionException if a matching ct collection could not be found */ public CTCollection findByERC_C( String externalReferenceCode, long companyId) throws NoSuchCollectionException; /** * Returns the ct collection where externalReferenceCode = ? and companyId = ? or returns null if it could not be found. Uses the finder cache. * * @param externalReferenceCode the external reference code * @param companyId the company ID * @return the matching ct collection, or null if a matching ct collection could not be found */ public CTCollection fetchByERC_C( String externalReferenceCode, long companyId); /** * Returns the ct collection where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache. * * @param externalReferenceCode the external reference code * @param companyId the company ID * @param useFinderCache whether to use the finder cache * @return the matching ct collection, or null if a matching ct collection could not be found */ public CTCollection fetchByERC_C( String externalReferenceCode, long companyId, boolean useFinderCache); /** * Removes the ct collection where externalReferenceCode = ? and companyId = ? from the database. * * @param externalReferenceCode the external reference code * @param companyId the company ID * @return the ct collection that was removed */ public CTCollection removeByERC_C( String externalReferenceCode, long companyId) throws NoSuchCollectionException; /** * Returns the number of ct collections where externalReferenceCode = ? and companyId = ?. * * @param externalReferenceCode the external reference code * @param companyId the company ID * @return the number of matching ct collections */ public int countByERC_C(String externalReferenceCode, long companyId); /** * Caches the ct collection in the entity cache if it is enabled. * * @param ctCollection the ct collection */ public void cacheResult(CTCollection ctCollection); /** * Caches the ct collections in the entity cache if it is enabled. * * @param ctCollections the ct collections */ public void cacheResult(java.util.List ctCollections); /** * Creates a new ct collection with the primary key. Does not add the ct collection to the database. * * @param ctCollectionId the primary key for the new ct collection * @return the new ct collection */ public CTCollection create(long ctCollectionId); /** * Removes the ct collection with the primary key from the database. Also notifies the appropriate model listeners. * * @param ctCollectionId the primary key of the ct collection * @return the ct collection that was removed * @throws NoSuchCollectionException if a ct collection with the primary key could not be found */ public CTCollection remove(long ctCollectionId) throws NoSuchCollectionException; public CTCollection updateImpl(CTCollection ctCollection); /** * Returns the ct collection with the primary key or throws a NoSuchCollectionException if it could not be found. * * @param ctCollectionId the primary key of the ct collection * @return the ct collection * @throws NoSuchCollectionException if a ct collection with the primary key could not be found */ public CTCollection findByPrimaryKey(long ctCollectionId) throws NoSuchCollectionException; /** * Returns the ct collection with the primary key or returns null if it could not be found. * * @param ctCollectionId the primary key of the ct collection * @return the ct collection, or null if a ct collection with the primary key could not be found */ public CTCollection fetchByPrimaryKey(long ctCollectionId); /** * Returns all the ct collections. * * @return the ct collections */ public java.util.List findAll(); /** * Returns a range of all the ct collections. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTCollectionModelImpl. *

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy