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

com.liferay.layout.page.template.service.persistence.LayoutPageTemplateEntryUtil Maven / Gradle / Ivy

There is a newer version: 7.4.3.112-ga112
Show newest version
/**
 * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.liferay.layout.page.template.service.persistence;

import aQute.bnd.annotation.ProviderType;

import com.liferay.layout.page.template.model.LayoutPageTemplateEntry;

import com.liferay.portal.kernel.dao.orm.DynamicQuery;
import com.liferay.portal.kernel.service.ServiceContext;
import com.liferay.portal.kernel.util.OrderByComparator;

import org.osgi.framework.Bundle;
import org.osgi.framework.FrameworkUtil;

import org.osgi.util.tracker.ServiceTracker;

import java.util.List;

/**
 * The persistence utility for the layout page template entry service. This utility wraps {@link com.liferay.layout.page.template.service.persistence.impl.LayoutPageTemplateEntryPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
 *
 * 

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

* * @author Brian Wing Shun Chan * @see LayoutPageTemplateEntryPersistence * @see com.liferay.layout.page.template.service.persistence.impl.LayoutPageTemplateEntryPersistenceImpl * @generated */ @ProviderType public class LayoutPageTemplateEntryUtil { /* * NOTE FOR DEVELOPERS: * * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. */ /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#clearCache() */ public static void clearCache() { getPersistence().clearCache(); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#clearCache(com.liferay.portal.kernel.model.BaseModel) */ public static void clearCache( LayoutPageTemplateEntry layoutPageTemplateEntry) { getPersistence().clearCache(layoutPageTemplateEntry); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) */ public static long countWithDynamicQuery(DynamicQuery dynamicQuery) { return getPersistence().countWithDynamicQuery(dynamicQuery); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) */ public static List findWithDynamicQuery( DynamicQuery dynamicQuery) { return getPersistence().findWithDynamicQuery(dynamicQuery); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) */ public static List findWithDynamicQuery( DynamicQuery dynamicQuery, int start, int end) { return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) */ public static List findWithDynamicQuery( DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .findWithDynamicQuery(dynamicQuery, start, end, orderByComparator); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#update(com.liferay.portal.kernel.model.BaseModel) */ public static LayoutPageTemplateEntry update( LayoutPageTemplateEntry layoutPageTemplateEntry) { return getPersistence().update(layoutPageTemplateEntry); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#update(com.liferay.portal.kernel.model.BaseModel, ServiceContext) */ public static LayoutPageTemplateEntry update( LayoutPageTemplateEntry layoutPageTemplateEntry, ServiceContext serviceContext) { return getPersistence().update(layoutPageTemplateEntry, serviceContext); } /** * Returns all the layout page template entries where uuid = ?. * * @param uuid the uuid * @return the matching layout page template entries */ public static List findByUuid(String uuid) { return getPersistence().findByUuid(uuid); } /** * Returns a range of all the layout page template entries where uuid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param uuid the uuid * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries */ public static List findByUuid(String uuid, int start, int end) { return getPersistence().findByUuid(uuid, start, end); } /** * Returns an ordered range of all the layout page template entries where uuid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param uuid the uuid * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries */ public static List findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator) { return getPersistence().findByUuid(uuid, start, end, orderByComparator); } /** * Returns an ordered range of all the layout page template entries where uuid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries */ public static List findByUuid_C(String uuid, long companyId, int start, int end) { return getPersistence().findByUuid_C(uuid, companyId, start, end); } /** * Returns an ordered range of all the layout page template entries where uuid = ? and companyId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries */ public static List findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .findByUuid_C(uuid, companyId, start, end, orderByComparator); } /** * Returns an ordered range of all the layout page template entries where uuid = ? and companyId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching layout page template entries */ public static List findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByUuid_C(uuid, companyId, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first layout page template entry in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByUuid_C_First(uuid, companyId, orderByComparator); } /** * Returns the first layout page template entry in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator) { return getPersistence() .fetchByUuid_C_First(uuid, companyId, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByUuid_C_Last(uuid, companyId, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator) { return getPersistence() .fetchByUuid_C_Last(uuid, companyId, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set where uuid = ? and companyId = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] findByUuid_C_PrevAndNext( long layoutPageTemplateEntryId, String uuid, long companyId, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByUuid_C_PrevAndNext(layoutPageTemplateEntryId, uuid, companyId, orderByComparator); } /** * Removes all the layout page template entries where uuid = ? and companyId = ? from the database. * * @param uuid the uuid * @param companyId the company ID */ public static void removeByUuid_C(String uuid, long companyId) { getPersistence().removeByUuid_C(uuid, companyId); } /** * Returns the number of layout page template entries where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the number of matching layout page template entries */ public static int countByUuid_C(String uuid, long companyId) { return getPersistence().countByUuid_C(uuid, companyId); } /** * Returns all the layout page template entries where groupId = ?. * * @param groupId the group ID * @return the matching layout page template entries */ public static List findByGroupId(long groupId) { return getPersistence().findByGroupId(groupId); } /** * Returns a range of all the layout page template entries where groupId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries */ public static List findByGroupId(long groupId, int start, int end) { return getPersistence().findByGroupId(groupId, start, end); } /** * Returns an ordered range of all the layout page template entries where groupId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries */ public static List findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .findByGroupId(groupId, start, end, orderByComparator); } /** * Returns an ordered range of all the layout page template entries where groupId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching layout page template entries */ public static List findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByGroupId(groupId, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first layout page template entry in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence().findByGroupId_First(groupId, orderByComparator); } /** * Returns the first layout page template entry in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByGroupId_First(long groupId, OrderByComparator orderByComparator) { return getPersistence().fetchByGroupId_First(groupId, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence().findByGroupId_Last(groupId, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator) { return getPersistence().fetchByGroupId_Last(groupId, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set where groupId = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] findByGroupId_PrevAndNext( long layoutPageTemplateEntryId, long groupId, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByGroupId_PrevAndNext(layoutPageTemplateEntryId, groupId, orderByComparator); } /** * Returns all the layout page template entries that the user has permission to view where groupId = ?. * * @param groupId the group ID * @return the matching layout page template entries that the user has permission to view */ public static List filterFindByGroupId( long groupId) { return getPersistence().filterFindByGroupId(groupId); } /** * Returns a range of all the layout page template entries that the user has permission to view where groupId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries that the user has permission to view */ public static List filterFindByGroupId( long groupId, int start, int end) { return getPersistence().filterFindByGroupId(groupId, start, end); } /** * Returns an ordered range of all the layout page template entries that the user has permissions to view where groupId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries that the user has permission to view */ public static List filterFindByGroupId( long groupId, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .filterFindByGroupId(groupId, start, end, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set of layout page template entries that the user has permission to view where groupId = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] filterFindByGroupId_PrevAndNext( long layoutPageTemplateEntryId, long groupId, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .filterFindByGroupId_PrevAndNext(layoutPageTemplateEntryId, groupId, orderByComparator); } /** * Removes all the layout page template entries where groupId = ? from the database. * * @param groupId the group ID */ public static void removeByGroupId(long groupId) { getPersistence().removeByGroupId(groupId); } /** * Returns the number of layout page template entries where groupId = ?. * * @param groupId the group ID * @return the number of matching layout page template entries */ public static int countByGroupId(long groupId) { return getPersistence().countByGroupId(groupId); } /** * Returns the number of layout page template entries that the user has permission to view where groupId = ?. * * @param groupId the group ID * @return the number of matching layout page template entries that the user has permission to view */ public static int filterCountByGroupId(long groupId) { return getPersistence().filterCountByGroupId(groupId); } /** * Returns all the layout page template entries where layoutPrototypeId = ?. * * @param layoutPrototypeId the layout prototype ID * @return the matching layout page template entries */ public static List findByLayoutPrototype( long layoutPrototypeId) { return getPersistence().findByLayoutPrototype(layoutPrototypeId); } /** * Returns a range of all the layout page template entries where layoutPrototypeId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param layoutPrototypeId the layout prototype ID * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries */ public static List findByLayoutPrototype( long layoutPrototypeId, int start, int end) { return getPersistence() .findByLayoutPrototype(layoutPrototypeId, start, end); } /** * Returns an ordered range of all the layout page template entries where layoutPrototypeId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param layoutPrototypeId the layout prototype ID * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries */ public static List findByLayoutPrototype( long layoutPrototypeId, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .findByLayoutPrototype(layoutPrototypeId, start, end, orderByComparator); } /** * Returns an ordered range of all the layout page template entries where layoutPrototypeId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param layoutPrototypeId the layout prototype ID * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching layout page template entries */ public static List findByLayoutPrototype( long layoutPrototypeId, int start, int end, OrderByComparator orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByLayoutPrototype(layoutPrototypeId, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first layout page template entry in the ordered set where layoutPrototypeId = ?. * * @param layoutPrototypeId the layout prototype ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByLayoutPrototype_First( long layoutPrototypeId, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByLayoutPrototype_First(layoutPrototypeId, orderByComparator); } /** * Returns the first layout page template entry in the ordered set where layoutPrototypeId = ?. * * @param layoutPrototypeId the layout prototype ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByLayoutPrototype_First( long layoutPrototypeId, OrderByComparator orderByComparator) { return getPersistence() .fetchByLayoutPrototype_First(layoutPrototypeId, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where layoutPrototypeId = ?. * * @param layoutPrototypeId the layout prototype ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByLayoutPrototype_Last( long layoutPrototypeId, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByLayoutPrototype_Last(layoutPrototypeId, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where layoutPrototypeId = ?. * * @param layoutPrototypeId the layout prototype ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByLayoutPrototype_Last( long layoutPrototypeId, OrderByComparator orderByComparator) { return getPersistence() .fetchByLayoutPrototype_Last(layoutPrototypeId, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set where layoutPrototypeId = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param layoutPrototypeId the layout prototype ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] findByLayoutPrototype_PrevAndNext( long layoutPageTemplateEntryId, long layoutPrototypeId, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByLayoutPrototype_PrevAndNext(layoutPageTemplateEntryId, layoutPrototypeId, orderByComparator); } /** * Removes all the layout page template entries where layoutPrototypeId = ? from the database. * * @param layoutPrototypeId the layout prototype ID */ public static void removeByLayoutPrototype(long layoutPrototypeId) { getPersistence().removeByLayoutPrototype(layoutPrototypeId); } /** * Returns the number of layout page template entries where layoutPrototypeId = ?. * * @param layoutPrototypeId the layout prototype ID * @return the number of matching layout page template entries */ public static int countByLayoutPrototype(long layoutPrototypeId) { return getPersistence().countByLayoutPrototype(layoutPrototypeId); } /** * Returns all the layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @return the matching layout page template entries */ public static List findByG_L(long groupId, long layoutPageTemplateCollectionId) { return getPersistence() .findByG_L(groupId, layoutPageTemplateCollectionId); } /** * Returns a range of all the layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries */ public static List findByG_L(long groupId, long layoutPageTemplateCollectionId, int start, int end) { return getPersistence() .findByG_L(groupId, layoutPageTemplateCollectionId, start, end); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries */ public static List findByG_L(long groupId, long layoutPageTemplateCollectionId, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .findByG_L(groupId, layoutPageTemplateCollectionId, start, end, orderByComparator); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching layout page template entries */ public static List findByG_L(long groupId, long layoutPageTemplateCollectionId, int start, int end, OrderByComparator orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByG_L(groupId, layoutPageTemplateCollectionId, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and layoutPageTemplateCollectionId = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_L_First(long groupId, long layoutPageTemplateCollectionId, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_L_First(groupId, layoutPageTemplateCollectionId, orderByComparator); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and layoutPageTemplateCollectionId = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_L_First(long groupId, long layoutPageTemplateCollectionId, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_L_First(groupId, layoutPageTemplateCollectionId, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and layoutPageTemplateCollectionId = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_L_Last(long groupId, long layoutPageTemplateCollectionId, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_L_Last(groupId, layoutPageTemplateCollectionId, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and layoutPageTemplateCollectionId = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_L_Last(long groupId, long layoutPageTemplateCollectionId, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_L_Last(groupId, layoutPageTemplateCollectionId, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set where groupId = ? and layoutPageTemplateCollectionId = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] findByG_L_PrevAndNext( long layoutPageTemplateEntryId, long groupId, long layoutPageTemplateCollectionId, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_L_PrevAndNext(layoutPageTemplateEntryId, groupId, layoutPageTemplateCollectionId, orderByComparator); } /** * Returns all the layout page template entries that the user has permission to view where groupId = ? and layoutPageTemplateCollectionId = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @return the matching layout page template entries that the user has permission to view */ public static List filterFindByG_L(long groupId, long layoutPageTemplateCollectionId) { return getPersistence() .filterFindByG_L(groupId, layoutPageTemplateCollectionId); } /** * Returns a range of all the layout page template entries that the user has permission to view where groupId = ? and layoutPageTemplateCollectionId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_L(long groupId, long layoutPageTemplateCollectionId, int start, int end) { return getPersistence() .filterFindByG_L(groupId, layoutPageTemplateCollectionId, start, end); } /** * Returns an ordered range of all the layout page template entries that the user has permissions to view where groupId = ? and layoutPageTemplateCollectionId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_L(long groupId, long layoutPageTemplateCollectionId, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .filterFindByG_L(groupId, layoutPageTemplateCollectionId, start, end, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set of layout page template entries that the user has permission to view where groupId = ? and layoutPageTemplateCollectionId = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] filterFindByG_L_PrevAndNext( long layoutPageTemplateEntryId, long groupId, long layoutPageTemplateCollectionId, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .filterFindByG_L_PrevAndNext(layoutPageTemplateEntryId, groupId, layoutPageTemplateCollectionId, orderByComparator); } /** * Removes all the layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ? from the database. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID */ public static void removeByG_L(long groupId, long layoutPageTemplateCollectionId) { getPersistence().removeByG_L(groupId, layoutPageTemplateCollectionId); } /** * Returns the number of layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @return the number of matching layout page template entries */ public static int countByG_L(long groupId, long layoutPageTemplateCollectionId) { return getPersistence() .countByG_L(groupId, layoutPageTemplateCollectionId); } /** * Returns the number of layout page template entries that the user has permission to view where groupId = ? and layoutPageTemplateCollectionId = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @return the number of matching layout page template entries that the user has permission to view */ public static int filterCountByG_L(long groupId, long layoutPageTemplateCollectionId) { return getPersistence() .filterCountByG_L(groupId, layoutPageTemplateCollectionId); } /** * Returns the layout page template entry where groupId = ? and name = ? or throws a {@link NoSuchPageTemplateEntryException} if it could not be found. * * @param groupId the group ID * @param name the name * @return the matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_N(long groupId, String name) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence().findByG_N(groupId, name); } /** * Returns the layout page template entry where groupId = ? and name = ? or returns null if it could not be found. Uses the finder cache. * * @param groupId the group ID * @param name the name * @return the matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_N(long groupId, String name) { return getPersistence().fetchByG_N(groupId, name); } /** * Returns the layout page template entry where groupId = ? and name = ? or returns null if it could not be found, optionally using the finder cache. * * @param groupId the group ID * @param name the name * @param retrieveFromCache whether to retrieve from the finder cache * @return the matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_N(long groupId, String name, boolean retrieveFromCache) { return getPersistence().fetchByG_N(groupId, name, retrieveFromCache); } /** * Removes the layout page template entry where groupId = ? and name = ? from the database. * * @param groupId the group ID * @param name the name * @return the layout page template entry that was removed */ public static LayoutPageTemplateEntry removeByG_N(long groupId, String name) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence().removeByG_N(groupId, name); } /** * Returns the number of layout page template entries where groupId = ? and name = ?. * * @param groupId the group ID * @param name the name * @return the number of matching layout page template entries */ public static int countByG_N(long groupId, String name) { return getPersistence().countByG_N(groupId, name); } /** * Returns all the layout page template entries where groupId = ? and type = ?. * * @param groupId the group ID * @param type the type * @return the matching layout page template entries */ public static List findByG_T(long groupId, int type) { return getPersistence().findByG_T(groupId, type); } /** * Returns a range of all the layout page template entries where groupId = ? 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 {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param type the type * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries */ public static List findByG_T(long groupId, int type, int start, int end) { return getPersistence().findByG_T(groupId, type, start, end); } /** * Returns an ordered range of all the layout page template entries where groupId = ? 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 {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param type the type * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries */ public static List findByG_T(long groupId, int type, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .findByG_T(groupId, type, start, end, orderByComparator); } /** * Returns an ordered range of all the layout page template entries where groupId = ? 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 {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param type the type * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching layout page template entries */ public static List findByG_T(long groupId, int type, int start, int end, OrderByComparator orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByG_T(groupId, type, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and type = ?. * * @param groupId the group ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_T_First(long groupId, int type, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence().findByG_T_First(groupId, type, orderByComparator); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and type = ?. * * @param groupId the group ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_T_First(long groupId, int type, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_T_First(groupId, type, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and type = ?. * * @param groupId the group ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_T_Last(long groupId, int type, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence().findByG_T_Last(groupId, type, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and type = ?. * * @param groupId the group ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_T_Last(long groupId, int type, OrderByComparator orderByComparator) { return getPersistence().fetchByG_T_Last(groupId, type, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set where groupId = ? and type = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] findByG_T_PrevAndNext( long layoutPageTemplateEntryId, long groupId, int type, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_T_PrevAndNext(layoutPageTemplateEntryId, groupId, type, orderByComparator); } /** * Returns all the layout page template entries that the user has permission to view where groupId = ? and type = ?. * * @param groupId the group ID * @param type the type * @return the matching layout page template entries that the user has permission to view */ public static List filterFindByG_T(long groupId, int type) { return getPersistence().filterFindByG_T(groupId, type); } /** * Returns a range of all the layout page template entries that the user has permission to view where groupId = ? 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 {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param type the type * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_T(long groupId, int type, int start, int end) { return getPersistence().filterFindByG_T(groupId, type, start, end); } /** * Returns an ordered range of all the layout page template entries that the user has permissions to view where groupId = ? 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 {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param type the type * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_T(long groupId, int type, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .filterFindByG_T(groupId, type, start, end, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set of layout page template entries that the user has permission to view where groupId = ? and type = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] filterFindByG_T_PrevAndNext( long layoutPageTemplateEntryId, long groupId, int type, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .filterFindByG_T_PrevAndNext(layoutPageTemplateEntryId, groupId, type, orderByComparator); } /** * Removes all the layout page template entries where groupId = ? and type = ? from the database. * * @param groupId the group ID * @param type the type */ public static void removeByG_T(long groupId, int type) { getPersistence().removeByG_T(groupId, type); } /** * Returns the number of layout page template entries where groupId = ? and type = ?. * * @param groupId the group ID * @param type the type * @return the number of matching layout page template entries */ public static int countByG_T(long groupId, int type) { return getPersistence().countByG_T(groupId, type); } /** * Returns the number of layout page template entries that the user has permission to view where groupId = ? and type = ?. * * @param groupId the group ID * @param type the type * @return the number of matching layout page template entries that the user has permission to view */ public static int filterCountByG_T(long groupId, int type) { return getPersistence().filterCountByG_T(groupId, type); } /** * Returns all the layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @return the matching layout page template entries */ public static List findByG_L_LikeN(long groupId, long layoutPageTemplateCollectionId, String name) { return getPersistence() .findByG_L_LikeN(groupId, layoutPageTemplateCollectionId, name); } /** * Returns a range of all the layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries */ public static List findByG_L_LikeN(long groupId, long layoutPageTemplateCollectionId, String name, int start, int end) { return getPersistence() .findByG_L_LikeN(groupId, layoutPageTemplateCollectionId, name, start, end); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries */ public static List findByG_L_LikeN(long groupId, long layoutPageTemplateCollectionId, String name, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .findByG_L_LikeN(groupId, layoutPageTemplateCollectionId, name, start, end, orderByComparator); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching layout page template entries */ public static List findByG_L_LikeN(long groupId, long layoutPageTemplateCollectionId, String name, int start, int end, OrderByComparator orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByG_L_LikeN(groupId, layoutPageTemplateCollectionId, name, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_L_LikeN_First(long groupId, long layoutPageTemplateCollectionId, String name, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_L_LikeN_First(groupId, layoutPageTemplateCollectionId, name, orderByComparator); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_L_LikeN_First(long groupId, long layoutPageTemplateCollectionId, String name, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_L_LikeN_First(groupId, layoutPageTemplateCollectionId, name, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_L_LikeN_Last(long groupId, long layoutPageTemplateCollectionId, String name, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_L_LikeN_Last(groupId, layoutPageTemplateCollectionId, name, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_L_LikeN_Last(long groupId, long layoutPageTemplateCollectionId, String name, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_L_LikeN_Last(groupId, layoutPageTemplateCollectionId, name, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] findByG_L_LikeN_PrevAndNext( long layoutPageTemplateEntryId, long groupId, long layoutPageTemplateCollectionId, String name, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_L_LikeN_PrevAndNext(layoutPageTemplateEntryId, groupId, layoutPageTemplateCollectionId, name, orderByComparator); } /** * Returns all the layout page template entries that the user has permission to view where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @return the matching layout page template entries that the user has permission to view */ public static List filterFindByG_L_LikeN( long groupId, long layoutPageTemplateCollectionId, String name) { return getPersistence() .filterFindByG_L_LikeN(groupId, layoutPageTemplateCollectionId, name); } /** * Returns a range of all the layout page template entries that the user has permission to view where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_L_LikeN( long groupId, long layoutPageTemplateCollectionId, String name, int start, int end) { return getPersistence() .filterFindByG_L_LikeN(groupId, layoutPageTemplateCollectionId, name, start, end); } /** * Returns an ordered range of all the layout page template entries that the user has permissions to view where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_L_LikeN( long groupId, long layoutPageTemplateCollectionId, String name, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .filterFindByG_L_LikeN(groupId, layoutPageTemplateCollectionId, name, start, end, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set of layout page template entries that the user has permission to view where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] filterFindByG_L_LikeN_PrevAndNext( long layoutPageTemplateEntryId, long groupId, long layoutPageTemplateCollectionId, String name, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .filterFindByG_L_LikeN_PrevAndNext(layoutPageTemplateEntryId, groupId, layoutPageTemplateCollectionId, name, orderByComparator); } /** * Removes all the layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ? from the database. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name */ public static void removeByG_L_LikeN(long groupId, long layoutPageTemplateCollectionId, String name) { getPersistence() .removeByG_L_LikeN(groupId, layoutPageTemplateCollectionId, name); } /** * Returns the number of layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @return the number of matching layout page template entries */ public static int countByG_L_LikeN(long groupId, long layoutPageTemplateCollectionId, String name) { return getPersistence() .countByG_L_LikeN(groupId, layoutPageTemplateCollectionId, name); } /** * Returns the number of layout page template entries that the user has permission to view where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @return the number of matching layout page template entries that the user has permission to view */ public static int filterCountByG_L_LikeN(long groupId, long layoutPageTemplateCollectionId, String name) { return getPersistence() .filterCountByG_L_LikeN(groupId, layoutPageTemplateCollectionId, name); } /** * Returns all the layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ? and type = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param type the type * @return the matching layout page template entries */ public static List findByG_L_T(long groupId, long layoutPageTemplateCollectionId, int type) { return getPersistence() .findByG_L_T(groupId, layoutPageTemplateCollectionId, type); } /** * Returns a range of all the layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ? 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 {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param type the type * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries */ public static List findByG_L_T(long groupId, long layoutPageTemplateCollectionId, int type, int start, int end) { return getPersistence() .findByG_L_T(groupId, layoutPageTemplateCollectionId, type, start, end); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ? 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 {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param type the type * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries */ public static List findByG_L_T(long groupId, long layoutPageTemplateCollectionId, int type, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .findByG_L_T(groupId, layoutPageTemplateCollectionId, type, start, end, orderByComparator); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ? 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 {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param type the type * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching layout page template entries */ public static List findByG_L_T(long groupId, long layoutPageTemplateCollectionId, int type, int start, int end, OrderByComparator orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByG_L_T(groupId, layoutPageTemplateCollectionId, type, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and layoutPageTemplateCollectionId = ? and type = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_L_T_First(long groupId, long layoutPageTemplateCollectionId, int type, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_L_T_First(groupId, layoutPageTemplateCollectionId, type, orderByComparator); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and layoutPageTemplateCollectionId = ? and type = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_L_T_First(long groupId, long layoutPageTemplateCollectionId, int type, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_L_T_First(groupId, layoutPageTemplateCollectionId, type, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and layoutPageTemplateCollectionId = ? and type = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_L_T_Last(long groupId, long layoutPageTemplateCollectionId, int type, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_L_T_Last(groupId, layoutPageTemplateCollectionId, type, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and layoutPageTemplateCollectionId = ? and type = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_L_T_Last(long groupId, long layoutPageTemplateCollectionId, int type, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_L_T_Last(groupId, layoutPageTemplateCollectionId, type, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set where groupId = ? and layoutPageTemplateCollectionId = ? and type = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] findByG_L_T_PrevAndNext( long layoutPageTemplateEntryId, long groupId, long layoutPageTemplateCollectionId, int type, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_L_T_PrevAndNext(layoutPageTemplateEntryId, groupId, layoutPageTemplateCollectionId, type, orderByComparator); } /** * Returns all the layout page template entries that the user has permission to view where groupId = ? and layoutPageTemplateCollectionId = ? and type = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param type the type * @return the matching layout page template entries that the user has permission to view */ public static List filterFindByG_L_T( long groupId, long layoutPageTemplateCollectionId, int type) { return getPersistence() .filterFindByG_L_T(groupId, layoutPageTemplateCollectionId, type); } /** * Returns a range of all the layout page template entries that the user has permission to view where groupId = ? and layoutPageTemplateCollectionId = ? 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 {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param type the type * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_L_T( long groupId, long layoutPageTemplateCollectionId, int type, int start, int end) { return getPersistence() .filterFindByG_L_T(groupId, layoutPageTemplateCollectionId, type, start, end); } /** * Returns an ordered range of all the layout page template entries that the user has permissions to view where groupId = ? and layoutPageTemplateCollectionId = ? 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 {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param type the type * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_L_T( long groupId, long layoutPageTemplateCollectionId, int type, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .filterFindByG_L_T(groupId, layoutPageTemplateCollectionId, type, start, end, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set of layout page template entries that the user has permission to view where groupId = ? and layoutPageTemplateCollectionId = ? and type = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] filterFindByG_L_T_PrevAndNext( long layoutPageTemplateEntryId, long groupId, long layoutPageTemplateCollectionId, int type, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .filterFindByG_L_T_PrevAndNext(layoutPageTemplateEntryId, groupId, layoutPageTemplateCollectionId, type, orderByComparator); } /** * Removes all the layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ? and type = ? from the database. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param type the type */ public static void removeByG_L_T(long groupId, long layoutPageTemplateCollectionId, int type) { getPersistence() .removeByG_L_T(groupId, layoutPageTemplateCollectionId, type); } /** * Returns the number of layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ? and type = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param type the type * @return the number of matching layout page template entries */ public static int countByG_L_T(long groupId, long layoutPageTemplateCollectionId, int type) { return getPersistence() .countByG_L_T(groupId, layoutPageTemplateCollectionId, type); } /** * Returns the number of layout page template entries that the user has permission to view where groupId = ? and layoutPageTemplateCollectionId = ? and type = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param type the type * @return the number of matching layout page template entries that the user has permission to view */ public static int filterCountByG_L_T(long groupId, long layoutPageTemplateCollectionId, int type) { return getPersistence() .filterCountByG_L_T(groupId, layoutPageTemplateCollectionId, type); } /** * Returns all the layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ? and status = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param status the status * @return the matching layout page template entries */ public static List findByG_L_S(long groupId, long layoutPageTemplateCollectionId, int status) { return getPersistence() .findByG_L_S(groupId, layoutPageTemplateCollectionId, status); } /** * Returns a range of all the layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries */ public static List findByG_L_S(long groupId, long layoutPageTemplateCollectionId, int status, int start, int end) { return getPersistence() .findByG_L_S(groupId, layoutPageTemplateCollectionId, status, start, end); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries */ public static List findByG_L_S(long groupId, long layoutPageTemplateCollectionId, int status, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .findByG_L_S(groupId, layoutPageTemplateCollectionId, status, start, end, orderByComparator); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching layout page template entries */ public static List findByG_L_S(long groupId, long layoutPageTemplateCollectionId, int status, int start, int end, OrderByComparator orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByG_L_S(groupId, layoutPageTemplateCollectionId, status, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and layoutPageTemplateCollectionId = ? and status = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_L_S_First(long groupId, long layoutPageTemplateCollectionId, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_L_S_First(groupId, layoutPageTemplateCollectionId, status, orderByComparator); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and layoutPageTemplateCollectionId = ? and status = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_L_S_First(long groupId, long layoutPageTemplateCollectionId, int status, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_L_S_First(groupId, layoutPageTemplateCollectionId, status, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and layoutPageTemplateCollectionId = ? and status = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_L_S_Last(long groupId, long layoutPageTemplateCollectionId, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_L_S_Last(groupId, layoutPageTemplateCollectionId, status, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and layoutPageTemplateCollectionId = ? and status = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_L_S_Last(long groupId, long layoutPageTemplateCollectionId, int status, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_L_S_Last(groupId, layoutPageTemplateCollectionId, status, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set where groupId = ? and layoutPageTemplateCollectionId = ? and status = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] findByG_L_S_PrevAndNext( long layoutPageTemplateEntryId, long groupId, long layoutPageTemplateCollectionId, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_L_S_PrevAndNext(layoutPageTemplateEntryId, groupId, layoutPageTemplateCollectionId, status, orderByComparator); } /** * Returns all the layout page template entries that the user has permission to view where groupId = ? and layoutPageTemplateCollectionId = ? and status = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param status the status * @return the matching layout page template entries that the user has permission to view */ public static List filterFindByG_L_S( long groupId, long layoutPageTemplateCollectionId, int status) { return getPersistence() .filterFindByG_L_S(groupId, layoutPageTemplateCollectionId, status); } /** * Returns a range of all the layout page template entries that the user has permission to view where groupId = ? and layoutPageTemplateCollectionId = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_L_S( long groupId, long layoutPageTemplateCollectionId, int status, int start, int end) { return getPersistence() .filterFindByG_L_S(groupId, layoutPageTemplateCollectionId, status, start, end); } /** * Returns an ordered range of all the layout page template entries that the user has permissions to view where groupId = ? and layoutPageTemplateCollectionId = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_L_S( long groupId, long layoutPageTemplateCollectionId, int status, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .filterFindByG_L_S(groupId, layoutPageTemplateCollectionId, status, start, end, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set of layout page template entries that the user has permission to view where groupId = ? and layoutPageTemplateCollectionId = ? and status = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] filterFindByG_L_S_PrevAndNext( long layoutPageTemplateEntryId, long groupId, long layoutPageTemplateCollectionId, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .filterFindByG_L_S_PrevAndNext(layoutPageTemplateEntryId, groupId, layoutPageTemplateCollectionId, status, orderByComparator); } /** * Removes all the layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ? and status = ? from the database. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param status the status */ public static void removeByG_L_S(long groupId, long layoutPageTemplateCollectionId, int status) { getPersistence() .removeByG_L_S(groupId, layoutPageTemplateCollectionId, status); } /** * Returns the number of layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ? and status = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param status the status * @return the number of matching layout page template entries */ public static int countByG_L_S(long groupId, long layoutPageTemplateCollectionId, int status) { return getPersistence() .countByG_L_S(groupId, layoutPageTemplateCollectionId, status); } /** * Returns the number of layout page template entries that the user has permission to view where groupId = ? and layoutPageTemplateCollectionId = ? and status = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param status the status * @return the number of matching layout page template entries that the user has permission to view */ public static int filterCountByG_L_S(long groupId, long layoutPageTemplateCollectionId, int status) { return getPersistence() .filterCountByG_L_S(groupId, layoutPageTemplateCollectionId, status); } /** * Returns all the layout page template entries where groupId = ? and name LIKE ? and type = ?. * * @param groupId the group ID * @param name the name * @param type the type * @return the matching layout page template entries */ public static List findByG_T_LikeN(long groupId, String name, int type) { return getPersistence().findByG_T_LikeN(groupId, name, type); } /** * Returns a range of all the layout page template entries where groupId = ? and name LIKE ? 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 {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param name the name * @param type the type * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries */ public static List findByG_T_LikeN(long groupId, String name, int type, int start, int end) { return getPersistence().findByG_T_LikeN(groupId, name, type, start, end); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and name LIKE ? 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 {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param name the name * @param type the type * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries */ public static List findByG_T_LikeN(long groupId, String name, int type, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .findByG_T_LikeN(groupId, name, type, start, end, orderByComparator); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and name LIKE ? 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 {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param name the name * @param type the type * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching layout page template entries */ public static List findByG_T_LikeN(long groupId, String name, int type, int start, int end, OrderByComparator orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByG_T_LikeN(groupId, name, type, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and name LIKE ? and type = ?. * * @param groupId the group ID * @param name the name * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_T_LikeN_First(long groupId, String name, int type, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_T_LikeN_First(groupId, name, type, orderByComparator); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and name LIKE ? and type = ?. * * @param groupId the group ID * @param name the name * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_T_LikeN_First(long groupId, String name, int type, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_T_LikeN_First(groupId, name, type, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and name LIKE ? and type = ?. * * @param groupId the group ID * @param name the name * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_T_LikeN_Last(long groupId, String name, int type, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_T_LikeN_Last(groupId, name, type, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and name LIKE ? and type = ?. * * @param groupId the group ID * @param name the name * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_T_LikeN_Last(long groupId, String name, int type, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_T_LikeN_Last(groupId, name, type, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set where groupId = ? and name LIKE ? and type = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param name the name * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] findByG_T_LikeN_PrevAndNext( long layoutPageTemplateEntryId, long groupId, String name, int type, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_T_LikeN_PrevAndNext(layoutPageTemplateEntryId, groupId, name, type, orderByComparator); } /** * Returns all the layout page template entries that the user has permission to view where groupId = ? and name LIKE ? and type = ?. * * @param groupId the group ID * @param name the name * @param type the type * @return the matching layout page template entries that the user has permission to view */ public static List filterFindByG_T_LikeN( long groupId, String name, int type) { return getPersistence().filterFindByG_T_LikeN(groupId, name, type); } /** * Returns a range of all the layout page template entries that the user has permission to view where groupId = ? and name LIKE ? 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 {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param name the name * @param type the type * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_T_LikeN( long groupId, String name, int type, int start, int end) { return getPersistence() .filterFindByG_T_LikeN(groupId, name, type, start, end); } /** * Returns an ordered range of all the layout page template entries that the user has permissions to view where groupId = ? and name LIKE ? 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 {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param name the name * @param type the type * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_T_LikeN( long groupId, String name, int type, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .filterFindByG_T_LikeN(groupId, name, type, start, end, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set of layout page template entries that the user has permission to view where groupId = ? and name LIKE ? and type = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param name the name * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] filterFindByG_T_LikeN_PrevAndNext( long layoutPageTemplateEntryId, long groupId, String name, int type, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .filterFindByG_T_LikeN_PrevAndNext(layoutPageTemplateEntryId, groupId, name, type, orderByComparator); } /** * Removes all the layout page template entries where groupId = ? and name LIKE ? and type = ? from the database. * * @param groupId the group ID * @param name the name * @param type the type */ public static void removeByG_T_LikeN(long groupId, String name, int type) { getPersistence().removeByG_T_LikeN(groupId, name, type); } /** * Returns the number of layout page template entries where groupId = ? and name LIKE ? and type = ?. * * @param groupId the group ID * @param name the name * @param type the type * @return the number of matching layout page template entries */ public static int countByG_T_LikeN(long groupId, String name, int type) { return getPersistence().countByG_T_LikeN(groupId, name, type); } /** * Returns the number of layout page template entries that the user has permission to view where groupId = ? and name LIKE ? and type = ?. * * @param groupId the group ID * @param name the name * @param type the type * @return the number of matching layout page template entries that the user has permission to view */ public static int filterCountByG_T_LikeN(long groupId, String name, int type) { return getPersistence().filterCountByG_T_LikeN(groupId, name, type); } /** * Returns all the layout page template entries where groupId = ? and type = ? and status = ?. * * @param groupId the group ID * @param type the type * @param status the status * @return the matching layout page template entries */ public static List findByG_T_S(long groupId, int type, int status) { return getPersistence().findByG_T_S(groupId, type, status); } /** * Returns a range of all the layout page template entries where groupId = ? and type = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param type the type * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries */ public static List findByG_T_S(long groupId, int type, int status, int start, int end) { return getPersistence().findByG_T_S(groupId, type, status, start, end); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and type = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param type the type * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries */ public static List findByG_T_S(long groupId, int type, int status, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .findByG_T_S(groupId, type, status, start, end, orderByComparator); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and type = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param type the type * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching layout page template entries */ public static List findByG_T_S(long groupId, int type, int status, int start, int end, OrderByComparator orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByG_T_S(groupId, type, status, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and type = ? and status = ?. * * @param groupId the group ID * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_T_S_First(long groupId, int type, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_T_S_First(groupId, type, status, orderByComparator); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and type = ? and status = ?. * * @param groupId the group ID * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_T_S_First(long groupId, int type, int status, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_T_S_First(groupId, type, status, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and type = ? and status = ?. * * @param groupId the group ID * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_T_S_Last(long groupId, int type, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_T_S_Last(groupId, type, status, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and type = ? and status = ?. * * @param groupId the group ID * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_T_S_Last(long groupId, int type, int status, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_T_S_Last(groupId, type, status, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set where groupId = ? and type = ? and status = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] findByG_T_S_PrevAndNext( long layoutPageTemplateEntryId, long groupId, int type, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_T_S_PrevAndNext(layoutPageTemplateEntryId, groupId, type, status, orderByComparator); } /** * Returns all the layout page template entries that the user has permission to view where groupId = ? and type = ? and status = ?. * * @param groupId the group ID * @param type the type * @param status the status * @return the matching layout page template entries that the user has permission to view */ public static List filterFindByG_T_S( long groupId, int type, int status) { return getPersistence().filterFindByG_T_S(groupId, type, status); } /** * Returns a range of all the layout page template entries that the user has permission to view where groupId = ? and type = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param type the type * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_T_S( long groupId, int type, int status, int start, int end) { return getPersistence() .filterFindByG_T_S(groupId, type, status, start, end); } /** * Returns an ordered range of all the layout page template entries that the user has permissions to view where groupId = ? and type = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param type the type * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_T_S( long groupId, int type, int status, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .filterFindByG_T_S(groupId, type, status, start, end, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set of layout page template entries that the user has permission to view where groupId = ? and type = ? and status = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] filterFindByG_T_S_PrevAndNext( long layoutPageTemplateEntryId, long groupId, int type, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .filterFindByG_T_S_PrevAndNext(layoutPageTemplateEntryId, groupId, type, status, orderByComparator); } /** * Removes all the layout page template entries where groupId = ? and type = ? and status = ? from the database. * * @param groupId the group ID * @param type the type * @param status the status */ public static void removeByG_T_S(long groupId, int type, int status) { getPersistence().removeByG_T_S(groupId, type, status); } /** * Returns the number of layout page template entries where groupId = ? and type = ? and status = ?. * * @param groupId the group ID * @param type the type * @param status the status * @return the number of matching layout page template entries */ public static int countByG_T_S(long groupId, int type, int status) { return getPersistence().countByG_T_S(groupId, type, status); } /** * Returns the number of layout page template entries that the user has permission to view where groupId = ? and type = ? and status = ?. * * @param groupId the group ID * @param type the type * @param status the status * @return the number of matching layout page template entries that the user has permission to view */ public static int filterCountByG_T_S(long groupId, int type, int status) { return getPersistence().filterCountByG_T_S(groupId, type, status); } /** * Returns all the layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ? and status = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param status the status * @return the matching layout page template entries */ public static List findByG_L_LikeN_S( long groupId, long layoutPageTemplateCollectionId, String name, int status) { return getPersistence() .findByG_L_LikeN_S(groupId, layoutPageTemplateCollectionId, name, status); } /** * Returns a range of all the layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries */ public static List findByG_L_LikeN_S( long groupId, long layoutPageTemplateCollectionId, String name, int status, int start, int end) { return getPersistence() .findByG_L_LikeN_S(groupId, layoutPageTemplateCollectionId, name, status, start, end); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries */ public static List findByG_L_LikeN_S( long groupId, long layoutPageTemplateCollectionId, String name, int status, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .findByG_L_LikeN_S(groupId, layoutPageTemplateCollectionId, name, status, start, end, orderByComparator); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching layout page template entries */ public static List findByG_L_LikeN_S( long groupId, long layoutPageTemplateCollectionId, String name, int status, int start, int end, OrderByComparator orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByG_L_LikeN_S(groupId, layoutPageTemplateCollectionId, name, status, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ? and status = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_L_LikeN_S_First( long groupId, long layoutPageTemplateCollectionId, String name, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_L_LikeN_S_First(groupId, layoutPageTemplateCollectionId, name, status, orderByComparator); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ? and status = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_L_LikeN_S_First( long groupId, long layoutPageTemplateCollectionId, String name, int status, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_L_LikeN_S_First(groupId, layoutPageTemplateCollectionId, name, status, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ? and status = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_L_LikeN_S_Last(long groupId, long layoutPageTemplateCollectionId, String name, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_L_LikeN_S_Last(groupId, layoutPageTemplateCollectionId, name, status, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ? and status = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_L_LikeN_S_Last( long groupId, long layoutPageTemplateCollectionId, String name, int status, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_L_LikeN_S_Last(groupId, layoutPageTemplateCollectionId, name, status, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ? and status = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] findByG_L_LikeN_S_PrevAndNext( long layoutPageTemplateEntryId, long groupId, long layoutPageTemplateCollectionId, String name, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_L_LikeN_S_PrevAndNext(layoutPageTemplateEntryId, groupId, layoutPageTemplateCollectionId, name, status, orderByComparator); } /** * Returns all the layout page template entries that the user has permission to view where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ? and status = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param status the status * @return the matching layout page template entries that the user has permission to view */ public static List filterFindByG_L_LikeN_S( long groupId, long layoutPageTemplateCollectionId, String name, int status) { return getPersistence() .filterFindByG_L_LikeN_S(groupId, layoutPageTemplateCollectionId, name, status); } /** * Returns a range of all the layout page template entries that the user has permission to view where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_L_LikeN_S( long groupId, long layoutPageTemplateCollectionId, String name, int status, int start, int end) { return getPersistence() .filterFindByG_L_LikeN_S(groupId, layoutPageTemplateCollectionId, name, status, start, end); } /** * Returns an ordered range of all the layout page template entries that the user has permissions to view where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_L_LikeN_S( long groupId, long layoutPageTemplateCollectionId, String name, int status, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .filterFindByG_L_LikeN_S(groupId, layoutPageTemplateCollectionId, name, status, start, end, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set of layout page template entries that the user has permission to view where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ? and status = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] filterFindByG_L_LikeN_S_PrevAndNext( long layoutPageTemplateEntryId, long groupId, long layoutPageTemplateCollectionId, String name, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .filterFindByG_L_LikeN_S_PrevAndNext(layoutPageTemplateEntryId, groupId, layoutPageTemplateCollectionId, name, status, orderByComparator); } /** * Removes all the layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ? and status = ? from the database. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param status the status */ public static void removeByG_L_LikeN_S(long groupId, long layoutPageTemplateCollectionId, String name, int status) { getPersistence() .removeByG_L_LikeN_S(groupId, layoutPageTemplateCollectionId, name, status); } /** * Returns the number of layout page template entries where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ? and status = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param status the status * @return the number of matching layout page template entries */ public static int countByG_L_LikeN_S(long groupId, long layoutPageTemplateCollectionId, String name, int status) { return getPersistence() .countByG_L_LikeN_S(groupId, layoutPageTemplateCollectionId, name, status); } /** * Returns the number of layout page template entries that the user has permission to view where groupId = ? and layoutPageTemplateCollectionId = ? and name LIKE ? and status = ?. * * @param groupId the group ID * @param layoutPageTemplateCollectionId the layout page template collection ID * @param name the name * @param status the status * @return the number of matching layout page template entries that the user has permission to view */ public static int filterCountByG_L_LikeN_S(long groupId, long layoutPageTemplateCollectionId, String name, int status) { return getPersistence() .filterCountByG_L_LikeN_S(groupId, layoutPageTemplateCollectionId, name, status); } /** * Returns all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and type = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @return the matching layout page template entries */ public static List findByG_C_C_T(long groupId, long classNameId, long classTypeId, int type) { return getPersistence() .findByG_C_C_T(groupId, classNameId, classTypeId, type); } /** * Returns a range of all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? 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 {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries */ public static List findByG_C_C_T(long groupId, long classNameId, long classTypeId, int type, int start, int end) { return getPersistence() .findByG_C_C_T(groupId, classNameId, classTypeId, type, start, end); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? 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 {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries */ public static List findByG_C_C_T(long groupId, long classNameId, long classTypeId, int type, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .findByG_C_C_T(groupId, classNameId, classTypeId, type, start, end, orderByComparator); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? 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 {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching layout page template entries */ public static List findByG_C_C_T(long groupId, long classNameId, long classTypeId, int type, int start, int end, OrderByComparator orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByG_C_C_T(groupId, classNameId, classTypeId, type, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and type = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_C_C_T_First(long groupId, long classNameId, long classTypeId, int type, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_C_C_T_First(groupId, classNameId, classTypeId, type, orderByComparator); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and type = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_C_C_T_First(long groupId, long classNameId, long classTypeId, int type, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_C_C_T_First(groupId, classNameId, classTypeId, type, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and type = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_C_C_T_Last(long groupId, long classNameId, long classTypeId, int type, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_C_C_T_Last(groupId, classNameId, classTypeId, type, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and type = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_C_C_T_Last(long groupId, long classNameId, long classTypeId, int type, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_C_C_T_Last(groupId, classNameId, classTypeId, type, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and type = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] findByG_C_C_T_PrevAndNext( long layoutPageTemplateEntryId, long groupId, long classNameId, long classTypeId, int type, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_C_C_T_PrevAndNext(layoutPageTemplateEntryId, groupId, classNameId, classTypeId, type, orderByComparator); } /** * Returns all the layout page template entries that the user has permission to view where groupId = ? and classNameId = ? and classTypeId = ? and type = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @return the matching layout page template entries that the user has permission to view */ public static List filterFindByG_C_C_T( long groupId, long classNameId, long classTypeId, int type) { return getPersistence() .filterFindByG_C_C_T(groupId, classNameId, classTypeId, type); } /** * Returns a range of all the layout page template entries that the user has permission to view where groupId = ? and classNameId = ? and classTypeId = ? 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 {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_C_C_T( long groupId, long classNameId, long classTypeId, int type, int start, int end) { return getPersistence() .filterFindByG_C_C_T(groupId, classNameId, classTypeId, type, start, end); } /** * Returns an ordered range of all the layout page template entries that the user has permissions to view where groupId = ? and classNameId = ? and classTypeId = ? 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 {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_C_C_T( long groupId, long classNameId, long classTypeId, int type, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .filterFindByG_C_C_T(groupId, classNameId, classTypeId, type, start, end, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set of layout page template entries that the user has permission to view where groupId = ? and classNameId = ? and classTypeId = ? and type = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] filterFindByG_C_C_T_PrevAndNext( long layoutPageTemplateEntryId, long groupId, long classNameId, long classTypeId, int type, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .filterFindByG_C_C_T_PrevAndNext(layoutPageTemplateEntryId, groupId, classNameId, classTypeId, type, orderByComparator); } /** * Removes all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and type = ? from the database. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type */ public static void removeByG_C_C_T(long groupId, long classNameId, long classTypeId, int type) { getPersistence().removeByG_C_C_T(groupId, classNameId, classTypeId, type); } /** * Returns the number of layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and type = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @return the number of matching layout page template entries */ public static int countByG_C_C_T(long groupId, long classNameId, long classTypeId, int type) { return getPersistence() .countByG_C_C_T(groupId, classNameId, classTypeId, type); } /** * Returns the number of layout page template entries that the user has permission to view where groupId = ? and classNameId = ? and classTypeId = ? and type = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @return the number of matching layout page template entries that the user has permission to view */ public static int filterCountByG_C_C_T(long groupId, long classNameId, long classTypeId, int type) { return getPersistence() .filterCountByG_C_C_T(groupId, classNameId, classTypeId, type); } /** * Returns all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @return the matching layout page template entries */ public static List findByG_C_C_D(long groupId, long classNameId, long classTypeId, boolean defaultTemplate) { return getPersistence() .findByG_C_C_D(groupId, classNameId, classTypeId, defaultTemplate); } /** * Returns a range of all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries */ public static List findByG_C_C_D(long groupId, long classNameId, long classTypeId, boolean defaultTemplate, int start, int end) { return getPersistence() .findByG_C_C_D(groupId, classNameId, classTypeId, defaultTemplate, start, end); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries */ public static List findByG_C_C_D(long groupId, long classNameId, long classTypeId, boolean defaultTemplate, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .findByG_C_C_D(groupId, classNameId, classTypeId, defaultTemplate, start, end, orderByComparator); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching layout page template entries */ public static List findByG_C_C_D(long groupId, long classNameId, long classTypeId, boolean defaultTemplate, int start, int end, OrderByComparator orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByG_C_C_D(groupId, classNameId, classTypeId, defaultTemplate, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_C_C_D_First(long groupId, long classNameId, long classTypeId, boolean defaultTemplate, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_C_C_D_First(groupId, classNameId, classTypeId, defaultTemplate, orderByComparator); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_C_C_D_First(long groupId, long classNameId, long classTypeId, boolean defaultTemplate, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_C_C_D_First(groupId, classNameId, classTypeId, defaultTemplate, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_C_C_D_Last(long groupId, long classNameId, long classTypeId, boolean defaultTemplate, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_C_C_D_Last(groupId, classNameId, classTypeId, defaultTemplate, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_C_C_D_Last(long groupId, long classNameId, long classTypeId, boolean defaultTemplate, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_C_C_D_Last(groupId, classNameId, classTypeId, defaultTemplate, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] findByG_C_C_D_PrevAndNext( long layoutPageTemplateEntryId, long groupId, long classNameId, long classTypeId, boolean defaultTemplate, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_C_C_D_PrevAndNext(layoutPageTemplateEntryId, groupId, classNameId, classTypeId, defaultTemplate, orderByComparator); } /** * Returns all the layout page template entries that the user has permission to view where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @return the matching layout page template entries that the user has permission to view */ public static List filterFindByG_C_C_D( long groupId, long classNameId, long classTypeId, boolean defaultTemplate) { return getPersistence() .filterFindByG_C_C_D(groupId, classNameId, classTypeId, defaultTemplate); } /** * Returns a range of all the layout page template entries that the user has permission to view where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_C_C_D( long groupId, long classNameId, long classTypeId, boolean defaultTemplate, int start, int end) { return getPersistence() .filterFindByG_C_C_D(groupId, classNameId, classTypeId, defaultTemplate, start, end); } /** * Returns an ordered range of all the layout page template entries that the user has permissions to view where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_C_C_D( long groupId, long classNameId, long classTypeId, boolean defaultTemplate, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .filterFindByG_C_C_D(groupId, classNameId, classTypeId, defaultTemplate, start, end, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set of layout page template entries that the user has permission to view where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] filterFindByG_C_C_D_PrevAndNext( long layoutPageTemplateEntryId, long groupId, long classNameId, long classTypeId, boolean defaultTemplate, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .filterFindByG_C_C_D_PrevAndNext(layoutPageTemplateEntryId, groupId, classNameId, classTypeId, defaultTemplate, orderByComparator); } /** * Removes all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ? from the database. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template */ public static void removeByG_C_C_D(long groupId, long classNameId, long classTypeId, boolean defaultTemplate) { getPersistence() .removeByG_C_C_D(groupId, classNameId, classTypeId, defaultTemplate); } /** * Returns the number of layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @return the number of matching layout page template entries */ public static int countByG_C_C_D(long groupId, long classNameId, long classTypeId, boolean defaultTemplate) { return getPersistence() .countByG_C_C_D(groupId, classNameId, classTypeId, defaultTemplate); } /** * Returns the number of layout page template entries that the user has permission to view where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @return the number of matching layout page template entries that the user has permission to view */ public static int filterCountByG_C_C_D(long groupId, long classNameId, long classTypeId, boolean defaultTemplate) { return getPersistence() .filterCountByG_C_C_D(groupId, classNameId, classTypeId, defaultTemplate); } /** * Returns all the layout page template entries where groupId = ? and name LIKE ? and type = ? and status = ?. * * @param groupId the group ID * @param name the name * @param type the type * @param status the status * @return the matching layout page template entries */ public static List findByG_T_LikeN_S( long groupId, String name, int type, int status) { return getPersistence().findByG_T_LikeN_S(groupId, name, type, status); } /** * Returns a range of all the layout page template entries where groupId = ? and name LIKE ? and type = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param name the name * @param type the type * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries */ public static List findByG_T_LikeN_S( long groupId, String name, int type, int status, int start, int end) { return getPersistence() .findByG_T_LikeN_S(groupId, name, type, status, start, end); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and name LIKE ? and type = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param name the name * @param type the type * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries */ public static List findByG_T_LikeN_S( long groupId, String name, int type, int status, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .findByG_T_LikeN_S(groupId, name, type, status, start, end, orderByComparator); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and name LIKE ? and type = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param name the name * @param type the type * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching layout page template entries */ public static List findByG_T_LikeN_S( long groupId, String name, int type, int status, int start, int end, OrderByComparator orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByG_T_LikeN_S(groupId, name, type, status, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and name LIKE ? and type = ? and status = ?. * * @param groupId the group ID * @param name the name * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_T_LikeN_S_First( long groupId, String name, int type, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_T_LikeN_S_First(groupId, name, type, status, orderByComparator); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and name LIKE ? and type = ? and status = ?. * * @param groupId the group ID * @param name the name * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_T_LikeN_S_First( long groupId, String name, int type, int status, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_T_LikeN_S_First(groupId, name, type, status, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and name LIKE ? and type = ? and status = ?. * * @param groupId the group ID * @param name the name * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_T_LikeN_S_Last(long groupId, String name, int type, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_T_LikeN_S_Last(groupId, name, type, status, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and name LIKE ? and type = ? and status = ?. * * @param groupId the group ID * @param name the name * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_T_LikeN_S_Last( long groupId, String name, int type, int status, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_T_LikeN_S_Last(groupId, name, type, status, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set where groupId = ? and name LIKE ? and type = ? and status = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param name the name * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] findByG_T_LikeN_S_PrevAndNext( long layoutPageTemplateEntryId, long groupId, String name, int type, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_T_LikeN_S_PrevAndNext(layoutPageTemplateEntryId, groupId, name, type, status, orderByComparator); } /** * Returns all the layout page template entries that the user has permission to view where groupId = ? and name LIKE ? and type = ? and status = ?. * * @param groupId the group ID * @param name the name * @param type the type * @param status the status * @return the matching layout page template entries that the user has permission to view */ public static List filterFindByG_T_LikeN_S( long groupId, String name, int type, int status) { return getPersistence() .filterFindByG_T_LikeN_S(groupId, name, type, status); } /** * Returns a range of all the layout page template entries that the user has permission to view where groupId = ? and name LIKE ? and type = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param name the name * @param type the type * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_T_LikeN_S( long groupId, String name, int type, int status, int start, int end) { return getPersistence() .filterFindByG_T_LikeN_S(groupId, name, type, status, start, end); } /** * Returns an ordered range of all the layout page template entries that the user has permissions to view where groupId = ? and name LIKE ? and type = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param name the name * @param type the type * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_T_LikeN_S( long groupId, String name, int type, int status, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .filterFindByG_T_LikeN_S(groupId, name, type, status, start, end, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set of layout page template entries that the user has permission to view where groupId = ? and name LIKE ? and type = ? and status = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param name the name * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] filterFindByG_T_LikeN_S_PrevAndNext( long layoutPageTemplateEntryId, long groupId, String name, int type, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .filterFindByG_T_LikeN_S_PrevAndNext(layoutPageTemplateEntryId, groupId, name, type, status, orderByComparator); } /** * Removes all the layout page template entries where groupId = ? and name LIKE ? and type = ? and status = ? from the database. * * @param groupId the group ID * @param name the name * @param type the type * @param status the status */ public static void removeByG_T_LikeN_S(long groupId, String name, int type, int status) { getPersistence().removeByG_T_LikeN_S(groupId, name, type, status); } /** * Returns the number of layout page template entries where groupId = ? and name LIKE ? and type = ? and status = ?. * * @param groupId the group ID * @param name the name * @param type the type * @param status the status * @return the number of matching layout page template entries */ public static int countByG_T_LikeN_S(long groupId, String name, int type, int status) { return getPersistence().countByG_T_LikeN_S(groupId, name, type, status); } /** * Returns the number of layout page template entries that the user has permission to view where groupId = ? and name LIKE ? and type = ? and status = ?. * * @param groupId the group ID * @param name the name * @param type the type * @param status the status * @return the number of matching layout page template entries that the user has permission to view */ public static int filterCountByG_T_LikeN_S(long groupId, String name, int type, int status) { return getPersistence() .filterCountByG_T_LikeN_S(groupId, name, type, status); } /** * Returns all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @return the matching layout page template entries */ public static List findByG_C_C_LikeN_T( long groupId, long classNameId, long classTypeId, String name, int type) { return getPersistence() .findByG_C_C_LikeN_T(groupId, classNameId, classTypeId, name, type); } /** * Returns a range of all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? 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 {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries */ public static List findByG_C_C_LikeN_T( long groupId, long classNameId, long classTypeId, String name, int type, int start, int end) { return getPersistence() .findByG_C_C_LikeN_T(groupId, classNameId, classTypeId, name, type, start, end); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? 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 {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries */ public static List findByG_C_C_LikeN_T( long groupId, long classNameId, long classTypeId, String name, int type, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .findByG_C_C_LikeN_T(groupId, classNameId, classTypeId, name, type, start, end, orderByComparator); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? 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 {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching layout page template entries */ public static List findByG_C_C_LikeN_T( long groupId, long classNameId, long classTypeId, String name, int type, int start, int end, OrderByComparator orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByG_C_C_LikeN_T(groupId, classNameId, classTypeId, name, type, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_C_C_LikeN_T_First( long groupId, long classNameId, long classTypeId, String name, int type, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_C_C_LikeN_T_First(groupId, classNameId, classTypeId, name, type, orderByComparator); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_C_C_LikeN_T_First( long groupId, long classNameId, long classTypeId, String name, int type, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_C_C_LikeN_T_First(groupId, classNameId, classTypeId, name, type, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_C_C_LikeN_T_Last( long groupId, long classNameId, long classTypeId, String name, int type, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_C_C_LikeN_T_Last(groupId, classNameId, classTypeId, name, type, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_C_C_LikeN_T_Last( long groupId, long classNameId, long classTypeId, String name, int type, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_C_C_LikeN_T_Last(groupId, classNameId, classTypeId, name, type, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] findByG_C_C_LikeN_T_PrevAndNext( long layoutPageTemplateEntryId, long groupId, long classNameId, long classTypeId, String name, int type, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_C_C_LikeN_T_PrevAndNext(layoutPageTemplateEntryId, groupId, classNameId, classTypeId, name, type, orderByComparator); } /** * Returns all the layout page template entries that the user has permission to view where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @return the matching layout page template entries that the user has permission to view */ public static List filterFindByG_C_C_LikeN_T( long groupId, long classNameId, long classTypeId, String name, int type) { return getPersistence() .filterFindByG_C_C_LikeN_T(groupId, classNameId, classTypeId, name, type); } /** * Returns a range of all the layout page template entries that the user has permission to view where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? 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 {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_C_C_LikeN_T( long groupId, long classNameId, long classTypeId, String name, int type, int start, int end) { return getPersistence() .filterFindByG_C_C_LikeN_T(groupId, classNameId, classTypeId, name, type, start, end); } /** * Returns an ordered range of all the layout page template entries that the user has permissions to view where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? 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 {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_C_C_LikeN_T( long groupId, long classNameId, long classTypeId, String name, int type, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .filterFindByG_C_C_LikeN_T(groupId, classNameId, classTypeId, name, type, start, end, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set of layout page template entries that the user has permission to view where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] filterFindByG_C_C_LikeN_T_PrevAndNext( long layoutPageTemplateEntryId, long groupId, long classNameId, long classTypeId, String name, int type, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .filterFindByG_C_C_LikeN_T_PrevAndNext(layoutPageTemplateEntryId, groupId, classNameId, classTypeId, name, type, orderByComparator); } /** * Removes all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ? from the database. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type */ public static void removeByG_C_C_LikeN_T(long groupId, long classNameId, long classTypeId, String name, int type) { getPersistence() .removeByG_C_C_LikeN_T(groupId, classNameId, classTypeId, name, type); } /** * Returns the number of layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @return the number of matching layout page template entries */ public static int countByG_C_C_LikeN_T(long groupId, long classNameId, long classTypeId, String name, int type) { return getPersistence() .countByG_C_C_LikeN_T(groupId, classNameId, classTypeId, name, type); } /** * Returns the number of layout page template entries that the user has permission to view where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @return the number of matching layout page template entries that the user has permission to view */ public static int filterCountByG_C_C_LikeN_T(long groupId, long classNameId, long classTypeId, String name, int type) { return getPersistence() .filterCountByG_C_C_LikeN_T(groupId, classNameId, classTypeId, name, type); } /** * Returns all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and type = ? and status = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param status the status * @return the matching layout page template entries */ public static List findByG_C_C_T_S(long groupId, long classNameId, long classTypeId, int type, int status) { return getPersistence() .findByG_C_C_T_S(groupId, classNameId, classTypeId, type, status); } /** * Returns a range of all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and type = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries */ public static List findByG_C_C_T_S(long groupId, long classNameId, long classTypeId, int type, int status, int start, int end) { return getPersistence() .findByG_C_C_T_S(groupId, classNameId, classTypeId, type, status, start, end); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and type = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries */ public static List findByG_C_C_T_S(long groupId, long classNameId, long classTypeId, int type, int status, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .findByG_C_C_T_S(groupId, classNameId, classTypeId, type, status, start, end, orderByComparator); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and type = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching layout page template entries */ public static List findByG_C_C_T_S(long groupId, long classNameId, long classTypeId, int type, int status, int start, int end, OrderByComparator orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByG_C_C_T_S(groupId, classNameId, classTypeId, type, status, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and type = ? and status = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_C_C_T_S_First(long groupId, long classNameId, long classTypeId, int type, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_C_C_T_S_First(groupId, classNameId, classTypeId, type, status, orderByComparator); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and type = ? and status = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_C_C_T_S_First(long groupId, long classNameId, long classTypeId, int type, int status, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_C_C_T_S_First(groupId, classNameId, classTypeId, type, status, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and type = ? and status = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_C_C_T_S_Last(long groupId, long classNameId, long classTypeId, int type, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_C_C_T_S_Last(groupId, classNameId, classTypeId, type, status, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and type = ? and status = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_C_C_T_S_Last(long groupId, long classNameId, long classTypeId, int type, int status, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_C_C_T_S_Last(groupId, classNameId, classTypeId, type, status, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and type = ? and status = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] findByG_C_C_T_S_PrevAndNext( long layoutPageTemplateEntryId, long groupId, long classNameId, long classTypeId, int type, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_C_C_T_S_PrevAndNext(layoutPageTemplateEntryId, groupId, classNameId, classTypeId, type, status, orderByComparator); } /** * Returns all the layout page template entries that the user has permission to view where groupId = ? and classNameId = ? and classTypeId = ? and type = ? and status = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param status the status * @return the matching layout page template entries that the user has permission to view */ public static List filterFindByG_C_C_T_S( long groupId, long classNameId, long classTypeId, int type, int status) { return getPersistence() .filterFindByG_C_C_T_S(groupId, classNameId, classTypeId, type, status); } /** * Returns a range of all the layout page template entries that the user has permission to view where groupId = ? and classNameId = ? and classTypeId = ? and type = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_C_C_T_S( long groupId, long classNameId, long classTypeId, int type, int status, int start, int end) { return getPersistence() .filterFindByG_C_C_T_S(groupId, classNameId, classTypeId, type, status, start, end); } /** * Returns an ordered range of all the layout page template entries that the user has permissions to view where groupId = ? and classNameId = ? and classTypeId = ? and type = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_C_C_T_S( long groupId, long classNameId, long classTypeId, int type, int status, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .filterFindByG_C_C_T_S(groupId, classNameId, classTypeId, type, status, start, end, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set of layout page template entries that the user has permission to view where groupId = ? and classNameId = ? and classTypeId = ? and type = ? and status = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] filterFindByG_C_C_T_S_PrevAndNext( long layoutPageTemplateEntryId, long groupId, long classNameId, long classTypeId, int type, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .filterFindByG_C_C_T_S_PrevAndNext(layoutPageTemplateEntryId, groupId, classNameId, classTypeId, type, status, orderByComparator); } /** * Removes all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and type = ? and status = ? from the database. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param status the status */ public static void removeByG_C_C_T_S(long groupId, long classNameId, long classTypeId, int type, int status) { getPersistence() .removeByG_C_C_T_S(groupId, classNameId, classTypeId, type, status); } /** * Returns the number of layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and type = ? and status = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param status the status * @return the number of matching layout page template entries */ public static int countByG_C_C_T_S(long groupId, long classNameId, long classTypeId, int type, int status) { return getPersistence() .countByG_C_C_T_S(groupId, classNameId, classTypeId, type, status); } /** * Returns the number of layout page template entries that the user has permission to view where groupId = ? and classNameId = ? and classTypeId = ? and type = ? and status = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param type the type * @param status the status * @return the number of matching layout page template entries that the user has permission to view */ public static int filterCountByG_C_C_T_S(long groupId, long classNameId, long classTypeId, int type, int status) { return getPersistence() .filterCountByG_C_C_T_S(groupId, classNameId, classTypeId, type, status); } /** * Returns all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ? and status = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param status the status * @return the matching layout page template entries */ public static List findByG_C_C_D_S(long groupId, long classNameId, long classTypeId, boolean defaultTemplate, int status) { return getPersistence() .findByG_C_C_D_S(groupId, classNameId, classTypeId, defaultTemplate, status); } /** * Returns a range of all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries */ public static List findByG_C_C_D_S(long groupId, long classNameId, long classTypeId, boolean defaultTemplate, int status, int start, int end) { return getPersistence() .findByG_C_C_D_S(groupId, classNameId, classTypeId, defaultTemplate, status, start, end); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries */ public static List findByG_C_C_D_S(long groupId, long classNameId, long classTypeId, boolean defaultTemplate, int status, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .findByG_C_C_D_S(groupId, classNameId, classTypeId, defaultTemplate, status, start, end, orderByComparator); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching layout page template entries */ public static List findByG_C_C_D_S(long groupId, long classNameId, long classTypeId, boolean defaultTemplate, int status, int start, int end, OrderByComparator orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByG_C_C_D_S(groupId, classNameId, classTypeId, defaultTemplate, status, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ? and status = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_C_C_D_S_First(long groupId, long classNameId, long classTypeId, boolean defaultTemplate, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_C_C_D_S_First(groupId, classNameId, classTypeId, defaultTemplate, status, orderByComparator); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ? and status = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_C_C_D_S_First(long groupId, long classNameId, long classTypeId, boolean defaultTemplate, int status, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_C_C_D_S_First(groupId, classNameId, classTypeId, defaultTemplate, status, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ? and status = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_C_C_D_S_Last(long groupId, long classNameId, long classTypeId, boolean defaultTemplate, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_C_C_D_S_Last(groupId, classNameId, classTypeId, defaultTemplate, status, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ? and status = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_C_C_D_S_Last(long groupId, long classNameId, long classTypeId, boolean defaultTemplate, int status, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_C_C_D_S_Last(groupId, classNameId, classTypeId, defaultTemplate, status, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ? and status = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] findByG_C_C_D_S_PrevAndNext( long layoutPageTemplateEntryId, long groupId, long classNameId, long classTypeId, boolean defaultTemplate, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_C_C_D_S_PrevAndNext(layoutPageTemplateEntryId, groupId, classNameId, classTypeId, defaultTemplate, status, orderByComparator); } /** * Returns all the layout page template entries that the user has permission to view where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ? and status = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param status the status * @return the matching layout page template entries that the user has permission to view */ public static List filterFindByG_C_C_D_S( long groupId, long classNameId, long classTypeId, boolean defaultTemplate, int status) { return getPersistence() .filterFindByG_C_C_D_S(groupId, classNameId, classTypeId, defaultTemplate, status); } /** * Returns a range of all the layout page template entries that the user has permission to view where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_C_C_D_S( long groupId, long classNameId, long classTypeId, boolean defaultTemplate, int status, int start, int end) { return getPersistence() .filterFindByG_C_C_D_S(groupId, classNameId, classTypeId, defaultTemplate, status, start, end); } /** * Returns an ordered range of all the layout page template entries that the user has permissions to view where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_C_C_D_S( long groupId, long classNameId, long classTypeId, boolean defaultTemplate, int status, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .filterFindByG_C_C_D_S(groupId, classNameId, classTypeId, defaultTemplate, status, start, end, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set of layout page template entries that the user has permission to view where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ? and status = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] filterFindByG_C_C_D_S_PrevAndNext( long layoutPageTemplateEntryId, long groupId, long classNameId, long classTypeId, boolean defaultTemplate, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .filterFindByG_C_C_D_S_PrevAndNext(layoutPageTemplateEntryId, groupId, classNameId, classTypeId, defaultTemplate, status, orderByComparator); } /** * Removes all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ? and status = ? from the database. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param status the status */ public static void removeByG_C_C_D_S(long groupId, long classNameId, long classTypeId, boolean defaultTemplate, int status) { getPersistence() .removeByG_C_C_D_S(groupId, classNameId, classTypeId, defaultTemplate, status); } /** * Returns the number of layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ? and status = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param status the status * @return the number of matching layout page template entries */ public static int countByG_C_C_D_S(long groupId, long classNameId, long classTypeId, boolean defaultTemplate, int status) { return getPersistence() .countByG_C_C_D_S(groupId, classNameId, classTypeId, defaultTemplate, status); } /** * Returns the number of layout page template entries that the user has permission to view where groupId = ? and classNameId = ? and classTypeId = ? and defaultTemplate = ? and status = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param defaultTemplate the default template * @param status the status * @return the number of matching layout page template entries that the user has permission to view */ public static int filterCountByG_C_C_D_S(long groupId, long classNameId, long classTypeId, boolean defaultTemplate, int status) { return getPersistence() .filterCountByG_C_C_D_S(groupId, classNameId, classTypeId, defaultTemplate, status); } /** * Returns all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ? and status = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param status the status * @return the matching layout page template entries */ public static List findByG_C_C_LikeN_T_S( long groupId, long classNameId, long classTypeId, String name, int type, int status) { return getPersistence() .findByG_C_C_LikeN_T_S(groupId, classNameId, classTypeId, name, type, status); } /** * Returns a range of all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries */ public static List findByG_C_C_LikeN_T_S( long groupId, long classNameId, long classTypeId, String name, int type, int status, int start, int end) { return getPersistence() .findByG_C_C_LikeN_T_S(groupId, classNameId, classTypeId, name, type, status, start, end); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries */ public static List findByG_C_C_LikeN_T_S( long groupId, long classNameId, long classTypeId, String name, int type, int status, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .findByG_C_C_LikeN_T_S(groupId, classNameId, classTypeId, name, type, status, start, end, orderByComparator); } /** * Returns an ordered range of all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching layout page template entries */ public static List findByG_C_C_LikeN_T_S( long groupId, long classNameId, long classTypeId, String name, int type, int status, int start, int end, OrderByComparator orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByG_C_C_LikeN_T_S(groupId, classNameId, classTypeId, name, type, status, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ? and status = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_C_C_LikeN_T_S_First( long groupId, long classNameId, long classTypeId, String name, int type, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_C_C_LikeN_T_S_First(groupId, classNameId, classTypeId, name, type, status, orderByComparator); } /** * Returns the first layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ? and status = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_C_C_LikeN_T_S_First( long groupId, long classNameId, long classTypeId, String name, int type, int status, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_C_C_LikeN_T_S_First(groupId, classNameId, classTypeId, name, type, status, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ? and status = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry * @throws NoSuchPageTemplateEntryException if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry findByG_C_C_LikeN_T_S_Last( long groupId, long classNameId, long classTypeId, String name, int type, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_C_C_LikeN_T_S_Last(groupId, classNameId, classTypeId, name, type, status, orderByComparator); } /** * Returns the last layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ? and status = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching layout page template entry, or null if a matching layout page template entry could not be found */ public static LayoutPageTemplateEntry fetchByG_C_C_LikeN_T_S_Last( long groupId, long classNameId, long classTypeId, String name, int type, int status, OrderByComparator orderByComparator) { return getPersistence() .fetchByG_C_C_LikeN_T_S_Last(groupId, classNameId, classTypeId, name, type, status, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ? and status = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] findByG_C_C_LikeN_T_S_PrevAndNext( long layoutPageTemplateEntryId, long groupId, long classNameId, long classTypeId, String name, int type, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .findByG_C_C_LikeN_T_S_PrevAndNext(layoutPageTemplateEntryId, groupId, classNameId, classTypeId, name, type, status, orderByComparator); } /** * Returns all the layout page template entries that the user has permission to view where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ? and status = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param status the status * @return the matching layout page template entries that the user has permission to view */ public static List filterFindByG_C_C_LikeN_T_S( long groupId, long classNameId, long classTypeId, String name, int type, int status) { return getPersistence() .filterFindByG_C_C_LikeN_T_S(groupId, classNameId, classTypeId, name, type, status); } /** * Returns a range of all the layout page template entries that the user has permission to view where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_C_C_LikeN_T_S( long groupId, long classNameId, long classTypeId, String name, int type, int status, int start, int end) { return getPersistence() .filterFindByG_C_C_LikeN_T_S(groupId, classNameId, classTypeId, name, type, status, start, end); } /** * Returns an ordered range of all the layout page template entries that the user has permissions to view where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param status the status * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching layout page template entries that the user has permission to view */ public static List filterFindByG_C_C_LikeN_T_S( long groupId, long classNameId, long classTypeId, String name, int type, int status, int start, int end, OrderByComparator orderByComparator) { return getPersistence() .filterFindByG_C_C_LikeN_T_S(groupId, classNameId, classTypeId, name, type, status, start, end, orderByComparator); } /** * Returns the layout page template entries before and after the current layout page template entry in the ordered set of layout page template entries that the user has permission to view where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ? and status = ?. * * @param layoutPageTemplateEntryId the primary key of the current layout page template entry * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry[] filterFindByG_C_C_LikeN_T_S_PrevAndNext( long layoutPageTemplateEntryId, long groupId, long classNameId, long classTypeId, String name, int type, int status, OrderByComparator orderByComparator) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence() .filterFindByG_C_C_LikeN_T_S_PrevAndNext(layoutPageTemplateEntryId, groupId, classNameId, classTypeId, name, type, status, orderByComparator); } /** * Removes all the layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ? and status = ? from the database. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param status the status */ public static void removeByG_C_C_LikeN_T_S(long groupId, long classNameId, long classTypeId, String name, int type, int status) { getPersistence() .removeByG_C_C_LikeN_T_S(groupId, classNameId, classTypeId, name, type, status); } /** * Returns the number of layout page template entries where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ? and status = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param status the status * @return the number of matching layout page template entries */ public static int countByG_C_C_LikeN_T_S(long groupId, long classNameId, long classTypeId, String name, int type, int status) { return getPersistence() .countByG_C_C_LikeN_T_S(groupId, classNameId, classTypeId, name, type, status); } /** * Returns the number of layout page template entries that the user has permission to view where groupId = ? and classNameId = ? and classTypeId = ? and name LIKE ? and type = ? and status = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classTypeId the class type ID * @param name the name * @param type the type * @param status the status * @return the number of matching layout page template entries that the user has permission to view */ public static int filterCountByG_C_C_LikeN_T_S(long groupId, long classNameId, long classTypeId, String name, int type, int status) { return getPersistence() .filterCountByG_C_C_LikeN_T_S(groupId, classNameId, classTypeId, name, type, status); } /** * Caches the layout page template entry in the entity cache if it is enabled. * * @param layoutPageTemplateEntry the layout page template entry */ public static void cacheResult( LayoutPageTemplateEntry layoutPageTemplateEntry) { getPersistence().cacheResult(layoutPageTemplateEntry); } /** * Caches the layout page template entries in the entity cache if it is enabled. * * @param layoutPageTemplateEntries the layout page template entries */ public static void cacheResult( List layoutPageTemplateEntries) { getPersistence().cacheResult(layoutPageTemplateEntries); } /** * Creates a new layout page template entry with the primary key. Does not add the layout page template entry to the database. * * @param layoutPageTemplateEntryId the primary key for the new layout page template entry * @return the new layout page template entry */ public static LayoutPageTemplateEntry create(long layoutPageTemplateEntryId) { return getPersistence().create(layoutPageTemplateEntryId); } /** * Removes the layout page template entry with the primary key from the database. Also notifies the appropriate model listeners. * * @param layoutPageTemplateEntryId the primary key of the layout page template entry * @return the layout page template entry that was removed * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry remove(long layoutPageTemplateEntryId) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence().remove(layoutPageTemplateEntryId); } public static LayoutPageTemplateEntry updateImpl( LayoutPageTemplateEntry layoutPageTemplateEntry) { return getPersistence().updateImpl(layoutPageTemplateEntry); } /** * Returns the layout page template entry with the primary key or throws a {@link NoSuchPageTemplateEntryException} if it could not be found. * * @param layoutPageTemplateEntryId the primary key of the layout page template entry * @return the layout page template entry * @throws NoSuchPageTemplateEntryException if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry findByPrimaryKey( long layoutPageTemplateEntryId) throws com.liferay.layout.page.template.exception.NoSuchPageTemplateEntryException { return getPersistence().findByPrimaryKey(layoutPageTemplateEntryId); } /** * Returns the layout page template entry with the primary key or returns null if it could not be found. * * @param layoutPageTemplateEntryId the primary key of the layout page template entry * @return the layout page template entry, or null if a layout page template entry with the primary key could not be found */ public static LayoutPageTemplateEntry fetchByPrimaryKey( long layoutPageTemplateEntryId) { return getPersistence().fetchByPrimaryKey(layoutPageTemplateEntryId); } public static java.util.Map fetchByPrimaryKeys( java.util.Set primaryKeys) { return getPersistence().fetchByPrimaryKeys(primaryKeys); } /** * Returns all the layout page template entries. * * @return the layout page template entries */ public static List findAll() { return getPersistence().findAll(); } /** * Returns a range of all the layout page template entries. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @return the range of layout page template entries */ public static List findAll(int start, int end) { return getPersistence().findAll(start, end); } /** * Returns an ordered range of all the layout page template entries. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of layout page template entries */ public static List findAll(int start, int end, OrderByComparator orderByComparator) { return getPersistence().findAll(start, end, orderByComparator); } /** * Returns an ordered range of all the layout page template entries. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutPageTemplateEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param start the lower bound of the range of layout page template entries * @param end the upper bound of the range of layout page template entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of layout page template entries */ public static List findAll(int start, int end, OrderByComparator orderByComparator, boolean retrieveFromCache) { return getPersistence() .findAll(start, end, orderByComparator, retrieveFromCache); } /** * Removes all the layout page template entries from the database. */ public static void removeAll() { getPersistence().removeAll(); } /** * Returns the number of layout page template entries. * * @return the number of layout page template entries */ public static int countAll() { return getPersistence().countAll(); } public static java.util.Set getBadColumnNames() { return getPersistence().getBadColumnNames(); } public static LayoutPageTemplateEntryPersistence getPersistence() { return _serviceTracker.getService(); } private static ServiceTracker _serviceTracker; static { Bundle bundle = FrameworkUtil.getBundle(LayoutPageTemplateEntryPersistence.class); ServiceTracker serviceTracker = new ServiceTracker(bundle.getBundleContext(), LayoutPageTemplateEntryPersistence.class, null); serviceTracker.open(); _serviceTracker = serviceTracker; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy