public class ObjectValidationRuleSettingUtil
extends java.lang.Object
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
ObjectValidationRuleSettingPersistence
Constructor and Description |
---|
ObjectValidationRuleSettingUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<ObjectValidationRuleSetting> objectValidationRuleSettings)
Caches the object validation rule settings in the entity cache if it is enabled.
|
static void |
cacheResult(ObjectValidationRuleSetting objectValidationRuleSetting)
Caches the object validation rule setting in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(ObjectValidationRuleSetting objectValidationRuleSetting) |
static int |
countAll()
Returns the number of object validation rule settings.
|
static int |
countByN_V(java.lang.String name,
java.lang.String value)
Returns the number of object validation rule settings where name = ? and value = ?.
|
static int |
countByObjectValidationRuleId(long objectValidationRuleId)
Returns the number of object validation rule settings where objectValidationRuleId = ?.
|
static int |
countByOVRI_N_V(long objectValidationRuleId,
java.lang.String name,
java.lang.String value)
Returns the number of object validation rule settings where objectValidationRuleId = ? and name = ? and value = ?.
|
static int |
countByOVRI_N(long objectValidationRuleId,
java.lang.String name)
Returns the number of object validation rule settings where objectValidationRuleId = ? and name = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of object validation rule settings where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of object validation rule settings where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static ObjectValidationRuleSetting |
create(long objectValidationRuleSettingId)
Creates a new object validation rule setting with the primary key.
|
static ObjectValidationRuleSetting |
fetchByN_V(java.lang.String name,
java.lang.String value)
Returns the object validation rule setting where name = ? and value = ? or returns
null if it could not be found. |
static ObjectValidationRuleSetting |
fetchByN_V(java.lang.String name,
java.lang.String value,
boolean useFinderCache)
Returns the object validation rule setting where name = ? and value = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
static ObjectValidationRuleSetting |
fetchByOVRI_N_First(long objectValidationRuleId,
java.lang.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 ObjectValidationRuleSetting |
fetchByOVRI_N_Last(long objectValidationRuleId,
java.lang.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 |
fetchByOVRI_N_V(long objectValidationRuleId,
java.lang.String name,
java.lang.String value)
Returns the object validation rule setting where objectValidationRuleId = ? and name = ? and value = ? or returns
null if it could not be found. |
static ObjectValidationRuleSetting |
fetchByOVRI_N_V(long objectValidationRuleId,
java.lang.String name,
java.lang.String value,
boolean useFinderCache)
Returns the object validation rule setting where objectValidationRuleId = ? and name = ? and value = ? or returns
null if it could not be found, optionally using the finder cache. |
static ObjectValidationRuleSetting |
fetchByPrimaryKey(long objectValidationRuleSettingId)
Returns the object validation rule setting with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,ObjectValidationRuleSetting> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static ObjectValidationRuleSetting |
fetchByUuid_C_First(java.lang.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 ObjectValidationRuleSetting |
fetchByUuid_C_Last(java.lang.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 |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator)
Returns the first object validation rule setting in the ordered set where uuid = ?.
|
static ObjectValidationRuleSetting |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator)
Returns the last object validation rule setting in the ordered set where uuid = ?.
|
static java.util.List<ObjectValidationRuleSetting> |
findAll()
Returns all the object validation rule settings.
|
static java.util.List<ObjectValidationRuleSetting> |
findAll(int start,
int end)
Returns a range of all the object validation rule settings.
|
static java.util.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 java.util.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 ObjectValidationRuleSetting |
findByN_V(java.lang.String name,
java.lang.String value)
Returns the object validation rule setting where name = ? and value = ? or throws a
NoSuchObjectValidationRuleSettingException if it could not be found. |
static ObjectValidationRuleSetting |
findByObjectValidationRuleId_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 ObjectValidationRuleSetting |
findByObjectValidationRuleId_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 java.util.List<ObjectValidationRuleSetting> |
findByObjectValidationRuleId(long objectValidationRuleId)
Returns all the object validation rule settings where objectValidationRuleId = ?.
|
static java.util.List<ObjectValidationRuleSetting> |
findByObjectValidationRuleId(long objectValidationRuleId,
int start,
int end)
Returns a range of all the object validation rule settings where objectValidationRuleId = ?.
|
static java.util.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 java.util.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 ObjectValidationRuleSetting |
findByOVRI_N_First(long objectValidationRuleId,
java.lang.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 ObjectValidationRuleSetting |
findByOVRI_N_Last(long objectValidationRuleId,
java.lang.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,
java.lang.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 ObjectValidationRuleSetting |
findByOVRI_N_V(long objectValidationRuleId,
java.lang.String name,
java.lang.String value)
Returns the object validation rule setting where objectValidationRuleId = ? and name = ? and value = ? or throws a
NoSuchObjectValidationRuleSettingException if it could not be found. |
static java.util.List<ObjectValidationRuleSetting> |
findByOVRI_N(long objectValidationRuleId,
java.lang.String name)
Returns all the object validation rule settings where objectValidationRuleId = ? and name = ?.
|
static java.util.List<ObjectValidationRuleSetting> |
findByOVRI_N(long objectValidationRuleId,
java.lang.String name,
int start,
int end)
Returns a range of all the object validation rule settings where objectValidationRuleId = ? and name = ?.
|
static java.util.List<ObjectValidationRuleSetting> |
findByOVRI_N(long objectValidationRuleId,
java.lang.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 java.util.List<ObjectValidationRuleSetting> |
findByOVRI_N(long objectValidationRuleId,
java.lang.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 ObjectValidationRuleSetting |
findByPrimaryKey(long objectValidationRuleSettingId)
Returns the object validation rule setting with the primary key or throws a
NoSuchObjectValidationRuleSettingException if it could not be found. |
static ObjectValidationRuleSetting |
findByUuid_C_First(java.lang.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 ObjectValidationRuleSetting |
findByUuid_C_Last(java.lang.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,
java.lang.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 java.util.List<ObjectValidationRuleSetting> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the object validation rule settings where uuid = ? and companyId = ?.
|
static java.util.List<ObjectValidationRuleSetting> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the object validation rule settings where uuid = ? and companyId = ?.
|
static java.util.List<ObjectValidationRuleSetting> |
findByUuid_C(java.lang.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 java.util.List<ObjectValidationRuleSetting> |
findByUuid_C(java.lang.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 ObjectValidationRuleSetting |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator)
Returns the first object validation rule setting in the ordered set where uuid = ?.
|
static ObjectValidationRuleSetting |
findByUuid_Last(java.lang.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,
java.lang.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 java.util.List<ObjectValidationRuleSetting> |
findByUuid(java.lang.String uuid)
Returns all the object validation rule settings where uuid = ?.
|
static java.util.List<ObjectValidationRuleSetting> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the object validation rule settings where uuid = ?.
|
static java.util.List<ObjectValidationRuleSetting> |
findByUuid(java.lang.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 java.util.List<ObjectValidationRuleSetting> |
findByUuid(java.lang.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 java.util.List<ObjectValidationRuleSetting> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<ObjectValidationRuleSetting> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<ObjectValidationRuleSetting> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) |
static ObjectValidationRuleSettingPersistence |
getPersistence() |
static ObjectValidationRuleSetting |
remove(long objectValidationRuleSettingId)
Removes the object validation rule setting with the primary key from the database.
|
static void |
removeAll()
Removes all the object validation rule settings from the database.
|
static ObjectValidationRuleSetting |
removeByN_V(java.lang.String name,
java.lang.String value)
Removes the object validation rule setting where name = ? and value = ? from the database.
|
static void |
removeByObjectValidationRuleId(long objectValidationRuleId)
Removes all the object validation rule settings where objectValidationRuleId = ? from the database.
|
static ObjectValidationRuleSetting |
removeByOVRI_N_V(long objectValidationRuleId,
java.lang.String name,
java.lang.String value)
Removes the object validation rule setting where objectValidationRuleId = ? and name = ? and value = ? from the database.
|
static void |
removeByOVRI_N(long objectValidationRuleId,
java.lang.String name)
Removes all the object validation rule settings where objectValidationRuleId = ? and name = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the object validation rule settings where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the object validation rule settings where uuid = ? from the database.
|
static void |
setPersistence(ObjectValidationRuleSettingPersistence persistence) |
static ObjectValidationRuleSetting |
update(ObjectValidationRuleSetting objectValidationRuleSetting) |
static ObjectValidationRuleSetting |
update(ObjectValidationRuleSetting objectValidationRuleSetting,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static ObjectValidationRuleSetting |
updateImpl(ObjectValidationRuleSetting objectValidationRuleSetting) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(ObjectValidationRuleSetting objectValidationRuleSetting)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,ObjectValidationRuleSetting> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<ObjectValidationRuleSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<ObjectValidationRuleSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<ObjectValidationRuleSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static ObjectValidationRuleSetting update(ObjectValidationRuleSetting objectValidationRuleSetting)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static ObjectValidationRuleSetting update(ObjectValidationRuleSetting objectValidationRuleSetting, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<ObjectValidationRuleSetting> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<ObjectValidationRuleSetting> 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 ObjectValidationRuleSettingModelImpl
.
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)public static java.util.List<ObjectValidationRuleSetting> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> 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 ObjectValidationRuleSettingModelImpl
.
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 (optionally null
)public static java.util.List<ObjectValidationRuleSetting> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> 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 ObjectValidationRuleSettingModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectValidationRuleSetting findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) throws NoSuchObjectValidationRuleSettingException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectValidationRuleSettingException
- if a matching object validation rule setting could not be foundpublic static ObjectValidationRuleSetting fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object validation rule setting could not be foundpublic static ObjectValidationRuleSetting findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) throws NoSuchObjectValidationRuleSettingException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectValidationRuleSettingException
- if a matching object validation rule setting could not be foundpublic static ObjectValidationRuleSetting fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object validation rule setting could not be foundpublic static ObjectValidationRuleSetting[] findByUuid_PrevAndNext(long objectValidationRuleSettingId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) throws NoSuchObjectValidationRuleSettingException
objectValidationRuleSettingId
- the primary key of the current object validation rule settinguuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectValidationRuleSettingException
- if a object validation rule setting with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<ObjectValidationRuleSetting> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<ObjectValidationRuleSetting> 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 ObjectValidationRuleSettingModelImpl
.
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)public static java.util.List<ObjectValidationRuleSetting> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> 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 ObjectValidationRuleSettingModelImpl
.
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 (optionally null
)public static java.util.List<ObjectValidationRuleSetting> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> 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 ObjectValidationRuleSettingModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectValidationRuleSetting findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) throws NoSuchObjectValidationRuleSettingException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectValidationRuleSettingException
- if a matching object validation rule setting could not be foundpublic static ObjectValidationRuleSetting fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object validation rule setting could not be foundpublic static ObjectValidationRuleSetting findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) throws NoSuchObjectValidationRuleSettingException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectValidationRuleSettingException
- if a matching object validation rule setting could not be foundpublic static ObjectValidationRuleSetting fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object validation rule setting could not be foundpublic static ObjectValidationRuleSetting[] findByUuid_C_PrevAndNext(long objectValidationRuleSettingId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) throws NoSuchObjectValidationRuleSettingException
objectValidationRuleSettingId
- the primary key of the current object validation rule settinguuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectValidationRuleSettingException
- if a object validation rule setting with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<ObjectValidationRuleSetting> findByObjectValidationRuleId(long objectValidationRuleId)
objectValidationRuleId
- the object validation rule IDpublic static java.util.List<ObjectValidationRuleSetting> findByObjectValidationRuleId(long objectValidationRuleId, 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 ObjectValidationRuleSettingModelImpl
.
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)public static java.util.List<ObjectValidationRuleSetting> findByObjectValidationRuleId(long objectValidationRuleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> 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 ObjectValidationRuleSettingModelImpl
.
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 (optionally null
)public static java.util.List<ObjectValidationRuleSetting> findByObjectValidationRuleId(long objectValidationRuleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> 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 ObjectValidationRuleSettingModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectValidationRuleSetting findByObjectValidationRuleId_First(long objectValidationRuleId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) throws NoSuchObjectValidationRuleSettingException
objectValidationRuleId
- the object validation rule IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectValidationRuleSettingException
- if a matching object validation rule setting could not be foundpublic static ObjectValidationRuleSetting fetchByObjectValidationRuleId_First(long objectValidationRuleId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator)
objectValidationRuleId
- the object validation rule IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object validation rule setting could not be foundpublic static ObjectValidationRuleSetting findByObjectValidationRuleId_Last(long objectValidationRuleId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) throws NoSuchObjectValidationRuleSettingException
objectValidationRuleId
- the object validation rule IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectValidationRuleSettingException
- if a matching object validation rule setting could not be foundpublic static ObjectValidationRuleSetting fetchByObjectValidationRuleId_Last(long objectValidationRuleId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator)
objectValidationRuleId
- the object validation rule IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object validation rule setting could not be foundpublic static ObjectValidationRuleSetting[] findByObjectValidationRuleId_PrevAndNext(long objectValidationRuleSettingId, long objectValidationRuleId, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) throws NoSuchObjectValidationRuleSettingException
objectValidationRuleSettingId
- the primary key of the current object validation rule settingobjectValidationRuleId
- the object validation rule IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectValidationRuleSettingException
- if a object validation rule setting with the primary key could not be foundpublic static void removeByObjectValidationRuleId(long objectValidationRuleId)
objectValidationRuleId
- the object validation rule IDpublic static int countByObjectValidationRuleId(long objectValidationRuleId)
objectValidationRuleId
- the object validation rule IDpublic static java.util.List<ObjectValidationRuleSetting> findByOVRI_N(long objectValidationRuleId, java.lang.String name)
objectValidationRuleId
- the object validation rule IDname
- the namepublic static java.util.List<ObjectValidationRuleSetting> findByOVRI_N(long objectValidationRuleId, java.lang.String name, 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 ObjectValidationRuleSettingModelImpl
.
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)public static java.util.List<ObjectValidationRuleSetting> findByOVRI_N(long objectValidationRuleId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> 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 ObjectValidationRuleSettingModelImpl
.
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 (optionally null
)public static java.util.List<ObjectValidationRuleSetting> findByOVRI_N(long objectValidationRuleId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> 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 ObjectValidationRuleSettingModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectValidationRuleSetting findByOVRI_N_First(long objectValidationRuleId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) throws NoSuchObjectValidationRuleSettingException
objectValidationRuleId
- the object validation rule IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectValidationRuleSettingException
- if a matching object validation rule setting could not be foundpublic static ObjectValidationRuleSetting fetchByOVRI_N_First(long objectValidationRuleId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator)
objectValidationRuleId
- the object validation rule IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object validation rule setting could not be foundpublic static ObjectValidationRuleSetting findByOVRI_N_Last(long objectValidationRuleId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) throws NoSuchObjectValidationRuleSettingException
objectValidationRuleId
- the object validation rule IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectValidationRuleSettingException
- if a matching object validation rule setting could not be foundpublic static ObjectValidationRuleSetting fetchByOVRI_N_Last(long objectValidationRuleId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator)
objectValidationRuleId
- the object validation rule IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object validation rule setting could not be foundpublic static ObjectValidationRuleSetting[] findByOVRI_N_PrevAndNext(long objectValidationRuleSettingId, long objectValidationRuleId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> orderByComparator) throws NoSuchObjectValidationRuleSettingException
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 (optionally null
)NoSuchObjectValidationRuleSettingException
- if a object validation rule setting with the primary key could not be foundpublic static void removeByOVRI_N(long objectValidationRuleId, java.lang.String name)
objectValidationRuleId
- the object validation rule IDname
- the namepublic static int countByOVRI_N(long objectValidationRuleId, java.lang.String name)
objectValidationRuleId
- the object validation rule IDname
- the namepublic static ObjectValidationRuleSetting findByN_V(java.lang.String name, java.lang.String value) throws NoSuchObjectValidationRuleSettingException
NoSuchObjectValidationRuleSettingException
if it could not be found.name
- the namevalue
- the valueNoSuchObjectValidationRuleSettingException
- if a matching object validation rule setting could not be foundpublic static ObjectValidationRuleSetting fetchByN_V(java.lang.String name, java.lang.String value)
null
if it could not be found. Uses the finder cache.name
- the namevalue
- the valuenull
if a matching object validation rule setting could not be foundpublic static ObjectValidationRuleSetting fetchByN_V(java.lang.String name, java.lang.String value, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.name
- the namevalue
- the valueuseFinderCache
- whether to use the finder cachenull
if a matching object validation rule setting could not be foundpublic static ObjectValidationRuleSetting removeByN_V(java.lang.String name, java.lang.String value) throws NoSuchObjectValidationRuleSettingException
name
- the namevalue
- the valueNoSuchObjectValidationRuleSettingException
public static int countByN_V(java.lang.String name, java.lang.String value)
name
- the namevalue
- the valuepublic static ObjectValidationRuleSetting findByOVRI_N_V(long objectValidationRuleId, java.lang.String name, java.lang.String value) throws NoSuchObjectValidationRuleSettingException
NoSuchObjectValidationRuleSettingException
if it could not be found.objectValidationRuleId
- the object validation rule IDname
- the namevalue
- the valueNoSuchObjectValidationRuleSettingException
- if a matching object validation rule setting could not be foundpublic static ObjectValidationRuleSetting fetchByOVRI_N_V(long objectValidationRuleId, java.lang.String name, java.lang.String value)
null
if it could not be found. Uses the finder cache.objectValidationRuleId
- the object validation rule IDname
- the namevalue
- the valuenull
if a matching object validation rule setting could not be foundpublic static ObjectValidationRuleSetting fetchByOVRI_N_V(long objectValidationRuleId, java.lang.String name, java.lang.String value, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.objectValidationRuleId
- the object validation rule IDname
- the namevalue
- the valueuseFinderCache
- whether to use the finder cachenull
if a matching object validation rule setting could not be foundpublic static ObjectValidationRuleSetting removeByOVRI_N_V(long objectValidationRuleId, java.lang.String name, java.lang.String value) throws NoSuchObjectValidationRuleSettingException
objectValidationRuleId
- the object validation rule IDname
- the namevalue
- the valueNoSuchObjectValidationRuleSettingException
public static int countByOVRI_N_V(long objectValidationRuleId, java.lang.String name, java.lang.String value)
objectValidationRuleId
- the object validation rule IDname
- the namevalue
- the valuepublic static void cacheResult(ObjectValidationRuleSetting objectValidationRuleSetting)
objectValidationRuleSetting
- the object validation rule settingpublic static void cacheResult(java.util.List<ObjectValidationRuleSetting> objectValidationRuleSettings)
objectValidationRuleSettings
- the object validation rule settingspublic static ObjectValidationRuleSetting create(long objectValidationRuleSettingId)
objectValidationRuleSettingId
- the primary key for the new object validation rule settingpublic static ObjectValidationRuleSetting remove(long objectValidationRuleSettingId) throws NoSuchObjectValidationRuleSettingException
objectValidationRuleSettingId
- the primary key of the object validation rule settingNoSuchObjectValidationRuleSettingException
- if a object validation rule setting with the primary key could not be foundpublic static ObjectValidationRuleSetting updateImpl(ObjectValidationRuleSetting objectValidationRuleSetting)
public static ObjectValidationRuleSetting findByPrimaryKey(long objectValidationRuleSettingId) throws NoSuchObjectValidationRuleSettingException
NoSuchObjectValidationRuleSettingException
if it could not be found.objectValidationRuleSettingId
- the primary key of the object validation rule settingNoSuchObjectValidationRuleSettingException
- if a object validation rule setting with the primary key could not be foundpublic static ObjectValidationRuleSetting fetchByPrimaryKey(long objectValidationRuleSettingId)
null
if it could not be found.objectValidationRuleSettingId
- the primary key of the object validation rule settingnull
if a object validation rule setting with the primary key could not be foundpublic static java.util.List<ObjectValidationRuleSetting> findAll()
public static java.util.List<ObjectValidationRuleSetting> 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 ObjectValidationRuleSettingModelImpl
.
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)public static java.util.List<ObjectValidationRuleSetting> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> 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 ObjectValidationRuleSettingModelImpl
.
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 (optionally null
)public static java.util.List<ObjectValidationRuleSetting> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectValidationRuleSetting> 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 ObjectValidationRuleSettingModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static ObjectValidationRuleSettingPersistence getPersistence()
public static void setPersistence(ObjectValidationRuleSettingPersistence persistence)