@ProviderType
public class MDRRuleGroupInstanceUtil
extends java.lang.Object
com.liferay.mobile.device.rules.service.persistence.impl.MDRRuleGroupInstancePersistenceImpl
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
MDRRuleGroupInstancePersistence
,
com.liferay.mobile.device.rules.service.persistence.impl.MDRRuleGroupInstancePersistenceImpl
Constructor and Description |
---|
MDRRuleGroupInstanceUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<MDRRuleGroupInstance> mdrRuleGroupInstances)
Caches the mdr rule group instances in the entity cache if it is enabled.
|
static void |
cacheResult(MDRRuleGroupInstance mdrRuleGroupInstance)
Caches the mdr rule group instance in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(MDRRuleGroupInstance mdrRuleGroupInstance) |
static int |
countAll()
Returns the number of mdr rule group instances.
|
static int |
countByC_C_R(long classNameId,
long classPK,
long ruleGroupId)
Returns the number of mdr rule group instances where classNameId = ? and classPK = ? and ruleGroupId = ?.
|
static int |
countByC_C(long classNameId,
long classPK)
Returns the number of mdr rule group instances where classNameId = ? and classPK = ?.
|
static int |
countByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the number of mdr rule group instances where groupId = ? and classNameId = ? and classPK = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of mdr rule group instances where groupId = ?.
|
static int |
countByRuleGroupId(long ruleGroupId)
Returns the number of mdr rule group instances where ruleGroupId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of mdr rule group instances where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of mdr rule group instances where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of mdr rule group instances where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static MDRRuleGroupInstance |
create(long ruleGroupInstanceId)
Creates a new mdr rule group instance with the primary key.
|
static MDRRuleGroupInstance |
fetchByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the first mdr rule group instance in the ordered set where classNameId = ? and classPK = ?.
|
static MDRRuleGroupInstance |
fetchByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the last mdr rule group instance in the ordered set where classNameId = ? and classPK = ?.
|
static MDRRuleGroupInstance |
fetchByC_C_R(long classNameId,
long classPK,
long ruleGroupId)
Returns the mdr rule group instance where classNameId = ? and classPK = ? and ruleGroupId = ? or returns
null if it could not be found. |
static MDRRuleGroupInstance |
fetchByC_C_R(long classNameId,
long classPK,
long ruleGroupId,
boolean retrieveFromCache)
Returns the mdr rule group instance where classNameId = ? and classPK = ? and ruleGroupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static MDRRuleGroupInstance |
fetchByG_C_C_First(long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the first mdr rule group instance in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
static MDRRuleGroupInstance |
fetchByG_C_C_Last(long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the last mdr rule group instance in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
static MDRRuleGroupInstance |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the first mdr rule group instance in the ordered set where groupId = ?.
|
static MDRRuleGroupInstance |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the last mdr rule group instance in the ordered set where groupId = ?.
|
static MDRRuleGroupInstance |
fetchByPrimaryKey(long ruleGroupInstanceId)
Returns the mdr rule group instance with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,MDRRuleGroupInstance> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static MDRRuleGroupInstance |
fetchByRuleGroupId_First(long ruleGroupId,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the first mdr rule group instance in the ordered set where ruleGroupId = ?.
|
static MDRRuleGroupInstance |
fetchByRuleGroupId_Last(long ruleGroupId,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the last mdr rule group instance in the ordered set where ruleGroupId = ?.
|
static MDRRuleGroupInstance |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the first mdr rule group instance in the ordered set where uuid = ? and companyId = ?.
|
static MDRRuleGroupInstance |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the last mdr rule group instance in the ordered set where uuid = ? and companyId = ?.
|
static MDRRuleGroupInstance |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the first mdr rule group instance in the ordered set where uuid = ?.
|
static MDRRuleGroupInstance |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the mdr rule group instance where uuid = ? and groupId = ? or returns
null if it could not be found. |
static MDRRuleGroupInstance |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the mdr rule group instance where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static MDRRuleGroupInstance |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the last mdr rule group instance in the ordered set where uuid = ?.
|
static int |
filterCountByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the number of mdr rule group instances that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.
|
static int |
filterCountByGroupId(long groupId)
Returns the number of mdr rule group instances that the user has permission to view where groupId = ?.
|
static MDRRuleGroupInstance[] |
filterFindByG_C_C_PrevAndNext(long ruleGroupInstanceId,
long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the mdr rule group instances before and after the current mdr rule group instance in the ordered set of mdr rule group instances that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.
|
static java.util.List<MDRRuleGroupInstance> |
filterFindByG_C_C(long groupId,
long classNameId,
long classPK)
Returns all the mdr rule group instances that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.
|
static java.util.List<MDRRuleGroupInstance> |
filterFindByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end)
Returns a range of all the mdr rule group instances that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.
|
static java.util.List<MDRRuleGroupInstance> |
filterFindByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns an ordered range of all the mdr rule group instances that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ?.
|
static MDRRuleGroupInstance[] |
filterFindByGroupId_PrevAndNext(long ruleGroupInstanceId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the mdr rule group instances before and after the current mdr rule group instance in the ordered set of mdr rule group instances that the user has permission to view where groupId = ?.
|
static java.util.List<MDRRuleGroupInstance> |
filterFindByGroupId(long groupId)
Returns all the mdr rule group instances that the user has permission to view where groupId = ?.
|
static java.util.List<MDRRuleGroupInstance> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the mdr rule group instances that the user has permission to view where groupId = ?.
|
static java.util.List<MDRRuleGroupInstance> |
filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns an ordered range of all the mdr rule group instances that the user has permissions to view where groupId = ?.
|
static java.util.List<MDRRuleGroupInstance> |
findAll()
Returns all the mdr rule group instances.
|
static java.util.List<MDRRuleGroupInstance> |
findAll(int start,
int end)
Returns a range of all the mdr rule group instances.
|
static java.util.List<MDRRuleGroupInstance> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns an ordered range of all the mdr rule group instances.
|
static java.util.List<MDRRuleGroupInstance> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the mdr rule group instances.
|
static MDRRuleGroupInstance |
findByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the first mdr rule group instance in the ordered set where classNameId = ? and classPK = ?.
|
static MDRRuleGroupInstance |
findByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the last mdr rule group instance in the ordered set where classNameId = ? and classPK = ?.
|
static MDRRuleGroupInstance[] |
findByC_C_PrevAndNext(long ruleGroupInstanceId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the mdr rule group instances before and after the current mdr rule group instance in the ordered set where classNameId = ? and classPK = ?.
|
static MDRRuleGroupInstance |
findByC_C_R(long classNameId,
long classPK,
long ruleGroupId)
Returns the mdr rule group instance where classNameId = ? and classPK = ? and ruleGroupId = ? or throws a
NoSuchRuleGroupInstanceException if it could not be found. |
static java.util.List<MDRRuleGroupInstance> |
findByC_C(long classNameId,
long classPK)
Returns all the mdr rule group instances where classNameId = ? and classPK = ?.
|
static java.util.List<MDRRuleGroupInstance> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
Returns a range of all the mdr rule group instances where classNameId = ? and classPK = ?.
|
static java.util.List<MDRRuleGroupInstance> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns an ordered range of all the mdr rule group instances where classNameId = ? and classPK = ?.
|
static java.util.List<MDRRuleGroupInstance> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the mdr rule group instances where classNameId = ? and classPK = ?.
|
static MDRRuleGroupInstance |
findByG_C_C_First(long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the first mdr rule group instance in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
static MDRRuleGroupInstance |
findByG_C_C_Last(long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the last mdr rule group instance in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
static MDRRuleGroupInstance[] |
findByG_C_C_PrevAndNext(long ruleGroupInstanceId,
long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the mdr rule group instances before and after the current mdr rule group instance in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
static java.util.List<MDRRuleGroupInstance> |
findByG_C_C(long groupId,
long classNameId,
long classPK)
Returns all the mdr rule group instances where groupId = ? and classNameId = ? and classPK = ?.
|
static java.util.List<MDRRuleGroupInstance> |
findByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end)
Returns a range of all the mdr rule group instances where groupId = ? and classNameId = ? and classPK = ?.
|
static java.util.List<MDRRuleGroupInstance> |
findByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns an ordered range of all the mdr rule group instances where groupId = ? and classNameId = ? and classPK = ?.
|
static java.util.List<MDRRuleGroupInstance> |
findByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the mdr rule group instances where groupId = ? and classNameId = ? and classPK = ?.
|
static MDRRuleGroupInstance |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the first mdr rule group instance in the ordered set where groupId = ?.
|
static MDRRuleGroupInstance |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the last mdr rule group instance in the ordered set where groupId = ?.
|
static MDRRuleGroupInstance[] |
findByGroupId_PrevAndNext(long ruleGroupInstanceId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the mdr rule group instances before and after the current mdr rule group instance in the ordered set where groupId = ?.
|
static java.util.List<MDRRuleGroupInstance> |
findByGroupId(long groupId)
Returns all the mdr rule group instances where groupId = ?.
|
static java.util.List<MDRRuleGroupInstance> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the mdr rule group instances where groupId = ?.
|
static java.util.List<MDRRuleGroupInstance> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns an ordered range of all the mdr rule group instances where groupId = ?.
|
static java.util.List<MDRRuleGroupInstance> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the mdr rule group instances where groupId = ?.
|
static MDRRuleGroupInstance |
findByPrimaryKey(long ruleGroupInstanceId)
Returns the mdr rule group instance with the primary key or throws a
NoSuchRuleGroupInstanceException if it could not be found. |
static MDRRuleGroupInstance |
findByRuleGroupId_First(long ruleGroupId,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the first mdr rule group instance in the ordered set where ruleGroupId = ?.
|
static MDRRuleGroupInstance |
findByRuleGroupId_Last(long ruleGroupId,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the last mdr rule group instance in the ordered set where ruleGroupId = ?.
|
static MDRRuleGroupInstance[] |
findByRuleGroupId_PrevAndNext(long ruleGroupInstanceId,
long ruleGroupId,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the mdr rule group instances before and after the current mdr rule group instance in the ordered set where ruleGroupId = ?.
|
static java.util.List<MDRRuleGroupInstance> |
findByRuleGroupId(long ruleGroupId)
Returns all the mdr rule group instances where ruleGroupId = ?.
|
static java.util.List<MDRRuleGroupInstance> |
findByRuleGroupId(long ruleGroupId,
int start,
int end)
Returns a range of all the mdr rule group instances where ruleGroupId = ?.
|
static java.util.List<MDRRuleGroupInstance> |
findByRuleGroupId(long ruleGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns an ordered range of all the mdr rule group instances where ruleGroupId = ?.
|
static java.util.List<MDRRuleGroupInstance> |
findByRuleGroupId(long ruleGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the mdr rule group instances where ruleGroupId = ?.
|
static MDRRuleGroupInstance |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the first mdr rule group instance in the ordered set where uuid = ? and companyId = ?.
|
static MDRRuleGroupInstance |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the last mdr rule group instance in the ordered set where uuid = ? and companyId = ?.
|
static MDRRuleGroupInstance[] |
findByUuid_C_PrevAndNext(long ruleGroupInstanceId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the mdr rule group instances before and after the current mdr rule group instance in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<MDRRuleGroupInstance> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the mdr rule group instances where uuid = ? and companyId = ?.
|
static java.util.List<MDRRuleGroupInstance> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the mdr rule group instances where uuid = ? and companyId = ?.
|
static java.util.List<MDRRuleGroupInstance> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns an ordered range of all the mdr rule group instances where uuid = ? and companyId = ?.
|
static java.util.List<MDRRuleGroupInstance> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the mdr rule group instances where uuid = ? and companyId = ?.
|
static MDRRuleGroupInstance |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the first mdr rule group instance in the ordered set where uuid = ?.
|
static MDRRuleGroupInstance |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the mdr rule group instance where uuid = ? and groupId = ? or throws a
NoSuchRuleGroupInstanceException if it could not be found. |
static MDRRuleGroupInstance |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the last mdr rule group instance in the ordered set where uuid = ?.
|
static MDRRuleGroupInstance[] |
findByUuid_PrevAndNext(long ruleGroupInstanceId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the mdr rule group instances before and after the current mdr rule group instance in the ordered set where uuid = ?.
|
static java.util.List<MDRRuleGroupInstance> |
findByUuid(java.lang.String uuid)
Returns all the mdr rule group instances where uuid = ?.
|
static java.util.List<MDRRuleGroupInstance> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the mdr rule group instances where uuid = ?.
|
static java.util.List<MDRRuleGroupInstance> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns an ordered range of all the mdr rule group instances where uuid = ?.
|
static java.util.List<MDRRuleGroupInstance> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the mdr rule group instances where uuid = ?.
|
static java.util.List<MDRRuleGroupInstance> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<MDRRuleGroupInstance> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<MDRRuleGroupInstance> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator) |
static java.util.Set<java.lang.String> |
getBadColumnNames() |
static MDRRuleGroupInstancePersistence |
getPersistence() |
static MDRRuleGroupInstance |
remove(long ruleGroupInstanceId)
Removes the mdr rule group instance with the primary key from the database.
|
static void |
removeAll()
Removes all the mdr rule group instances from the database.
|
static MDRRuleGroupInstance |
removeByC_C_R(long classNameId,
long classPK,
long ruleGroupId)
Removes the mdr rule group instance where classNameId = ? and classPK = ? and ruleGroupId = ? from the database.
|
static void |
removeByC_C(long classNameId,
long classPK)
Removes all the mdr rule group instances where classNameId = ? and classPK = ? from the database.
|
static void |
removeByG_C_C(long groupId,
long classNameId,
long classPK)
Removes all the mdr rule group instances where groupId = ? and classNameId = ? and classPK = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the mdr rule group instances where groupId = ? from the database.
|
static void |
removeByRuleGroupId(long ruleGroupId)
Removes all the mdr rule group instances where ruleGroupId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the mdr rule group instances where uuid = ? and companyId = ? from the database.
|
static MDRRuleGroupInstance |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the mdr rule group instance where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the mdr rule group instances where uuid = ? from the database.
|
static MDRRuleGroupInstance |
update(MDRRuleGroupInstance mdrRuleGroupInstance) |
static MDRRuleGroupInstance |
update(MDRRuleGroupInstance mdrRuleGroupInstance,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static MDRRuleGroupInstance |
updateImpl(MDRRuleGroupInstance mdrRuleGroupInstance) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(MDRRuleGroupInstance mdrRuleGroupInstance)
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.List<MDRRuleGroupInstance> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<MDRRuleGroupInstance> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<MDRRuleGroupInstance> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static MDRRuleGroupInstance update(MDRRuleGroupInstance mdrRuleGroupInstance)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static MDRRuleGroupInstance update(MDRRuleGroupInstance mdrRuleGroupInstance, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<MDRRuleGroupInstance> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<MDRRuleGroupInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MDRRuleGroupInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of mdr rule group instancesend
- the upper bound of the range of mdr rule group instances (not inclusive)public static java.util.List<MDRRuleGroupInstance> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MDRRuleGroupInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of mdr rule group instancesend
- the upper bound of the range of mdr rule group instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<MDRRuleGroupInstance> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MDRRuleGroupInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of mdr rule group instancesend
- the upper bound of the range of mdr rule group instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MDRRuleGroupInstance findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator) throws NoSuchRuleGroupInstanceException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRuleGroupInstanceException
- if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator) throws NoSuchRuleGroupInstanceException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRuleGroupInstanceException
- if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance[] findByUuid_PrevAndNext(long ruleGroupInstanceId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator) throws NoSuchRuleGroupInstanceException
ruleGroupInstanceId
- the primary key of the current mdr rule group instanceuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRuleGroupInstanceException
- if a mdr rule group instance 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 MDRRuleGroupInstance findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchRuleGroupInstanceException
NoSuchRuleGroupInstanceException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchRuleGroupInstanceException
- if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchRuleGroupInstanceException
uuid
- the uuidgroupId
- the group IDNoSuchRuleGroupInstanceException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<MDRRuleGroupInstance> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<MDRRuleGroupInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MDRRuleGroupInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of mdr rule group instancesend
- the upper bound of the range of mdr rule group instances (not inclusive)public static java.util.List<MDRRuleGroupInstance> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MDRRuleGroupInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of mdr rule group instancesend
- the upper bound of the range of mdr rule group instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<MDRRuleGroupInstance> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MDRRuleGroupInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of mdr rule group instancesend
- the upper bound of the range of mdr rule group instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MDRRuleGroupInstance findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator) throws NoSuchRuleGroupInstanceException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRuleGroupInstanceException
- if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator) throws NoSuchRuleGroupInstanceException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRuleGroupInstanceException
- if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance[] findByUuid_C_PrevAndNext(long ruleGroupInstanceId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator) throws NoSuchRuleGroupInstanceException
ruleGroupInstanceId
- the primary key of the current mdr rule group instanceuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRuleGroupInstanceException
- if a mdr rule group instance 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<MDRRuleGroupInstance> findByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<MDRRuleGroupInstance> findByGroupId(long groupId, 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MDRRuleGroupInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of mdr rule group instancesend
- the upper bound of the range of mdr rule group instances (not inclusive)public static java.util.List<MDRRuleGroupInstance> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MDRRuleGroupInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of mdr rule group instancesend
- the upper bound of the range of mdr rule group instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<MDRRuleGroupInstance> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MDRRuleGroupInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of mdr rule group instancesend
- the upper bound of the range of mdr rule group instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MDRRuleGroupInstance findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator) throws NoSuchRuleGroupInstanceException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRuleGroupInstanceException
- if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator) throws NoSuchRuleGroupInstanceException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRuleGroupInstanceException
- if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance[] findByGroupId_PrevAndNext(long ruleGroupInstanceId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator) throws NoSuchRuleGroupInstanceException
ruleGroupInstanceId
- the primary key of the current mdr rule group instancegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRuleGroupInstanceException
- if a mdr rule group instance with the primary key could not be foundpublic static java.util.List<MDRRuleGroupInstance> filterFindByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<MDRRuleGroupInstance> filterFindByGroupId(long groupId, 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MDRRuleGroupInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of mdr rule group instancesend
- the upper bound of the range of mdr rule group instances (not inclusive)public static java.util.List<MDRRuleGroupInstance> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MDRRuleGroupInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of mdr rule group instancesend
- the upper bound of the range of mdr rule group instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static MDRRuleGroupInstance[] filterFindByGroupId_PrevAndNext(long ruleGroupInstanceId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator) throws NoSuchRuleGroupInstanceException
ruleGroupInstanceId
- the primary key of the current mdr rule group instancegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRuleGroupInstanceException
- if a mdr rule group instance with the primary key could not be foundpublic static void removeByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long groupId)
groupId
- the group IDpublic static int filterCountByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<MDRRuleGroupInstance> findByRuleGroupId(long ruleGroupId)
ruleGroupId
- the rule group IDpublic static java.util.List<MDRRuleGroupInstance> findByRuleGroupId(long ruleGroupId, 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MDRRuleGroupInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
ruleGroupId
- the rule group IDstart
- the lower bound of the range of mdr rule group instancesend
- the upper bound of the range of mdr rule group instances (not inclusive)public static java.util.List<MDRRuleGroupInstance> findByRuleGroupId(long ruleGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MDRRuleGroupInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
ruleGroupId
- the rule group IDstart
- the lower bound of the range of mdr rule group instancesend
- the upper bound of the range of mdr rule group instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<MDRRuleGroupInstance> findByRuleGroupId(long ruleGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MDRRuleGroupInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
ruleGroupId
- the rule group IDstart
- the lower bound of the range of mdr rule group instancesend
- the upper bound of the range of mdr rule group instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MDRRuleGroupInstance findByRuleGroupId_First(long ruleGroupId, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator) throws NoSuchRuleGroupInstanceException
ruleGroupId
- the rule group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRuleGroupInstanceException
- if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance fetchByRuleGroupId_First(long ruleGroupId, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
ruleGroupId
- the rule group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance findByRuleGroupId_Last(long ruleGroupId, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator) throws NoSuchRuleGroupInstanceException
ruleGroupId
- the rule group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRuleGroupInstanceException
- if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance fetchByRuleGroupId_Last(long ruleGroupId, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
ruleGroupId
- the rule group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance[] findByRuleGroupId_PrevAndNext(long ruleGroupInstanceId, long ruleGroupId, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator) throws NoSuchRuleGroupInstanceException
ruleGroupInstanceId
- the primary key of the current mdr rule group instanceruleGroupId
- the rule group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRuleGroupInstanceException
- if a mdr rule group instance with the primary key could not be foundpublic static void removeByRuleGroupId(long ruleGroupId)
ruleGroupId
- the rule group IDpublic static int countByRuleGroupId(long ruleGroupId)
ruleGroupId
- the rule group IDpublic static java.util.List<MDRRuleGroupInstance> findByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkpublic static java.util.List<MDRRuleGroupInstance> findByC_C(long classNameId, long classPK, 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MDRRuleGroupInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of mdr rule group instancesend
- the upper bound of the range of mdr rule group instances (not inclusive)public static java.util.List<MDRRuleGroupInstance> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MDRRuleGroupInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of mdr rule group instancesend
- the upper bound of the range of mdr rule group instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<MDRRuleGroupInstance> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MDRRuleGroupInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of mdr rule group instancesend
- the upper bound of the range of mdr rule group instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MDRRuleGroupInstance findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator) throws NoSuchRuleGroupInstanceException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRuleGroupInstanceException
- if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator) throws NoSuchRuleGroupInstanceException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRuleGroupInstanceException
- if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance[] findByC_C_PrevAndNext(long ruleGroupInstanceId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator) throws NoSuchRuleGroupInstanceException
ruleGroupInstanceId
- the primary key of the current mdr rule group instanceclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRuleGroupInstanceException
- if a mdr rule group instance with the primary key could not be foundpublic static void removeByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkpublic static int countByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkpublic static java.util.List<MDRRuleGroupInstance> findByG_C_C(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkpublic static java.util.List<MDRRuleGroupInstance> findByG_C_C(long groupId, long classNameId, long classPK, 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MDRRuleGroupInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of mdr rule group instancesend
- the upper bound of the range of mdr rule group instances (not inclusive)public static java.util.List<MDRRuleGroupInstance> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MDRRuleGroupInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of mdr rule group instancesend
- the upper bound of the range of mdr rule group instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<MDRRuleGroupInstance> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MDRRuleGroupInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of mdr rule group instancesend
- the upper bound of the range of mdr rule group instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MDRRuleGroupInstance findByG_C_C_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator) throws NoSuchRuleGroupInstanceException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRuleGroupInstanceException
- if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance fetchByG_C_C_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance findByG_C_C_Last(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator) throws NoSuchRuleGroupInstanceException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRuleGroupInstanceException
- if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance fetchByG_C_C_Last(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance[] findByG_C_C_PrevAndNext(long ruleGroupInstanceId, long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator) throws NoSuchRuleGroupInstanceException
ruleGroupInstanceId
- the primary key of the current mdr rule group instancegroupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRuleGroupInstanceException
- if a mdr rule group instance with the primary key could not be foundpublic static java.util.List<MDRRuleGroupInstance> filterFindByG_C_C(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkpublic static java.util.List<MDRRuleGroupInstance> filterFindByG_C_C(long groupId, long classNameId, long classPK, 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MDRRuleGroupInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of mdr rule group instancesend
- the upper bound of the range of mdr rule group instances (not inclusive)public static java.util.List<MDRRuleGroupInstance> filterFindByG_C_C(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MDRRuleGroupInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of mdr rule group instancesend
- the upper bound of the range of mdr rule group instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static MDRRuleGroupInstance[] filterFindByG_C_C_PrevAndNext(long ruleGroupInstanceId, long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator) throws NoSuchRuleGroupInstanceException
ruleGroupInstanceId
- the primary key of the current mdr rule group instancegroupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchRuleGroupInstanceException
- if a mdr rule group instance with the primary key could not be foundpublic static void removeByG_C_C(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkpublic static int countByG_C_C(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkpublic static int filterCountByG_C_C(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkpublic static MDRRuleGroupInstance findByC_C_R(long classNameId, long classPK, long ruleGroupId) throws NoSuchRuleGroupInstanceException
NoSuchRuleGroupInstanceException
if it could not be found.classNameId
- the class name IDclassPK
- the class pkruleGroupId
- the rule group IDNoSuchRuleGroupInstanceException
- if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance fetchByC_C_R(long classNameId, long classPK, long ruleGroupId)
null
if it could not be found. Uses the finder cache.classNameId
- the class name IDclassPK
- the class pkruleGroupId
- the rule group IDnull
if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance fetchByC_C_R(long classNameId, long classPK, long ruleGroupId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.classNameId
- the class name IDclassPK
- the class pkruleGroupId
- the rule group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching mdr rule group instance could not be foundpublic static MDRRuleGroupInstance removeByC_C_R(long classNameId, long classPK, long ruleGroupId) throws NoSuchRuleGroupInstanceException
classNameId
- the class name IDclassPK
- the class pkruleGroupId
- the rule group IDNoSuchRuleGroupInstanceException
public static int countByC_C_R(long classNameId, long classPK, long ruleGroupId)
classNameId
- the class name IDclassPK
- the class pkruleGroupId
- the rule group IDpublic static void cacheResult(MDRRuleGroupInstance mdrRuleGroupInstance)
mdrRuleGroupInstance
- the mdr rule group instancepublic static void cacheResult(java.util.List<MDRRuleGroupInstance> mdrRuleGroupInstances)
mdrRuleGroupInstances
- the mdr rule group instancespublic static MDRRuleGroupInstance create(long ruleGroupInstanceId)
ruleGroupInstanceId
- the primary key for the new mdr rule group instancepublic static MDRRuleGroupInstance remove(long ruleGroupInstanceId) throws NoSuchRuleGroupInstanceException
ruleGroupInstanceId
- the primary key of the mdr rule group instanceNoSuchRuleGroupInstanceException
- if a mdr rule group instance with the primary key could not be foundpublic static MDRRuleGroupInstance updateImpl(MDRRuleGroupInstance mdrRuleGroupInstance)
public static MDRRuleGroupInstance findByPrimaryKey(long ruleGroupInstanceId) throws NoSuchRuleGroupInstanceException
NoSuchRuleGroupInstanceException
if it could not be found.ruleGroupInstanceId
- the primary key of the mdr rule group instanceNoSuchRuleGroupInstanceException
- if a mdr rule group instance with the primary key could not be foundpublic static MDRRuleGroupInstance fetchByPrimaryKey(long ruleGroupInstanceId)
null
if it could not be found.ruleGroupInstanceId
- the primary key of the mdr rule group instancenull
if a mdr rule group instance with the primary key could not be foundpublic static java.util.Map<java.io.Serializable,MDRRuleGroupInstance> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
public static java.util.List<MDRRuleGroupInstance> findAll()
public static java.util.List<MDRRuleGroupInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MDRRuleGroupInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of mdr rule group instancesend
- the upper bound of the range of mdr rule group instances (not inclusive)public static java.util.List<MDRRuleGroupInstance> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MDRRuleGroupInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of mdr rule group instancesend
- the upper bound of the range of mdr rule group instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<MDRRuleGroupInstance> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroupInstance> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MDRRuleGroupInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of mdr rule group instancesend
- the upper bound of the range of mdr rule group instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeAll()
public static int countAll()
public static java.util.Set<java.lang.String> getBadColumnNames()
public static MDRRuleGroupInstancePersistence getPersistence()