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

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

There is a newer version: 96.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.NoSuchObjectStateException;
import com.liferay.object.model.ObjectState;
import com.liferay.portal.kernel.service.persistence.BasePersistence;

import org.osgi.annotation.versioning.ProviderType;

/**
 * The persistence interface for the object state service.
 *
 * 

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

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

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

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

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

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

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

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

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

* * @param listTypeEntryId the list type entry ID * @param start the lower bound of the range of object states * @param end the upper bound of the range of object states (not inclusive) * @return the range of matching object states */ public java.util.List findByListTypeEntryId( long listTypeEntryId, int start, int end); /** * Returns an ordered range of all the object states where listTypeEntryId = ?. * *

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

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

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

* * @param listTypeEntryId the list type entry ID * @param start the lower bound of the range of object states * @param end the upper bound of the range of object states (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 states */ public java.util.List findByListTypeEntryId( long listTypeEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first object state in the ordered set where listTypeEntryId = ?. * * @param listTypeEntryId the list type entry ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object state * @throws NoSuchObjectStateException if a matching object state could not be found */ public ObjectState findByListTypeEntryId_First( long listTypeEntryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectStateException; /** * Returns the first object state in the ordered set where listTypeEntryId = ?. * * @param listTypeEntryId the list type entry ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object state, or null if a matching object state could not be found */ public ObjectState fetchByListTypeEntryId_First( long listTypeEntryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last object state in the ordered set where listTypeEntryId = ?. * * @param listTypeEntryId the list type entry ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object state * @throws NoSuchObjectStateException if a matching object state could not be found */ public ObjectState findByListTypeEntryId_Last( long listTypeEntryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectStateException; /** * Returns the last object state in the ordered set where listTypeEntryId = ?. * * @param listTypeEntryId the list type entry ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object state, or null if a matching object state could not be found */ public ObjectState fetchByListTypeEntryId_Last( long listTypeEntryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object states before and after the current object state in the ordered set where listTypeEntryId = ?. * * @param objectStateId the primary key of the current object state * @param listTypeEntryId the list type entry ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object state * @throws NoSuchObjectStateException if a object state with the primary key could not be found */ public ObjectState[] findByListTypeEntryId_PrevAndNext( long objectStateId, long listTypeEntryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectStateException; /** * Removes all the object states where listTypeEntryId = ? from the database. * * @param listTypeEntryId the list type entry ID */ public void removeByListTypeEntryId(long listTypeEntryId); /** * Returns the number of object states where listTypeEntryId = ?. * * @param listTypeEntryId the list type entry ID * @return the number of matching object states */ public int countByListTypeEntryId(long listTypeEntryId); /** * Returns all the object states where objectStateFlowId = ?. * * @param objectStateFlowId the object state flow ID * @return the matching object states */ public java.util.List findByObjectStateFlowId( long objectStateFlowId); /** * Returns a range of all the object states where objectStateFlowId = ?. * *

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

* * @param objectStateFlowId the object state flow ID * @param start the lower bound of the range of object states * @param end the upper bound of the range of object states (not inclusive) * @return the range of matching object states */ public java.util.List findByObjectStateFlowId( long objectStateFlowId, int start, int end); /** * Returns an ordered range of all the object states where objectStateFlowId = ?. * *

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

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

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

* * @param objectStateFlowId the object state flow ID * @param start the lower bound of the range of object states * @param end the upper bound of the range of object states (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 states */ public java.util.List findByObjectStateFlowId( long objectStateFlowId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first object state in the ordered set where objectStateFlowId = ?. * * @param objectStateFlowId the object state flow ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object state * @throws NoSuchObjectStateException if a matching object state could not be found */ public ObjectState findByObjectStateFlowId_First( long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectStateException; /** * Returns the first object state in the ordered set where objectStateFlowId = ?. * * @param objectStateFlowId the object state flow ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object state, or null if a matching object state could not be found */ public ObjectState fetchByObjectStateFlowId_First( long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last object state in the ordered set where objectStateFlowId = ?. * * @param objectStateFlowId the object state flow ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object state * @throws NoSuchObjectStateException if a matching object state could not be found */ public ObjectState findByObjectStateFlowId_Last( long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectStateException; /** * Returns the last object state in the ordered set where objectStateFlowId = ?. * * @param objectStateFlowId the object state flow ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object state, or null if a matching object state could not be found */ public ObjectState fetchByObjectStateFlowId_Last( long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object states before and after the current object state in the ordered set where objectStateFlowId = ?. * * @param objectStateId the primary key of the current object state * @param objectStateFlowId the object state flow ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object state * @throws NoSuchObjectStateException if a object state with the primary key could not be found */ public ObjectState[] findByObjectStateFlowId_PrevAndNext( long objectStateId, long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectStateException; /** * Removes all the object states where objectStateFlowId = ? from the database. * * @param objectStateFlowId the object state flow ID */ public void removeByObjectStateFlowId(long objectStateFlowId); /** * Returns the number of object states where objectStateFlowId = ?. * * @param objectStateFlowId the object state flow ID * @return the number of matching object states */ public int countByObjectStateFlowId(long objectStateFlowId); /** * Returns the object state where listTypeEntryId = ? and objectStateFlowId = ? or throws a NoSuchObjectStateException if it could not be found. * * @param listTypeEntryId the list type entry ID * @param objectStateFlowId the object state flow ID * @return the matching object state * @throws NoSuchObjectStateException if a matching object state could not be found */ public ObjectState findByLTEI_OSFI( long listTypeEntryId, long objectStateFlowId) throws NoSuchObjectStateException; /** * Returns the object state where listTypeEntryId = ? and objectStateFlowId = ? or returns null if it could not be found. Uses the finder cache. * * @param listTypeEntryId the list type entry ID * @param objectStateFlowId the object state flow ID * @return the matching object state, or null if a matching object state could not be found */ public ObjectState fetchByLTEI_OSFI( long listTypeEntryId, long objectStateFlowId); /** * Returns the object state where listTypeEntryId = ? and objectStateFlowId = ? or returns null if it could not be found, optionally using the finder cache. * * @param listTypeEntryId the list type entry ID * @param objectStateFlowId the object state flow ID * @param useFinderCache whether to use the finder cache * @return the matching object state, or null if a matching object state could not be found */ public ObjectState fetchByLTEI_OSFI( long listTypeEntryId, long objectStateFlowId, boolean useFinderCache); /** * Removes the object state where listTypeEntryId = ? and objectStateFlowId = ? from the database. * * @param listTypeEntryId the list type entry ID * @param objectStateFlowId the object state flow ID * @return the object state that was removed */ public ObjectState removeByLTEI_OSFI( long listTypeEntryId, long objectStateFlowId) throws NoSuchObjectStateException; /** * Returns the number of object states where listTypeEntryId = ? and objectStateFlowId = ?. * * @param listTypeEntryId the list type entry ID * @param objectStateFlowId the object state flow ID * @return the number of matching object states */ public int countByLTEI_OSFI(long listTypeEntryId, long objectStateFlowId); /** * Caches the object state in the entity cache if it is enabled. * * @param objectState the object state */ public void cacheResult(ObjectState objectState); /** * Caches the object states in the entity cache if it is enabled. * * @param objectStates the object states */ public void cacheResult(java.util.List objectStates); /** * Creates a new object state with the primary key. Does not add the object state to the database. * * @param objectStateId the primary key for the new object state * @return the new object state */ public ObjectState create(long objectStateId); /** * Removes the object state with the primary key from the database. Also notifies the appropriate model listeners. * * @param objectStateId the primary key of the object state * @return the object state that was removed * @throws NoSuchObjectStateException if a object state with the primary key could not be found */ public ObjectState remove(long objectStateId) throws NoSuchObjectStateException; public ObjectState updateImpl(ObjectState objectState); /** * Returns the object state with the primary key or throws a NoSuchObjectStateException if it could not be found. * * @param objectStateId the primary key of the object state * @return the object state * @throws NoSuchObjectStateException if a object state with the primary key could not be found */ public ObjectState findByPrimaryKey(long objectStateId) throws NoSuchObjectStateException; /** * Returns the object state with the primary key or returns null if it could not be found. * * @param objectStateId the primary key of the object state * @return the object state, or null if a object state with the primary key could not be found */ public ObjectState fetchByPrimaryKey(long objectStateId); /** * Returns all the object states. * * @return the object states */ public java.util.List findAll(); /** * Returns a range of all the object states. * *

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

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

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy