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

com.liferay.change.tracking.service.persistence.CTEntryPersistence 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.NoSuchEntryException;
import com.liferay.change.tracking.model.CTEntry;
import com.liferay.portal.kernel.service.persistence.BasePersistence;

import org.osgi.annotation.versioning.ProviderType;

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

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

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. 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 CTEntryModelImpl. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. 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 CTEntryModelImpl. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. 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 CTEntryModelImpl. *

* * @param uuid the uuid * @param start the lower bound of the range of ct entries * @param end the upper bound of the range of ct entries (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 entries */ public java.util.List findByUuid( String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first ct entry 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 entry * @throws NoSuchEntryException if a matching ct entry could not be found */ public CTEntry findByUuid_First( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchEntryException; /** * Returns the first ct entry 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 entry, or null if a matching ct entry could not be found */ public CTEntry fetchByUuid_First( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ct entry 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 entry * @throws NoSuchEntryException if a matching ct entry could not be found */ public CTEntry findByUuid_Last( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchEntryException; /** * Returns the last ct entry 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 entry, or null if a matching ct entry could not be found */ public CTEntry fetchByUuid_Last( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ct entries before and after the current ct entry in the ordered set where uuid = ?. * * @param ctEntryId the primary key of the current ct entry * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ct entry * @throws NoSuchEntryException if a ct entry with the primary key could not be found */ public CTEntry[] findByUuid_PrevAndNext( long ctEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchEntryException; /** * Removes all the ct entries where uuid = ? from the database. * * @param uuid the uuid */ public void removeByUuid(String uuid); /** * Returns the number of ct entries where uuid = ?. * * @param uuid the uuid * @return the number of matching ct entries */ public int countByUuid(String uuid); /** * Returns all the ct entries where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the matching ct entries */ public java.util.List findByUuid_C(String uuid, long companyId); /** * Returns a range of all the ct entries 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 CTEntryModelImpl. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of ct entries * @param end the upper bound of the range of ct entries (not inclusive) * @return the range of matching ct entries */ public java.util.List findByUuid_C( String uuid, long companyId, int start, int end); /** * Returns an ordered range of all the ct entries 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 CTEntryModelImpl. *

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

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of ct entries * @param end the upper bound of the range of ct entries (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 entries */ 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 entry in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ct entry * @throws NoSuchEntryException if a matching ct entry could not be found */ public CTEntry findByUuid_C_First( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchEntryException; /** * Returns the first ct entry in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ct entry, or null if a matching ct entry could not be found */ public CTEntry fetchByUuid_C_First( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ct entry in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ct entry * @throws NoSuchEntryException if a matching ct entry could not be found */ public CTEntry findByUuid_C_Last( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchEntryException; /** * Returns the last ct entry in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ct entry, or null if a matching ct entry could not be found */ public CTEntry fetchByUuid_C_Last( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ct entries before and after the current ct entry in the ordered set where uuid = ? and companyId = ?. * * @param ctEntryId the primary key of the current ct entry * @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 entry * @throws NoSuchEntryException if a ct entry with the primary key could not be found */ public CTEntry[] findByUuid_C_PrevAndNext( long ctEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchEntryException; /** * Removes all the ct entries 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 entries where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the number of matching ct entries */ public int countByUuid_C(String uuid, long companyId); /** * Returns all the ct entries where ctCollectionId = ?. * * @param ctCollectionId the ct collection ID * @return the matching ct entries */ public java.util.List findByCtCollectionId(long ctCollectionId); /** * Returns a range of all the ct entries where ctCollectionId = ?. * *

* 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 CTEntryModelImpl. *

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

* 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 CTEntryModelImpl. *

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

* 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 CTEntryModelImpl. *

* * @param ctCollectionId the ct collection ID * @param start the lower bound of the range of ct entries * @param end the upper bound of the range of ct entries (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 entries */ public java.util.List findByCtCollectionId( long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first ct entry in the ordered set where ctCollectionId = ?. * * @param ctCollectionId the ct collection ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ct entry * @throws NoSuchEntryException if a matching ct entry could not be found */ public CTEntry findByCtCollectionId_First( long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchEntryException; /** * Returns the first ct entry in the ordered set where ctCollectionId = ?. * * @param ctCollectionId the ct collection ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ct entry, or null if a matching ct entry could not be found */ public CTEntry fetchByCtCollectionId_First( long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ct entry in the ordered set where ctCollectionId = ?. * * @param ctCollectionId the ct collection ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ct entry * @throws NoSuchEntryException if a matching ct entry could not be found */ public CTEntry findByCtCollectionId_Last( long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchEntryException; /** * Returns the last ct entry in the ordered set where ctCollectionId = ?. * * @param ctCollectionId the ct collection ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ct entry, or null if a matching ct entry could not be found */ public CTEntry fetchByCtCollectionId_Last( long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ct entries before and after the current ct entry in the ordered set where ctCollectionId = ?. * * @param ctEntryId the primary key of the current ct entry * @param ctCollectionId the ct collection ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ct entry * @throws NoSuchEntryException if a ct entry with the primary key could not be found */ public CTEntry[] findByCtCollectionId_PrevAndNext( long ctEntryId, long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchEntryException; /** * Removes all the ct entries where ctCollectionId = ? from the database. * * @param ctCollectionId the ct collection ID */ public void removeByCtCollectionId(long ctCollectionId); /** * Returns the number of ct entries where ctCollectionId = ?. * * @param ctCollectionId the ct collection ID * @return the number of matching ct entries */ public int countByCtCollectionId(long ctCollectionId); /** * Returns all the ct entries where ctCollectionId = ? and modelClassNameId = ?. * * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @return the matching ct entries */ public java.util.List findByC_MCNI( long ctCollectionId, long modelClassNameId); /** * Returns a range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?. * *

* 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 CTEntryModelImpl. *

* * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param start the lower bound of the range of ct entries * @param end the upper bound of the range of ct entries (not inclusive) * @return the range of matching ct entries */ public java.util.List findByC_MCNI( long ctCollectionId, long modelClassNameId, int start, int end); /** * Returns an ordered range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?. * *

* 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 CTEntryModelImpl. *

* * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param start the lower bound of the range of ct entries * @param end the upper bound of the range of ct entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ct entries */ public java.util.List findByC_MCNI( long ctCollectionId, long modelClassNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the ct entries where ctCollectionId = ? and modelClassNameId = ?. * *

* 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 CTEntryModelImpl. *

* * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param start the lower bound of the range of ct entries * @param end the upper bound of the range of ct entries (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 entries */ public java.util.List findByC_MCNI( long ctCollectionId, long modelClassNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?. * * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ct entry * @throws NoSuchEntryException if a matching ct entry could not be found */ public CTEntry findByC_MCNI_First( long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchEntryException; /** * Returns the first ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?. * * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ct entry, or null if a matching ct entry could not be found */ public CTEntry fetchByC_MCNI_First( long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?. * * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ct entry * @throws NoSuchEntryException if a matching ct entry could not be found */ public CTEntry findByC_MCNI_Last( long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchEntryException; /** * Returns the last ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?. * * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ct entry, or null if a matching ct entry could not be found */ public CTEntry fetchByC_MCNI_Last( long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ct entries before and after the current ct entry in the ordered set where ctCollectionId = ? and modelClassNameId = ?. * * @param ctEntryId the primary key of the current ct entry * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ct entry * @throws NoSuchEntryException if a ct entry with the primary key could not be found */ public CTEntry[] findByC_MCNI_PrevAndNext( long ctEntryId, long ctCollectionId, long modelClassNameId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchEntryException; /** * Removes all the ct entries where ctCollectionId = ? and modelClassNameId = ? from the database. * * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID */ public void removeByC_MCNI(long ctCollectionId, long modelClassNameId); /** * Returns the number of ct entries where ctCollectionId = ? and modelClassNameId = ?. * * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @return the number of matching ct entries */ public int countByC_MCNI(long ctCollectionId, long modelClassNameId); /** * Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or throws a NoSuchEntryException if it could not be found. * * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param modelClassPK the model class pk * @return the matching ct entry * @throws NoSuchEntryException if a matching ct entry could not be found */ public CTEntry findByC_MCNI_MCPK( long ctCollectionId, long modelClassNameId, long modelClassPK) throws NoSuchEntryException; /** * Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or returns null if it could not be found. Uses the finder cache. * * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param modelClassPK the model class pk * @return the matching ct entry, or null if a matching ct entry could not be found */ public CTEntry fetchByC_MCNI_MCPK( long ctCollectionId, long modelClassNameId, long modelClassPK); /** * Returns the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? or returns null if it could not be found, optionally using the finder cache. * * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param modelClassPK the model class pk * @param useFinderCache whether to use the finder cache * @return the matching ct entry, or null if a matching ct entry could not be found */ public CTEntry fetchByC_MCNI_MCPK( long ctCollectionId, long modelClassNameId, long modelClassPK, boolean useFinderCache); /** * Removes the ct entry where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ? from the database. * * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param modelClassPK the model class pk * @return the ct entry that was removed */ public CTEntry removeByC_MCNI_MCPK( long ctCollectionId, long modelClassNameId, long modelClassPK) throws NoSuchEntryException; /** * Returns the number of ct entries where ctCollectionId = ? and modelClassNameId = ? and modelClassPK = ?. * * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param modelClassPK the model class pk * @return the number of matching ct entries */ public int countByC_MCNI_MCPK( long ctCollectionId, long modelClassNameId, long modelClassPK); /** * Returns all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?. * * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param modelClassPK the model class pk * @return the matching ct entries */ public java.util.List findByNotC_MCNI_MCPK( long ctCollectionId, long modelClassNameId, long modelClassPK); /** * Returns a range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?. * *

* 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 CTEntryModelImpl. *

* * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param modelClassPK the model class pk * @param start the lower bound of the range of ct entries * @param end the upper bound of the range of ct entries (not inclusive) * @return the range of matching ct entries */ public java.util.List findByNotC_MCNI_MCPK( long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end); /** * Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?. * *

* 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 CTEntryModelImpl. *

* * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param modelClassPK the model class pk * @param start the lower bound of the range of ct entries * @param end the upper bound of the range of ct entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ct entries */ public java.util.List findByNotC_MCNI_MCPK( long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?. * *

* 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 CTEntryModelImpl. *

* * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param modelClassPK the model class pk * @param start the lower bound of the range of ct entries * @param end the upper bound of the range of ct entries (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 entries */ public java.util.List findByNotC_MCNI_MCPK( long ctCollectionId, long modelClassNameId, long modelClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?. * * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param modelClassPK the model class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ct entry * @throws NoSuchEntryException if a matching ct entry could not be found */ public CTEntry findByNotC_MCNI_MCPK_First( long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchEntryException; /** * Returns the first ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?. * * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param modelClassPK the model class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ct entry, or null if a matching ct entry could not be found */ public CTEntry fetchByNotC_MCNI_MCPK_First( long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?. * * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param modelClassPK the model class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ct entry * @throws NoSuchEntryException if a matching ct entry could not be found */ public CTEntry findByNotC_MCNI_MCPK_Last( long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchEntryException; /** * Returns the last ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?. * * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param modelClassPK the model class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ct entry, or null if a matching ct entry could not be found */ public CTEntry fetchByNotC_MCNI_MCPK_Last( long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ct entries before and after the current ct entry in the ordered set where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?. * * @param ctEntryId the primary key of the current ct entry * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param modelClassPK the model class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ct entry * @throws NoSuchEntryException if a ct entry with the primary key could not be found */ public CTEntry[] findByNotC_MCNI_MCPK_PrevAndNext( long ctEntryId, long ctCollectionId, long modelClassNameId, long modelClassPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchEntryException; /** * Returns all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = 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 CTEntryModelImpl. *

* * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param modelClassPKs the model class pks * @return the matching ct entries */ public java.util.List findByNotC_MCNI_MCPK( long ctCollectionId, long modelClassNameId, long[] modelClassPKs); /** * Returns a range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = 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 CTEntryModelImpl. *

* * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param modelClassPKs the model class pks * @param start the lower bound of the range of ct entries * @param end the upper bound of the range of ct entries (not inclusive) * @return the range of matching ct entries */ public java.util.List findByNotC_MCNI_MCPK( long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end); /** * Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = 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 CTEntryModelImpl. *

* * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param modelClassPKs the model class pks * @param start the lower bound of the range of ct entries * @param end the upper bound of the range of ct entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ct entries */ public java.util.List findByNotC_MCNI_MCPK( long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?, 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 CTEntryModelImpl. *

* * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param modelClassPKs the model class pks * @param start the lower bound of the range of ct entries * @param end the upper bound of the range of ct entries (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 entries */ public java.util.List findByNotC_MCNI_MCPK( long ctCollectionId, long modelClassNameId, long[] modelClassPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Removes all the ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ? from the database. * * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param modelClassPK the model class pk */ public void removeByNotC_MCNI_MCPK( long ctCollectionId, long modelClassNameId, long modelClassPK); /** * Returns the number of ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = ?. * * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param modelClassPK the model class pk * @return the number of matching ct entries */ public int countByNotC_MCNI_MCPK( long ctCollectionId, long modelClassNameId, long modelClassPK); /** * Returns the number of ct entries where ctCollectionId ≠ ? and modelClassNameId = ? and modelClassPK = any ?. * * @param ctCollectionId the ct collection ID * @param modelClassNameId the model class name ID * @param modelClassPKs the model class pks * @return the number of matching ct entries */ public int countByNotC_MCNI_MCPK( long ctCollectionId, long modelClassNameId, long[] modelClassPKs); /** * Returns the ct entry where externalReferenceCode = ? and companyId = ? or throws a NoSuchEntryException if it could not be found. * * @param externalReferenceCode the external reference code * @param companyId the company ID * @return the matching ct entry * @throws NoSuchEntryException if a matching ct entry could not be found */ public CTEntry findByERC_C(String externalReferenceCode, long companyId) throws NoSuchEntryException; /** * Returns the ct entry 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 entry, or null if a matching ct entry could not be found */ public CTEntry fetchByERC_C(String externalReferenceCode, long companyId); /** * Returns the ct entry 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 entry, or null if a matching ct entry could not be found */ public CTEntry fetchByERC_C( String externalReferenceCode, long companyId, boolean useFinderCache); /** * Removes the ct entry where externalReferenceCode = ? and companyId = ? from the database. * * @param externalReferenceCode the external reference code * @param companyId the company ID * @return the ct entry that was removed */ public CTEntry removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchEntryException; /** * Returns the number of ct entries where externalReferenceCode = ? and companyId = ?. * * @param externalReferenceCode the external reference code * @param companyId the company ID * @return the number of matching ct entries */ public int countByERC_C(String externalReferenceCode, long companyId); /** * Caches the ct entry in the entity cache if it is enabled. * * @param ctEntry the ct entry */ public void cacheResult(CTEntry ctEntry); /** * Caches the ct entries in the entity cache if it is enabled. * * @param ctEntries the ct entries */ public void cacheResult(java.util.List ctEntries); /** * Creates a new ct entry with the primary key. Does not add the ct entry to the database. * * @param ctEntryId the primary key for the new ct entry * @return the new ct entry */ public CTEntry create(long ctEntryId); /** * Removes the ct entry with the primary key from the database. Also notifies the appropriate model listeners. * * @param ctEntryId the primary key of the ct entry * @return the ct entry that was removed * @throws NoSuchEntryException if a ct entry with the primary key could not be found */ public CTEntry remove(long ctEntryId) throws NoSuchEntryException; public CTEntry updateImpl(CTEntry ctEntry); /** * Returns the ct entry with the primary key or throws a NoSuchEntryException if it could not be found. * * @param ctEntryId the primary key of the ct entry * @return the ct entry * @throws NoSuchEntryException if a ct entry with the primary key could not be found */ public CTEntry findByPrimaryKey(long ctEntryId) throws NoSuchEntryException; /** * Returns the ct entry with the primary key or returns null if it could not be found. * * @param ctEntryId the primary key of the ct entry * @return the ct entry, or null if a ct entry with the primary key could not be found */ public CTEntry fetchByPrimaryKey(long ctEntryId); /** * Returns all the ct entries. * * @return the ct entries */ public java.util.List findAll(); /** * Returns a range of all the ct entries. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. 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 CTEntryModelImpl. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. 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 CTEntryModelImpl. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. 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 CTEntryModelImpl. *

* * @param start the lower bound of the range of ct entries * @param end the upper bound of the range of ct entries (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 entries */ public java.util.List findAll( int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Removes all the ct entries from the database. */ public void removeAll(); /** * Returns the number of ct entries. * * @return the number of ct entries */ public int countAll(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy