@ProviderType public interface ObjectValidationRulePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectValidationRule>
Caching information and settings can be found in portal.properties
ObjectValidationRuleUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<ObjectValidationRule> objectValidationRules)
Caches the object validation rules in the entity cache if it is enabled.
|
void |
cacheResult(ObjectValidationRule objectValidationRule)
Caches the object validation rule in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of object validation rules.
|
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 |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of object validation rules where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of object validation rules where uuid = ?.
|
ObjectValidationRule |
create(long objectValidationRuleId)
Creates a new object validation rule with the primary key.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
ObjectValidationRule |
fetchByPrimaryKey(long objectValidationRuleId)
Returns the object validation rule with the primary key or returns
null if it could not be found. |
ObjectValidationRule |
fetchByUuid_C_First(java.lang.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 = ?.
|
ObjectValidationRule |
fetchByUuid_C_Last(java.lang.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 = ?.
|
ObjectValidationRule |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
Returns the first object validation rule in the ordered set where uuid = ?.
|
ObjectValidationRule |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
Returns the last object validation rule in the ordered set where uuid = ?.
|
java.util.List<ObjectValidationRule> |
findAll()
Returns all the object validation rules.
|
java.util.List<ObjectValidationRule> |
findAll(int start,
int end)
Returns a range of all the object validation rules.
|
java.util.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.
|
java.util.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.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<ObjectValidationRule> |
findByObjectDefinitionId(long objectDefinitionId)
Returns all the object validation rules where objectDefinitionId = ?.
|
java.util.List<ObjectValidationRule> |
findByObjectDefinitionId(long objectDefinitionId,
int start,
int end)
Returns a range of all the object validation rules where objectDefinitionId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<ObjectValidationRule> |
findByODI_A(long objectDefinitionId,
boolean active)
Returns all the object validation rules where objectDefinitionId = ? and active = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
ObjectValidationRule |
findByPrimaryKey(long objectValidationRuleId)
Returns the object validation rule with the primary key or throws a
NoSuchObjectValidationRuleException if it could not be found. |
ObjectValidationRule |
findByUuid_C_First(java.lang.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 = ?.
|
ObjectValidationRule |
findByUuid_C_Last(java.lang.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 = ?.
|
ObjectValidationRule[] |
findByUuid_C_PrevAndNext(long objectValidationRuleId,
java.lang.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 = ?.
|
java.util.List<ObjectValidationRule> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the object validation rules where uuid = ? and companyId = ?.
|
java.util.List<ObjectValidationRule> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the object validation rules where uuid = ? and companyId = ?.
|
java.util.List<ObjectValidationRule> |
findByUuid_C(java.lang.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 = ?.
|
java.util.List<ObjectValidationRule> |
findByUuid_C(java.lang.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 = ?.
|
ObjectValidationRule |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
Returns the first object validation rule in the ordered set where uuid = ?.
|
ObjectValidationRule |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
Returns the last object validation rule in the ordered set where uuid = ?.
|
ObjectValidationRule[] |
findByUuid_PrevAndNext(long objectValidationRuleId,
java.lang.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 = ?.
|
java.util.List<ObjectValidationRule> |
findByUuid(java.lang.String uuid)
Returns all the object validation rules where uuid = ?.
|
java.util.List<ObjectValidationRule> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the object validation rules where uuid = ?.
|
java.util.List<ObjectValidationRule> |
findByUuid(java.lang.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 = ?.
|
java.util.List<ObjectValidationRule> |
findByUuid(java.lang.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 = ?.
|
ObjectValidationRule |
remove(long objectValidationRuleId)
Removes the object validation rule with the primary key from the database.
|
void |
removeAll()
Removes all the object validation rules 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 |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the object validation rules where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the object validation rules where uuid = ? from the database.
|
ObjectValidationRule |
updateImpl(ObjectValidationRule objectValidationRule) |
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, setDataSource, unregisterListener, update, update
java.util.List<ObjectValidationRule> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ObjectValidationRule> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectValidationRuleModelImpl
.
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)java.util.List<ObjectValidationRule> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectValidationRuleModelImpl
.
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 (optionally null
)java.util.List<ObjectValidationRule> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectValidationRuleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectValidationRule findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectValidationRuleException
- if a matching object validation rule could not be foundObjectValidationRule fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object validation rule could not be foundObjectValidationRule findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectValidationRuleException
- if a matching object validation rule could not be foundObjectValidationRule fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object validation rule could not be foundObjectValidationRule[] findByUuid_PrevAndNext(long objectValidationRuleId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
objectValidationRuleId
- the primary key of the current object validation ruleuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectValidationRuleException
- if a object validation rule with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ObjectValidationRule> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ObjectValidationRule> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectValidationRuleModelImpl
.
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)java.util.List<ObjectValidationRule> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectValidationRuleModelImpl
.
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 (optionally null
)java.util.List<ObjectValidationRule> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectValidationRuleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectValidationRule findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectValidationRuleException
- if a matching object validation rule could not be foundObjectValidationRule fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object validation rule could not be foundObjectValidationRule findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectValidationRuleException
- if a matching object validation rule could not be foundObjectValidationRule fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object validation rule could not be foundObjectValidationRule[] findByUuid_C_PrevAndNext(long objectValidationRuleId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
objectValidationRuleId
- the primary key of the current object validation ruleuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectValidationRuleException
- if a object validation rule with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ObjectValidationRule> findByObjectDefinitionId(long objectDefinitionId)
objectDefinitionId
- the object definition IDjava.util.List<ObjectValidationRule> findByObjectDefinitionId(long objectDefinitionId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectValidationRuleModelImpl
.
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)java.util.List<ObjectValidationRule> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectValidationRuleModelImpl
.
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 (optionally null
)java.util.List<ObjectValidationRule> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectValidationRuleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectValidationRule findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectValidationRuleException
- if a matching object validation rule could not be foundObjectValidationRule fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object validation rule could not be foundObjectValidationRule findByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectValidationRuleException
- if a matching object validation rule could not be foundObjectValidationRule fetchByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object validation rule could not be foundObjectValidationRule[] findByObjectDefinitionId_PrevAndNext(long objectValidationRuleId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
objectValidationRuleId
- the primary key of the current object validation ruleobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectValidationRuleException
- if a object validation rule with the primary key could not be foundvoid removeByObjectDefinitionId(long objectDefinitionId)
objectDefinitionId
- the object definition IDint countByObjectDefinitionId(long objectDefinitionId)
objectDefinitionId
- the object definition IDjava.util.List<ObjectValidationRule> findByODI_A(long objectDefinitionId, boolean active)
objectDefinitionId
- the object definition IDactive
- the activejava.util.List<ObjectValidationRule> findByODI_A(long objectDefinitionId, boolean active, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectValidationRuleModelImpl
.
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)java.util.List<ObjectValidationRule> findByODI_A(long objectDefinitionId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectValidationRuleModelImpl
.
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 (optionally null
)java.util.List<ObjectValidationRule> findByODI_A(long objectDefinitionId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectValidationRuleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectValidationRule findByODI_A_First(long objectDefinitionId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
objectDefinitionId
- the object definition IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectValidationRuleException
- if a matching object validation rule could not be foundObjectValidationRule fetchByODI_A_First(long objectDefinitionId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
objectDefinitionId
- the object definition IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object validation rule could not be foundObjectValidationRule findByODI_A_Last(long objectDefinitionId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
objectDefinitionId
- the object definition IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectValidationRuleException
- if a matching object validation rule could not be foundObjectValidationRule fetchByODI_A_Last(long objectDefinitionId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
objectDefinitionId
- the object definition IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object validation rule could not be foundObjectValidationRule[] findByODI_A_PrevAndNext(long objectValidationRuleId, long objectDefinitionId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator) throws NoSuchObjectValidationRuleException
objectValidationRuleId
- the primary key of the current object validation ruleobjectDefinitionId
- the object definition IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectValidationRuleException
- if a object validation rule with the primary key could not be foundvoid removeByODI_A(long objectDefinitionId, boolean active)
objectDefinitionId
- the object definition IDactive
- the activeint countByODI_A(long objectDefinitionId, boolean active)
objectDefinitionId
- the object definition IDactive
- the activevoid cacheResult(ObjectValidationRule objectValidationRule)
objectValidationRule
- the object validation rulevoid cacheResult(java.util.List<ObjectValidationRule> objectValidationRules)
objectValidationRules
- the object validation rulesObjectValidationRule create(long objectValidationRuleId)
objectValidationRuleId
- the primary key for the new object validation ruleObjectValidationRule remove(long objectValidationRuleId) throws NoSuchObjectValidationRuleException
objectValidationRuleId
- the primary key of the object validation ruleNoSuchObjectValidationRuleException
- if a object validation rule with the primary key could not be foundObjectValidationRule updateImpl(ObjectValidationRule objectValidationRule)
ObjectValidationRule findByPrimaryKey(long objectValidationRuleId) throws NoSuchObjectValidationRuleException
NoSuchObjectValidationRuleException
if it could not be found.objectValidationRuleId
- the primary key of the object validation ruleNoSuchObjectValidationRuleException
- if a object validation rule with the primary key could not be foundObjectValidationRule fetchByPrimaryKey(long objectValidationRuleId)
null
if it could not be found.objectValidationRuleId
- the primary key of the object validation rulenull
if a object validation rule with the primary key could not be foundjava.util.List<ObjectValidationRule> findAll()
java.util.List<ObjectValidationRule> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectValidationRuleModelImpl
.
start
- the lower bound of the range of object validation rulesend
- the upper bound of the range of object validation rules (not inclusive)java.util.List<ObjectValidationRule> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectValidationRuleModelImpl
.
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 (optionally null
)java.util.List<ObjectValidationRule> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRule> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectValidationRuleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()