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

com.liferay.asset.display.page.service.persistence.AssetDisplayPageEntryPersistence 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.asset.display.page.service.persistence;

import aQute.bnd.annotation.ProviderType;

import com.liferay.asset.display.page.exception.NoSuchDisplayPageEntryException;
import com.liferay.asset.display.page.model.AssetDisplayPageEntry;
import com.liferay.portal.kernel.service.persistence.BasePersistence;

import java.io.Serializable;

import java.util.Map;
import java.util.Set;

/**
 * The persistence interface for the asset display page entry service.
 *
 * 

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

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl. 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 asset display page entries * @param end the upper bound of the range of asset display page entries (not inclusive) * @return the range of matching asset display page entries */ public java.util.List findByUuid( String uuid, int start, int end); /** * Returns an ordered range of all the asset display page entries where uuid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl. 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 asset display page entries * @param end the upper bound of the range of asset display page entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching asset display page entries */ public java.util.List findByUuid( String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the asset display page entries where uuid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl. 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 asset display page entries * @param end the upper bound of the range of asset display page 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 asset display page entries */ public java.util.List findByUuid( String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first asset display page 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 asset display page entry * @throws NoSuchDisplayPageEntryException if a matching asset display page entry could not be found */ public AssetDisplayPageEntry findByUuid_First( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchDisplayPageEntryException; /** * Returns the first asset display page 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 asset display page entry, or null if a matching asset display page entry could not be found */ public AssetDisplayPageEntry fetchByUuid_First( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last asset display page 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 asset display page entry * @throws NoSuchDisplayPageEntryException if a matching asset display page entry could not be found */ public AssetDisplayPageEntry findByUuid_Last( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchDisplayPageEntryException; /** * Returns the last asset display page 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 asset display page entry, or null if a matching asset display page entry could not be found */ public AssetDisplayPageEntry fetchByUuid_Last( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the asset display page entries before and after the current asset display page entry in the ordered set where uuid = ?. * * @param assetDisplayPageEntryId the primary key of the current asset display page entry * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next asset display page entry * @throws NoSuchDisplayPageEntryException if a asset display page entry with the primary key could not be found */ public AssetDisplayPageEntry[] findByUuid_PrevAndNext( long assetDisplayPageEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchDisplayPageEntryException; /** * Removes all the asset display page entries where uuid = ? from the database. * * @param uuid the uuid */ public void removeByUuid(String uuid); /** * Returns the number of asset display page entries where uuid = ?. * * @param uuid the uuid * @return the number of matching asset display page entries */ public int countByUuid(String uuid); /** * Returns the asset display page entry where uuid = ? and groupId = ? or throws a NoSuchDisplayPageEntryException if it could not be found. * * @param uuid the uuid * @param groupId the group ID * @return the matching asset display page entry * @throws NoSuchDisplayPageEntryException if a matching asset display page entry could not be found */ public AssetDisplayPageEntry findByUUID_G(String uuid, long groupId) throws NoSuchDisplayPageEntryException; /** * Returns the asset display page 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 asset display page entry, or null if a matching asset display page entry could not be found */ public AssetDisplayPageEntry fetchByUUID_G(String uuid, long groupId); /** * Returns the asset display page 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 asset display page entry, or null if a matching asset display page entry could not be found */ public AssetDisplayPageEntry fetchByUUID_G( String uuid, long groupId, boolean retrieveFromCache); /** * Removes the asset display page entry where uuid = ? and groupId = ? from the database. * * @param uuid the uuid * @param groupId the group ID * @return the asset display page entry that was removed */ public AssetDisplayPageEntry removeByUUID_G(String uuid, long groupId) throws NoSuchDisplayPageEntryException; /** * Returns the number of asset display page entries where uuid = ? and groupId = ?. * * @param uuid the uuid * @param groupId the group ID * @return the number of matching asset display page entries */ public int countByUUID_G(String uuid, long groupId); /** * Returns all the asset display page entries where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the matching asset display page entries */ public java.util.List findByUuid_C( String uuid, long companyId); /** * Returns a range of all the asset display page entries where uuid = ? and companyId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl. 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 asset display page entries * @param end the upper bound of the range of asset display page entries (not inclusive) * @return the range of matching asset display page entries */ public java.util.List findByUuid_C( String uuid, long companyId, int start, int end); /** * Returns an ordered range of all the asset display page entries where uuid = ? and companyId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl. 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 asset display page entries * @param end the upper bound of the range of asset display page entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching asset display page entries */ public java.util.List findByUuid_C( String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the asset display page entries where uuid = ? and companyId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl. 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 asset display page entries * @param end the upper bound of the range of asset display page 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 asset display page entries */ public java.util.List findByUuid_C( String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first asset display page 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 asset display page entry * @throws NoSuchDisplayPageEntryException if a matching asset display page entry could not be found */ public AssetDisplayPageEntry findByUuid_C_First( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchDisplayPageEntryException; /** * Returns the first asset display page 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 asset display page entry, or null if a matching asset display page entry could not be found */ public AssetDisplayPageEntry fetchByUuid_C_First( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last asset display page 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 asset display page entry * @throws NoSuchDisplayPageEntryException if a matching asset display page entry could not be found */ public AssetDisplayPageEntry findByUuid_C_Last( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchDisplayPageEntryException; /** * Returns the last asset display page 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 asset display page entry, or null if a matching asset display page entry could not be found */ public AssetDisplayPageEntry fetchByUuid_C_Last( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the asset display page entries before and after the current asset display page entry in the ordered set where uuid = ? and companyId = ?. * * @param assetDisplayPageEntryId the primary key of the current asset display page 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 asset display page entry * @throws NoSuchDisplayPageEntryException if a asset display page entry with the primary key could not be found */ public AssetDisplayPageEntry[] findByUuid_C_PrevAndNext( long assetDisplayPageEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchDisplayPageEntryException; /** * Removes all the asset display page entries where uuid = ? and companyId = ? from the database. * * @param uuid the uuid * @param companyId the company ID */ public void removeByUuid_C(String uuid, long companyId); /** * Returns the number of asset display page entries where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the number of matching asset display page entries */ public int countByUuid_C(String uuid, long companyId); /** * Returns all the asset display page entries where groupId = ?. * * @param groupId the group ID * @return the matching asset display page entries */ public java.util.List findByGroupId(long groupId); /** * Returns a range of all the asset display page 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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl. 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 asset display page entries * @param end the upper bound of the range of asset display page entries (not inclusive) * @return the range of matching asset display page entries */ public java.util.List findByGroupId( long groupId, int start, int end); /** * Returns an ordered range of all the asset display page 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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl. 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 asset display page entries * @param end the upper bound of the range of asset display page entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching asset display page entries */ public java.util.List findByGroupId( long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the asset display page 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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl. 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 asset display page entries * @param end the upper bound of the range of asset display page 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 asset display page entries */ public java.util.List findByGroupId( long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first asset display page 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 asset display page entry * @throws NoSuchDisplayPageEntryException if a matching asset display page entry could not be found */ public AssetDisplayPageEntry findByGroupId_First( long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchDisplayPageEntryException; /** * Returns the first asset display page 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 asset display page entry, or null if a matching asset display page entry could not be found */ public AssetDisplayPageEntry fetchByGroupId_First( long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last asset display page 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 asset display page entry * @throws NoSuchDisplayPageEntryException if a matching asset display page entry could not be found */ public AssetDisplayPageEntry findByGroupId_Last( long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchDisplayPageEntryException; /** * Returns the last asset display page 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 asset display page entry, or null if a matching asset display page entry could not be found */ public AssetDisplayPageEntry fetchByGroupId_Last( long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the asset display page entries before and after the current asset display page entry in the ordered set where groupId = ?. * * @param assetDisplayPageEntryId the primary key of the current asset display page entry * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next asset display page entry * @throws NoSuchDisplayPageEntryException if a asset display page entry with the primary key could not be found */ public AssetDisplayPageEntry[] findByGroupId_PrevAndNext( long assetDisplayPageEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchDisplayPageEntryException; /** * Removes all the asset display page entries where groupId = ? from the database. * * @param groupId the group ID */ public void removeByGroupId(long groupId); /** * Returns the number of asset display page entries where groupId = ?. * * @param groupId the group ID * @return the number of matching asset display page entries */ public int countByGroupId(long groupId); /** * Returns all the asset display page entries where layoutPageTemplateEntryId = ?. * * @param layoutPageTemplateEntryId the layout page template entry ID * @return the matching asset display page entries */ public java.util.List findByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId); /** * Returns a range of all the asset display page entries where layoutPageTemplateEntryId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl. 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 layoutPageTemplateEntryId the layout page template entry ID * @param start the lower bound of the range of asset display page entries * @param end the upper bound of the range of asset display page entries (not inclusive) * @return the range of matching asset display page entries */ public java.util.List findByLayoutPageTemplateEntryId( long layoutPageTemplateEntryId, int start, int end); /** * Returns an ordered range of all the asset display page entries where layoutPageTemplateEntryId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl. 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 layoutPageTemplateEntryId the layout page template entry ID * @param start the lower bound of the range of asset display page entries * @param end the upper bound of the range of asset display page entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching asset display page entries */ public java.util.List findByLayoutPageTemplateEntryId( long layoutPageTemplateEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the asset display page entries where layoutPageTemplateEntryId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl. 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 layoutPageTemplateEntryId the layout page template entry ID * @param start the lower bound of the range of asset display page entries * @param end the upper bound of the range of asset display page 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 asset display page entries */ public java.util.List findByLayoutPageTemplateEntryId( long layoutPageTemplateEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first asset display page entry in the ordered set where layoutPageTemplateEntryId = ?. * * @param layoutPageTemplateEntryId the layout page template entry ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching asset display page entry * @throws NoSuchDisplayPageEntryException if a matching asset display page entry could not be found */ public AssetDisplayPageEntry findByLayoutPageTemplateEntryId_First( long layoutPageTemplateEntryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchDisplayPageEntryException; /** * Returns the first asset display page entry in the ordered set where layoutPageTemplateEntryId = ?. * * @param layoutPageTemplateEntryId the layout page template entry ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching asset display page entry, or null if a matching asset display page entry could not be found */ public AssetDisplayPageEntry fetchByLayoutPageTemplateEntryId_First( long layoutPageTemplateEntryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last asset display page entry in the ordered set where layoutPageTemplateEntryId = ?. * * @param layoutPageTemplateEntryId the layout page template entry ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching asset display page entry * @throws NoSuchDisplayPageEntryException if a matching asset display page entry could not be found */ public AssetDisplayPageEntry findByLayoutPageTemplateEntryId_Last( long layoutPageTemplateEntryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchDisplayPageEntryException; /** * Returns the last asset display page entry in the ordered set where layoutPageTemplateEntryId = ?. * * @param layoutPageTemplateEntryId the layout page template entry ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching asset display page entry, or null if a matching asset display page entry could not be found */ public AssetDisplayPageEntry fetchByLayoutPageTemplateEntryId_Last( long layoutPageTemplateEntryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the asset display page entries before and after the current asset display page entry in the ordered set where layoutPageTemplateEntryId = ?. * * @param assetDisplayPageEntryId the primary key of the current asset display page entry * @param layoutPageTemplateEntryId the layout page template entry ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next asset display page entry * @throws NoSuchDisplayPageEntryException if a asset display page entry with the primary key could not be found */ public AssetDisplayPageEntry[] findByLayoutPageTemplateEntryId_PrevAndNext( long assetDisplayPageEntryId, long layoutPageTemplateEntryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchDisplayPageEntryException; /** * Removes all the asset display page entries where layoutPageTemplateEntryId = ? from the database. * * @param layoutPageTemplateEntryId the layout page template entry ID */ public void removeByLayoutPageTemplateEntryId( long layoutPageTemplateEntryId); /** * Returns the number of asset display page entries where layoutPageTemplateEntryId = ?. * * @param layoutPageTemplateEntryId the layout page template entry ID * @return the number of matching asset display page entries */ public int countByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId); /** * Returns the asset display page entry where groupId = ? and classNameId = ? and classPK = ? or throws a NoSuchDisplayPageEntryException if it could not be found. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @return the matching asset display page entry * @throws NoSuchDisplayPageEntryException if a matching asset display page entry could not be found */ public AssetDisplayPageEntry findByG_C_C( long groupId, long classNameId, long classPK) throws NoSuchDisplayPageEntryException; /** * Returns the asset display page entry where groupId = ? and classNameId = ? and classPK = ? or returns null if it could not be found. Uses the finder cache. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @return the matching asset display page entry, or null if a matching asset display page entry could not be found */ public AssetDisplayPageEntry fetchByG_C_C( long groupId, long classNameId, long classPK); /** * Returns the asset display page entry where groupId = ? and classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param retrieveFromCache whether to retrieve from the finder cache * @return the matching asset display page entry, or null if a matching asset display page entry could not be found */ public AssetDisplayPageEntry fetchByG_C_C( long groupId, long classNameId, long classPK, boolean retrieveFromCache); /** * Removes the asset display page entry where groupId = ? and classNameId = ? and classPK = ? from the database. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @return the asset display page entry that was removed */ public AssetDisplayPageEntry removeByG_C_C( long groupId, long classNameId, long classPK) throws NoSuchDisplayPageEntryException; /** * Returns the number of asset display page entries where groupId = ? and classNameId = ? and classPK = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @return the number of matching asset display page entries */ public int countByG_C_C(long groupId, long classNameId, long classPK); /** * Caches the asset display page entry in the entity cache if it is enabled. * * @param assetDisplayPageEntry the asset display page entry */ public void cacheResult(AssetDisplayPageEntry assetDisplayPageEntry); /** * Caches the asset display page entries in the entity cache if it is enabled. * * @param assetDisplayPageEntries the asset display page entries */ public void cacheResult( java.util.List assetDisplayPageEntries); /** * Creates a new asset display page entry with the primary key. Does not add the asset display page entry to the database. * * @param assetDisplayPageEntryId the primary key for the new asset display page entry * @return the new asset display page entry */ public AssetDisplayPageEntry create(long assetDisplayPageEntryId); /** * Removes the asset display page entry with the primary key from the database. Also notifies the appropriate model listeners. * * @param assetDisplayPageEntryId the primary key of the asset display page entry * @return the asset display page entry that was removed * @throws NoSuchDisplayPageEntryException if a asset display page entry with the primary key could not be found */ public AssetDisplayPageEntry remove(long assetDisplayPageEntryId) throws NoSuchDisplayPageEntryException; public AssetDisplayPageEntry updateImpl( AssetDisplayPageEntry assetDisplayPageEntry); /** * Returns the asset display page entry with the primary key or throws a NoSuchDisplayPageEntryException if it could not be found. * * @param assetDisplayPageEntryId the primary key of the asset display page entry * @return the asset display page entry * @throws NoSuchDisplayPageEntryException if a asset display page entry with the primary key could not be found */ public AssetDisplayPageEntry findByPrimaryKey(long assetDisplayPageEntryId) throws NoSuchDisplayPageEntryException; /** * Returns the asset display page entry with the primary key or returns null if it could not be found. * * @param assetDisplayPageEntryId the primary key of the asset display page entry * @return the asset display page entry, or null if a asset display page entry with the primary key could not be found */ public AssetDisplayPageEntry fetchByPrimaryKey( long assetDisplayPageEntryId); /** * Returns all the asset display page entries. * * @return the asset display page entries */ public java.util.List findAll(); /** * Returns a range of all the asset display page entries. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl. 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 asset display page entries * @param end the upper bound of the range of asset display page entries (not inclusive) * @return the range of asset display page entries */ public java.util.List findAll(int start, int end); /** * Returns an ordered range of all the asset display page entries. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl. 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 asset display page entries * @param end the upper bound of the range of asset display page entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of asset display page entries */ public java.util.List findAll( int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the asset display page entries. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl. 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 asset display page entries * @param end the upper bound of the range of asset display page 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 asset display page entries */ public java.util.List findAll( int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Removes all the asset display page entries from the database. */ public void removeAll(); /** * Returns the number of asset display page entries. * * @return the number of asset display page entries */ public int countAll(); @Override public Set getBadColumnNames(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy