Class ObjectValidationRuleUtil
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(ObjectValidationRule objectValidationRule) Caches the object validation rule in the entity cache if it is enabled.static void
cacheResult
(List<ObjectValidationRule> objectValidationRules) Caches the object validation rules in the entity cache if it is enabled.static void
static void
clearCache
(ObjectValidationRule objectValidationRule) static int
countAll()
Returns the number of object validation rules.static int
countByA_E
(boolean active, String engine) Returns the number of object validation rules where active = ? and engine = ?.static int
countByERC_C_ODI
(String externalReferenceCode, long companyId, long objectDefinitionId) Returns the number of object validation rules where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ?.static int
countByObjectDefinitionId
(long objectDefinitionId) Returns the number of object validation rules where objectDefinitionId = ?.static int
countByODI_A
(long objectDefinitionId, boolean active) Returns the number of object validation rules where objectDefinitionId = ? and active = ?.static int
countByODI_E
(long objectDefinitionId, String engine) Returns the number of object validation rules where objectDefinitionId = ? and engine = ?.static int
countByODI_O
(long objectDefinitionId, String outputType) Returns the number of object validation rules where objectDefinitionId = ? and outputType = ?.static int
countByUuid
(String uuid) Returns the number of object validation rules where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of object validation rules where uuid = ? and companyId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static ObjectValidationRule
create
(long objectValidationRuleId) Creates a new object validation rule with the primary key.static ObjectValidationRule
fetchByA_E_First
(boolean active, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the first object validation rule in the ordered set where active = ? and engine = ?.static ObjectValidationRule
fetchByA_E_Last
(boolean active, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the last object validation rule in the ordered set where active = ? and engine = ?.static ObjectValidationRule
fetchByERC_C_ODI
(String externalReferenceCode, long companyId, long objectDefinitionId) Returns the object validation rule where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returnsnull
if it could not be found.static ObjectValidationRule
fetchByERC_C_ODI
(String externalReferenceCode, long companyId, long objectDefinitionId, boolean useFinderCache) Returns the object validation rule where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returnsnull
if it could not be found, optionally using the finder cache.static ObjectValidationRule
fetchByObjectDefinitionId_First
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the first object validation rule in the ordered set where objectDefinitionId = ?.static ObjectValidationRule
fetchByObjectDefinitionId_Last
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the last object validation rule in the ordered set where objectDefinitionId = ?.static ObjectValidationRule
fetchByODI_A_First
(long objectDefinitionId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the first object validation rule in the ordered set where objectDefinitionId = ? and active = ?.static ObjectValidationRule
fetchByODI_A_Last
(long objectDefinitionId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the last object validation rule in the ordered set where objectDefinitionId = ? and active = ?.static ObjectValidationRule
fetchByODI_E_First
(long objectDefinitionId, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the first object validation rule in the ordered set where objectDefinitionId = ? and engine = ?.static ObjectValidationRule
fetchByODI_E_Last
(long objectDefinitionId, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the last object validation rule in the ordered set where objectDefinitionId = ? and engine = ?.static ObjectValidationRule
fetchByODI_O_First
(long objectDefinitionId, String outputType, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the first object validation rule in the ordered set where objectDefinitionId = ? and outputType = ?.static ObjectValidationRule
fetchByODI_O_Last
(long objectDefinitionId, String outputType, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the last object validation rule in the ordered set where objectDefinitionId = ? and outputType = ?.static ObjectValidationRule
fetchByPrimaryKey
(long objectValidationRuleId) Returns the object validation rule with the primary key or returnsnull
if it could not be found.static Map<Serializable,
ObjectValidationRule> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static ObjectValidationRule
fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the first object validation rule in the ordered set where uuid = ? and companyId = ?.static ObjectValidationRule
fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the last object validation rule in the ordered set where uuid = ? and companyId = ?.static ObjectValidationRule
fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the first object validation rule in the ordered set where uuid = ?.static ObjectValidationRule
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the last object validation rule in the ordered set where uuid = ?.static List<ObjectValidationRule>
findAll()
Returns all the object validation rules.static List<ObjectValidationRule>
findAll
(int start, int end) Returns a range of all the object validation rules.static List<ObjectValidationRule>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns an ordered range of all the object validation rules.static List<ObjectValidationRule>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object validation rules.static List<ObjectValidationRule>
Returns all the object validation rules where active = ? and engine = ?.static List<ObjectValidationRule>
Returns a range of all the object validation rules where active = ? and engine = ?.static List<ObjectValidationRule>
findByA_E
(boolean active, String engine, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns an ordered range of all the object validation rules where active = ? and engine = ?.static List<ObjectValidationRule>
findByA_E
(boolean active, String engine, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object validation rules where active = ? and engine = ?.static ObjectValidationRule
findByA_E_First
(boolean active, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the first object validation rule in the ordered set where active = ? and engine = ?.static ObjectValidationRule
findByA_E_Last
(boolean active, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the last object validation rule in the ordered set where active = ? and engine = ?.static ObjectValidationRule[]
findByA_E_PrevAndNext
(long objectValidationRuleId, boolean active, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the object validation rules before and after the current object validation rule in the ordered set where active = ? and engine = ?.static ObjectValidationRule
findByERC_C_ODI
(String externalReferenceCode, long companyId, long objectDefinitionId) Returns the object validation rule where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or throws aNoSuchObjectValidationRuleException
if it could not be found.static List<ObjectValidationRule>
findByObjectDefinitionId
(long objectDefinitionId) Returns all the object validation rules where objectDefinitionId = ?.static List<ObjectValidationRule>
findByObjectDefinitionId
(long objectDefinitionId, int start, int end) Returns a range of all the object validation rules where objectDefinitionId = ?.static List<ObjectValidationRule>
findByObjectDefinitionId
(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns an ordered range of all the object validation rules where objectDefinitionId = ?.static List<ObjectValidationRule>
findByObjectDefinitionId
(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object validation rules where objectDefinitionId = ?.static ObjectValidationRule
findByObjectDefinitionId_First
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the first object validation rule in the ordered set where objectDefinitionId = ?.static ObjectValidationRule
findByObjectDefinitionId_Last
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the last object validation rule in the ordered set where objectDefinitionId = ?.static ObjectValidationRule[]
findByObjectDefinitionId_PrevAndNext
(long objectValidationRuleId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the object validation rules before and after the current object validation rule in the ordered set where objectDefinitionId = ?.static List<ObjectValidationRule>
findByODI_A
(long objectDefinitionId, boolean active) Returns all the object validation rules where objectDefinitionId = ? and active = ?.static List<ObjectValidationRule>
findByODI_A
(long objectDefinitionId, boolean active, int start, int end) Returns a range of all the object validation rules where objectDefinitionId = ? and active = ?.static List<ObjectValidationRule>
findByODI_A
(long objectDefinitionId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns an ordered range of all the object validation rules where objectDefinitionId = ? and active = ?.static List<ObjectValidationRule>
findByODI_A
(long objectDefinitionId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object validation rules where objectDefinitionId = ? and active = ?.static ObjectValidationRule
findByODI_A_First
(long objectDefinitionId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the first object validation rule in the ordered set where objectDefinitionId = ? and active = ?.static ObjectValidationRule
findByODI_A_Last
(long objectDefinitionId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the last object validation rule in the ordered set where objectDefinitionId = ? and active = ?.static ObjectValidationRule[]
findByODI_A_PrevAndNext
(long objectValidationRuleId, long objectDefinitionId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the object validation rules before and after the current object validation rule in the ordered set where objectDefinitionId = ? and active = ?.static List<ObjectValidationRule>
findByODI_E
(long objectDefinitionId, String engine) Returns all the object validation rules where objectDefinitionId = ? and engine = ?.static List<ObjectValidationRule>
findByODI_E
(long objectDefinitionId, String engine, int start, int end) Returns a range of all the object validation rules where objectDefinitionId = ? and engine = ?.static List<ObjectValidationRule>
findByODI_E
(long objectDefinitionId, String engine, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns an ordered range of all the object validation rules where objectDefinitionId = ? and engine = ?.static List<ObjectValidationRule>
findByODI_E
(long objectDefinitionId, String engine, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object validation rules where objectDefinitionId = ? and engine = ?.static ObjectValidationRule
findByODI_E_First
(long objectDefinitionId, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the first object validation rule in the ordered set where objectDefinitionId = ? and engine = ?.static ObjectValidationRule
findByODI_E_Last
(long objectDefinitionId, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the last object validation rule in the ordered set where objectDefinitionId = ? and engine = ?.static ObjectValidationRule[]
findByODI_E_PrevAndNext
(long objectValidationRuleId, long objectDefinitionId, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the object validation rules before and after the current object validation rule in the ordered set where objectDefinitionId = ? and engine = ?.static List<ObjectValidationRule>
findByODI_O
(long objectDefinitionId, String outputType) Returns all the object validation rules where objectDefinitionId = ? and outputType = ?.static List<ObjectValidationRule>
findByODI_O
(long objectDefinitionId, String outputType, int start, int end) Returns a range of all the object validation rules where objectDefinitionId = ? and outputType = ?.static List<ObjectValidationRule>
findByODI_O
(long objectDefinitionId, String outputType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns an ordered range of all the object validation rules where objectDefinitionId = ? and outputType = ?.static List<ObjectValidationRule>
findByODI_O
(long objectDefinitionId, String outputType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object validation rules where objectDefinitionId = ? and outputType = ?.static ObjectValidationRule
findByODI_O_First
(long objectDefinitionId, String outputType, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the first object validation rule in the ordered set where objectDefinitionId = ? and outputType = ?.static ObjectValidationRule
findByODI_O_Last
(long objectDefinitionId, String outputType, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the last object validation rule in the ordered set where objectDefinitionId = ? and outputType = ?.static ObjectValidationRule[]
findByODI_O_PrevAndNext
(long objectValidationRuleId, long objectDefinitionId, String outputType, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the object validation rules before and after the current object validation rule in the ordered set where objectDefinitionId = ? and outputType = ?.static ObjectValidationRule
findByPrimaryKey
(long objectValidationRuleId) Returns the object validation rule with the primary key or throws aNoSuchObjectValidationRuleException
if it could not be found.static List<ObjectValidationRule>
findByUuid
(String uuid) Returns all the object validation rules where uuid = ?.static List<ObjectValidationRule>
findByUuid
(String uuid, int start, int end) Returns a range of all the object validation rules where uuid = ?.static List<ObjectValidationRule>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns an ordered range of all the object validation rules where uuid = ?.static List<ObjectValidationRule>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object validation rules where uuid = ?.static List<ObjectValidationRule>
findByUuid_C
(String uuid, long companyId) Returns all the object validation rules where uuid = ? and companyId = ?.static List<ObjectValidationRule>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the object validation rules where uuid = ? and companyId = ?.static List<ObjectValidationRule>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns an ordered range of all the object validation rules where uuid = ? and companyId = ?.static List<ObjectValidationRule>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object validation rules where uuid = ? and companyId = ?.static ObjectValidationRule
findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the first object validation rule in the ordered set where uuid = ? and companyId = ?.static ObjectValidationRule
findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the last object validation rule in the ordered set where uuid = ? and companyId = ?.static ObjectValidationRule[]
findByUuid_C_PrevAndNext
(long objectValidationRuleId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the object validation rules before and after the current object validation rule in the ordered set where uuid = ? and companyId = ?.static ObjectValidationRule
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the first object validation rule in the ordered set where uuid = ?.static ObjectValidationRule
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the last object validation rule in the ordered set where uuid = ?.static ObjectValidationRule[]
findByUuid_PrevAndNext
(long objectValidationRuleId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the object validation rules before and after the current object validation rule in the ordered set where uuid = ?.static List<ObjectValidationRule>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<ObjectValidationRule>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<ObjectValidationRule>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) static ObjectValidationRule
remove
(long objectValidationRuleId) Removes the object validation rule with the primary key from the database.static void
Removes all the object validation rules from the database.static void
removeByA_E
(boolean active, String engine) Removes all the object validation rules where active = ? and engine = ? from the database.static ObjectValidationRule
removeByERC_C_ODI
(String externalReferenceCode, long companyId, long objectDefinitionId) Removes the object validation rule where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? from the database.static void
removeByObjectDefinitionId
(long objectDefinitionId) Removes all the object validation rules where objectDefinitionId = ? from the database.static void
removeByODI_A
(long objectDefinitionId, boolean active) Removes all the object validation rules where objectDefinitionId = ? and active = ? from the database.static void
removeByODI_E
(long objectDefinitionId, String engine) Removes all the object validation rules where objectDefinitionId = ? and engine = ? from the database.static void
removeByODI_O
(long objectDefinitionId, String outputType) Removes all the object validation rules where objectDefinitionId = ? and outputType = ? from the database.static void
removeByUuid
(String uuid) Removes all the object validation rules where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the object validation rules where uuid = ? and companyId = ? from the database.static void
setPersistence
(ObjectValidationRulePersistence persistence) static ObjectValidationRule
update
(ObjectValidationRule objectValidationRule) static ObjectValidationRule
update
(ObjectValidationRule objectValidationRule, com.liferay.portal.kernel.service.ServiceContext serviceContext) static ObjectValidationRule
updateImpl
(ObjectValidationRule objectValidationRule)
-
Constructor Details
-
ObjectValidationRuleUtil
public ObjectValidationRuleUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,ObjectValidationRule> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<ObjectValidationRule> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<ObjectValidationRule> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<ObjectValidationRule> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static ObjectValidationRule update(ObjectValidationRule objectValidationRule, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the object validation rules where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching object validation rules
-
findByUuid
Returns a range of all the object validation rules where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectValidationRuleModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object validation rulesend
- the upper bound of the range of object validation rules (not inclusive)- Returns:
- the range of matching object validation rules
-
findByUuid
public static List<ObjectValidationRule> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectValidationRuleModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object validation rulesend
- the upper bound of the range of object validation rules (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object validation rules
-
findByUuid
public static List<ObjectValidationRule> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object validation rules where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectValidationRuleModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object validation rulesend
- the upper bound of the range of object validation rules (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object validation rules
-
findByUuid_First
public static ObjectValidationRule findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException Returns the first object validation rule in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object validation rule
- Throws:
NoSuchObjectValidationRuleException
- if a matching object validation rule could not be foundNoSuchObjectValidationRuleException
-
fetchByUuid_First
public static ObjectValidationRule fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the first object validation rule in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object validation rule, or
null
if a matching object validation rule could not be found
-
findByUuid_Last
public static ObjectValidationRule findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException Returns the last object validation rule in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object validation rule
- Throws:
NoSuchObjectValidationRuleException
- if a matching object validation rule could not be foundNoSuchObjectValidationRuleException
-
fetchByUuid_Last
public static ObjectValidationRule fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the last object validation rule in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object validation rule, or
null
if a matching object validation rule could not be found
-
findByUuid_PrevAndNext
public static ObjectValidationRule[] findByUuid_PrevAndNext(long objectValidationRuleId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException Returns the object validation rules before and after the current object validation rule in the ordered set where uuid = ?.- Parameters:
objectValidationRuleId
- the primary key of the current object validation ruleuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object validation rule
- Throws:
NoSuchObjectValidationRuleException
- if a object validation rule with the primary key could not be foundNoSuchObjectValidationRuleException
-
removeByUuid
Removes all the object validation rules where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of object validation rules where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching object validation rules
-
findByUuid_C
Returns all the object validation rules where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching object validation rules
-
findByUuid_C
public static List<ObjectValidationRule> findByUuid_C(String uuid, long companyId, int start, int end) 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectValidationRuleModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object validation rulesend
- the upper bound of the range of object validation rules (not inclusive)- Returns:
- the range of matching object validation rules
-
findByUuid_C
public static List<ObjectValidationRule> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectValidationRuleModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object validation rulesend
- the upper bound of the range of object validation rules (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object validation rules
-
findByUuid_C
public static List<ObjectValidationRule> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache) 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectValidationRuleModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object validation rulesend
- the upper bound of the range of object validation rules (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object validation rules
-
findByUuid_C_First
public static ObjectValidationRule findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException Returns the first object validation rule in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object validation rule
- Throws:
NoSuchObjectValidationRuleException
- if a matching object validation rule could not be foundNoSuchObjectValidationRuleException
-
fetchByUuid_C_First
public static ObjectValidationRule fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the first object validation rule in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object validation rule, or
null
if a matching object validation rule could not be found
-
findByUuid_C_Last
public static ObjectValidationRule findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException Returns the last object validation rule in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object validation rule
- Throws:
NoSuchObjectValidationRuleException
- if a matching object validation rule could not be foundNoSuchObjectValidationRuleException
-
fetchByUuid_C_Last
public static ObjectValidationRule fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the last object validation rule in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object validation rule, or
null
if a matching object validation rule could not be found
-
findByUuid_C_PrevAndNext
public static ObjectValidationRule[] findByUuid_C_PrevAndNext(long objectValidationRuleId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException Returns the object validation rules before and after the current object validation rule in the ordered set where uuid = ? and companyId = ?.- Parameters:
objectValidationRuleId
- the primary key of the current object validation ruleuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object validation rule
- Throws:
NoSuchObjectValidationRuleException
- if a object validation rule with the primary key could not be foundNoSuchObjectValidationRuleException
-
removeByUuid_C
Removes all the object validation rules where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of object validation rules where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching object validation rules
-
findByObjectDefinitionId
Returns all the object validation rules where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition ID- Returns:
- the matching object validation rules
-
findByObjectDefinitionId
public static List<ObjectValidationRule> findByObjectDefinitionId(long objectDefinitionId, int start, int end) Returns a range of all the object validation rules where objectDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectValidationRuleModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDstart
- the lower bound of the range of object validation rulesend
- the upper bound of the range of object validation rules (not inclusive)- Returns:
- the range of matching object validation rules
-
findByObjectDefinitionId
public static List<ObjectValidationRule> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectValidationRuleModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDstart
- the lower bound of the range of object validation rulesend
- the upper bound of the range of object validation rules (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object validation rules
-
findByObjectDefinitionId
public static List<ObjectValidationRule> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object validation rules where objectDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectValidationRuleModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDstart
- the lower bound of the range of object validation rulesend
- the upper bound of the range of object validation rules (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object validation rules
-
findByObjectDefinitionId_First
public static ObjectValidationRule findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException Returns the first object validation rule in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object validation rule
- Throws:
NoSuchObjectValidationRuleException
- if a matching object validation rule could not be foundNoSuchObjectValidationRuleException
-
fetchByObjectDefinitionId_First
public static ObjectValidationRule fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the first object validation rule in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object validation rule, or
null
if a matching object validation rule could not be found
-
findByObjectDefinitionId_Last
public static ObjectValidationRule findByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException Returns the last object validation rule in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object validation rule
- Throws:
NoSuchObjectValidationRuleException
- if a matching object validation rule could not be foundNoSuchObjectValidationRuleException
-
fetchByObjectDefinitionId_Last
public static ObjectValidationRule fetchByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the last object validation rule in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object validation rule, or
null
if a matching object validation rule could not be found
-
findByObjectDefinitionId_PrevAndNext
public static ObjectValidationRule[] findByObjectDefinitionId_PrevAndNext(long objectValidationRuleId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException Returns the object validation rules before and after the current object validation rule in the ordered set where objectDefinitionId = ?.- Parameters:
objectValidationRuleId
- the primary key of the current object validation ruleobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object validation rule
- Throws:
NoSuchObjectValidationRuleException
- if a object validation rule with the primary key could not be foundNoSuchObjectValidationRuleException
-
removeByObjectDefinitionId
public static void removeByObjectDefinitionId(long objectDefinitionId) Removes all the object validation rules where objectDefinitionId = ? from the database.- Parameters:
objectDefinitionId
- the object definition ID
-
countByObjectDefinitionId
public static int countByObjectDefinitionId(long objectDefinitionId) Returns the number of object validation rules where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition ID- Returns:
- the number of matching object validation rules
-
findByODI_A
Returns all the object validation rules where objectDefinitionId = ? and active = ?.- Parameters:
objectDefinitionId
- the object definition IDactive
- the active- Returns:
- the matching object validation rules
-
findByODI_A
public static List<ObjectValidationRule> findByODI_A(long objectDefinitionId, boolean active, int start, int end) 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectValidationRuleModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDactive
- the activestart
- the lower bound of the range of object validation rulesend
- the upper bound of the range of object validation rules (not inclusive)- Returns:
- the range of matching object validation rules
-
findByODI_A
public static List<ObjectValidationRule> findByODI_A(long objectDefinitionId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectValidationRuleModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDactive
- the activestart
- the lower bound of the range of object validation rulesend
- the upper bound of the range of object validation rules (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object validation rules
-
findByODI_A
public static List<ObjectValidationRule> findByODI_A(long objectDefinitionId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache) 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectValidationRuleModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDactive
- the activestart
- the lower bound of the range of object validation rulesend
- the upper bound of the range of object validation rules (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object validation rules
-
findByODI_A_First
public static ObjectValidationRule findByODI_A_First(long objectDefinitionId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException Returns the first object validation rule in the ordered set where objectDefinitionId = ? and active = ?.- Parameters:
objectDefinitionId
- the object definition IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object validation rule
- Throws:
NoSuchObjectValidationRuleException
- if a matching object validation rule could not be foundNoSuchObjectValidationRuleException
-
fetchByODI_A_First
public static ObjectValidationRule fetchByODI_A_First(long objectDefinitionId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the first object validation rule in the ordered set where objectDefinitionId = ? and active = ?.- Parameters:
objectDefinitionId
- the object definition IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object validation rule, or
null
if a matching object validation rule could not be found
-
findByODI_A_Last
public static ObjectValidationRule findByODI_A_Last(long objectDefinitionId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException Returns the last object validation rule in the ordered set where objectDefinitionId = ? and active = ?.- Parameters:
objectDefinitionId
- the object definition IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object validation rule
- Throws:
NoSuchObjectValidationRuleException
- if a matching object validation rule could not be foundNoSuchObjectValidationRuleException
-
fetchByODI_A_Last
public static ObjectValidationRule fetchByODI_A_Last(long objectDefinitionId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the last object validation rule in the ordered set where objectDefinitionId = ? and active = ?.- Parameters:
objectDefinitionId
- the object definition IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object validation rule, or
null
if a matching object validation rule could not be found
-
findByODI_A_PrevAndNext
public static ObjectValidationRule[] findByODI_A_PrevAndNext(long objectValidationRuleId, long objectDefinitionId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException Returns the object validation rules before and after the current object validation rule in the ordered set where objectDefinitionId = ? and active = ?.- Parameters:
objectValidationRuleId
- the primary key of the current object validation ruleobjectDefinitionId
- the object definition IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object validation rule
- Throws:
NoSuchObjectValidationRuleException
- if a object validation rule with the primary key could not be foundNoSuchObjectValidationRuleException
-
removeByODI_A
public static void removeByODI_A(long objectDefinitionId, boolean active) Removes all the object validation rules where objectDefinitionId = ? and active = ? from the database.- Parameters:
objectDefinitionId
- the object definition IDactive
- the active
-
countByODI_A
public static int countByODI_A(long objectDefinitionId, boolean active) Returns the number of object validation rules where objectDefinitionId = ? and active = ?.- Parameters:
objectDefinitionId
- the object definition IDactive
- the active- Returns:
- the number of matching object validation rules
-
findByODI_E
Returns all the object validation rules where objectDefinitionId = ? and engine = ?.- Parameters:
objectDefinitionId
- the object definition IDengine
- the engine- Returns:
- the matching object validation rules
-
findByODI_E
public static List<ObjectValidationRule> findByODI_E(long objectDefinitionId, String engine, int start, int end) 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectValidationRuleModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDengine
- the enginestart
- the lower bound of the range of object validation rulesend
- the upper bound of the range of object validation rules (not inclusive)- Returns:
- the range of matching object validation rules
-
findByODI_E
public static List<ObjectValidationRule> findByODI_E(long objectDefinitionId, String engine, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectValidationRuleModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDengine
- the enginestart
- the lower bound of the range of object validation rulesend
- the upper bound of the range of object validation rules (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object validation rules
-
findByODI_E
public static List<ObjectValidationRule> findByODI_E(long objectDefinitionId, String engine, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache) 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectValidationRuleModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDengine
- the enginestart
- the lower bound of the range of object validation rulesend
- the upper bound of the range of object validation rules (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object validation rules
-
findByODI_E_First
public static ObjectValidationRule findByODI_E_First(long objectDefinitionId, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException Returns the first object validation rule in the ordered set where objectDefinitionId = ? and engine = ?.- Parameters:
objectDefinitionId
- the object definition IDengine
- the engineorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object validation rule
- Throws:
NoSuchObjectValidationRuleException
- if a matching object validation rule could not be foundNoSuchObjectValidationRuleException
-
fetchByODI_E_First
public static ObjectValidationRule fetchByODI_E_First(long objectDefinitionId, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the first object validation rule in the ordered set where objectDefinitionId = ? and engine = ?.- Parameters:
objectDefinitionId
- the object definition IDengine
- the engineorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object validation rule, or
null
if a matching object validation rule could not be found
-
findByODI_E_Last
public static ObjectValidationRule findByODI_E_Last(long objectDefinitionId, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException Returns the last object validation rule in the ordered set where objectDefinitionId = ? and engine = ?.- Parameters:
objectDefinitionId
- the object definition IDengine
- the engineorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object validation rule
- Throws:
NoSuchObjectValidationRuleException
- if a matching object validation rule could not be foundNoSuchObjectValidationRuleException
-
fetchByODI_E_Last
public static ObjectValidationRule fetchByODI_E_Last(long objectDefinitionId, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the last object validation rule in the ordered set where objectDefinitionId = ? and engine = ?.- Parameters:
objectDefinitionId
- the object definition IDengine
- the engineorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object validation rule, or
null
if a matching object validation rule could not be found
-
findByODI_E_PrevAndNext
public static ObjectValidationRule[] findByODI_E_PrevAndNext(long objectValidationRuleId, long objectDefinitionId, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException Returns the object validation rules before and after the current object validation rule in the ordered set where objectDefinitionId = ? and engine = ?.- Parameters:
objectValidationRuleId
- the primary key of the current object validation ruleobjectDefinitionId
- the object definition IDengine
- the engineorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object validation rule
- Throws:
NoSuchObjectValidationRuleException
- if a object validation rule with the primary key could not be foundNoSuchObjectValidationRuleException
-
removeByODI_E
Removes all the object validation rules where objectDefinitionId = ? and engine = ? from the database.- Parameters:
objectDefinitionId
- the object definition IDengine
- the engine
-
countByODI_E
Returns the number of object validation rules where objectDefinitionId = ? and engine = ?.- Parameters:
objectDefinitionId
- the object definition IDengine
- the engine- Returns:
- the number of matching object validation rules
-
findByODI_O
Returns all the object validation rules where objectDefinitionId = ? and outputType = ?.- Parameters:
objectDefinitionId
- the object definition IDoutputType
- the output type- Returns:
- the matching object validation rules
-
findByODI_O
public static List<ObjectValidationRule> findByODI_O(long objectDefinitionId, String outputType, int start, int end) 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectValidationRuleModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDoutputType
- the output typestart
- the lower bound of the range of object validation rulesend
- the upper bound of the range of object validation rules (not inclusive)- Returns:
- the range of matching object validation rules
-
findByODI_O
public static List<ObjectValidationRule> findByODI_O(long objectDefinitionId, String outputType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectValidationRuleModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDoutputType
- the output typestart
- the lower bound of the range of object validation rulesend
- the upper bound of the range of object validation rules (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object validation rules
-
findByODI_O
public static List<ObjectValidationRule> findByODI_O(long objectDefinitionId, String outputType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache) 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectValidationRuleModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDoutputType
- the output typestart
- the lower bound of the range of object validation rulesend
- the upper bound of the range of object validation rules (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object validation rules
-
findByODI_O_First
public static ObjectValidationRule findByODI_O_First(long objectDefinitionId, String outputType, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException Returns the first object validation rule in the ordered set where objectDefinitionId = ? and outputType = ?.- Parameters:
objectDefinitionId
- the object definition IDoutputType
- the output typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object validation rule
- Throws:
NoSuchObjectValidationRuleException
- if a matching object validation rule could not be foundNoSuchObjectValidationRuleException
-
fetchByODI_O_First
public static ObjectValidationRule fetchByODI_O_First(long objectDefinitionId, String outputType, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the first object validation rule in the ordered set where objectDefinitionId = ? and outputType = ?.- Parameters:
objectDefinitionId
- the object definition IDoutputType
- the output typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object validation rule, or
null
if a matching object validation rule could not be found
-
findByODI_O_Last
public static ObjectValidationRule findByODI_O_Last(long objectDefinitionId, String outputType, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException Returns the last object validation rule in the ordered set where objectDefinitionId = ? and outputType = ?.- Parameters:
objectDefinitionId
- the object definition IDoutputType
- the output typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object validation rule
- Throws:
NoSuchObjectValidationRuleException
- if a matching object validation rule could not be foundNoSuchObjectValidationRuleException
-
fetchByODI_O_Last
public static ObjectValidationRule fetchByODI_O_Last(long objectDefinitionId, String outputType, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the last object validation rule in the ordered set where objectDefinitionId = ? and outputType = ?.- Parameters:
objectDefinitionId
- the object definition IDoutputType
- the output typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object validation rule, or
null
if a matching object validation rule could not be found
-
findByODI_O_PrevAndNext
public static ObjectValidationRule[] findByODI_O_PrevAndNext(long objectValidationRuleId, long objectDefinitionId, String outputType, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException Returns the object validation rules before and after the current object validation rule in the ordered set where objectDefinitionId = ? and outputType = ?.- Parameters:
objectValidationRuleId
- the primary key of the current object validation ruleobjectDefinitionId
- the object definition IDoutputType
- the output typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object validation rule
- Throws:
NoSuchObjectValidationRuleException
- if a object validation rule with the primary key could not be foundNoSuchObjectValidationRuleException
-
removeByODI_O
Removes all the object validation rules where objectDefinitionId = ? and outputType = ? from the database.- Parameters:
objectDefinitionId
- the object definition IDoutputType
- the output type
-
countByODI_O
Returns the number of object validation rules where objectDefinitionId = ? and outputType = ?.- Parameters:
objectDefinitionId
- the object definition IDoutputType
- the output type- Returns:
- the number of matching object validation rules
-
findByA_E
Returns all the object validation rules where active = ? and engine = ?.- Parameters:
active
- the activeengine
- the engine- Returns:
- the matching object validation rules
-
findByA_E
public static List<ObjectValidationRule> findByA_E(boolean active, String engine, int start, int end) 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectValidationRuleModelImpl
.- Parameters:
active
- the activeengine
- the enginestart
- the lower bound of the range of object validation rulesend
- the upper bound of the range of object validation rules (not inclusive)- Returns:
- the range of matching object validation rules
-
findByA_E
public static List<ObjectValidationRule> findByA_E(boolean active, String engine, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectValidationRuleModelImpl
.- Parameters:
active
- the activeengine
- the enginestart
- the lower bound of the range of object validation rulesend
- the upper bound of the range of object validation rules (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object validation rules
-
findByA_E
public static List<ObjectValidationRule> findByA_E(boolean active, String engine, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache) 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectValidationRuleModelImpl
.- Parameters:
active
- the activeengine
- the enginestart
- the lower bound of the range of object validation rulesend
- the upper bound of the range of object validation rules (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object validation rules
-
findByA_E_First
public static ObjectValidationRule findByA_E_First(boolean active, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException Returns the first object validation rule in the ordered set where active = ? and engine = ?.- Parameters:
active
- the activeengine
- the engineorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object validation rule
- Throws:
NoSuchObjectValidationRuleException
- if a matching object validation rule could not be foundNoSuchObjectValidationRuleException
-
fetchByA_E_First
public static ObjectValidationRule fetchByA_E_First(boolean active, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the first object validation rule in the ordered set where active = ? and engine = ?.- Parameters:
active
- the activeengine
- the engineorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object validation rule, or
null
if a matching object validation rule could not be found
-
findByA_E_Last
public static ObjectValidationRule findByA_E_Last(boolean active, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException Returns the last object validation rule in the ordered set where active = ? and engine = ?.- Parameters:
active
- the activeengine
- the engineorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object validation rule
- Throws:
NoSuchObjectValidationRuleException
- if a matching object validation rule could not be foundNoSuchObjectValidationRuleException
-
fetchByA_E_Last
public static ObjectValidationRule fetchByA_E_Last(boolean active, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the last object validation rule in the ordered set where active = ? and engine = ?.- Parameters:
active
- the activeengine
- the engineorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object validation rule, or
null
if a matching object validation rule could not be found
-
findByA_E_PrevAndNext
public static ObjectValidationRule[] findByA_E_PrevAndNext(long objectValidationRuleId, boolean active, String engine, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException Returns the object validation rules before and after the current object validation rule in the ordered set where active = ? and engine = ?.- Parameters:
objectValidationRuleId
- the primary key of the current object validation ruleactive
- the activeengine
- the engineorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object validation rule
- Throws:
NoSuchObjectValidationRuleException
- if a object validation rule with the primary key could not be foundNoSuchObjectValidationRuleException
-
removeByA_E
Removes all the object validation rules where active = ? and engine = ? from the database.- Parameters:
active
- the activeengine
- the engine
-
countByA_E
Returns the number of object validation rules where active = ? and engine = ?.- Parameters:
active
- the activeengine
- the engine- Returns:
- the number of matching object validation rules
-
findByERC_C_ODI
public static ObjectValidationRule findByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId) throws NoSuchObjectValidationRuleException Returns the object validation rule where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or throws aNoSuchObjectValidationRuleException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId
- the object definition ID- Returns:
- the matching object validation rule
- Throws:
NoSuchObjectValidationRuleException
- if a matching object validation rule could not be foundNoSuchObjectValidationRuleException
-
fetchByERC_C_ODI
public static ObjectValidationRule fetchByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId) Returns the object validation rule where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId
- the object definition ID- Returns:
- the matching object validation rule, or
null
if a matching object validation rule could not be found
-
fetchByERC_C_ODI
public static ObjectValidationRule fetchByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId, boolean useFinderCache) Returns the object validation rule where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId
- the object definition IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching object validation rule, or
null
if a matching object validation rule could not be found
-
removeByERC_C_ODI
public static ObjectValidationRule removeByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId) throws NoSuchObjectValidationRuleException Removes the object validation rule where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId
- the object definition ID- Returns:
- the object validation rule that was removed
- Throws:
NoSuchObjectValidationRuleException
-
countByERC_C_ODI
public static int countByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId) Returns the number of object validation rules where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId
- the object definition ID- Returns:
- the number of matching object validation rules
-
cacheResult
Caches the object validation rule in the entity cache if it is enabled.- Parameters:
objectValidationRule
- the object validation rule
-
cacheResult
Caches the object validation rules in the entity cache if it is enabled.- Parameters:
objectValidationRules
- the object validation rules
-
create
Creates a new object validation rule with the primary key. Does not add the object validation rule to the database.- Parameters:
objectValidationRuleId
- the primary key for the new object validation rule- Returns:
- the new object validation rule
-
remove
public static ObjectValidationRule remove(long objectValidationRuleId) throws NoSuchObjectValidationRuleException Removes the object validation rule with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
objectValidationRuleId
- the primary key of the object validation rule- Returns:
- the object validation rule that was removed
- Throws:
NoSuchObjectValidationRuleException
- if a object validation rule with the primary key could not be foundNoSuchObjectValidationRuleException
-
updateImpl
-
findByPrimaryKey
public static ObjectValidationRule findByPrimaryKey(long objectValidationRuleId) throws NoSuchObjectValidationRuleException Returns the object validation rule with the primary key or throws aNoSuchObjectValidationRuleException
if it could not be found.- Parameters:
objectValidationRuleId
- the primary key of the object validation rule- Returns:
- the object validation rule
- Throws:
NoSuchObjectValidationRuleException
- if a object validation rule with the primary key could not be foundNoSuchObjectValidationRuleException
-
fetchByPrimaryKey
Returns the object validation rule with the primary key or returnsnull
if it could not be found.- Parameters:
objectValidationRuleId
- the primary key of the object validation rule- Returns:
- the object validation rule, or
null
if a object validation rule with the primary key could not be found
-
findAll
Returns all the object validation rules.- Returns:
- the object validation rules
-
findAll
Returns a range of all the object validation rules.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectValidationRuleModelImpl
.- Parameters:
start
- the lower bound of the range of object validation rulesend
- the upper bound of the range of object validation rules (not inclusive)- Returns:
- the range of object validation rules
-
findAll
public static List<ObjectValidationRule> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns an ordered range of all the object validation rules.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectValidationRuleModelImpl
.- Parameters:
start
- the lower bound of the range of object validation rulesend
- the upper bound of the range of object validation rules (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of object validation rules
-
findAll
public static List<ObjectValidationRule> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object validation rules.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectValidationRuleModelImpl
.- Parameters:
start
- the lower bound of the range of object validation rulesend
- the upper bound of the range of object validation rules (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of object validation rules
-
removeAll
public static void removeAll()Removes all the object validation rules from the database. -
countAll
public static int countAll()Returns the number of object validation rules.- Returns:
- the number of object validation rules
-
getPersistence
-
setPersistence
-