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

com.liferay.object.service.persistence.ObjectLayoutRowPersistence Maven / Gradle / Ivy

There is a newer version: 93.0.0
Show newest version
/**
 * SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
 * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
 */

package com.liferay.object.service.persistence;

import com.liferay.object.exception.NoSuchObjectLayoutRowException;
import com.liferay.object.model.ObjectLayoutRow;
import com.liferay.portal.kernel.service.persistence.BasePersistence;

import org.osgi.annotation.versioning.ProviderType;

/**
 * The persistence interface for the object layout row service.
 *
 * 

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

* * @author Marco Leo * @see ObjectLayoutRowUtil * @generated */ @ProviderType public interface ObjectLayoutRowPersistence extends BasePersistence { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this interface directly. Always use {@link ObjectLayoutRowUtil} to access the object layout row persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. */ /** * Returns all the object layout rows where uuid = ?. * * @param uuid the uuid * @return the matching object layout rows */ public java.util.List findByUuid(String uuid); /** * Returns a range of all the object layout rows where uuid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectLayoutRowModelImpl. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectLayoutRowModelImpl. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectLayoutRowModelImpl. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectLayoutRowModelImpl. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of object layout rows * @param end the upper bound of the range of object layout rows (not inclusive) * @return the range of matching object layout rows */ public java.util.List findByUuid_C( String uuid, long companyId, int start, int end); /** * Returns an ordered range of all the object layout rows where uuid = ? and companyId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectLayoutRowModelImpl. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectLayoutRowModelImpl. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of object layout rows * @param end the upper bound of the range of object layout rows (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching object layout rows */ public java.util.List findByUuid_C( String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first object layout row 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 object layout row * @throws NoSuchObjectLayoutRowException if a matching object layout row could not be found */ public ObjectLayoutRow findByUuid_C_First( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectLayoutRowException; /** * Returns the first object layout row 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 object layout row, or null if a matching object layout row could not be found */ public ObjectLayoutRow fetchByUuid_C_First( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last object layout row 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 object layout row * @throws NoSuchObjectLayoutRowException if a matching object layout row could not be found */ public ObjectLayoutRow findByUuid_C_Last( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectLayoutRowException; /** * Returns the last object layout row 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 object layout row, or null if a matching object layout row could not be found */ public ObjectLayoutRow fetchByUuid_C_Last( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object layout rows before and after the current object layout row in the ordered set where uuid = ? and companyId = ?. * * @param objectLayoutRowId the primary key of the current object layout row * @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 object layout row * @throws NoSuchObjectLayoutRowException if a object layout row with the primary key could not be found */ public ObjectLayoutRow[] findByUuid_C_PrevAndNext( long objectLayoutRowId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectLayoutRowException; /** * Removes all the object layout rows 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 object layout rows where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the number of matching object layout rows */ public int countByUuid_C(String uuid, long companyId); /** * Returns all the object layout rows where objectLayoutBoxId = ?. * * @param objectLayoutBoxId the object layout box ID * @return the matching object layout rows */ public java.util.List findByObjectLayoutBoxId( long objectLayoutBoxId); /** * Returns a range of all the object layout rows where objectLayoutBoxId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectLayoutRowModelImpl. *

* * @param objectLayoutBoxId the object layout box ID * @param start the lower bound of the range of object layout rows * @param end the upper bound of the range of object layout rows (not inclusive) * @return the range of matching object layout rows */ public java.util.List findByObjectLayoutBoxId( long objectLayoutBoxId, int start, int end); /** * Returns an ordered range of all the object layout rows where objectLayoutBoxId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectLayoutRowModelImpl. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectLayoutRowModelImpl. *

* * @param objectLayoutBoxId the object layout box ID * @param start the lower bound of the range of object layout rows * @param end the upper bound of the range of object layout rows (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching object layout rows */ public java.util.List findByObjectLayoutBoxId( long objectLayoutBoxId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first object layout row in the ordered set where objectLayoutBoxId = ?. * * @param objectLayoutBoxId the object layout box ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object layout row * @throws NoSuchObjectLayoutRowException if a matching object layout row could not be found */ public ObjectLayoutRow findByObjectLayoutBoxId_First( long objectLayoutBoxId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectLayoutRowException; /** * Returns the first object layout row in the ordered set where objectLayoutBoxId = ?. * * @param objectLayoutBoxId the object layout box ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object layout row, or null if a matching object layout row could not be found */ public ObjectLayoutRow fetchByObjectLayoutBoxId_First( long objectLayoutBoxId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last object layout row in the ordered set where objectLayoutBoxId = ?. * * @param objectLayoutBoxId the object layout box ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object layout row * @throws NoSuchObjectLayoutRowException if a matching object layout row could not be found */ public ObjectLayoutRow findByObjectLayoutBoxId_Last( long objectLayoutBoxId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectLayoutRowException; /** * Returns the last object layout row in the ordered set where objectLayoutBoxId = ?. * * @param objectLayoutBoxId the object layout box ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object layout row, or null if a matching object layout row could not be found */ public ObjectLayoutRow fetchByObjectLayoutBoxId_Last( long objectLayoutBoxId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object layout rows before and after the current object layout row in the ordered set where objectLayoutBoxId = ?. * * @param objectLayoutRowId the primary key of the current object layout row * @param objectLayoutBoxId the object layout box ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object layout row * @throws NoSuchObjectLayoutRowException if a object layout row with the primary key could not be found */ public ObjectLayoutRow[] findByObjectLayoutBoxId_PrevAndNext( long objectLayoutRowId, long objectLayoutBoxId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectLayoutRowException; /** * Removes all the object layout rows where objectLayoutBoxId = ? from the database. * * @param objectLayoutBoxId the object layout box ID */ public void removeByObjectLayoutBoxId(long objectLayoutBoxId); /** * Returns the number of object layout rows where objectLayoutBoxId = ?. * * @param objectLayoutBoxId the object layout box ID * @return the number of matching object layout rows */ public int countByObjectLayoutBoxId(long objectLayoutBoxId); /** * Caches the object layout row in the entity cache if it is enabled. * * @param objectLayoutRow the object layout row */ public void cacheResult(ObjectLayoutRow objectLayoutRow); /** * Caches the object layout rows in the entity cache if it is enabled. * * @param objectLayoutRows the object layout rows */ public void cacheResult(java.util.List objectLayoutRows); /** * Creates a new object layout row with the primary key. Does not add the object layout row to the database. * * @param objectLayoutRowId the primary key for the new object layout row * @return the new object layout row */ public ObjectLayoutRow create(long objectLayoutRowId); /** * Removes the object layout row with the primary key from the database. Also notifies the appropriate model listeners. * * @param objectLayoutRowId the primary key of the object layout row * @return the object layout row that was removed * @throws NoSuchObjectLayoutRowException if a object layout row with the primary key could not be found */ public ObjectLayoutRow remove(long objectLayoutRowId) throws NoSuchObjectLayoutRowException; public ObjectLayoutRow updateImpl(ObjectLayoutRow objectLayoutRow); /** * Returns the object layout row with the primary key or throws a NoSuchObjectLayoutRowException if it could not be found. * * @param objectLayoutRowId the primary key of the object layout row * @return the object layout row * @throws NoSuchObjectLayoutRowException if a object layout row with the primary key could not be found */ public ObjectLayoutRow findByPrimaryKey(long objectLayoutRowId) throws NoSuchObjectLayoutRowException; /** * Returns the object layout row with the primary key or returns null if it could not be found. * * @param objectLayoutRowId the primary key of the object layout row * @return the object layout row, or null if a object layout row with the primary key could not be found */ public ObjectLayoutRow fetchByPrimaryKey(long objectLayoutRowId); /** * Returns all the object layout rows. * * @return the object layout rows */ public java.util.List findAll(); /** * Returns a range of all the object layout rows. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectLayoutRowModelImpl. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectLayoutRowModelImpl. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectLayoutRowModelImpl. *

* * @param start the lower bound of the range of object layout rows * @param end the upper bound of the range of object layout rows (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of object layout rows */ public java.util.List findAll( int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Removes all the object layout rows from the database. */ public void removeAll(); /** * Returns the number of object layout rows. * * @return the number of object layout rows */ public int countAll(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy