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

com.liferay.object.service.persistence.ObjectValidationRuleUtil 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.model.ObjectValidationRule;
import com.liferay.portal.kernel.dao.orm.DynamicQuery;
import com.liferay.portal.kernel.service.ServiceContext;
import com.liferay.portal.kernel.util.OrderByComparator;

import java.io.Serializable;

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

/**
 * The persistence utility for the object validation rule service. This utility wraps com.liferay.object.service.persistence.impl.ObjectValidationRulePersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
 *
 * 

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

* * @author Marco Leo * @see ObjectValidationRulePersistence * @generated */ public class ObjectValidationRuleUtil { /* * NOTE FOR DEVELOPERS: * * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. */ /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#clearCache() */ public static void clearCache() { getPersistence().clearCache(); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#clearCache(com.liferay.portal.kernel.model.BaseModel) */ public static void clearCache(ObjectValidationRule objectValidationRule) { getPersistence().clearCache(objectValidationRule); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) */ public static long countWithDynamicQuery(DynamicQuery dynamicQuery) { return getPersistence().countWithDynamicQuery(dynamicQuery); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#fetchByPrimaryKeys(Set) */ public static Map fetchByPrimaryKeys( Set primaryKeys) { return getPersistence().fetchByPrimaryKeys(primaryKeys); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) */ public static List findWithDynamicQuery( DynamicQuery dynamicQuery) { return getPersistence().findWithDynamicQuery(dynamicQuery); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) */ public static List findWithDynamicQuery( DynamicQuery dynamicQuery, int start, int end) { return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) */ public static List findWithDynamicQuery( DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) { return getPersistence().findWithDynamicQuery( dynamicQuery, start, end, orderByComparator); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#update(com.liferay.portal.kernel.model.BaseModel) */ public static ObjectValidationRule update( ObjectValidationRule objectValidationRule) { return getPersistence().update(objectValidationRule); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#update(com.liferay.portal.kernel.model.BaseModel, ServiceContext) */ public static ObjectValidationRule update( ObjectValidationRule objectValidationRule, ServiceContext serviceContext) { return getPersistence().update(objectValidationRule, serviceContext); } /** * Returns all the object validation rules where uuid = ?. * * @param uuid the uuid * @return the matching object validation rules */ public static List findByUuid(String uuid) { return getPersistence().findByUuid(uuid); } /** * Returns a range of all the object validation rules 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 ObjectValidationRuleModelImpl. *

* * @param uuid the uuid * @param start the lower bound of the range of object validation rules * @param end the upper bound of the range of object validation rules (not inclusive) * @return the range of matching object validation rules */ public static List findByUuid( String uuid, int start, int end) { return getPersistence().findByUuid(uuid, start, end); } /** * Returns an ordered range of all the object validation rules 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 ObjectValidationRuleModelImpl. *

* * @param uuid the uuid * @param start the lower bound of the range of object validation rules * @param end the upper bound of the range of object validation rules (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object validation rules */ public static List findByUuid( String uuid, int start, int end, OrderByComparator orderByComparator) { return getPersistence().findByUuid(uuid, start, end, orderByComparator); } /** * Returns an ordered range of all the object validation rules 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 ObjectValidationRuleModelImpl. *

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

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

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of object validation rules * @param end the upper bound of the range of object validation rules (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object validation rules */ public static List findByUuid_C( String uuid, long companyId, int start, int end, OrderByComparator orderByComparator) { return getPersistence().findByUuid_C( uuid, companyId, start, end, orderByComparator); } /** * Returns an ordered range of all the object validation rules 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 ObjectValidationRuleModelImpl. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of object validation rules * @param end the upper bound of the range of object validation rules (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 validation rules */ public static List findByUuid_C( String uuid, long companyId, int start, int end, OrderByComparator orderByComparator, boolean useFinderCache) { return getPersistence().findByUuid_C( uuid, companyId, start, end, orderByComparator, useFinderCache); } /** * Returns the first object validation rule 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 validation rule * @throws NoSuchObjectValidationRuleException if a matching object validation rule could not be found */ public static ObjectValidationRule findByUuid_C_First( String uuid, long companyId, OrderByComparator orderByComparator) throws com.liferay.object.exception. NoSuchObjectValidationRuleException { return getPersistence().findByUuid_C_First( uuid, companyId, orderByComparator); } /** * Returns the first object validation rule 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 validation rule, or null if a matching object validation rule could not be found */ public static ObjectValidationRule fetchByUuid_C_First( String uuid, long companyId, OrderByComparator orderByComparator) { return getPersistence().fetchByUuid_C_First( uuid, companyId, orderByComparator); } /** * Returns the last object validation rule 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 validation rule * @throws NoSuchObjectValidationRuleException if a matching object validation rule could not be found */ public static ObjectValidationRule findByUuid_C_Last( String uuid, long companyId, OrderByComparator orderByComparator) throws com.liferay.object.exception. NoSuchObjectValidationRuleException { return getPersistence().findByUuid_C_Last( uuid, companyId, orderByComparator); } /** * Returns the last object validation rule 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 validation rule, or null if a matching object validation rule could not be found */ public static ObjectValidationRule fetchByUuid_C_Last( String uuid, long companyId, OrderByComparator orderByComparator) { return getPersistence().fetchByUuid_C_Last( uuid, companyId, orderByComparator); } /** * Returns the object validation rules before and after the current object validation rule in the ordered set where uuid = ? and companyId = ?. * * @param objectValidationRuleId the primary key of the current object validation rule * @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 validation rule * @throws NoSuchObjectValidationRuleException if a object validation rule with the primary key could not be found */ public static ObjectValidationRule[] findByUuid_C_PrevAndNext( long objectValidationRuleId, String uuid, long companyId, OrderByComparator orderByComparator) throws com.liferay.object.exception. NoSuchObjectValidationRuleException { return getPersistence().findByUuid_C_PrevAndNext( objectValidationRuleId, uuid, companyId, orderByComparator); } /** * Removes all the object validation rules where uuid = ? and companyId = ? from the database. * * @param uuid the uuid * @param companyId the company ID */ public static void removeByUuid_C(String uuid, long companyId) { getPersistence().removeByUuid_C(uuid, companyId); } /** * Returns the number of object validation rules where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the number of matching object validation rules */ public static int countByUuid_C(String uuid, long companyId) { return getPersistence().countByUuid_C(uuid, companyId); } /** * Returns all the object validation rules where objectDefinitionId = ?. * * @param objectDefinitionId the object definition ID * @return the matching object validation rules */ public static List findByObjectDefinitionId( long objectDefinitionId) { return getPersistence().findByObjectDefinitionId(objectDefinitionId); } /** * Returns a range of all the object validation rules where objectDefinitionId = ?. * *

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

* * @param objectDefinitionId the object definition ID * @param start the lower bound of the range of object validation rules * @param end the upper bound of the range of object validation rules (not inclusive) * @return the range of matching object validation rules */ public static List findByObjectDefinitionId( long objectDefinitionId, int start, int end) { return getPersistence().findByObjectDefinitionId( objectDefinitionId, start, end); } /** * Returns an ordered range of all the object validation rules where objectDefinitionId = ?. * *

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

* * @param objectDefinitionId the object definition ID * @param start the lower bound of the range of object validation rules * @param end the upper bound of the range of object validation rules (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object validation rules */ public static List findByObjectDefinitionId( long objectDefinitionId, int start, int end, OrderByComparator orderByComparator) { return getPersistence().findByObjectDefinitionId( objectDefinitionId, start, end, orderByComparator); } /** * Returns an ordered range of all the object validation rules where objectDefinitionId = ?. * *

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

* * @param objectDefinitionId the object definition ID * @param start the lower bound of the range of object validation rules * @param end the upper bound of the range of object validation rules (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 validation rules */ public static List findByObjectDefinitionId( long objectDefinitionId, int start, int end, OrderByComparator orderByComparator, boolean useFinderCache) { return getPersistence().findByObjectDefinitionId( objectDefinitionId, start, end, orderByComparator, useFinderCache); } /** * Returns the first object validation rule in the ordered set where objectDefinitionId = ?. * * @param objectDefinitionId the object definition ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object validation rule * @throws NoSuchObjectValidationRuleException if a matching object validation rule could not be found */ public static ObjectValidationRule findByObjectDefinitionId_First( long objectDefinitionId, OrderByComparator orderByComparator) throws com.liferay.object.exception. NoSuchObjectValidationRuleException { return getPersistence().findByObjectDefinitionId_First( objectDefinitionId, orderByComparator); } /** * Returns the first object validation rule in the ordered set where objectDefinitionId = ?. * * @param objectDefinitionId the object definition ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object validation rule, or null if a matching object validation rule could not be found */ public static ObjectValidationRule fetchByObjectDefinitionId_First( long objectDefinitionId, OrderByComparator orderByComparator) { return getPersistence().fetchByObjectDefinitionId_First( objectDefinitionId, orderByComparator); } /** * Returns the last object validation rule in the ordered set where objectDefinitionId = ?. * * @param objectDefinitionId the object definition ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object validation rule * @throws NoSuchObjectValidationRuleException if a matching object validation rule could not be found */ public static ObjectValidationRule findByObjectDefinitionId_Last( long objectDefinitionId, OrderByComparator orderByComparator) throws com.liferay.object.exception. NoSuchObjectValidationRuleException { return getPersistence().findByObjectDefinitionId_Last( objectDefinitionId, orderByComparator); } /** * Returns the last object validation rule in the ordered set where objectDefinitionId = ?. * * @param objectDefinitionId the object definition ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object validation rule, or null if a matching object validation rule could not be found */ public static ObjectValidationRule fetchByObjectDefinitionId_Last( long objectDefinitionId, OrderByComparator orderByComparator) { return getPersistence().fetchByObjectDefinitionId_Last( objectDefinitionId, orderByComparator); } /** * Returns the object validation rules before and after the current object validation rule in the ordered set where objectDefinitionId = ?. * * @param objectValidationRuleId the primary key of the current object validation rule * @param objectDefinitionId the object definition ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object validation rule * @throws NoSuchObjectValidationRuleException if a object validation rule with the primary key could not be found */ public static ObjectValidationRule[] findByObjectDefinitionId_PrevAndNext( long objectValidationRuleId, long objectDefinitionId, OrderByComparator orderByComparator) throws com.liferay.object.exception. NoSuchObjectValidationRuleException { return getPersistence().findByObjectDefinitionId_PrevAndNext( objectValidationRuleId, objectDefinitionId, orderByComparator); } /** * Removes all the object validation rules where objectDefinitionId = ? from the database. * * @param objectDefinitionId the object definition ID */ public static void removeByObjectDefinitionId(long objectDefinitionId) { getPersistence().removeByObjectDefinitionId(objectDefinitionId); } /** * Returns the number of object validation rules where objectDefinitionId = ?. * * @param objectDefinitionId the object definition ID * @return the number of matching object validation rules */ public static int countByObjectDefinitionId(long objectDefinitionId) { return getPersistence().countByObjectDefinitionId(objectDefinitionId); } /** * Returns all the object validation rules where objectDefinitionId = ? and active = ?. * * @param objectDefinitionId the object definition ID * @param active the active * @return the matching object validation rules */ public static List findByODI_A( long objectDefinitionId, boolean active) { return getPersistence().findByODI_A(objectDefinitionId, active); } /** * Returns a range of all the object validation rules where objectDefinitionId = ? and active = ?. * *

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

* * @param objectDefinitionId the object definition ID * @param active the active * @param start the lower bound of the range of object validation rules * @param end the upper bound of the range of object validation rules (not inclusive) * @return the range of matching object validation rules */ public static List findByODI_A( long objectDefinitionId, boolean active, int start, int end) { return getPersistence().findByODI_A( objectDefinitionId, active, start, end); } /** * Returns an ordered range of all the object validation rules where objectDefinitionId = ? and active = ?. * *

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

* * @param objectDefinitionId the object definition ID * @param active the active * @param start the lower bound of the range of object validation rules * @param end the upper bound of the range of object validation rules (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object validation rules */ public static List findByODI_A( long objectDefinitionId, boolean active, int start, int end, OrderByComparator orderByComparator) { return getPersistence().findByODI_A( objectDefinitionId, active, start, end, orderByComparator); } /** * Returns an ordered range of all the object validation rules where objectDefinitionId = ? and active = ?. * *

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

* * @param objectDefinitionId the object definition ID * @param active the active * @param start the lower bound of the range of object validation rules * @param end the upper bound of the range of object validation rules (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 validation rules */ public static List findByODI_A( long objectDefinitionId, boolean active, int start, int end, OrderByComparator orderByComparator, boolean useFinderCache) { return getPersistence().findByODI_A( objectDefinitionId, active, start, end, orderByComparator, useFinderCache); } /** * Returns the first object validation rule in the ordered set where objectDefinitionId = ? and active = ?. * * @param objectDefinitionId the object definition ID * @param active the active * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object validation rule * @throws NoSuchObjectValidationRuleException if a matching object validation rule could not be found */ public static ObjectValidationRule findByODI_A_First( long objectDefinitionId, boolean active, OrderByComparator orderByComparator) throws com.liferay.object.exception. NoSuchObjectValidationRuleException { return getPersistence().findByODI_A_First( objectDefinitionId, active, orderByComparator); } /** * Returns the first object validation rule in the ordered set where objectDefinitionId = ? and active = ?. * * @param objectDefinitionId the object definition ID * @param active the active * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object validation rule, or null if a matching object validation rule could not be found */ public static ObjectValidationRule fetchByODI_A_First( long objectDefinitionId, boolean active, OrderByComparator orderByComparator) { return getPersistence().fetchByODI_A_First( objectDefinitionId, active, orderByComparator); } /** * Returns the last object validation rule in the ordered set where objectDefinitionId = ? and active = ?. * * @param objectDefinitionId the object definition ID * @param active the active * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object validation rule * @throws NoSuchObjectValidationRuleException if a matching object validation rule could not be found */ public static ObjectValidationRule findByODI_A_Last( long objectDefinitionId, boolean active, OrderByComparator orderByComparator) throws com.liferay.object.exception. NoSuchObjectValidationRuleException { return getPersistence().findByODI_A_Last( objectDefinitionId, active, orderByComparator); } /** * Returns the last object validation rule in the ordered set where objectDefinitionId = ? and active = ?. * * @param objectDefinitionId the object definition ID * @param active the active * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object validation rule, or null if a matching object validation rule could not be found */ public static ObjectValidationRule fetchByODI_A_Last( long objectDefinitionId, boolean active, OrderByComparator orderByComparator) { return getPersistence().fetchByODI_A_Last( objectDefinitionId, active, orderByComparator); } /** * Returns the object validation rules before and after the current object validation rule in the ordered set where objectDefinitionId = ? and active = ?. * * @param objectValidationRuleId the primary key of the current object validation rule * @param objectDefinitionId the object definition ID * @param active the active * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object validation rule * @throws NoSuchObjectValidationRuleException if a object validation rule with the primary key could not be found */ public static ObjectValidationRule[] findByODI_A_PrevAndNext( long objectValidationRuleId, long objectDefinitionId, boolean active, OrderByComparator orderByComparator) throws com.liferay.object.exception. NoSuchObjectValidationRuleException { return getPersistence().findByODI_A_PrevAndNext( objectValidationRuleId, objectDefinitionId, active, orderByComparator); } /** * Removes all the object validation rules where objectDefinitionId = ? and active = ? from the database. * * @param objectDefinitionId the object definition ID * @param active the active */ public static void removeByODI_A(long objectDefinitionId, boolean active) { getPersistence().removeByODI_A(objectDefinitionId, active); } /** * Returns the number of object validation rules where objectDefinitionId = ? and active = ?. * * @param objectDefinitionId the object definition ID * @param active the active * @return the number of matching object validation rules */ public static int countByODI_A(long objectDefinitionId, boolean active) { return getPersistence().countByODI_A(objectDefinitionId, active); } /** * Returns all the object validation rules where objectDefinitionId = ? and engine = ?. * * @param objectDefinitionId the object definition ID * @param engine the engine * @return the matching object validation rules */ public static List findByODI_E( long objectDefinitionId, String engine) { return getPersistence().findByODI_E(objectDefinitionId, engine); } /** * Returns a range of all the object validation rules where objectDefinitionId = ? and engine = ?. * *

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

* * @param objectDefinitionId the object definition ID * @param engine the engine * @param start the lower bound of the range of object validation rules * @param end the upper bound of the range of object validation rules (not inclusive) * @return the range of matching object validation rules */ public static List findByODI_E( long objectDefinitionId, String engine, int start, int end) { return getPersistence().findByODI_E( objectDefinitionId, engine, start, end); } /** * Returns an ordered range of all the object validation rules where objectDefinitionId = ? and engine = ?. * *

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

* * @param objectDefinitionId the object definition ID * @param engine the engine * @param start the lower bound of the range of object validation rules * @param end the upper bound of the range of object validation rules (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object validation rules */ public static List findByODI_E( long objectDefinitionId, String engine, int start, int end, OrderByComparator orderByComparator) { return getPersistence().findByODI_E( objectDefinitionId, engine, start, end, orderByComparator); } /** * Returns an ordered range of all the object validation rules where objectDefinitionId = ? and engine = ?. * *

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

* * @param objectDefinitionId the object definition ID * @param engine the engine * @param start the lower bound of the range of object validation rules * @param end the upper bound of the range of object validation rules (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 validation rules */ public static List findByODI_E( long objectDefinitionId, String engine, int start, int end, OrderByComparator orderByComparator, boolean useFinderCache) { return getPersistence().findByODI_E( objectDefinitionId, engine, start, end, orderByComparator, useFinderCache); } /** * Returns the first object validation rule in the ordered set where objectDefinitionId = ? and engine = ?. * * @param objectDefinitionId the object definition ID * @param engine the engine * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object validation rule * @throws NoSuchObjectValidationRuleException if a matching object validation rule could not be found */ public static ObjectValidationRule findByODI_E_First( long objectDefinitionId, String engine, OrderByComparator orderByComparator) throws com.liferay.object.exception. NoSuchObjectValidationRuleException { return getPersistence().findByODI_E_First( objectDefinitionId, engine, orderByComparator); } /** * Returns the first object validation rule in the ordered set where objectDefinitionId = ? and engine = ?. * * @param objectDefinitionId the object definition ID * @param engine the engine * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object validation rule, or null if a matching object validation rule could not be found */ public static ObjectValidationRule fetchByODI_E_First( long objectDefinitionId, String engine, OrderByComparator orderByComparator) { return getPersistence().fetchByODI_E_First( objectDefinitionId, engine, orderByComparator); } /** * Returns the last object validation rule in the ordered set where objectDefinitionId = ? and engine = ?. * * @param objectDefinitionId the object definition ID * @param engine the engine * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object validation rule * @throws NoSuchObjectValidationRuleException if a matching object validation rule could not be found */ public static ObjectValidationRule findByODI_E_Last( long objectDefinitionId, String engine, OrderByComparator orderByComparator) throws com.liferay.object.exception. NoSuchObjectValidationRuleException { return getPersistence().findByODI_E_Last( objectDefinitionId, engine, orderByComparator); } /** * Returns the last object validation rule in the ordered set where objectDefinitionId = ? and engine = ?. * * @param objectDefinitionId the object definition ID * @param engine the engine * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object validation rule, or null if a matching object validation rule could not be found */ public static ObjectValidationRule fetchByODI_E_Last( long objectDefinitionId, String engine, OrderByComparator orderByComparator) { return getPersistence().fetchByODI_E_Last( objectDefinitionId, engine, orderByComparator); } /** * Returns the object validation rules before and after the current object validation rule in the ordered set where objectDefinitionId = ? and engine = ?. * * @param objectValidationRuleId the primary key of the current object validation rule * @param objectDefinitionId the object definition ID * @param engine the engine * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object validation rule * @throws NoSuchObjectValidationRuleException if a object validation rule with the primary key could not be found */ public static ObjectValidationRule[] findByODI_E_PrevAndNext( long objectValidationRuleId, long objectDefinitionId, String engine, OrderByComparator orderByComparator) throws com.liferay.object.exception. NoSuchObjectValidationRuleException { return getPersistence().findByODI_E_PrevAndNext( objectValidationRuleId, objectDefinitionId, engine, orderByComparator); } /** * Removes all the object validation rules where objectDefinitionId = ? and engine = ? from the database. * * @param objectDefinitionId the object definition ID * @param engine the engine */ public static void removeByODI_E(long objectDefinitionId, String engine) { getPersistence().removeByODI_E(objectDefinitionId, engine); } /** * Returns the number of object validation rules where objectDefinitionId = ? and engine = ?. * * @param objectDefinitionId the object definition ID * @param engine the engine * @return the number of matching object validation rules */ public static int countByODI_E(long objectDefinitionId, String engine) { return getPersistence().countByODI_E(objectDefinitionId, engine); } /** * Returns all the object validation rules where objectDefinitionId = ? and outputType = ?. * * @param objectDefinitionId the object definition ID * @param outputType the output type * @return the matching object validation rules */ public static List findByODI_O( long objectDefinitionId, String outputType) { return getPersistence().findByODI_O(objectDefinitionId, outputType); } /** * Returns a range of all the object validation rules where objectDefinitionId = ? and outputType = ?. * *

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

* * @param objectDefinitionId the object definition ID * @param outputType the output type * @param start the lower bound of the range of object validation rules * @param end the upper bound of the range of object validation rules (not inclusive) * @return the range of matching object validation rules */ public static List findByODI_O( long objectDefinitionId, String outputType, int start, int end) { return getPersistence().findByODI_O( objectDefinitionId, outputType, start, end); } /** * Returns an ordered range of all the object validation rules where objectDefinitionId = ? and outputType = ?. * *

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

* * @param objectDefinitionId the object definition ID * @param outputType the output type * @param start the lower bound of the range of object validation rules * @param end the upper bound of the range of object validation rules (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object validation rules */ public static List findByODI_O( long objectDefinitionId, String outputType, int start, int end, OrderByComparator orderByComparator) { return getPersistence().findByODI_O( objectDefinitionId, outputType, start, end, orderByComparator); } /** * Returns an ordered range of all the object validation rules where objectDefinitionId = ? and outputType = ?. * *

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

* * @param objectDefinitionId the object definition ID * @param outputType the output type * @param start the lower bound of the range of object validation rules * @param end the upper bound of the range of object validation rules (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 validation rules */ public static List findByODI_O( long objectDefinitionId, String outputType, int start, int end, OrderByComparator orderByComparator, boolean useFinderCache) { return getPersistence().findByODI_O( objectDefinitionId, outputType, start, end, orderByComparator, useFinderCache); } /** * Returns the first object validation rule in the ordered set where objectDefinitionId = ? and outputType = ?. * * @param objectDefinitionId the object definition ID * @param outputType the output type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object validation rule * @throws NoSuchObjectValidationRuleException if a matching object validation rule could not be found */ public static ObjectValidationRule findByODI_O_First( long objectDefinitionId, String outputType, OrderByComparator orderByComparator) throws com.liferay.object.exception. NoSuchObjectValidationRuleException { return getPersistence().findByODI_O_First( objectDefinitionId, outputType, orderByComparator); } /** * Returns the first object validation rule in the ordered set where objectDefinitionId = ? and outputType = ?. * * @param objectDefinitionId the object definition ID * @param outputType the output type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object validation rule, or null if a matching object validation rule could not be found */ public static ObjectValidationRule fetchByODI_O_First( long objectDefinitionId, String outputType, OrderByComparator orderByComparator) { return getPersistence().fetchByODI_O_First( objectDefinitionId, outputType, orderByComparator); } /** * Returns the last object validation rule in the ordered set where objectDefinitionId = ? and outputType = ?. * * @param objectDefinitionId the object definition ID * @param outputType the output type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object validation rule * @throws NoSuchObjectValidationRuleException if a matching object validation rule could not be found */ public static ObjectValidationRule findByODI_O_Last( long objectDefinitionId, String outputType, OrderByComparator orderByComparator) throws com.liferay.object.exception. NoSuchObjectValidationRuleException { return getPersistence().findByODI_O_Last( objectDefinitionId, outputType, orderByComparator); } /** * Returns the last object validation rule in the ordered set where objectDefinitionId = ? and outputType = ?. * * @param objectDefinitionId the object definition ID * @param outputType the output type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object validation rule, or null if a matching object validation rule could not be found */ public static ObjectValidationRule fetchByODI_O_Last( long objectDefinitionId, String outputType, OrderByComparator orderByComparator) { return getPersistence().fetchByODI_O_Last( objectDefinitionId, outputType, orderByComparator); } /** * Returns the object validation rules before and after the current object validation rule in the ordered set where objectDefinitionId = ? and outputType = ?. * * @param objectValidationRuleId the primary key of the current object validation rule * @param objectDefinitionId the object definition ID * @param outputType the output type * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object validation rule * @throws NoSuchObjectValidationRuleException if a object validation rule with the primary key could not be found */ public static ObjectValidationRule[] findByODI_O_PrevAndNext( long objectValidationRuleId, long objectDefinitionId, String outputType, OrderByComparator orderByComparator) throws com.liferay.object.exception. NoSuchObjectValidationRuleException { return getPersistence().findByODI_O_PrevAndNext( objectValidationRuleId, objectDefinitionId, outputType, orderByComparator); } /** * Removes all the object validation rules where objectDefinitionId = ? and outputType = ? from the database. * * @param objectDefinitionId the object definition ID * @param outputType the output type */ public static void removeByODI_O( long objectDefinitionId, String outputType) { getPersistence().removeByODI_O(objectDefinitionId, outputType); } /** * Returns the number of object validation rules where objectDefinitionId = ? and outputType = ?. * * @param objectDefinitionId the object definition ID * @param outputType the output type * @return the number of matching object validation rules */ public static int countByODI_O(long objectDefinitionId, String outputType) { return getPersistence().countByODI_O(objectDefinitionId, outputType); } /** * Returns all the object validation rules where active = ? and engine = ?. * * @param active the active * @param engine the engine * @return the matching object validation rules */ public static List findByA_E( boolean active, String engine) { return getPersistence().findByA_E(active, engine); } /** * Returns a range of all the object validation rules where active = ? and engine = ?. * *

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

* * @param active the active * @param engine the engine * @param start the lower bound of the range of object validation rules * @param end the upper bound of the range of object validation rules (not inclusive) * @return the range of matching object validation rules */ public static List findByA_E( boolean active, String engine, int start, int end) { return getPersistence().findByA_E(active, engine, start, end); } /** * Returns an ordered range of all the object validation rules where active = ? and engine = ?. * *

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

* * @param active the active * @param engine the engine * @param start the lower bound of the range of object validation rules * @param end the upper bound of the range of object validation rules (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object validation rules */ public static List findByA_E( boolean active, String engine, int start, int end, OrderByComparator orderByComparator) { return getPersistence().findByA_E( active, engine, start, end, orderByComparator); } /** * Returns an ordered range of all the object validation rules where active = ? and engine = ?. * *

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

* * @param active the active * @param engine the engine * @param start the lower bound of the range of object validation rules * @param end the upper bound of the range of object validation rules (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 validation rules */ public static List findByA_E( boolean active, String engine, int start, int end, OrderByComparator orderByComparator, boolean useFinderCache) { return getPersistence().findByA_E( active, engine, start, end, orderByComparator, useFinderCache); } /** * Returns the first object validation rule in the ordered set where active = ? and engine = ?. * * @param active the active * @param engine the engine * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object validation rule * @throws NoSuchObjectValidationRuleException if a matching object validation rule could not be found */ public static ObjectValidationRule findByA_E_First( boolean active, String engine, OrderByComparator orderByComparator) throws com.liferay.object.exception. NoSuchObjectValidationRuleException { return getPersistence().findByA_E_First( active, engine, orderByComparator); } /** * Returns the first object validation rule in the ordered set where active = ? and engine = ?. * * @param active the active * @param engine the engine * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object validation rule, or null if a matching object validation rule could not be found */ public static ObjectValidationRule fetchByA_E_First( boolean active, String engine, OrderByComparator orderByComparator) { return getPersistence().fetchByA_E_First( active, engine, orderByComparator); } /** * Returns the last object validation rule in the ordered set where active = ? and engine = ?. * * @param active the active * @param engine the engine * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object validation rule * @throws NoSuchObjectValidationRuleException if a matching object validation rule could not be found */ public static ObjectValidationRule findByA_E_Last( boolean active, String engine, OrderByComparator orderByComparator) throws com.liferay.object.exception. NoSuchObjectValidationRuleException { return getPersistence().findByA_E_Last( active, engine, orderByComparator); } /** * Returns the last object validation rule in the ordered set where active = ? and engine = ?. * * @param active the active * @param engine the engine * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object validation rule, or null if a matching object validation rule could not be found */ public static ObjectValidationRule fetchByA_E_Last( boolean active, String engine, OrderByComparator orderByComparator) { return getPersistence().fetchByA_E_Last( active, engine, orderByComparator); } /** * Returns the object validation rules before and after the current object validation rule in the ordered set where active = ? and engine = ?. * * @param objectValidationRuleId the primary key of the current object validation rule * @param active the active * @param engine the engine * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object validation rule * @throws NoSuchObjectValidationRuleException if a object validation rule with the primary key could not be found */ public static ObjectValidationRule[] findByA_E_PrevAndNext( long objectValidationRuleId, boolean active, String engine, OrderByComparator orderByComparator) throws com.liferay.object.exception. NoSuchObjectValidationRuleException { return getPersistence().findByA_E_PrevAndNext( objectValidationRuleId, active, engine, orderByComparator); } /** * Removes all the object validation rules where active = ? and engine = ? from the database. * * @param active the active * @param engine the engine */ public static void removeByA_E(boolean active, String engine) { getPersistence().removeByA_E(active, engine); } /** * Returns the number of object validation rules where active = ? and engine = ?. * * @param active the active * @param engine the engine * @return the number of matching object validation rules */ public static int countByA_E(boolean active, String engine) { return getPersistence().countByA_E(active, engine); } /** * Returns the object validation rule where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or throws a NoSuchObjectValidationRuleException if it could not be found. * * @param externalReferenceCode the external reference code * @param companyId the company ID * @param objectDefinitionId the object definition ID * @return the matching object validation rule * @throws NoSuchObjectValidationRuleException if a matching object validation rule could not be found */ public static ObjectValidationRule findByERC_C_ODI( String externalReferenceCode, long companyId, long objectDefinitionId) throws com.liferay.object.exception. NoSuchObjectValidationRuleException { return getPersistence().findByERC_C_ODI( externalReferenceCode, companyId, objectDefinitionId); } /** * Returns the object validation rule where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returns null if it could not be found. Uses the finder cache. * * @param externalReferenceCode the external reference code * @param companyId the company ID * @param objectDefinitionId the object definition ID * @return the matching object validation rule, or null if a matching object validation rule could not be found */ public static ObjectValidationRule fetchByERC_C_ODI( String externalReferenceCode, long companyId, long objectDefinitionId) { return getPersistence().fetchByERC_C_ODI( externalReferenceCode, companyId, objectDefinitionId); } /** * Returns the object validation rule where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returns null if it could not be found, optionally using the finder cache. * * @param externalReferenceCode the external reference code * @param companyId the company ID * @param objectDefinitionId the object definition ID * @param useFinderCache whether to use the finder cache * @return the matching object validation rule, or null if a matching object validation rule could not be found */ public static ObjectValidationRule fetchByERC_C_ODI( String externalReferenceCode, long companyId, long objectDefinitionId, boolean useFinderCache) { return getPersistence().fetchByERC_C_ODI( externalReferenceCode, companyId, objectDefinitionId, useFinderCache); } /** * Removes the object validation rule where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? from the database. * * @param externalReferenceCode the external reference code * @param companyId the company ID * @param objectDefinitionId the object definition ID * @return the object validation rule that was removed */ public static ObjectValidationRule removeByERC_C_ODI( String externalReferenceCode, long companyId, long objectDefinitionId) throws com.liferay.object.exception. NoSuchObjectValidationRuleException { return getPersistence().removeByERC_C_ODI( externalReferenceCode, companyId, objectDefinitionId); } /** * Returns the number of object validation rules where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ?. * * @param externalReferenceCode the external reference code * @param companyId the company ID * @param objectDefinitionId the object definition ID * @return the number of matching object validation rules */ public static int countByERC_C_ODI( String externalReferenceCode, long companyId, long objectDefinitionId) { return getPersistence().countByERC_C_ODI( externalReferenceCode, companyId, objectDefinitionId); } /** * Caches the object validation rule in the entity cache if it is enabled. * * @param objectValidationRule the object validation rule */ public static void cacheResult(ObjectValidationRule objectValidationRule) { getPersistence().cacheResult(objectValidationRule); } /** * Caches the object validation rules in the entity cache if it is enabled. * * @param objectValidationRules the object validation rules */ public static void cacheResult( List objectValidationRules) { getPersistence().cacheResult(objectValidationRules); } /** * Creates a new object validation rule with the primary key. Does not add the object validation rule to the database. * * @param objectValidationRuleId the primary key for the new object validation rule * @return the new object validation rule */ public static ObjectValidationRule create(long objectValidationRuleId) { return getPersistence().create(objectValidationRuleId); } /** * Removes the object validation rule with the primary key from the database. Also notifies the appropriate model listeners. * * @param objectValidationRuleId the primary key of the object validation rule * @return the object validation rule that was removed * @throws NoSuchObjectValidationRuleException if a object validation rule with the primary key could not be found */ public static ObjectValidationRule remove(long objectValidationRuleId) throws com.liferay.object.exception. NoSuchObjectValidationRuleException { return getPersistence().remove(objectValidationRuleId); } public static ObjectValidationRule updateImpl( ObjectValidationRule objectValidationRule) { return getPersistence().updateImpl(objectValidationRule); } /** * Returns the object validation rule with the primary key or throws a NoSuchObjectValidationRuleException if it could not be found. * * @param objectValidationRuleId the primary key of the object validation rule * @return the object validation rule * @throws NoSuchObjectValidationRuleException if a object validation rule with the primary key could not be found */ public static ObjectValidationRule findByPrimaryKey( long objectValidationRuleId) throws com.liferay.object.exception. NoSuchObjectValidationRuleException { return getPersistence().findByPrimaryKey(objectValidationRuleId); } /** * Returns the object validation rule with the primary key or returns null if it could not be found. * * @param objectValidationRuleId the primary key of the object validation rule * @return the object validation rule, or null if a object validation rule with the primary key could not be found */ public static ObjectValidationRule fetchByPrimaryKey( long objectValidationRuleId) { return getPersistence().fetchByPrimaryKey(objectValidationRuleId); } /** * Returns all the object validation rules. * * @return the object validation rules */ public static List findAll() { return getPersistence().findAll(); } /** * Returns a range of all the object validation rules. * *

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

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

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

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

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

* * @param start the lower bound of the range of object validation rules * @param end the upper bound of the range of object validation rules (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 validation rules */ public static List findAll( int start, int end, OrderByComparator orderByComparator, boolean useFinderCache) { return getPersistence().findAll( start, end, orderByComparator, useFinderCache); } /** * Removes all the object validation rules from the database. */ public static void removeAll() { getPersistence().removeAll(); } /** * Returns the number of object validation rules. * * @return the number of object validation rules */ public static int countAll() { return getPersistence().countAll(); } public static ObjectValidationRulePersistence getPersistence() { return _persistence; } public static void setPersistence( ObjectValidationRulePersistence persistence) { _persistence = persistence; } private static volatile ObjectValidationRulePersistence _persistence; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy