Interface ObjectValidationRulePersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectValidationRule>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(ObjectValidationRule objectValidationRule) Caches the object validation rule in the entity cache if it is enabled.void
cacheResult
(List<ObjectValidationRule> objectValidationRules) Caches the object validation rules in the entity cache if it is enabled.int
countAll()
Returns the number of object validation rules.int
countByA_E
(boolean active, String engine) Returns the number of object validation rules where active = ? and engine = ?.int
countByERC_C_ODI
(String externalReferenceCode, long companyId, long objectDefinitionId) Returns the number of object validation rules where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ?.int
countByObjectDefinitionId
(long objectDefinitionId) Returns the number of object validation rules where objectDefinitionId = ?.int
countByODI_A
(long objectDefinitionId, boolean active) Returns the number of object validation rules where objectDefinitionId = ? and active = ?.int
countByODI_E
(long objectDefinitionId, String engine) Returns the number of object validation rules where objectDefinitionId = ? and engine = ?.int
countByODI_O
(long objectDefinitionId, String outputType) Returns the number of object validation rules where objectDefinitionId = ? and outputType = ?.int
countByUuid
(String uuid) Returns the number of object validation rules where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of object validation rules where uuid = ? and companyId = ?.create
(long objectValidationRuleId) Creates a new object validation rule with the primary key.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 = ?.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 = ?.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.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.fetchByObjectDefinitionId_First
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the first object validation rule in the ordered set where objectDefinitionId = ?.fetchByObjectDefinitionId_Last
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the last object validation rule in the ordered set where objectDefinitionId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.fetchByPrimaryKey
(long objectValidationRuleId) Returns the object validation rule with the primary key or returnsnull
if it could not be found.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 = ?.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 = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the first object validation rule in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the last object validation rule in the ordered set where uuid = ?.findAll()
Returns all the object validation rules.findAll
(int start, int end) Returns a range of all the object validation rules.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns an ordered range of all the object validation rules.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.Returns all the object validation rules where active = ? and engine = ?.Returns a range of all the object validation rules where active = ? and engine = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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.findByObjectDefinitionId
(long objectDefinitionId) Returns all the object validation rules where objectDefinitionId = ?.findByObjectDefinitionId
(long objectDefinitionId, int start, int end) Returns a range of all the object validation rules where objectDefinitionId = ?.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 = ?.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 = ?.findByObjectDefinitionId_First
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the first object validation rule in the ordered set where objectDefinitionId = ?.findByObjectDefinitionId_Last
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the last object validation rule in the ordered set where objectDefinitionId = ?.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 = ?.findByODI_A
(long objectDefinitionId, boolean active) Returns all the object validation rules where objectDefinitionId = ? and active = ?.findByODI_A
(long objectDefinitionId, boolean active, int start, int end) Returns a range of all the object validation rules where objectDefinitionId = ? and active = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByODI_E
(long objectDefinitionId, String engine) Returns all the object validation rules where objectDefinitionId = ? and engine = ?.findByODI_E
(long objectDefinitionId, String engine, int start, int end) Returns a range of all the object validation rules where objectDefinitionId = ? and engine = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByODI_O
(long objectDefinitionId, String outputType) Returns all the object validation rules where objectDefinitionId = ? and outputType = ?.findByODI_O
(long objectDefinitionId, String outputType, int start, int end) Returns a range of all the object validation rules where objectDefinitionId = ? and outputType = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByPrimaryKey
(long objectValidationRuleId) Returns the object validation rule with the primary key or throws aNoSuchObjectValidationRuleException
if it could not be found.findByUuid
(String uuid) Returns all the object validation rules where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the object validation rules where uuid = ?.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 = ?.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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the object validation rules where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the object validation rules where uuid = ? and companyId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the first object validation rule in the ordered set where uuid = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) Returns the last object validation rule in the ordered set where uuid = ?.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 = ?.remove
(long objectValidationRuleId) Removes the object validation rule with the primary key from the database.void
Removes all the object validation rules from the database.void
removeByA_E
(boolean active, String engine) Removes all the object validation rules where active = ? and engine = ? from the database.removeByERC_C_ODI
(String externalReferenceCode, long companyId, long objectDefinitionId) Removes the object validation rule where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? from the database.void
removeByObjectDefinitionId
(long objectDefinitionId) Removes all the object validation rules where objectDefinitionId = ? from the database.void
removeByODI_A
(long objectDefinitionId, boolean active) Removes all the object validation rules where objectDefinitionId = ? and active = ? from the database.void
removeByODI_E
(long objectDefinitionId, String engine) Removes all the object validation rules where objectDefinitionId = ? and engine = ? from the database.void
removeByODI_O
(long objectDefinitionId, String outputType) Removes all the object validation rules where objectDefinitionId = ? and outputType = ? from the database.void
removeByUuid
(String uuid) Removes all the object validation rules where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the object validation rules where uuid = ? and companyId = ? from the database.updateImpl
(ObjectValidationRule objectValidationRule) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
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
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
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
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 found
-
fetchByUuid_First
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
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 found
-
fetchByUuid_Last
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
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 found
-
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
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
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
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
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 found
-
fetchByUuid_C_First
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
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 found
-
fetchByUuid_C_Last
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
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 found
-
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
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
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
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
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 found
-
fetchByObjectDefinitionId_First
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
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 found
-
fetchByObjectDefinitionId_Last
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
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 found
-
removeByObjectDefinitionId
void removeByObjectDefinitionId(long objectDefinitionId) Removes all the object validation rules where objectDefinitionId = ? from the database.- Parameters:
objectDefinitionId
- the object definition ID
-
countByObjectDefinitionId
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
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
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
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
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 found
-
fetchByODI_A_First
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
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 found
-
fetchByODI_A_Last
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
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 found
-
removeByODI_A
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
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
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
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
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
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 found
-
fetchByODI_E_First
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
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 found
-
fetchByODI_E_Last
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
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 found
-
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
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
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
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
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 found
-
fetchByODI_O_First
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
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 found
-
fetchByODI_O_Last
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
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 found
-
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
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
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
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
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 found
-
fetchByA_E_First
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
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 found
-
fetchByA_E_Last
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
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 found
-
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
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 found
-
fetchByERC_C_ODI
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
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
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
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
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 found
-
updateImpl
-
findByPrimaryKey
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 found
-
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
List<ObjectValidationRule> 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
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
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
void removeAll()Removes all the object validation rules from the database. -
countAll
int countAll()Returns the number of object validation rules.- Returns:
- the number of object validation rules
-