com.liferay.layout.service.persistence.LayoutClassedModelUsagePersistence Maven / Gradle / Ivy
/**
* 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.layout.service.persistence;
import com.liferay.layout.exception.NoSuchLayoutClassedModelUsageException;
import com.liferay.layout.model.LayoutClassedModelUsage;
import com.liferay.portal.kernel.service.persistence.BasePersistence;
import com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence;
import org.osgi.annotation.versioning.ProviderType;
/**
* The persistence interface for the layout classed model usage service.
*
*
* Caching information and settings can be found in portal.properties
*
*
* @author Brian Wing Shun Chan
* @see LayoutClassedModelUsageUtil
* @generated
*/
@ProviderType
public interface LayoutClassedModelUsagePersistence
extends BasePersistence,
CTPersistence {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. Always use {@link LayoutClassedModelUsageUtil} to access the layout classed model usage persistence. Modify service.xml
and rerun ServiceBuilder to regenerate this interface.
*/
/**
* Returns all the layout classed model usages where uuid = ?.
*
* @param uuid the uuid
* @return the matching layout classed model usages
*/
public java.util.List findByUuid(String uuid);
/**
* Returns a range of all the layout classed model usages 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param uuid the uuid
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (not inclusive)
* @return the range of matching layout classed model usages
*/
public java.util.List findByUuid(
String uuid, int start, int end);
/**
* Returns an ordered range of all the layout classed model usages 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param uuid the uuid
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching layout classed model usages
*/
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 layout classed model usages 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param uuid the uuid
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (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 layout classed model usages
*/
public java.util.List findByUuid(
String uuid, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first layout classed model usage 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 layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage findByUuid_First(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Returns the first layout classed model usage 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 layout classed model usage, or null
if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage fetchByUuid_First(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last layout classed model usage 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 layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage findByUuid_Last(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Returns the last layout classed model usage 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 layout classed model usage, or null
if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage fetchByUuid_Last(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where uuid = ?.
*
* @param layoutClassedModelUsageId the primary key of the current layout classed model usage
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a layout classed model usage with the primary key could not be found
*/
public LayoutClassedModelUsage[] findByUuid_PrevAndNext(
long layoutClassedModelUsageId, String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Removes all the layout classed model usages where uuid = ? from the database.
*
* @param uuid the uuid
*/
public void removeByUuid(String uuid);
/**
* Returns the number of layout classed model usages where uuid = ?.
*
* @param uuid the uuid
* @return the number of matching layout classed model usages
*/
public int countByUuid(String uuid);
/**
* Returns the layout classed model usage where uuid = ? and groupId = ? or throws a NoSuchLayoutClassedModelUsageException
if it could not be found.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the matching layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage findByUUID_G(String uuid, long groupId)
throws NoSuchLayoutClassedModelUsageException;
/**
* Returns the layout classed model usage where uuid = ? and groupId = ? or returns null
if it could not be found. Uses the finder cache.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the matching layout classed model usage, or null
if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage fetchByUUID_G(String uuid, long groupId);
/**
* Returns the layout classed model usage where uuid = ? and groupId = ? or returns null
if it could not be found, optionally using the finder cache.
*
* @param uuid the uuid
* @param groupId the group ID
* @param useFinderCache whether to use the finder cache
* @return the matching layout classed model usage, or null
if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage fetchByUUID_G(
String uuid, long groupId, boolean useFinderCache);
/**
* Removes the layout classed model usage where uuid = ? and groupId = ? from the database.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the layout classed model usage that was removed
*/
public LayoutClassedModelUsage removeByUUID_G(String uuid, long groupId)
throws NoSuchLayoutClassedModelUsageException;
/**
* Returns the number of layout classed model usages where uuid = ? and groupId = ?.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the number of matching layout classed model usages
*/
public int countByUUID_G(String uuid, long groupId);
/**
* Returns all the layout classed model usages where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @return the matching layout classed model usages
*/
public java.util.List findByUuid_C(
String uuid, long companyId);
/**
* Returns a range of all the layout classed model usages 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (not inclusive)
* @return the range of matching layout classed model usages
*/
public java.util.List findByUuid_C(
String uuid, long companyId, int start, int end);
/**
* Returns an ordered range of all the layout classed model usages 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching layout classed model usages
*/
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 layout classed model usages 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (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 layout classed model usages
*/
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 layout classed model usage 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 layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage findByUuid_C_First(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Returns the first layout classed model usage 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 layout classed model usage, or null
if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage fetchByUuid_C_First(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last layout classed model usage 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 layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage findByUuid_C_Last(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Returns the last layout classed model usage 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 layout classed model usage, or null
if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage fetchByUuid_C_Last(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where uuid = ? and companyId = ?.
*
* @param layoutClassedModelUsageId the primary key of the current layout classed model usage
* @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 layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a layout classed model usage with the primary key could not be found
*/
public LayoutClassedModelUsage[] findByUuid_C_PrevAndNext(
long layoutClassedModelUsageId, String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Removes all the layout classed model usages 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 layout classed model usages where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @return the number of matching layout classed model usages
*/
public int countByUuid_C(String uuid, long companyId);
/**
* Returns all the layout classed model usages where plid = ?.
*
* @param plid the plid
* @return the matching layout classed model usages
*/
public java.util.List findByPlid(long plid);
/**
* Returns a range of all the layout classed model usages where plid = ?.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param plid the plid
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (not inclusive)
* @return the range of matching layout classed model usages
*/
public java.util.List findByPlid(
long plid, int start, int end);
/**
* Returns an ordered range of all the layout classed model usages where plid = ?.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param plid the plid
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching layout classed model usages
*/
public java.util.List findByPlid(
long plid, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the layout classed model usages where plid = ?.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param plid the plid
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (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 layout classed model usages
*/
public java.util.List findByPlid(
long plid, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first layout classed model usage in the ordered set where plid = ?.
*
* @param plid the plid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage findByPlid_First(
long plid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Returns the first layout classed model usage in the ordered set where plid = ?.
*
* @param plid the plid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching layout classed model usage, or null
if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage fetchByPlid_First(
long plid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last layout classed model usage in the ordered set where plid = ?.
*
* @param plid the plid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage findByPlid_Last(
long plid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Returns the last layout classed model usage in the ordered set where plid = ?.
*
* @param plid the plid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching layout classed model usage, or null
if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage fetchByPlid_Last(
long plid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where plid = ?.
*
* @param layoutClassedModelUsageId the primary key of the current layout classed model usage
* @param plid the plid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a layout classed model usage with the primary key could not be found
*/
public LayoutClassedModelUsage[] findByPlid_PrevAndNext(
long layoutClassedModelUsageId, long plid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Removes all the layout classed model usages where plid = ? from the database.
*
* @param plid the plid
*/
public void removeByPlid(long plid);
/**
* Returns the number of layout classed model usages where plid = ?.
*
* @param plid the plid
* @return the number of matching layout classed model usages
*/
public int countByPlid(long plid);
/**
* Returns all the layout classed model usages where companyId = ? and classNameId = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @return the matching layout classed model usages
*/
public java.util.List findByC_CN(
long companyId, long classNameId);
/**
* Returns a range of all the layout classed model usages where companyId = ? and classNameId = ?.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (not inclusive)
* @return the range of matching layout classed model usages
*/
public java.util.List findByC_CN(
long companyId, long classNameId, int start, int end);
/**
* Returns an ordered range of all the layout classed model usages where companyId = ? and classNameId = ?.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching layout classed model usages
*/
public java.util.List findByC_CN(
long companyId, long classNameId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the layout classed model usages where companyId = ? and classNameId = ?.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (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 layout classed model usages
*/
public java.util.List findByC_CN(
long companyId, long classNameId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage findByC_CN_First(
long companyId, long classNameId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching layout classed model usage, or null
if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage fetchByC_CN_First(
long companyId, long classNameId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage findByC_CN_Last(
long companyId, long classNameId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching layout classed model usage, or null
if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage fetchByC_CN_Last(
long companyId, long classNameId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where companyId = ? and classNameId = ?.
*
* @param layoutClassedModelUsageId the primary key of the current layout classed model usage
* @param companyId the company ID
* @param classNameId the class name ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a layout classed model usage with the primary key could not be found
*/
public LayoutClassedModelUsage[] findByC_CN_PrevAndNext(
long layoutClassedModelUsageId, long companyId, long classNameId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Removes all the layout classed model usages where companyId = ? and classNameId = ? from the database.
*
* @param companyId the company ID
* @param classNameId the class name ID
*/
public void removeByC_CN(long companyId, long classNameId);
/**
* Returns the number of layout classed model usages where companyId = ? and classNameId = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @return the number of matching layout classed model usages
*/
public int countByC_CN(long companyId, long classNameId);
/**
* Returns all the layout classed model usages where classNameId = ? and classPK = ?.
*
* @param classNameId the class name ID
* @param classPK the class pk
* @return the matching layout classed model usages
*/
public java.util.List findByCN_CPK(
long classNameId, long classPK);
/**
* Returns a range of all the layout classed model usages where classNameId = ? and classPK = ?.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param classNameId the class name ID
* @param classPK the class pk
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (not inclusive)
* @return the range of matching layout classed model usages
*/
public java.util.List findByCN_CPK(
long classNameId, long classPK, int start, int end);
/**
* Returns an ordered range of all the layout classed model usages where classNameId = ? and classPK = ?.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param classNameId the class name ID
* @param classPK the class pk
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching layout classed model usages
*/
public java.util.List findByCN_CPK(
long classNameId, long classPK, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the layout classed model usages where classNameId = ? and classPK = ?.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param classNameId the class name ID
* @param classPK the class pk
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (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 layout classed model usages
*/
public java.util.List findByCN_CPK(
long classNameId, long classPK, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first layout classed model usage in the ordered set where classNameId = ? and classPK = ?.
*
* @param classNameId the class name ID
* @param classPK the class pk
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage findByCN_CPK_First(
long classNameId, long classPK,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Returns the first layout classed model usage in the ordered set where classNameId = ? and classPK = ?.
*
* @param classNameId the class name ID
* @param classPK the class pk
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching layout classed model usage, or null
if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage fetchByCN_CPK_First(
long classNameId, long classPK,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last layout classed model usage in the ordered set where classNameId = ? and classPK = ?.
*
* @param classNameId the class name ID
* @param classPK the class pk
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage findByCN_CPK_Last(
long classNameId, long classPK,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Returns the last layout classed model usage in the ordered set where classNameId = ? and classPK = ?.
*
* @param classNameId the class name ID
* @param classPK the class pk
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching layout classed model usage, or null
if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage fetchByCN_CPK_Last(
long classNameId, long classPK,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where classNameId = ? and classPK = ?.
*
* @param layoutClassedModelUsageId the primary key of the current layout classed model usage
* @param classNameId the class name ID
* @param classPK the class pk
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a layout classed model usage with the primary key could not be found
*/
public LayoutClassedModelUsage[] findByCN_CPK_PrevAndNext(
long layoutClassedModelUsageId, long classNameId, long classPK,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Removes all the layout classed model usages where classNameId = ? and classPK = ? from the database.
*
* @param classNameId the class name ID
* @param classPK the class pk
*/
public void removeByCN_CPK(long classNameId, long classPK);
/**
* Returns the number of layout classed model usages where classNameId = ? and classPK = ?.
*
* @param classNameId the class name ID
* @param classPK the class pk
* @return the number of matching layout classed model usages
*/
public int countByCN_CPK(long classNameId, long classPK);
/**
* Returns all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param classedModelExternalReferenceCode the classed model external reference code
* @return the matching layout classed model usages
*/
public java.util.List findByC_CN_CMERC(
long companyId, long classNameId,
String classedModelExternalReferenceCode);
/**
* Returns a range of all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param classedModelExternalReferenceCode the classed model external reference code
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (not inclusive)
* @return the range of matching layout classed model usages
*/
public java.util.List findByC_CN_CMERC(
long companyId, long classNameId,
String classedModelExternalReferenceCode, int start, int end);
/**
* Returns an ordered range of all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param classedModelExternalReferenceCode the classed model external reference code
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching layout classed model usages
*/
public java.util.List findByC_CN_CMERC(
long companyId, long classNameId,
String classedModelExternalReferenceCode, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param classedModelExternalReferenceCode the classed model external reference code
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (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 layout classed model usages
*/
public java.util.List findByC_CN_CMERC(
long companyId, long classNameId,
String classedModelExternalReferenceCode, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param classedModelExternalReferenceCode the classed model external reference code
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage findByC_CN_CMERC_First(
long companyId, long classNameId,
String classedModelExternalReferenceCode,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param classedModelExternalReferenceCode the classed model external reference code
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching layout classed model usage, or null
if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage fetchByC_CN_CMERC_First(
long companyId, long classNameId,
String classedModelExternalReferenceCode,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param classedModelExternalReferenceCode the classed model external reference code
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage findByC_CN_CMERC_Last(
long companyId, long classNameId,
String classedModelExternalReferenceCode,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param classedModelExternalReferenceCode the classed model external reference code
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching layout classed model usage, or null
if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage fetchByC_CN_CMERC_Last(
long companyId, long classNameId,
String classedModelExternalReferenceCode,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.
*
* @param layoutClassedModelUsageId the primary key of the current layout classed model usage
* @param companyId the company ID
* @param classNameId the class name ID
* @param classedModelExternalReferenceCode the classed model external reference code
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a layout classed model usage with the primary key could not be found
*/
public LayoutClassedModelUsage[] findByC_CN_CMERC_PrevAndNext(
long layoutClassedModelUsageId, long companyId, long classNameId,
String classedModelExternalReferenceCode,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Removes all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? from the database.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param classedModelExternalReferenceCode the classed model external reference code
*/
public void removeByC_CN_CMERC(
long companyId, long classNameId,
String classedModelExternalReferenceCode);
/**
* Returns the number of layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param classedModelExternalReferenceCode the classed model external reference code
* @return the number of matching layout classed model usages
*/
public int countByC_CN_CMERC(
long companyId, long classNameId,
String classedModelExternalReferenceCode);
/**
* Returns all the layout classed model usages where companyId = ? and classNameId = ? and containerType = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param containerType the container type
* @return the matching layout classed model usages
*/
public java.util.List findByC_CN_CT(
long companyId, long classNameId, long containerType);
/**
* Returns a range of all the layout classed model usages where companyId = ? and classNameId = ? and containerType = ?.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param containerType the container type
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (not inclusive)
* @return the range of matching layout classed model usages
*/
public java.util.List findByC_CN_CT(
long companyId, long classNameId, long containerType, int start,
int end);
/**
* Returns an ordered range of all the layout classed model usages where companyId = ? and classNameId = ? and containerType = ?.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param containerType the container type
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching layout classed model usages
*/
public java.util.List findByC_CN_CT(
long companyId, long classNameId, long containerType, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the layout classed model usages where companyId = ? and classNameId = ? and containerType = ?.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param containerType the container type
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (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 layout classed model usages
*/
public java.util.List findByC_CN_CT(
long companyId, long classNameId, long containerType, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ? and containerType = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param containerType the container type
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage findByC_CN_CT_First(
long companyId, long classNameId, long containerType,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ? and containerType = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param containerType the container type
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching layout classed model usage, or null
if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage fetchByC_CN_CT_First(
long companyId, long classNameId, long containerType,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ? and containerType = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param containerType the container type
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage findByC_CN_CT_Last(
long companyId, long classNameId, long containerType,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ? and containerType = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param containerType the container type
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching layout classed model usage, or null
if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage fetchByC_CN_CT_Last(
long companyId, long classNameId, long containerType,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where companyId = ? and classNameId = ? and containerType = ?.
*
* @param layoutClassedModelUsageId the primary key of the current layout classed model usage
* @param companyId the company ID
* @param classNameId the class name ID
* @param containerType the container type
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a layout classed model usage with the primary key could not be found
*/
public LayoutClassedModelUsage[] findByC_CN_CT_PrevAndNext(
long layoutClassedModelUsageId, long companyId, long classNameId,
long containerType,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Removes all the layout classed model usages where companyId = ? and classNameId = ? and containerType = ? from the database.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param containerType the container type
*/
public void removeByC_CN_CT(
long companyId, long classNameId, long containerType);
/**
* Returns the number of layout classed model usages where companyId = ? and classNameId = ? and containerType = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param containerType the container type
* @return the number of matching layout classed model usages
*/
public int countByC_CN_CT(
long companyId, long classNameId, long containerType);
/**
* Returns all the layout classed model usages where classNameId = ? and classPK = ? and type = ?.
*
* @param classNameId the class name ID
* @param classPK the class pk
* @param type the type
* @return the matching layout classed model usages
*/
public java.util.List findByCN_CPK_T(
long classNameId, long classPK, int type);
/**
* Returns a range of all the layout classed model usages where classNameId = ? and classPK = ? and type = ?.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param classNameId the class name ID
* @param classPK the class pk
* @param type the type
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (not inclusive)
* @return the range of matching layout classed model usages
*/
public java.util.List findByCN_CPK_T(
long classNameId, long classPK, int type, int start, int end);
/**
* Returns an ordered range of all the layout classed model usages where classNameId = ? and classPK = ? and type = ?.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param classNameId the class name ID
* @param classPK the class pk
* @param type the type
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching layout classed model usages
*/
public java.util.List findByCN_CPK_T(
long classNameId, long classPK, int type, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the layout classed model usages where classNameId = ? and classPK = ? and type = ?.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param classNameId the class name ID
* @param classPK the class pk
* @param type the type
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (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 layout classed model usages
*/
public java.util.List findByCN_CPK_T(
long classNameId, long classPK, int type, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first layout classed model usage in the ordered set where classNameId = ? and classPK = ? and type = ?.
*
* @param classNameId the class name ID
* @param classPK the class pk
* @param type the type
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage findByCN_CPK_T_First(
long classNameId, long classPK, int type,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Returns the first layout classed model usage in the ordered set where classNameId = ? and classPK = ? and type = ?.
*
* @param classNameId the class name ID
* @param classPK the class pk
* @param type the type
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching layout classed model usage, or null
if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage fetchByCN_CPK_T_First(
long classNameId, long classPK, int type,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last layout classed model usage in the ordered set where classNameId = ? and classPK = ? and type = ?.
*
* @param classNameId the class name ID
* @param classPK the class pk
* @param type the type
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage findByCN_CPK_T_Last(
long classNameId, long classPK, int type,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Returns the last layout classed model usage in the ordered set where classNameId = ? and classPK = ? and type = ?.
*
* @param classNameId the class name ID
* @param classPK the class pk
* @param type the type
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching layout classed model usage, or null
if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage fetchByCN_CPK_T_Last(
long classNameId, long classPK, int type,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where classNameId = ? and classPK = ? and type = ?.
*
* @param layoutClassedModelUsageId the primary key of the current layout classed model usage
* @param classNameId the class name ID
* @param classPK the class pk
* @param type the type
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a layout classed model usage with the primary key could not be found
*/
public LayoutClassedModelUsage[] findByCN_CPK_T_PrevAndNext(
long layoutClassedModelUsageId, long classNameId, long classPK,
int type,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Removes all the layout classed model usages where classNameId = ? and classPK = ? and type = ? from the database.
*
* @param classNameId the class name ID
* @param classPK the class pk
* @param type the type
*/
public void removeByCN_CPK_T(long classNameId, long classPK, int type);
/**
* Returns the number of layout classed model usages where classNameId = ? and classPK = ? and type = ?.
*
* @param classNameId the class name ID
* @param classPK the class pk
* @param type the type
* @return the number of matching layout classed model usages
*/
public int countByCN_CPK_T(long classNameId, long classPK, int type);
/**
* Returns all the layout classed model usages where containerKey = ? and containerType = ? and plid = ?.
*
* @param containerKey the container key
* @param containerType the container type
* @param plid the plid
* @return the matching layout classed model usages
*/
public java.util.List findByCK_CT_P(
String containerKey, long containerType, long plid);
/**
* Returns a range of all the layout classed model usages where containerKey = ? and containerType = ? and plid = ?.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param containerKey the container key
* @param containerType the container type
* @param plid the plid
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (not inclusive)
* @return the range of matching layout classed model usages
*/
public java.util.List findByCK_CT_P(
String containerKey, long containerType, long plid, int start, int end);
/**
* Returns an ordered range of all the layout classed model usages where containerKey = ? and containerType = ? and plid = ?.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param containerKey the container key
* @param containerType the container type
* @param plid the plid
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching layout classed model usages
*/
public java.util.List findByCK_CT_P(
String containerKey, long containerType, long plid, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the layout classed model usages where containerKey = ? and containerType = ? and plid = ?.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param containerKey the container key
* @param containerType the container type
* @param plid the plid
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (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 layout classed model usages
*/
public java.util.List findByCK_CT_P(
String containerKey, long containerType, long plid, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first layout classed model usage in the ordered set where containerKey = ? and containerType = ? and plid = ?.
*
* @param containerKey the container key
* @param containerType the container type
* @param plid the plid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage findByCK_CT_P_First(
String containerKey, long containerType, long plid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Returns the first layout classed model usage in the ordered set where containerKey = ? and containerType = ? and plid = ?.
*
* @param containerKey the container key
* @param containerType the container type
* @param plid the plid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching layout classed model usage, or null
if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage fetchByCK_CT_P_First(
String containerKey, long containerType, long plid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last layout classed model usage in the ordered set where containerKey = ? and containerType = ? and plid = ?.
*
* @param containerKey the container key
* @param containerType the container type
* @param plid the plid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage findByCK_CT_P_Last(
String containerKey, long containerType, long plid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Returns the last layout classed model usage in the ordered set where containerKey = ? and containerType = ? and plid = ?.
*
* @param containerKey the container key
* @param containerType the container type
* @param plid the plid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching layout classed model usage, or null
if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage fetchByCK_CT_P_Last(
String containerKey, long containerType, long plid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where containerKey = ? and containerType = ? and plid = ?.
*
* @param layoutClassedModelUsageId the primary key of the current layout classed model usage
* @param containerKey the container key
* @param containerType the container type
* @param plid the plid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a layout classed model usage with the primary key could not be found
*/
public LayoutClassedModelUsage[] findByCK_CT_P_PrevAndNext(
long layoutClassedModelUsageId, String containerKey,
long containerType, long plid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Removes all the layout classed model usages where containerKey = ? and containerType = ? and plid = ? from the database.
*
* @param containerKey the container key
* @param containerType the container type
* @param plid the plid
*/
public void removeByCK_CT_P(
String containerKey, long containerType, long plid);
/**
* Returns the number of layout classed model usages where containerKey = ? and containerType = ? and plid = ?.
*
* @param containerKey the container key
* @param containerType the container type
* @param plid the plid
* @return the number of matching layout classed model usages
*/
public int countByCK_CT_P(
String containerKey, long containerType, long plid);
/**
* Returns all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param classedModelExternalReferenceCode the classed model external reference code
* @param type the type
* @return the matching layout classed model usages
*/
public java.util.List findByC_CN_CMERC_T(
long companyId, long classNameId,
String classedModelExternalReferenceCode, int type);
/**
* Returns a range of all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param classedModelExternalReferenceCode the classed model external reference code
* @param type the type
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (not inclusive)
* @return the range of matching layout classed model usages
*/
public java.util.List findByC_CN_CMERC_T(
long companyId, long classNameId,
String classedModelExternalReferenceCode, int type, int start, int end);
/**
* Returns an ordered range of all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param classedModelExternalReferenceCode the classed model external reference code
* @param type the type
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching layout classed model usages
*/
public java.util.List findByC_CN_CMERC_T(
long companyId, long classNameId,
String classedModelExternalReferenceCode, int type, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param classedModelExternalReferenceCode the classed model external reference code
* @param type the type
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (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 layout classed model usages
*/
public java.util.List findByC_CN_CMERC_T(
long companyId, long classNameId,
String classedModelExternalReferenceCode, int type, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param classedModelExternalReferenceCode the classed model external reference code
* @param type the type
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage findByC_CN_CMERC_T_First(
long companyId, long classNameId,
String classedModelExternalReferenceCode, int type,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Returns the first layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param classedModelExternalReferenceCode the classed model external reference code
* @param type the type
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching layout classed model usage, or null
if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage fetchByC_CN_CMERC_T_First(
long companyId, long classNameId,
String classedModelExternalReferenceCode, int type,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param classedModelExternalReferenceCode the classed model external reference code
* @param type the type
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage findByC_CN_CMERC_T_Last(
long companyId, long classNameId,
String classedModelExternalReferenceCode, int type,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Returns the last layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param classedModelExternalReferenceCode the classed model external reference code
* @param type the type
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching layout classed model usage, or null
if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage fetchByC_CN_CMERC_T_Last(
long companyId, long classNameId,
String classedModelExternalReferenceCode, int type,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the layout classed model usages before and after the current layout classed model usage in the ordered set where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.
*
* @param layoutClassedModelUsageId the primary key of the current layout classed model usage
* @param companyId the company ID
* @param classNameId the class name ID
* @param classedModelExternalReferenceCode the classed model external reference code
* @param type the type
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a layout classed model usage with the primary key could not be found
*/
public LayoutClassedModelUsage[] findByC_CN_CMERC_T_PrevAndNext(
long layoutClassedModelUsageId, long companyId, long classNameId,
String classedModelExternalReferenceCode, int type,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutClassedModelUsageException;
/**
* Removes all the layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ? from the database.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param classedModelExternalReferenceCode the classed model external reference code
* @param type the type
*/
public void removeByC_CN_CMERC_T(
long companyId, long classNameId,
String classedModelExternalReferenceCode, int type);
/**
* Returns the number of layout classed model usages where companyId = ? and classNameId = ? and classedModelExternalReferenceCode = ? and type = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param classedModelExternalReferenceCode the classed model external reference code
* @param type the type
* @return the number of matching layout classed model usages
*/
public int countByC_CN_CMERC_T(
long companyId, long classNameId,
String classedModelExternalReferenceCode, int type);
/**
* Returns the layout classed model usage where groupId = ? and classNameId = ? and classPK = ? and classedModelExternalReferenceCode = ? and containerKey = ? and containerType = ? and plid = ? or throws a NoSuchLayoutClassedModelUsageException
if it could not be found.
*
* @param groupId the group ID
* @param classNameId the class name ID
* @param classPK the class pk
* @param classedModelExternalReferenceCode the classed model external reference code
* @param containerKey the container key
* @param containerType the container type
* @param plid the plid
* @return the matching layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage findByG_CN_CPK_CMERC_CK_CT_P(
long groupId, long classNameId, long classPK,
String classedModelExternalReferenceCode, String containerKey,
long containerType, long plid)
throws NoSuchLayoutClassedModelUsageException;
/**
* Returns the layout classed model usage where groupId = ? and classNameId = ? and classPK = ? and classedModelExternalReferenceCode = ? and containerKey = ? and containerType = ? and plid = ? or returns null
if it could not be found. Uses the finder cache.
*
* @param groupId the group ID
* @param classNameId the class name ID
* @param classPK the class pk
* @param classedModelExternalReferenceCode the classed model external reference code
* @param containerKey the container key
* @param containerType the container type
* @param plid the plid
* @return the matching layout classed model usage, or null
if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage fetchByG_CN_CPK_CMERC_CK_CT_P(
long groupId, long classNameId, long classPK,
String classedModelExternalReferenceCode, String containerKey,
long containerType, long plid);
/**
* Returns the layout classed model usage where groupId = ? and classNameId = ? and classPK = ? and classedModelExternalReferenceCode = ? and containerKey = ? and containerType = ? and plid = ? or returns null
if it could not be found, optionally using the finder cache.
*
* @param groupId the group ID
* @param classNameId the class name ID
* @param classPK the class pk
* @param classedModelExternalReferenceCode the classed model external reference code
* @param containerKey the container key
* @param containerType the container type
* @param plid the plid
* @param useFinderCache whether to use the finder cache
* @return the matching layout classed model usage, or null
if a matching layout classed model usage could not be found
*/
public LayoutClassedModelUsage fetchByG_CN_CPK_CMERC_CK_CT_P(
long groupId, long classNameId, long classPK,
String classedModelExternalReferenceCode, String containerKey,
long containerType, long plid, boolean useFinderCache);
/**
* Removes the layout classed model usage where groupId = ? and classNameId = ? and classPK = ? and classedModelExternalReferenceCode = ? and containerKey = ? and containerType = ? and plid = ? from the database.
*
* @param groupId the group ID
* @param classNameId the class name ID
* @param classPK the class pk
* @param classedModelExternalReferenceCode the classed model external reference code
* @param containerKey the container key
* @param containerType the container type
* @param plid the plid
* @return the layout classed model usage that was removed
*/
public LayoutClassedModelUsage removeByG_CN_CPK_CMERC_CK_CT_P(
long groupId, long classNameId, long classPK,
String classedModelExternalReferenceCode, String containerKey,
long containerType, long plid)
throws NoSuchLayoutClassedModelUsageException;
/**
* Returns the number of layout classed model usages where groupId = ? and classNameId = ? and classPK = ? and classedModelExternalReferenceCode = ? and containerKey = ? and containerType = ? and plid = ?.
*
* @param groupId the group ID
* @param classNameId the class name ID
* @param classPK the class pk
* @param classedModelExternalReferenceCode the classed model external reference code
* @param containerKey the container key
* @param containerType the container type
* @param plid the plid
* @return the number of matching layout classed model usages
*/
public int countByG_CN_CPK_CMERC_CK_CT_P(
long groupId, long classNameId, long classPK,
String classedModelExternalReferenceCode, String containerKey,
long containerType, long plid);
/**
* Caches the layout classed model usage in the entity cache if it is enabled.
*
* @param layoutClassedModelUsage the layout classed model usage
*/
public void cacheResult(LayoutClassedModelUsage layoutClassedModelUsage);
/**
* Caches the layout classed model usages in the entity cache if it is enabled.
*
* @param layoutClassedModelUsages the layout classed model usages
*/
public void cacheResult(
java.util.List layoutClassedModelUsages);
/**
* Creates a new layout classed model usage with the primary key. Does not add the layout classed model usage to the database.
*
* @param layoutClassedModelUsageId the primary key for the new layout classed model usage
* @return the new layout classed model usage
*/
public LayoutClassedModelUsage create(long layoutClassedModelUsageId);
/**
* Removes the layout classed model usage with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param layoutClassedModelUsageId the primary key of the layout classed model usage
* @return the layout classed model usage that was removed
* @throws NoSuchLayoutClassedModelUsageException if a layout classed model usage with the primary key could not be found
*/
public LayoutClassedModelUsage remove(long layoutClassedModelUsageId)
throws NoSuchLayoutClassedModelUsageException;
public LayoutClassedModelUsage updateImpl(
LayoutClassedModelUsage layoutClassedModelUsage);
/**
* Returns the layout classed model usage with the primary key or throws a NoSuchLayoutClassedModelUsageException
if it could not be found.
*
* @param layoutClassedModelUsageId the primary key of the layout classed model usage
* @return the layout classed model usage
* @throws NoSuchLayoutClassedModelUsageException if a layout classed model usage with the primary key could not be found
*/
public LayoutClassedModelUsage findByPrimaryKey(
long layoutClassedModelUsageId)
throws NoSuchLayoutClassedModelUsageException;
/**
* Returns the layout classed model usage with the primary key or returns null
if it could not be found.
*
* @param layoutClassedModelUsageId the primary key of the layout classed model usage
* @return the layout classed model usage, or null
if a layout classed model usage with the primary key could not be found
*/
public LayoutClassedModelUsage fetchByPrimaryKey(
long layoutClassedModelUsageId);
/**
* Returns all the layout classed model usages.
*
* @return the layout classed model usages
*/
public java.util.List findAll();
/**
* Returns a range of all the layout classed model usages.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (not inclusive)
* @return the range of layout classed model usages
*/
public java.util.List findAll(int start, int end);
/**
* Returns an ordered range of all the layout classed model usages.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of layout classed model usages
*/
public java.util.List findAll(
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the layout classed model usages.
*
*
* 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 LayoutClassedModelUsageModelImpl
.
*
*
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (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 layout classed model usages
*/
public java.util.List findAll(
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Removes all the layout classed model usages from the database.
*/
public void removeAll();
/**
* Returns the number of layout classed model usages.
*
* @return the number of layout classed model usages
*/
public int countAll();
}