com.liferay.layout.service.persistence.LayoutLocalizationPersistence 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.NoSuchLayoutLocalizationException;
import com.liferay.layout.model.LayoutLocalization;
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 localization service.
*
*
* Caching information and settings can be found in portal.properties
*
*
* @author Brian Wing Shun Chan
* @see LayoutLocalizationUtil
* @generated
*/
@ProviderType
public interface LayoutLocalizationPersistence
extends BasePersistence,
CTPersistence {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. Always use {@link LayoutLocalizationUtil} to access the layout localization persistence. Modify service.xml
and rerun ServiceBuilder to regenerate this interface.
*/
/**
* Returns all the layout localizations where uuid = ?.
*
* @param uuid the uuid
* @return the matching layout localizations
*/
public java.util.List findByUuid(String uuid);
/**
* Returns a range of all the layout localizations 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 LayoutLocalizationModelImpl
.
*
*
* @param uuid the uuid
* @param start the lower bound of the range of layout localizations
* @param end the upper bound of the range of layout localizations (not inclusive)
* @return the range of matching layout localizations
*/
public java.util.List findByUuid(
String uuid, int start, int end);
/**
* Returns an ordered range of all the layout localizations 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 LayoutLocalizationModelImpl
.
*
*
* @param uuid the uuid
* @param start the lower bound of the range of layout localizations
* @param end the upper bound of the range of layout localizations (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching layout localizations
*/
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 localizations 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 LayoutLocalizationModelImpl
.
*
*
* @param uuid the uuid
* @param start the lower bound of the range of layout localizations
* @param end the upper bound of the range of layout localizations (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 localizations
*/
public java.util.List findByUuid(
String uuid, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first layout localization 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 localization
* @throws NoSuchLayoutLocalizationException if a matching layout localization could not be found
*/
public LayoutLocalization findByUuid_First(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutLocalizationException;
/**
* Returns the first layout localization 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 localization, or null
if a matching layout localization could not be found
*/
public LayoutLocalization fetchByUuid_First(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last layout localization 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 localization
* @throws NoSuchLayoutLocalizationException if a matching layout localization could not be found
*/
public LayoutLocalization findByUuid_Last(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutLocalizationException;
/**
* Returns the last layout localization 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 localization, or null
if a matching layout localization could not be found
*/
public LayoutLocalization fetchByUuid_Last(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the layout localizations before and after the current layout localization in the ordered set where uuid = ?.
*
* @param layoutLocalizationId the primary key of the current layout localization
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next layout localization
* @throws NoSuchLayoutLocalizationException if a layout localization with the primary key could not be found
*/
public LayoutLocalization[] findByUuid_PrevAndNext(
long layoutLocalizationId, String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutLocalizationException;
/**
* Removes all the layout localizations where uuid = ? from the database.
*
* @param uuid the uuid
*/
public void removeByUuid(String uuid);
/**
* Returns the number of layout localizations where uuid = ?.
*
* @param uuid the uuid
* @return the number of matching layout localizations
*/
public int countByUuid(String uuid);
/**
* Returns the layout localization where uuid = ? and groupId = ? or throws a NoSuchLayoutLocalizationException
if it could not be found.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the matching layout localization
* @throws NoSuchLayoutLocalizationException if a matching layout localization could not be found
*/
public LayoutLocalization findByUUID_G(String uuid, long groupId)
throws NoSuchLayoutLocalizationException;
/**
* Returns the layout localization 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 localization, or null
if a matching layout localization could not be found
*/
public LayoutLocalization fetchByUUID_G(String uuid, long groupId);
/**
* Returns the layout localization 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 localization, or null
if a matching layout localization could not be found
*/
public LayoutLocalization fetchByUUID_G(
String uuid, long groupId, boolean useFinderCache);
/**
* Removes the layout localization where uuid = ? and groupId = ? from the database.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the layout localization that was removed
*/
public LayoutLocalization removeByUUID_G(String uuid, long groupId)
throws NoSuchLayoutLocalizationException;
/**
* Returns the number of layout localizations where uuid = ? and groupId = ?.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the number of matching layout localizations
*/
public int countByUUID_G(String uuid, long groupId);
/**
* Returns all the layout localizations where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @return the matching layout localizations
*/
public java.util.List findByUuid_C(
String uuid, long companyId);
/**
* Returns a range of all the layout localizations 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 LayoutLocalizationModelImpl
.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @param start the lower bound of the range of layout localizations
* @param end the upper bound of the range of layout localizations (not inclusive)
* @return the range of matching layout localizations
*/
public java.util.List findByUuid_C(
String uuid, long companyId, int start, int end);
/**
* Returns an ordered range of all the layout localizations 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 LayoutLocalizationModelImpl
.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @param start the lower bound of the range of layout localizations
* @param end the upper bound of the range of layout localizations (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching layout localizations
*/
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 localizations 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 LayoutLocalizationModelImpl
.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @param start the lower bound of the range of layout localizations
* @param end the upper bound of the range of layout localizations (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 localizations
*/
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 localization 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 localization
* @throws NoSuchLayoutLocalizationException if a matching layout localization could not be found
*/
public LayoutLocalization findByUuid_C_First(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutLocalizationException;
/**
* Returns the first layout localization 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 localization, or null
if a matching layout localization could not be found
*/
public LayoutLocalization fetchByUuid_C_First(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last layout localization 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 localization
* @throws NoSuchLayoutLocalizationException if a matching layout localization could not be found
*/
public LayoutLocalization findByUuid_C_Last(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutLocalizationException;
/**
* Returns the last layout localization 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 localization, or null
if a matching layout localization could not be found
*/
public LayoutLocalization fetchByUuid_C_Last(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the layout localizations before and after the current layout localization in the ordered set where uuid = ? and companyId = ?.
*
* @param layoutLocalizationId the primary key of the current layout localization
* @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 localization
* @throws NoSuchLayoutLocalizationException if a layout localization with the primary key could not be found
*/
public LayoutLocalization[] findByUuid_C_PrevAndNext(
long layoutLocalizationId, String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutLocalizationException;
/**
* Removes all the layout localizations 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 localizations where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @return the number of matching layout localizations
*/
public int countByUuid_C(String uuid, long companyId);
/**
* Returns all the layout localizations where plid = ?.
*
* @param plid the plid
* @return the matching layout localizations
*/
public java.util.List findByPlid(long plid);
/**
* Returns a range of all the layout localizations 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 LayoutLocalizationModelImpl
.
*
*
* @param plid the plid
* @param start the lower bound of the range of layout localizations
* @param end the upper bound of the range of layout localizations (not inclusive)
* @return the range of matching layout localizations
*/
public java.util.List findByPlid(
long plid, int start, int end);
/**
* Returns an ordered range of all the layout localizations 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 LayoutLocalizationModelImpl
.
*
*
* @param plid the plid
* @param start the lower bound of the range of layout localizations
* @param end the upper bound of the range of layout localizations (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching layout localizations
*/
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 localizations 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 LayoutLocalizationModelImpl
.
*
*
* @param plid the plid
* @param start the lower bound of the range of layout localizations
* @param end the upper bound of the range of layout localizations (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 localizations
*/
public java.util.List findByPlid(
long plid, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first layout localization 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 localization
* @throws NoSuchLayoutLocalizationException if a matching layout localization could not be found
*/
public LayoutLocalization findByPlid_First(
long plid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutLocalizationException;
/**
* Returns the first layout localization 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 localization, or null
if a matching layout localization could not be found
*/
public LayoutLocalization fetchByPlid_First(
long plid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last layout localization 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 localization
* @throws NoSuchLayoutLocalizationException if a matching layout localization could not be found
*/
public LayoutLocalization findByPlid_Last(
long plid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutLocalizationException;
/**
* Returns the last layout localization 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 localization, or null
if a matching layout localization could not be found
*/
public LayoutLocalization fetchByPlid_Last(
long plid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the layout localizations before and after the current layout localization in the ordered set where plid = ?.
*
* @param layoutLocalizationId the primary key of the current layout localization
* @param plid the plid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next layout localization
* @throws NoSuchLayoutLocalizationException if a layout localization with the primary key could not be found
*/
public LayoutLocalization[] findByPlid_PrevAndNext(
long layoutLocalizationId, long plid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchLayoutLocalizationException;
/**
* Removes all the layout localizations where plid = ? from the database.
*
* @param plid the plid
*/
public void removeByPlid(long plid);
/**
* Returns the number of layout localizations where plid = ?.
*
* @param plid the plid
* @return the number of matching layout localizations
*/
public int countByPlid(long plid);
/**
* Returns the layout localization where languageId = ? and plid = ? or throws a NoSuchLayoutLocalizationException
if it could not be found.
*
* @param languageId the language ID
* @param plid the plid
* @return the matching layout localization
* @throws NoSuchLayoutLocalizationException if a matching layout localization could not be found
*/
public LayoutLocalization findByL_P(String languageId, long plid)
throws NoSuchLayoutLocalizationException;
/**
* Returns the layout localization where languageId = ? and plid = ? or returns null
if it could not be found. Uses the finder cache.
*
* @param languageId the language ID
* @param plid the plid
* @return the matching layout localization, or null
if a matching layout localization could not be found
*/
public LayoutLocalization fetchByL_P(String languageId, long plid);
/**
* Returns the layout localization where languageId = ? and plid = ? or returns null
if it could not be found, optionally using the finder cache.
*
* @param languageId the language ID
* @param plid the plid
* @param useFinderCache whether to use the finder cache
* @return the matching layout localization, or null
if a matching layout localization could not be found
*/
public LayoutLocalization fetchByL_P(
String languageId, long plid, boolean useFinderCache);
/**
* Removes the layout localization where languageId = ? and plid = ? from the database.
*
* @param languageId the language ID
* @param plid the plid
* @return the layout localization that was removed
*/
public LayoutLocalization removeByL_P(String languageId, long plid)
throws NoSuchLayoutLocalizationException;
/**
* Returns the number of layout localizations where languageId = ? and plid = ?.
*
* @param languageId the language ID
* @param plid the plid
* @return the number of matching layout localizations
*/
public int countByL_P(String languageId, long plid);
/**
* Returns the layout localization where groupId = ? and languageId = ? and plid = ? or throws a NoSuchLayoutLocalizationException
if it could not be found.
*
* @param groupId the group ID
* @param languageId the language ID
* @param plid the plid
* @return the matching layout localization
* @throws NoSuchLayoutLocalizationException if a matching layout localization could not be found
*/
public LayoutLocalization findByG_L_P(
long groupId, String languageId, long plid)
throws NoSuchLayoutLocalizationException;
/**
* Returns the layout localization where groupId = ? and languageId = ? and plid = ? or returns null
if it could not be found. Uses the finder cache.
*
* @param groupId the group ID
* @param languageId the language ID
* @param plid the plid
* @return the matching layout localization, or null
if a matching layout localization could not be found
*/
public LayoutLocalization fetchByG_L_P(
long groupId, String languageId, long plid);
/**
* Returns the layout localization where groupId = ? and languageId = ? and plid = ? or returns null
if it could not be found, optionally using the finder cache.
*
* @param groupId the group ID
* @param languageId the language ID
* @param plid the plid
* @param useFinderCache whether to use the finder cache
* @return the matching layout localization, or null
if a matching layout localization could not be found
*/
public LayoutLocalization fetchByG_L_P(
long groupId, String languageId, long plid, boolean useFinderCache);
/**
* Removes the layout localization where groupId = ? and languageId = ? and plid = ? from the database.
*
* @param groupId the group ID
* @param languageId the language ID
* @param plid the plid
* @return the layout localization that was removed
*/
public LayoutLocalization removeByG_L_P(
long groupId, String languageId, long plid)
throws NoSuchLayoutLocalizationException;
/**
* Returns the number of layout localizations where groupId = ? and languageId = ? and plid = ?.
*
* @param groupId the group ID
* @param languageId the language ID
* @param plid the plid
* @return the number of matching layout localizations
*/
public int countByG_L_P(long groupId, String languageId, long plid);
/**
* Caches the layout localization in the entity cache if it is enabled.
*
* @param layoutLocalization the layout localization
*/
public void cacheResult(LayoutLocalization layoutLocalization);
/**
* Caches the layout localizations in the entity cache if it is enabled.
*
* @param layoutLocalizations the layout localizations
*/
public void cacheResult(
java.util.List layoutLocalizations);
/**
* Creates a new layout localization with the primary key. Does not add the layout localization to the database.
*
* @param layoutLocalizationId the primary key for the new layout localization
* @return the new layout localization
*/
public LayoutLocalization create(long layoutLocalizationId);
/**
* Removes the layout localization with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param layoutLocalizationId the primary key of the layout localization
* @return the layout localization that was removed
* @throws NoSuchLayoutLocalizationException if a layout localization with the primary key could not be found
*/
public LayoutLocalization remove(long layoutLocalizationId)
throws NoSuchLayoutLocalizationException;
public LayoutLocalization updateImpl(LayoutLocalization layoutLocalization);
/**
* Returns the layout localization with the primary key or throws a NoSuchLayoutLocalizationException
if it could not be found.
*
* @param layoutLocalizationId the primary key of the layout localization
* @return the layout localization
* @throws NoSuchLayoutLocalizationException if a layout localization with the primary key could not be found
*/
public LayoutLocalization findByPrimaryKey(long layoutLocalizationId)
throws NoSuchLayoutLocalizationException;
/**
* Returns the layout localization with the primary key or returns null
if it could not be found.
*
* @param layoutLocalizationId the primary key of the layout localization
* @return the layout localization, or null
if a layout localization with the primary key could not be found
*/
public LayoutLocalization fetchByPrimaryKey(long layoutLocalizationId);
/**
* Returns all the layout localizations.
*
* @return the layout localizations
*/
public java.util.List findAll();
/**
* Returns a range of all the layout localizations.
*
*
* 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 LayoutLocalizationModelImpl
.
*
*
* @param start the lower bound of the range of layout localizations
* @param end the upper bound of the range of layout localizations (not inclusive)
* @return the range of layout localizations
*/
public java.util.List findAll(int start, int end);
/**
* Returns an ordered range of all the layout localizations.
*
*
* 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 LayoutLocalizationModelImpl
.
*
*
* @param start the lower bound of the range of layout localizations
* @param end the upper bound of the range of layout localizations (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of layout localizations
*/
public java.util.List findAll(
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the layout localizations.
*
*
* 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 LayoutLocalizationModelImpl
.
*
*
* @param start the lower bound of the range of layout localizations
* @param end the upper bound of the range of layout localizations (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 localizations
*/
public java.util.List findAll(
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Removes all the layout localizations from the database.
*/
public void removeAll();
/**
* Returns the number of layout localizations.
*
* @return the number of layout localizations
*/
public int countAll();
}