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

com.liferay.object.service.persistence.ObjectLayoutBoxPersistence 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.NoSuchObjectLayoutBoxException;
import com.liferay.object.model.ObjectLayoutBox;
import com.liferay.portal.kernel.service.persistence.BasePersistence;

import org.osgi.annotation.versioning.ProviderType;

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

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

* * @author Marco Leo * @see ObjectLayoutBoxUtil * @generated */ @ProviderType public interface ObjectLayoutBoxPersistence extends BasePersistence { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this interface directly. Always use {@link ObjectLayoutBoxUtil} to access the object layout box persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. */ /** * Returns all the object layout boxes where uuid = ?. * * @param uuid the uuid * @return the matching object layout boxes */ public java.util.List findByUuid(String uuid); /** * Returns a range of all the object layout boxes 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 ObjectLayoutBoxModelImpl. *

* * @param uuid the uuid * @param start the lower bound of the range of object layout boxes * @param end the upper bound of the range of object layout boxes (not inclusive) * @return the range of matching object layout boxes */ public java.util.List findByUuid( String uuid, int start, int end); /** * Returns an ordered range of all the object layout boxes 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 ObjectLayoutBoxModelImpl. *

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

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

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of object layout boxes * @param end the upper bound of the range of object layout boxes (not inclusive) * @return the range of matching object layout boxes */ public java.util.List findByUuid_C( String uuid, long companyId, int start, int end); /** * Returns an ordered range of all the object layout boxes 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 ObjectLayoutBoxModelImpl. *

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

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of object layout boxes * @param end the upper bound of the range of object layout boxes (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 boxes */ 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 box 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 box * @throws NoSuchObjectLayoutBoxException if a matching object layout box could not be found */ public ObjectLayoutBox findByUuid_C_First( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectLayoutBoxException; /** * Returns the first object layout box 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 box, or null if a matching object layout box could not be found */ public ObjectLayoutBox fetchByUuid_C_First( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last object layout box 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 box * @throws NoSuchObjectLayoutBoxException if a matching object layout box could not be found */ public ObjectLayoutBox findByUuid_C_Last( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectLayoutBoxException; /** * Returns the last object layout box 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 box, or null if a matching object layout box could not be found */ public ObjectLayoutBox fetchByUuid_C_Last( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object layout boxes before and after the current object layout box in the ordered set where uuid = ? and companyId = ?. * * @param objectLayoutBoxId the primary key of the current object layout box * @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 box * @throws NoSuchObjectLayoutBoxException if a object layout box with the primary key could not be found */ public ObjectLayoutBox[] findByUuid_C_PrevAndNext( long objectLayoutBoxId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectLayoutBoxException; /** * Removes all the object layout boxes 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 boxes where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the number of matching object layout boxes */ public int countByUuid_C(String uuid, long companyId); /** * Returns all the object layout boxes where objectLayoutTabId = ?. * * @param objectLayoutTabId the object layout tab ID * @return the matching object layout boxes */ public java.util.List findByObjectLayoutTabId( long objectLayoutTabId); /** * Returns a range of all the object layout boxes where objectLayoutTabId = ?. * *

* 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 ObjectLayoutBoxModelImpl. *

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

* 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 ObjectLayoutBoxModelImpl. *

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

* 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 ObjectLayoutBoxModelImpl. *

* * @param objectLayoutTabId the object layout tab ID * @param start the lower bound of the range of object layout boxes * @param end the upper bound of the range of object layout boxes (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 boxes */ public java.util.List findByObjectLayoutTabId( long objectLayoutTabId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first object layout box in the ordered set where objectLayoutTabId = ?. * * @param objectLayoutTabId the object layout tab ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object layout box * @throws NoSuchObjectLayoutBoxException if a matching object layout box could not be found */ public ObjectLayoutBox findByObjectLayoutTabId_First( long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectLayoutBoxException; /** * Returns the first object layout box in the ordered set where objectLayoutTabId = ?. * * @param objectLayoutTabId the object layout tab ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object layout box, or null if a matching object layout box could not be found */ public ObjectLayoutBox fetchByObjectLayoutTabId_First( long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last object layout box in the ordered set where objectLayoutTabId = ?. * * @param objectLayoutTabId the object layout tab ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object layout box * @throws NoSuchObjectLayoutBoxException if a matching object layout box could not be found */ public ObjectLayoutBox findByObjectLayoutTabId_Last( long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectLayoutBoxException; /** * Returns the last object layout box in the ordered set where objectLayoutTabId = ?. * * @param objectLayoutTabId the object layout tab ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object layout box, or null if a matching object layout box could not be found */ public ObjectLayoutBox fetchByObjectLayoutTabId_Last( long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object layout boxes before and after the current object layout box in the ordered set where objectLayoutTabId = ?. * * @param objectLayoutBoxId the primary key of the current object layout box * @param objectLayoutTabId the object layout tab ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object layout box * @throws NoSuchObjectLayoutBoxException if a object layout box with the primary key could not be found */ public ObjectLayoutBox[] findByObjectLayoutTabId_PrevAndNext( long objectLayoutBoxId, long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectLayoutBoxException; /** * Removes all the object layout boxes where objectLayoutTabId = ? from the database. * * @param objectLayoutTabId the object layout tab ID */ public void removeByObjectLayoutTabId(long objectLayoutTabId); /** * Returns the number of object layout boxes where objectLayoutTabId = ?. * * @param objectLayoutTabId the object layout tab ID * @return the number of matching object layout boxes */ public int countByObjectLayoutTabId(long objectLayoutTabId); /** * Caches the object layout box in the entity cache if it is enabled. * * @param objectLayoutBox the object layout box */ public void cacheResult(ObjectLayoutBox objectLayoutBox); /** * Caches the object layout boxes in the entity cache if it is enabled. * * @param objectLayoutBoxes the object layout boxes */ public void cacheResult(java.util.List objectLayoutBoxes); /** * Creates a new object layout box with the primary key. Does not add the object layout box to the database. * * @param objectLayoutBoxId the primary key for the new object layout box * @return the new object layout box */ public ObjectLayoutBox create(long objectLayoutBoxId); /** * Removes the object layout box with the primary key from the database. Also notifies the appropriate model listeners. * * @param objectLayoutBoxId the primary key of the object layout box * @return the object layout box that was removed * @throws NoSuchObjectLayoutBoxException if a object layout box with the primary key could not be found */ public ObjectLayoutBox remove(long objectLayoutBoxId) throws NoSuchObjectLayoutBoxException; public ObjectLayoutBox updateImpl(ObjectLayoutBox objectLayoutBox); /** * Returns the object layout box with the primary key or throws a NoSuchObjectLayoutBoxException if it could not be found. * * @param objectLayoutBoxId the primary key of the object layout box * @return the object layout box * @throws NoSuchObjectLayoutBoxException if a object layout box with the primary key could not be found */ public ObjectLayoutBox findByPrimaryKey(long objectLayoutBoxId) throws NoSuchObjectLayoutBoxException; /** * Returns the object layout box with the primary key or returns null if it could not be found. * * @param objectLayoutBoxId the primary key of the object layout box * @return the object layout box, or null if a object layout box with the primary key could not be found */ public ObjectLayoutBox fetchByPrimaryKey(long objectLayoutBoxId); /** * Returns all the object layout boxes. * * @return the object layout boxes */ public java.util.List findAll(); /** * Returns a range of all the object layout boxes. * *

* 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 ObjectLayoutBoxModelImpl. *

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

* 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 ObjectLayoutBoxModelImpl. *

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

* 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 ObjectLayoutBoxModelImpl. *

* * @param start the lower bound of the range of object layout boxes * @param end the upper bound of the range of object layout boxes (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 boxes */ public java.util.List findAll( int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Removes all the object layout boxes from the database. */ public void removeAll(); /** * Returns the number of object layout boxes. * * @return the number of object layout boxes */ public int countAll(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy