Class ObjectValidationRuleSettingUtil
com.liferay.object.service.persistence.impl.ObjectValidationRuleSettingPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(ObjectValidationRuleSetting objectValidationRuleSetting) Caches the object validation rule setting in the entity cache if it is enabled.static voidcacheResult(List<ObjectValidationRuleSetting> objectValidationRuleSettings) Caches the object validation rule settings in the entity cache if it is enabled.static voidstatic voidclearCache(ObjectValidationRuleSetting objectValidationRuleSetting) static intcountAll()Returns the number of object validation rule settings.static intcountByN_V(String name, String value) Returns the number of object validation rule settings where name = ? and value = ?.static intcountByObjectValidationRuleId(long objectValidationRuleId) Returns the number of object validation rule settings where objectValidationRuleId = ?.static intcountByOVRI_N(long objectValidationRuleId, String name) Returns the number of object validation rule settings where objectValidationRuleId = ? and name = ?.static intcountByOVRI_N_V(long objectValidationRuleId, String name, String value) Returns the number of object validation rule settings where objectValidationRuleId = ? and name = ? and value = ?.static intcountByUuid(String uuid) Returns the number of object validation rule settings where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of object validation rule settings where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static ObjectValidationRuleSettingcreate(long objectValidationRuleSettingId) Creates a new object validation rule setting with the primary key.static ObjectValidationRuleSettingfetchByN_V(String name, String value) Returns the object validation rule setting where name = ? and value = ? or returnsnullif it could not be found.static ObjectValidationRuleSettingfetchByN_V(String name, String value, boolean useFinderCache) Returns the object validation rule setting where name = ? and value = ? or returnsnullif it could not be found, optionally using the finder cache.static ObjectValidationRuleSettingfetchByObjectValidationRuleId_First(long objectValidationRuleId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the first object validation rule setting in the ordered set where objectValidationRuleId = ?.static ObjectValidationRuleSettingfetchByObjectValidationRuleId_Last(long objectValidationRuleId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the last object validation rule setting in the ordered set where objectValidationRuleId = ?.static ObjectValidationRuleSettingfetchByOVRI_N_First(long objectValidationRuleId, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the first object validation rule setting in the ordered set where objectValidationRuleId = ? and name = ?.static ObjectValidationRuleSettingfetchByOVRI_N_Last(long objectValidationRuleId, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the last object validation rule setting in the ordered set where objectValidationRuleId = ? and name = ?.static ObjectValidationRuleSettingfetchByOVRI_N_V(long objectValidationRuleId, String name, String value) Returns the object validation rule setting where objectValidationRuleId = ? and name = ? and value = ? or returnsnullif it could not be found.static ObjectValidationRuleSettingfetchByOVRI_N_V(long objectValidationRuleId, String name, String value, boolean useFinderCache) Returns the object validation rule setting where objectValidationRuleId = ? and name = ? and value = ? or returnsnullif it could not be found, optionally using the finder cache.static ObjectValidationRuleSettingfetchByPrimaryKey(long objectValidationRuleSettingId) Returns the object validation rule setting with the primary key or returnsnullif it could not be found.fetchByPrimaryKeys(Set<Serializable> primaryKeys) static ObjectValidationRuleSettingfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the first object validation rule setting in the ordered set where uuid = ? and companyId = ?.static ObjectValidationRuleSettingfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the last object validation rule setting in the ordered set where uuid = ? and companyId = ?.static ObjectValidationRuleSettingfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the first object validation rule setting in the ordered set where uuid = ?.static ObjectValidationRuleSettingfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the last object validation rule setting in the ordered set where uuid = ?.static List<ObjectValidationRuleSetting>findAll()Returns all the object validation rule settings.static List<ObjectValidationRuleSetting>findAll(int start, int end) Returns a range of all the object validation rule settings.static List<ObjectValidationRuleSetting>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns an ordered range of all the object validation rule settings.static List<ObjectValidationRuleSetting>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object validation rule settings.static ObjectValidationRuleSettingReturns the object validation rule setting where name = ? and value = ? or throws aNoSuchObjectValidationRuleSettingExceptionif it could not be found.static List<ObjectValidationRuleSetting>findByObjectValidationRuleId(long objectValidationRuleId) Returns all the object validation rule settings where objectValidationRuleId = ?.static List<ObjectValidationRuleSetting>findByObjectValidationRuleId(long objectValidationRuleId, int start, int end) Returns a range of all the object validation rule settings where objectValidationRuleId = ?.static List<ObjectValidationRuleSetting>findByObjectValidationRuleId(long objectValidationRuleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns an ordered range of all the object validation rule settings where objectValidationRuleId = ?.static List<ObjectValidationRuleSetting>findByObjectValidationRuleId(long objectValidationRuleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object validation rule settings where objectValidationRuleId = ?.static ObjectValidationRuleSettingfindByObjectValidationRuleId_First(long objectValidationRuleId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the first object validation rule setting in the ordered set where objectValidationRuleId = ?.static ObjectValidationRuleSettingfindByObjectValidationRuleId_Last(long objectValidationRuleId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the last object validation rule setting in the ordered set where objectValidationRuleId = ?.static ObjectValidationRuleSetting[]findByObjectValidationRuleId_PrevAndNext(long objectValidationRuleSettingId, long objectValidationRuleId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the object validation rule settings before and after the current object validation rule setting in the ordered set where objectValidationRuleId = ?.static List<ObjectValidationRuleSetting>findByOVRI_N(long objectValidationRuleId, String name) Returns all the object validation rule settings where objectValidationRuleId = ? and name = ?.static List<ObjectValidationRuleSetting>findByOVRI_N(long objectValidationRuleId, String name, int start, int end) Returns a range of all the object validation rule settings where objectValidationRuleId = ? and name = ?.static List<ObjectValidationRuleSetting>findByOVRI_N(long objectValidationRuleId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns an ordered range of all the object validation rule settings where objectValidationRuleId = ? and name = ?.static List<ObjectValidationRuleSetting>findByOVRI_N(long objectValidationRuleId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object validation rule settings where objectValidationRuleId = ? and name = ?.static ObjectValidationRuleSettingfindByOVRI_N_First(long objectValidationRuleId, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the first object validation rule setting in the ordered set where objectValidationRuleId = ? and name = ?.static ObjectValidationRuleSettingfindByOVRI_N_Last(long objectValidationRuleId, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the last object validation rule setting in the ordered set where objectValidationRuleId = ? and name = ?.static ObjectValidationRuleSetting[]findByOVRI_N_PrevAndNext(long objectValidationRuleSettingId, long objectValidationRuleId, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the object validation rule settings before and after the current object validation rule setting in the ordered set where objectValidationRuleId = ? and name = ?.static ObjectValidationRuleSettingfindByOVRI_N_V(long objectValidationRuleId, String name, String value) Returns the object validation rule setting where objectValidationRuleId = ? and name = ? and value = ? or throws aNoSuchObjectValidationRuleSettingExceptionif it could not be found.static ObjectValidationRuleSettingfindByPrimaryKey(long objectValidationRuleSettingId) Returns the object validation rule setting with the primary key or throws aNoSuchObjectValidationRuleSettingExceptionif it could not be found.static List<ObjectValidationRuleSetting>findByUuid(String uuid) Returns all the object validation rule settings where uuid = ?.static List<ObjectValidationRuleSetting>findByUuid(String uuid, int start, int end) Returns a range of all the object validation rule settings where uuid = ?.static List<ObjectValidationRuleSetting>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns an ordered range of all the object validation rule settings where uuid = ?.static List<ObjectValidationRuleSetting>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object validation rule settings where uuid = ?.static List<ObjectValidationRuleSetting>findByUuid_C(String uuid, long companyId) Returns all the object validation rule settings where uuid = ? and companyId = ?.static List<ObjectValidationRuleSetting>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the object validation rule settings where uuid = ? and companyId = ?.static List<ObjectValidationRuleSetting>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns an ordered range of all the object validation rule settings where uuid = ? and companyId = ?.static List<ObjectValidationRuleSetting>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object validation rule settings where uuid = ? and companyId = ?.static ObjectValidationRuleSettingfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the first object validation rule setting in the ordered set where uuid = ? and companyId = ?.static ObjectValidationRuleSettingfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the last object validation rule setting in the ordered set where uuid = ? and companyId = ?.static ObjectValidationRuleSetting[]findByUuid_C_PrevAndNext(long objectValidationRuleSettingId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the object validation rule settings before and after the current object validation rule setting in the ordered set where uuid = ? and companyId = ?.static ObjectValidationRuleSettingfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the first object validation rule setting in the ordered set where uuid = ?.static ObjectValidationRuleSettingfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the last object validation rule setting in the ordered set where uuid = ?.static ObjectValidationRuleSetting[]findByUuid_PrevAndNext(long objectValidationRuleSettingId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the object validation rule settings before and after the current object validation rule setting in the ordered set where uuid = ?.static List<ObjectValidationRuleSetting>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<ObjectValidationRuleSetting>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<ObjectValidationRuleSetting>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) static ObjectValidationRuleSettingremove(long objectValidationRuleSettingId) Removes the object validation rule setting with the primary key from the database.static voidRemoves all the object validation rule settings from the database.static ObjectValidationRuleSettingremoveByN_V(String name, String value) Removes the object validation rule setting where name = ? and value = ? from the database.static voidremoveByObjectValidationRuleId(long objectValidationRuleId) Removes all the object validation rule settings where objectValidationRuleId = ? from the database.static voidremoveByOVRI_N(long objectValidationRuleId, String name) Removes all the object validation rule settings where objectValidationRuleId = ? and name = ? from the database.static ObjectValidationRuleSettingremoveByOVRI_N_V(long objectValidationRuleId, String name, String value) Removes the object validation rule setting where objectValidationRuleId = ? and name = ? and value = ? from the database.static voidremoveByUuid(String uuid) Removes all the object validation rule settings where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the object validation rule settings where uuid = ? and companyId = ? from the database.static voidsetPersistence(ObjectValidationRuleSettingPersistence persistence) static ObjectValidationRuleSettingupdate(ObjectValidationRuleSetting objectValidationRuleSetting) static ObjectValidationRuleSettingupdate(ObjectValidationRuleSetting objectValidationRuleSetting, com.liferay.portal.kernel.service.ServiceContext serviceContext) static ObjectValidationRuleSettingupdateImpl(ObjectValidationRuleSetting objectValidationRuleSetting)
-
Constructor Details
-
ObjectValidationRuleSettingUtil
public ObjectValidationRuleSettingUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,ObjectValidationRuleSetting> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<ObjectValidationRuleSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<ObjectValidationRuleSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<ObjectValidationRuleSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
public static ObjectValidationRuleSetting update(ObjectValidationRuleSetting objectValidationRuleSetting) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static ObjectValidationRuleSetting update(ObjectValidationRuleSetting objectValidationRuleSetting, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the object validation rule settings where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching object validation rule settings
-
findByUuid
Returns a range of all the object validation rule settings where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectValidationRuleSettingModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object validation rule settingsend- the upper bound of the range of object validation rule settings (not inclusive)- Returns:
- the range of matching object validation rule settings
-
findByUuid
public static List<ObjectValidationRuleSetting> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns an ordered range of all the object validation rule settings where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectValidationRuleSettingModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object validation rule settingsend- the upper bound of the range of object validation rule settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object validation rule settings
-
findByUuid
public static List<ObjectValidationRuleSetting> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object validation rule settings where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectValidationRuleSettingModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object validation rule settingsend- the upper bound of the range of object validation rule settings (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 rule settings
-
findByUuid_First
public static ObjectValidationRuleSetting findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) throws NoSuchObjectValidationRuleSettingException Returns the first object validation rule setting 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 setting
- Throws:
NoSuchObjectValidationRuleSettingException- if a matching object validation rule setting could not be foundNoSuchObjectValidationRuleSettingException
-
fetchByUuid_First
public static ObjectValidationRuleSetting fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the first object validation rule setting 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 setting, or
nullif a matching object validation rule setting could not be found
-
findByUuid_Last
public static ObjectValidationRuleSetting findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) throws NoSuchObjectValidationRuleSettingException Returns the last object validation rule setting 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 setting
- Throws:
NoSuchObjectValidationRuleSettingException- if a matching object validation rule setting could not be foundNoSuchObjectValidationRuleSettingException
-
fetchByUuid_Last
public static ObjectValidationRuleSetting fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the last object validation rule setting 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 setting, or
nullif a matching object validation rule setting could not be found
-
findByUuid_PrevAndNext
public static ObjectValidationRuleSetting[] findByUuid_PrevAndNext(long objectValidationRuleSettingId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) throws NoSuchObjectValidationRuleSettingException Returns the object validation rule settings before and after the current object validation rule setting in the ordered set where uuid = ?.- Parameters:
objectValidationRuleSettingId- the primary key of the current object validation rule settinguuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object validation rule setting
- Throws:
NoSuchObjectValidationRuleSettingException- if a object validation rule setting with the primary key could not be foundNoSuchObjectValidationRuleSettingException
-
removeByUuid
Removes all the object validation rule settings where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of object validation rule settings where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching object validation rule settings
-
findByUuid_C
Returns all the object validation rule settings where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching object validation rule settings
-
findByUuid_C
public static List<ObjectValidationRuleSetting> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the object validation rule settings where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectValidationRuleSettingModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object validation rule settingsend- the upper bound of the range of object validation rule settings (not inclusive)- Returns:
- the range of matching object validation rule settings
-
findByUuid_C
public static List<ObjectValidationRuleSetting> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns an ordered range of all the object validation rule settings where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectValidationRuleSettingModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object validation rule settingsend- the upper bound of the range of object validation rule settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object validation rule settings
-
findByUuid_C
public static List<ObjectValidationRuleSetting> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object validation rule settings where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectValidationRuleSettingModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object validation rule settingsend- the upper bound of the range of object validation rule settings (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 rule settings
-
findByUuid_C_First
public static ObjectValidationRuleSetting findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) throws NoSuchObjectValidationRuleSettingException Returns the first object validation rule setting 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 setting
- Throws:
NoSuchObjectValidationRuleSettingException- if a matching object validation rule setting could not be foundNoSuchObjectValidationRuleSettingException
-
fetchByUuid_C_First
public static ObjectValidationRuleSetting fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the first object validation rule setting 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 setting, or
nullif a matching object validation rule setting could not be found
-
findByUuid_C_Last
public static ObjectValidationRuleSetting findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) throws NoSuchObjectValidationRuleSettingException Returns the last object validation rule setting 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 setting
- Throws:
NoSuchObjectValidationRuleSettingException- if a matching object validation rule setting could not be foundNoSuchObjectValidationRuleSettingException
-
fetchByUuid_C_Last
public static ObjectValidationRuleSetting fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the last object validation rule setting 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 setting, or
nullif a matching object validation rule setting could not be found
-
findByUuid_C_PrevAndNext
public static ObjectValidationRuleSetting[] findByUuid_C_PrevAndNext(long objectValidationRuleSettingId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) throws NoSuchObjectValidationRuleSettingException Returns the object validation rule settings before and after the current object validation rule setting in the ordered set where uuid = ? and companyId = ?.- Parameters:
objectValidationRuleSettingId- the primary key of the current object validation rule settinguuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object validation rule setting
- Throws:
NoSuchObjectValidationRuleSettingException- if a object validation rule setting with the primary key could not be foundNoSuchObjectValidationRuleSettingException
-
removeByUuid_C
Removes all the object validation rule settings where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of object validation rule settings where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching object validation rule settings
-
findByObjectValidationRuleId
public static List<ObjectValidationRuleSetting> findByObjectValidationRuleId(long objectValidationRuleId) Returns all the object validation rule settings where objectValidationRuleId = ?.- Parameters:
objectValidationRuleId- the object validation rule ID- Returns:
- the matching object validation rule settings
-
findByObjectValidationRuleId
public static List<ObjectValidationRuleSetting> findByObjectValidationRuleId(long objectValidationRuleId, int start, int end) Returns a range of all the object validation rule settings where objectValidationRuleId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectValidationRuleSettingModelImpl.- Parameters:
objectValidationRuleId- the object validation rule IDstart- the lower bound of the range of object validation rule settingsend- the upper bound of the range of object validation rule settings (not inclusive)- Returns:
- the range of matching object validation rule settings
-
findByObjectValidationRuleId
public static List<ObjectValidationRuleSetting> findByObjectValidationRuleId(long objectValidationRuleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns an ordered range of all the object validation rule settings where objectValidationRuleId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectValidationRuleSettingModelImpl.- Parameters:
objectValidationRuleId- the object validation rule IDstart- the lower bound of the range of object validation rule settingsend- the upper bound of the range of object validation rule settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object validation rule settings
-
findByObjectValidationRuleId
public static List<ObjectValidationRuleSetting> findByObjectValidationRuleId(long objectValidationRuleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object validation rule settings where objectValidationRuleId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectValidationRuleSettingModelImpl.- Parameters:
objectValidationRuleId- the object validation rule IDstart- the lower bound of the range of object validation rule settingsend- the upper bound of the range of object validation rule settings (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 rule settings
-
findByObjectValidationRuleId_First
public static ObjectValidationRuleSetting findByObjectValidationRuleId_First(long objectValidationRuleId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) throws NoSuchObjectValidationRuleSettingException Returns the first object validation rule setting in the ordered set where objectValidationRuleId = ?.- Parameters:
objectValidationRuleId- the object validation rule IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object validation rule setting
- Throws:
NoSuchObjectValidationRuleSettingException- if a matching object validation rule setting could not be foundNoSuchObjectValidationRuleSettingException
-
fetchByObjectValidationRuleId_First
public static ObjectValidationRuleSetting fetchByObjectValidationRuleId_First(long objectValidationRuleId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the first object validation rule setting in the ordered set where objectValidationRuleId = ?.- Parameters:
objectValidationRuleId- the object validation rule IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object validation rule setting, or
nullif a matching object validation rule setting could not be found
-
findByObjectValidationRuleId_Last
public static ObjectValidationRuleSetting findByObjectValidationRuleId_Last(long objectValidationRuleId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) throws NoSuchObjectValidationRuleSettingException Returns the last object validation rule setting in the ordered set where objectValidationRuleId = ?.- Parameters:
objectValidationRuleId- the object validation rule IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object validation rule setting
- Throws:
NoSuchObjectValidationRuleSettingException- if a matching object validation rule setting could not be foundNoSuchObjectValidationRuleSettingException
-
fetchByObjectValidationRuleId_Last
public static ObjectValidationRuleSetting fetchByObjectValidationRuleId_Last(long objectValidationRuleId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the last object validation rule setting in the ordered set where objectValidationRuleId = ?.- Parameters:
objectValidationRuleId- the object validation rule IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object validation rule setting, or
nullif a matching object validation rule setting could not be found
-
findByObjectValidationRuleId_PrevAndNext
public static ObjectValidationRuleSetting[] findByObjectValidationRuleId_PrevAndNext(long objectValidationRuleSettingId, long objectValidationRuleId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) throws NoSuchObjectValidationRuleSettingException Returns the object validation rule settings before and after the current object validation rule setting in the ordered set where objectValidationRuleId = ?.- Parameters:
objectValidationRuleSettingId- the primary key of the current object validation rule settingobjectValidationRuleId- the object validation rule IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object validation rule setting
- Throws:
NoSuchObjectValidationRuleSettingException- if a object validation rule setting with the primary key could not be foundNoSuchObjectValidationRuleSettingException
-
removeByObjectValidationRuleId
public static void removeByObjectValidationRuleId(long objectValidationRuleId) Removes all the object validation rule settings where objectValidationRuleId = ? from the database.- Parameters:
objectValidationRuleId- the object validation rule ID
-
countByObjectValidationRuleId
public static int countByObjectValidationRuleId(long objectValidationRuleId) Returns the number of object validation rule settings where objectValidationRuleId = ?.- Parameters:
objectValidationRuleId- the object validation rule ID- Returns:
- the number of matching object validation rule settings
-
findByOVRI_N
public static List<ObjectValidationRuleSetting> findByOVRI_N(long objectValidationRuleId, String name) Returns all the object validation rule settings where objectValidationRuleId = ? and name = ?.- Parameters:
objectValidationRuleId- the object validation rule IDname- the name- Returns:
- the matching object validation rule settings
-
findByOVRI_N
public static List<ObjectValidationRuleSetting> findByOVRI_N(long objectValidationRuleId, String name, int start, int end) Returns a range of all the object validation rule settings where objectValidationRuleId = ? and name = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectValidationRuleSettingModelImpl.- Parameters:
objectValidationRuleId- the object validation rule IDname- the namestart- the lower bound of the range of object validation rule settingsend- the upper bound of the range of object validation rule settings (not inclusive)- Returns:
- the range of matching object validation rule settings
-
findByOVRI_N
public static List<ObjectValidationRuleSetting> findByOVRI_N(long objectValidationRuleId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns an ordered range of all the object validation rule settings where objectValidationRuleId = ? and name = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectValidationRuleSettingModelImpl.- Parameters:
objectValidationRuleId- the object validation rule IDname- the namestart- the lower bound of the range of object validation rule settingsend- the upper bound of the range of object validation rule settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object validation rule settings
-
findByOVRI_N
public static List<ObjectValidationRuleSetting> findByOVRI_N(long objectValidationRuleId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object validation rule settings where objectValidationRuleId = ? and name = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectValidationRuleSettingModelImpl.- Parameters:
objectValidationRuleId- the object validation rule IDname- the namestart- the lower bound of the range of object validation rule settingsend- the upper bound of the range of object validation rule settings (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 rule settings
-
findByOVRI_N_First
public static ObjectValidationRuleSetting findByOVRI_N_First(long objectValidationRuleId, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) throws NoSuchObjectValidationRuleSettingException Returns the first object validation rule setting in the ordered set where objectValidationRuleId = ? and name = ?.- Parameters:
objectValidationRuleId- the object validation rule IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object validation rule setting
- Throws:
NoSuchObjectValidationRuleSettingException- if a matching object validation rule setting could not be foundNoSuchObjectValidationRuleSettingException
-
fetchByOVRI_N_First
public static ObjectValidationRuleSetting fetchByOVRI_N_First(long objectValidationRuleId, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the first object validation rule setting in the ordered set where objectValidationRuleId = ? and name = ?.- Parameters:
objectValidationRuleId- the object validation rule IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object validation rule setting, or
nullif a matching object validation rule setting could not be found
-
findByOVRI_N_Last
public static ObjectValidationRuleSetting findByOVRI_N_Last(long objectValidationRuleId, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) throws NoSuchObjectValidationRuleSettingException Returns the last object validation rule setting in the ordered set where objectValidationRuleId = ? and name = ?.- Parameters:
objectValidationRuleId- the object validation rule IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object validation rule setting
- Throws:
NoSuchObjectValidationRuleSettingException- if a matching object validation rule setting could not be foundNoSuchObjectValidationRuleSettingException
-
fetchByOVRI_N_Last
public static ObjectValidationRuleSetting fetchByOVRI_N_Last(long objectValidationRuleId, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns the last object validation rule setting in the ordered set where objectValidationRuleId = ? and name = ?.- Parameters:
objectValidationRuleId- the object validation rule IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object validation rule setting, or
nullif a matching object validation rule setting could not be found
-
findByOVRI_N_PrevAndNext
public static ObjectValidationRuleSetting[] findByOVRI_N_PrevAndNext(long objectValidationRuleSettingId, long objectValidationRuleId, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) throws NoSuchObjectValidationRuleSettingException Returns the object validation rule settings before and after the current object validation rule setting in the ordered set where objectValidationRuleId = ? and name = ?.- Parameters:
objectValidationRuleSettingId- the primary key of the current object validation rule settingobjectValidationRuleId- the object validation rule IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object validation rule setting
- Throws:
NoSuchObjectValidationRuleSettingException- if a object validation rule setting with the primary key could not be foundNoSuchObjectValidationRuleSettingException
-
removeByOVRI_N
Removes all the object validation rule settings where objectValidationRuleId = ? and name = ? from the database.- Parameters:
objectValidationRuleId- the object validation rule IDname- the name
-
countByOVRI_N
Returns the number of object validation rule settings where objectValidationRuleId = ? and name = ?.- Parameters:
objectValidationRuleId- the object validation rule IDname- the name- Returns:
- the number of matching object validation rule settings
-
findByN_V
public static ObjectValidationRuleSetting findByN_V(String name, String value) throws NoSuchObjectValidationRuleSettingException Returns the object validation rule setting where name = ? and value = ? or throws aNoSuchObjectValidationRuleSettingExceptionif it could not be found.- Parameters:
name- the namevalue- the value- Returns:
- the matching object validation rule setting
- Throws:
NoSuchObjectValidationRuleSettingException- if a matching object validation rule setting could not be foundNoSuchObjectValidationRuleSettingException
-
fetchByN_V
Returns the object validation rule setting where name = ? and value = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
name- the namevalue- the value- Returns:
- the matching object validation rule setting, or
nullif a matching object validation rule setting could not be found
-
fetchByN_V
public static ObjectValidationRuleSetting fetchByN_V(String name, String value, boolean useFinderCache) Returns the object validation rule setting where name = ? and value = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
name- the namevalue- the valueuseFinderCache- whether to use the finder cache- Returns:
- the matching object validation rule setting, or
nullif a matching object validation rule setting could not be found
-
removeByN_V
public static ObjectValidationRuleSetting removeByN_V(String name, String value) throws NoSuchObjectValidationRuleSettingException Removes the object validation rule setting where name = ? and value = ? from the database.- Parameters:
name- the namevalue- the value- Returns:
- the object validation rule setting that was removed
- Throws:
NoSuchObjectValidationRuleSettingException
-
countByN_V
Returns the number of object validation rule settings where name = ? and value = ?.- Parameters:
name- the namevalue- the value- Returns:
- the number of matching object validation rule settings
-
findByOVRI_N_V
public static ObjectValidationRuleSetting findByOVRI_N_V(long objectValidationRuleId, String name, String value) throws NoSuchObjectValidationRuleSettingException Returns the object validation rule setting where objectValidationRuleId = ? and name = ? and value = ? or throws aNoSuchObjectValidationRuleSettingExceptionif it could not be found.- Parameters:
objectValidationRuleId- the object validation rule IDname- the namevalue- the value- Returns:
- the matching object validation rule setting
- Throws:
NoSuchObjectValidationRuleSettingException- if a matching object validation rule setting could not be foundNoSuchObjectValidationRuleSettingException
-
fetchByOVRI_N_V
public static ObjectValidationRuleSetting fetchByOVRI_N_V(long objectValidationRuleId, String name, String value) Returns the object validation rule setting where objectValidationRuleId = ? and name = ? and value = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
objectValidationRuleId- the object validation rule IDname- the namevalue- the value- Returns:
- the matching object validation rule setting, or
nullif a matching object validation rule setting could not be found
-
fetchByOVRI_N_V
public static ObjectValidationRuleSetting fetchByOVRI_N_V(long objectValidationRuleId, String name, String value, boolean useFinderCache) Returns the object validation rule setting where objectValidationRuleId = ? and name = ? and value = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
objectValidationRuleId- the object validation rule IDname- the namevalue- the valueuseFinderCache- whether to use the finder cache- Returns:
- the matching object validation rule setting, or
nullif a matching object validation rule setting could not be found
-
removeByOVRI_N_V
public static ObjectValidationRuleSetting removeByOVRI_N_V(long objectValidationRuleId, String name, String value) throws NoSuchObjectValidationRuleSettingException Removes the object validation rule setting where objectValidationRuleId = ? and name = ? and value = ? from the database.- Parameters:
objectValidationRuleId- the object validation rule IDname- the namevalue- the value- Returns:
- the object validation rule setting that was removed
- Throws:
NoSuchObjectValidationRuleSettingException
-
countByOVRI_N_V
Returns the number of object validation rule settings where objectValidationRuleId = ? and name = ? and value = ?.- Parameters:
objectValidationRuleId- the object validation rule IDname- the namevalue- the value- Returns:
- the number of matching object validation rule settings
-
cacheResult
Caches the object validation rule setting in the entity cache if it is enabled.- Parameters:
objectValidationRuleSetting- the object validation rule setting
-
cacheResult
Caches the object validation rule settings in the entity cache if it is enabled.- Parameters:
objectValidationRuleSettings- the object validation rule settings
-
create
Creates a new object validation rule setting with the primary key. Does not add the object validation rule setting to the database.- Parameters:
objectValidationRuleSettingId- the primary key for the new object validation rule setting- Returns:
- the new object validation rule setting
-
remove
public static ObjectValidationRuleSetting remove(long objectValidationRuleSettingId) throws NoSuchObjectValidationRuleSettingException Removes the object validation rule setting with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
objectValidationRuleSettingId- the primary key of the object validation rule setting- Returns:
- the object validation rule setting that was removed
- Throws:
NoSuchObjectValidationRuleSettingException- if a object validation rule setting with the primary key could not be foundNoSuchObjectValidationRuleSettingException
-
updateImpl
public static ObjectValidationRuleSetting updateImpl(ObjectValidationRuleSetting objectValidationRuleSetting) -
findByPrimaryKey
public static ObjectValidationRuleSetting findByPrimaryKey(long objectValidationRuleSettingId) throws NoSuchObjectValidationRuleSettingException Returns the object validation rule setting with the primary key or throws aNoSuchObjectValidationRuleSettingExceptionif it could not be found.- Parameters:
objectValidationRuleSettingId- the primary key of the object validation rule setting- Returns:
- the object validation rule setting
- Throws:
NoSuchObjectValidationRuleSettingException- if a object validation rule setting with the primary key could not be foundNoSuchObjectValidationRuleSettingException
-
fetchByPrimaryKey
Returns the object validation rule setting with the primary key or returnsnullif it could not be found.- Parameters:
objectValidationRuleSettingId- the primary key of the object validation rule setting- Returns:
- the object validation rule setting, or
nullif a object validation rule setting with the primary key could not be found
-
findAll
Returns all the object validation rule settings.- Returns:
- the object validation rule settings
-
findAll
Returns a range of all the object validation rule settings.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectValidationRuleSettingModelImpl.- Parameters:
start- the lower bound of the range of object validation rule settingsend- the upper bound of the range of object validation rule settings (not inclusive)- Returns:
- the range of object validation rule settings
-
findAll
public static List<ObjectValidationRuleSetting> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) Returns an ordered range of all the object validation rule settings.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectValidationRuleSettingModelImpl.- Parameters:
start- the lower bound of the range of object validation rule settingsend- the upper bound of the range of object validation rule settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of object validation rule settings
-
findAll
public static List<ObjectValidationRuleSetting> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object validation rule settings.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectValidationRuleSettingModelImpl.- Parameters:
start- the lower bound of the range of object validation rule settingsend- the upper bound of the range of object validation rule settings (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 rule settings
-
removeAll
public static void removeAll()Removes all the object validation rule settings from the database. -
countAll
public static int countAll()Returns the number of object validation rule settings.- Returns:
- the number of object validation rule settings
-
getPersistence
-
setPersistence
-