|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.mobiledevicerules.service.persistence.MDRRuleGroupInstanceUtil
public class MDRRuleGroupInstanceUtil
The persistence utility for the m d r rule group instance service. This utility wraps 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
,
MDRRuleGroupInstancePersistenceImpl
Constructor Summary | |
---|---|
MDRRuleGroupInstanceUtil()
|
Method Summary | |
---|---|
static void |
cacheResult(List<MDRRuleGroupInstance> mdrRuleGroupInstances)
Caches the m d r rule group instances in the entity cache if it is enabled. |
static void |
cacheResult(MDRRuleGroupInstance mdrRuleGroupInstance)
Caches the m d r 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 m d r rule group instances. |
static int |
countByC_C_R(long classNameId,
long classPK,
long ruleGroupId)
Returns the number of m d r rule group instances where classNameId = ? and classPK = ? and ruleGroupId = ?. |
static int |
countByC_C(long classNameId,
long classPK)
Returns the number of m d r rule group instances where classNameId = ? and classPK = ?. |
static int |
countByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the number of m d r rule group instances where groupId = ? and classNameId = ? and classPK = ?. |
static int |
countByGroupId(long groupId)
Returns the number of m d r rule group instances where groupId = ?. |
static int |
countByRuleGroupId(long ruleGroupId)
Returns the number of m d r rule group instances where ruleGroupId = ?. |
static int |
countByUUID_G(String uuid,
long groupId)
Returns the number of m d r rule group instances where uuid = ? and groupId = ?. |
static int |
countByUuid(String uuid)
Returns the number of m d r rule group instances where uuid = ?. |
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static MDRRuleGroupInstance |
create(long ruleGroupInstanceId)
Creates a new m d r rule group instance with the primary key. |
static MDRRuleGroupInstance |
fetchByC_C_First(long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the first m d r rule group instance in the ordered set where classNameId = ? and classPK = ?. |
static MDRRuleGroupInstance |
fetchByC_C_Last(long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the last m d r rule group instance in the ordered set where classNameId = ? and classPK = ?. |
static MDRRuleGroupInstance |
fetchByC_C_R(long classNameId,
long classPK,
long ruleGroupId)
Returns the m d r 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 m d r 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,
OrderByComparator orderByComparator)
Returns the first m d r 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,
OrderByComparator orderByComparator)
Returns the last m d r rule group instance in the ordered set where groupId = ? and classNameId = ? and classPK = ?. |
static MDRRuleGroupInstance |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first m d r rule group instance in the ordered set where groupId = ?. |
static MDRRuleGroupInstance |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last m d r rule group instance in the ordered set where groupId = ?. |
static MDRRuleGroupInstance |
fetchByPrimaryKey(long ruleGroupInstanceId)
Returns the m d r rule group instance with the primary key or returns null if it could not be found. |
static MDRRuleGroupInstance |
fetchByRuleGroupId_First(long ruleGroupId,
OrderByComparator orderByComparator)
Returns the first m d r rule group instance in the ordered set where ruleGroupId = ?. |
static MDRRuleGroupInstance |
fetchByRuleGroupId_Last(long ruleGroupId,
OrderByComparator orderByComparator)
Returns the last m d r rule group instance in the ordered set where ruleGroupId = ?. |
static MDRRuleGroupInstance |
fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first m d r rule group instance in the ordered set where uuid = ?. |
static MDRRuleGroupInstance |
fetchByUUID_G(String uuid,
long groupId)
Returns the m d r rule group instance where uuid = ? and groupId = ? or returns null if it could not be found. |
static MDRRuleGroupInstance |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the m d r 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(String uuid,
OrderByComparator orderByComparator)
Returns the last m d r rule group instance in the ordered set where uuid = ?. |
static int |
filterCountByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the number of m d r 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 m d r 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,
OrderByComparator orderByComparator)
Returns the m d r rule group instances before and after the current m d r rule group instance in the ordered set of m d r rule group instances that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. |
static List<MDRRuleGroupInstance> |
filterFindByG_C_C(long groupId,
long classNameId,
long classPK)
Returns all the m d r rule group instances that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. |
static List<MDRRuleGroupInstance> |
filterFindByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end)
Returns a range of all the m d r rule group instances that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. |
static List<MDRRuleGroupInstance> |
filterFindByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the m d r rule group instances that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ?. |
static MDRRuleGroupInstance[] |
filterFindByGroupId_PrevAndNext(long ruleGroupInstanceId,
long groupId,
OrderByComparator orderByComparator)
Returns the m d r rule group instances before and after the current m d r rule group instance in the ordered set of m d r rule group instances that the user has permission to view where groupId = ?. |
static List<MDRRuleGroupInstance> |
filterFindByGroupId(long groupId)
Returns all the m d r rule group instances that the user has permission to view where groupId = ?. |
static List<MDRRuleGroupInstance> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the m d r rule group instances that the user has permission to view where groupId = ?. |
static List<MDRRuleGroupInstance> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the m d r rule group instances that the user has permissions to view where groupId = ?. |
static List<MDRRuleGroupInstance> |
findAll()
Returns all the m d r rule group instances. |
static List<MDRRuleGroupInstance> |
findAll(int start,
int end)
Returns a range of all the m d r rule group instances. |
static List<MDRRuleGroupInstance> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the m d r rule group instances. |
static MDRRuleGroupInstance |
findByC_C_First(long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the first m d r rule group instance in the ordered set where classNameId = ? and classPK = ?. |
static MDRRuleGroupInstance |
findByC_C_Last(long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the last m d r rule group instance in the ordered set where classNameId = ? and classPK = ?. |
static MDRRuleGroupInstance[] |
findByC_C_PrevAndNext(long ruleGroupInstanceId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the m d r rule group instances before and after the current m d r rule group instance in the ordered set where classNameId = ? and classPK = ?. |
static MDRRuleGroupInstance |
findByC_C_R(long classNameId,
long classPK,
long ruleGroupId)
Returns the m d r rule group instance where classNameId = ? and classPK = ? and ruleGroupId = ? or throws a NoSuchRuleGroupInstanceException if it could not be found. |
static List<MDRRuleGroupInstance> |
findByC_C(long classNameId,
long classPK)
Returns all the m d r rule group instances where classNameId = ? and classPK = ?. |
static List<MDRRuleGroupInstance> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
Returns a range of all the m d r rule group instances where classNameId = ? and classPK = ?. |
static List<MDRRuleGroupInstance> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the m d r rule group instances where classNameId = ? and classPK = ?. |
static MDRRuleGroupInstance |
findByG_C_C_First(long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the first m d r 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,
OrderByComparator orderByComparator)
Returns the last m d r 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,
OrderByComparator orderByComparator)
Returns the m d r rule group instances before and after the current m d r rule group instance in the ordered set where groupId = ? and classNameId = ? and classPK = ?. |
static List<MDRRuleGroupInstance> |
findByG_C_C(long groupId,
long classNameId,
long classPK)
Returns all the m d r rule group instances where groupId = ? and classNameId = ? and classPK = ?. |
static List<MDRRuleGroupInstance> |
findByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end)
Returns a range of all the m d r rule group instances where groupId = ? and classNameId = ? and classPK = ?. |
static List<MDRRuleGroupInstance> |
findByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the m d r rule group instances where groupId = ? and classNameId = ? and classPK = ?. |
static MDRRuleGroupInstance |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first m d r rule group instance in the ordered set where groupId = ?. |
static MDRRuleGroupInstance |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last m d r rule group instance in the ordered set where groupId = ?. |
static MDRRuleGroupInstance[] |
findByGroupId_PrevAndNext(long ruleGroupInstanceId,
long groupId,
OrderByComparator orderByComparator)
Returns the m d r rule group instances before and after the current m d r rule group instance in the ordered set where groupId = ?. |
static List<MDRRuleGroupInstance> |
findByGroupId(long groupId)
Returns all the m d r rule group instances where groupId = ?. |
static List<MDRRuleGroupInstance> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the m d r rule group instances where groupId = ?. |
static List<MDRRuleGroupInstance> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the m d r rule group instances where groupId = ?. |
static MDRRuleGroupInstance |
findByPrimaryKey(long ruleGroupInstanceId)
Returns the m d r rule group instance with the primary key or throws a NoSuchRuleGroupInstanceException if it could not be found. |
static MDRRuleGroupInstance |
findByRuleGroupId_First(long ruleGroupId,
OrderByComparator orderByComparator)
Returns the first m d r rule group instance in the ordered set where ruleGroupId = ?. |
static MDRRuleGroupInstance |
findByRuleGroupId_Last(long ruleGroupId,
OrderByComparator orderByComparator)
Returns the last m d r rule group instance in the ordered set where ruleGroupId = ?. |
static MDRRuleGroupInstance[] |
findByRuleGroupId_PrevAndNext(long ruleGroupInstanceId,
long ruleGroupId,
OrderByComparator orderByComparator)
Returns the m d r rule group instances before and after the current m d r rule group instance in the ordered set where ruleGroupId = ?. |
static List<MDRRuleGroupInstance> |
findByRuleGroupId(long ruleGroupId)
Returns all the m d r rule group instances where ruleGroupId = ?. |
static List<MDRRuleGroupInstance> |
findByRuleGroupId(long ruleGroupId,
int start,
int end)
Returns a range of all the m d r rule group instances where ruleGroupId = ?. |
static List<MDRRuleGroupInstance> |
findByRuleGroupId(long ruleGroupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the m d r rule group instances where ruleGroupId = ?. |
static MDRRuleGroupInstance |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first m d r rule group instance in the ordered set where uuid = ?. |
static MDRRuleGroupInstance |
findByUUID_G(String uuid,
long groupId)
Returns the m d r rule group instance where uuid = ? and groupId = ? or throws a NoSuchRuleGroupInstanceException if it could not be found. |
static MDRRuleGroupInstance |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last m d r rule group instance in the ordered set where uuid = ?. |
static MDRRuleGroupInstance[] |
findByUuid_PrevAndNext(long ruleGroupInstanceId,
String uuid,
OrderByComparator orderByComparator)
Returns the m d r rule group instances before and after the current m d r rule group instance in the ordered set where uuid = ?. |
static List<MDRRuleGroupInstance> |
findByUuid(String uuid)
Returns all the m d r rule group instances where uuid = ?. |
static List<MDRRuleGroupInstance> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the m d r rule group instances where uuid = ?. |
static List<MDRRuleGroupInstance> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the m d r rule group instances where uuid = ?. |
static List<MDRRuleGroupInstance> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<MDRRuleGroupInstance> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<MDRRuleGroupInstance> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static MDRRuleGroupInstancePersistence |
getPersistence()
|
static MDRRuleGroupInstance |
remove(long ruleGroupInstanceId)
Removes the m d r rule group instance with the primary key from the database. |
static void |
removeAll()
Removes all the m d r rule group instances from the database. |
static MDRRuleGroupInstance |
removeByC_C_R(long classNameId,
long classPK,
long ruleGroupId)
Removes the m d r rule group instance where classNameId = ? and classPK = ? and ruleGroupId = ? from the database. |
static void |
removeByC_C(long classNameId,
long classPK)
Removes all the m d r rule group instances where classNameId = ? and classPK = ? from the database. |
static void |
removeByG_C_C(long groupId,
long classNameId,
long classPK)
Removes all the m d r rule group instances where groupId = ? and classNameId = ? and classPK = ? from the database. |
static void |
removeByGroupId(long groupId)
Removes all the m d r rule group instances where groupId = ? from the database. |
static void |
removeByRuleGroupId(long ruleGroupId)
Removes all the m d r rule group instances where ruleGroupId = ? from the database. |
static MDRRuleGroupInstance |
removeByUUID_G(String uuid,
long groupId)
Removes the m d r rule group instance where uuid = ? and groupId = ? from the database. |
static void |
removeByUuid(String uuid)
Removes all the m d r rule group instances where uuid = ? from the database. |
void |
setPersistence(MDRRuleGroupInstancePersistence persistence)
Deprecated. |
static MDRRuleGroupInstance |
update(MDRRuleGroupInstance mdrRuleGroupInstance,
boolean merge)
|
static MDRRuleGroupInstance |
update(MDRRuleGroupInstance mdrRuleGroupInstance,
boolean merge,
ServiceContext serviceContext)
|
static MDRRuleGroupInstance |
updateImpl(MDRRuleGroupInstance mdrRuleGroupInstance,
boolean merge)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MDRRuleGroupInstanceUtil()
Method Detail |
---|
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(MDRRuleGroupInstance mdrRuleGroupInstance)
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
public long countWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<MDRRuleGroupInstance> findWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<MDRRuleGroupInstance> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<MDRRuleGroupInstance> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static MDRRuleGroupInstance update(MDRRuleGroupInstance mdrRuleGroupInstance, boolean merge) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
public static MDRRuleGroupInstance update(MDRRuleGroupInstance mdrRuleGroupInstance, boolean merge, ServiceContext serviceContext) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
public static void cacheResult(MDRRuleGroupInstance mdrRuleGroupInstance)
mdrRuleGroupInstance
- the m d r rule group instancepublic static void cacheResult(List<MDRRuleGroupInstance> mdrRuleGroupInstances)
mdrRuleGroupInstances
- the m d r rule group instancespublic static MDRRuleGroupInstance create(long ruleGroupInstanceId)
ruleGroupInstanceId
- the primary key for the new m d r rule group instance
public static MDRRuleGroupInstance remove(long ruleGroupInstanceId) throws SystemException, NoSuchRuleGroupInstanceException
ruleGroupInstanceId
- the primary key of the m d r rule group instance
NoSuchRuleGroupInstanceException
- if a m d r rule group instance with the primary key could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance updateImpl(MDRRuleGroupInstance mdrRuleGroupInstance, boolean merge) throws SystemException
SystemException
public static MDRRuleGroupInstance findByPrimaryKey(long ruleGroupInstanceId) throws SystemException, NoSuchRuleGroupInstanceException
NoSuchRuleGroupInstanceException
if it could not be found.
ruleGroupInstanceId
- the primary key of the m d r rule group instance
NoSuchRuleGroupInstanceException
- if a m d r rule group instance with the primary key could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance fetchByPrimaryKey(long ruleGroupInstanceId) throws SystemException
null
if it could not be found.
ruleGroupInstanceId
- the primary key of the m d r rule group instance
null
if a m d r rule group instance with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<MDRRuleGroupInstance> findByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredpublic static List<MDRRuleGroupInstance> findByUuid(String uuid, int start, int end) throws SystemException
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.
uuid
- the uuidstart
- the lower bound of the range of m d r rule group instancesend
- the upper bound of the range of m d r rule group instances (not inclusive)
SystemException
- if a system exception occurredpublic static List<MDRRuleGroupInstance> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
uuid
- the uuidstart
- the lower bound of the range of m d r rule group instancesend
- the upper bound of the range of m d r rule group instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance findByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchRuleGroupInstanceException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchRuleGroupInstanceException
- if a matching m d r rule group instance could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance fetchByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching m d r rule group instance could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchRuleGroupInstanceException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchRuleGroupInstanceException
- if a matching m d r rule group instance could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance fetchByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching m d r rule group instance could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance[] findByUuid_PrevAndNext(long ruleGroupInstanceId, String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchRuleGroupInstanceException
ruleGroupInstanceId
- the primary key of the current m d r rule group instanceuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchRuleGroupInstanceException
- if a m d r rule group instance with the primary key could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance findByUUID_G(String uuid, long groupId) throws SystemException, NoSuchRuleGroupInstanceException
NoSuchRuleGroupInstanceException
if it could not be found.
uuid
- the uuidgroupId
- the group ID
NoSuchRuleGroupInstanceException
- if a matching m d r rule group instance could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance fetchByUUID_G(String uuid, long groupId) throws SystemException
null
if it could not be found. Uses the finder cache.
uuid
- the uuidgroupId
- the group ID
null
if a matching m d r rule group instance could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to use the finder cache
null
if a matching m d r rule group instance could not be found
SystemException
- if a system exception occurredpublic static List<MDRRuleGroupInstance> findByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static List<MDRRuleGroupInstance> findByGroupId(long groupId, int start, int end) throws SystemException
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.
groupId
- the group IDstart
- the lower bound of the range of m d r rule group instancesend
- the upper bound of the range of m d r rule group instances (not inclusive)
SystemException
- if a system exception occurredpublic static List<MDRRuleGroupInstance> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDstart
- the lower bound of the range of m d r rule group instancesend
- the upper bound of the range of m d r rule group instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchRuleGroupInstanceException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchRuleGroupInstanceException
- if a matching m d r rule group instance could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance fetchByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching m d r rule group instance could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchRuleGroupInstanceException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchRuleGroupInstanceException
- if a matching m d r rule group instance could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching m d r rule group instance could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance[] findByGroupId_PrevAndNext(long ruleGroupInstanceId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchRuleGroupInstanceException
ruleGroupInstanceId
- the primary key of the current m d r rule group instancegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchRuleGroupInstanceException
- if a m d r rule group instance with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<MDRRuleGroupInstance> filterFindByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static List<MDRRuleGroupInstance> filterFindByGroupId(long groupId, int start, int end) throws SystemException
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.
groupId
- the group IDstart
- the lower bound of the range of m d r rule group instancesend
- the upper bound of the range of m d r rule group instances (not inclusive)
SystemException
- if a system exception occurredpublic static List<MDRRuleGroupInstance> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDstart
- the lower bound of the range of m d r rule group instancesend
- the upper bound of the range of m d r rule group instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance[] filterFindByGroupId_PrevAndNext(long ruleGroupInstanceId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchRuleGroupInstanceException
ruleGroupInstanceId
- the primary key of the current m d r rule group instancegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchRuleGroupInstanceException
- if a m d r rule group instance with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<MDRRuleGroupInstance> findByRuleGroupId(long ruleGroupId) throws SystemException
ruleGroupId
- the rule group ID
SystemException
- if a system exception occurredpublic static List<MDRRuleGroupInstance> findByRuleGroupId(long ruleGroupId, int start, int end) throws SystemException
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.
ruleGroupId
- the rule group IDstart
- the lower bound of the range of m d r rule group instancesend
- the upper bound of the range of m d r rule group instances (not inclusive)
SystemException
- if a system exception occurredpublic static List<MDRRuleGroupInstance> findByRuleGroupId(long ruleGroupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
ruleGroupId
- the rule group IDstart
- the lower bound of the range of m d r rule group instancesend
- the upper bound of the range of m d r rule group instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance findByRuleGroupId_First(long ruleGroupId, OrderByComparator orderByComparator) throws SystemException, NoSuchRuleGroupInstanceException
ruleGroupId
- the rule group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchRuleGroupInstanceException
- if a matching m d r rule group instance could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance fetchByRuleGroupId_First(long ruleGroupId, OrderByComparator orderByComparator) throws SystemException
ruleGroupId
- the rule group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching m d r rule group instance could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance findByRuleGroupId_Last(long ruleGroupId, OrderByComparator orderByComparator) throws SystemException, NoSuchRuleGroupInstanceException
ruleGroupId
- the rule group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchRuleGroupInstanceException
- if a matching m d r rule group instance could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance fetchByRuleGroupId_Last(long ruleGroupId, OrderByComparator orderByComparator) throws SystemException
ruleGroupId
- the rule group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching m d r rule group instance could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance[] findByRuleGroupId_PrevAndNext(long ruleGroupInstanceId, long ruleGroupId, OrderByComparator orderByComparator) throws SystemException, NoSuchRuleGroupInstanceException
ruleGroupInstanceId
- the primary key of the current m d r rule group instanceruleGroupId
- the rule group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchRuleGroupInstanceException
- if a m d r rule group instance with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<MDRRuleGroupInstance> findByC_C(long classNameId, long classPK) throws SystemException
classNameId
- the class name IDclassPK
- the class p k
SystemException
- if a system exception occurredpublic static List<MDRRuleGroupInstance> findByC_C(long classNameId, long classPK, int start, int end) throws SystemException
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.
classNameId
- the class name IDclassPK
- the class p kstart
- the lower bound of the range of m d r rule group instancesend
- the upper bound of the range of m d r rule group instances (not inclusive)
SystemException
- if a system exception occurredpublic static List<MDRRuleGroupInstance> findByC_C(long classNameId, long classPK, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
classNameId
- the class name IDclassPK
- the class p kstart
- the lower bound of the range of m d r rule group instancesend
- the upper bound of the range of m d r rule group instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance findByC_C_First(long classNameId, long classPK, OrderByComparator orderByComparator) throws SystemException, NoSuchRuleGroupInstanceException
classNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
NoSuchRuleGroupInstanceException
- if a matching m d r rule group instance could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance fetchByC_C_First(long classNameId, long classPK, OrderByComparator orderByComparator) throws SystemException
classNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching m d r rule group instance could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance findByC_C_Last(long classNameId, long classPK, OrderByComparator orderByComparator) throws SystemException, NoSuchRuleGroupInstanceException
classNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
NoSuchRuleGroupInstanceException
- if a matching m d r rule group instance could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance fetchByC_C_Last(long classNameId, long classPK, OrderByComparator orderByComparator) throws SystemException
classNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching m d r rule group instance could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance[] findByC_C_PrevAndNext(long ruleGroupInstanceId, long classNameId, long classPK, OrderByComparator orderByComparator) throws SystemException, NoSuchRuleGroupInstanceException
ruleGroupInstanceId
- the primary key of the current m d r rule group instanceclassNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
NoSuchRuleGroupInstanceException
- if a m d r rule group instance with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<MDRRuleGroupInstance> findByG_C_C(long groupId, long classNameId, long classPK) throws SystemException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class p k
SystemException
- if a system exception occurredpublic static List<MDRRuleGroupInstance> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end) throws SystemException
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.
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class p kstart
- the lower bound of the range of m d r rule group instancesend
- the upper bound of the range of m d r rule group instances (not inclusive)
SystemException
- if a system exception occurredpublic static List<MDRRuleGroupInstance> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class p kstart
- the lower bound of the range of m d r rule group instancesend
- the upper bound of the range of m d r rule group instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance findByG_C_C_First(long groupId, long classNameId, long classPK, OrderByComparator orderByComparator) throws SystemException, NoSuchRuleGroupInstanceException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
NoSuchRuleGroupInstanceException
- if a matching m d r rule group instance could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance fetchByG_C_C_First(long groupId, long classNameId, long classPK, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching m d r rule group instance could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance findByG_C_C_Last(long groupId, long classNameId, long classPK, OrderByComparator orderByComparator) throws SystemException, NoSuchRuleGroupInstanceException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
NoSuchRuleGroupInstanceException
- if a matching m d r rule group instance could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance fetchByG_C_C_Last(long groupId, long classNameId, long classPK, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching m d r rule group instance could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance[] findByG_C_C_PrevAndNext(long ruleGroupInstanceId, long groupId, long classNameId, long classPK, OrderByComparator orderByComparator) throws SystemException, NoSuchRuleGroupInstanceException
ruleGroupInstanceId
- the primary key of the current m d r rule group instancegroupId
- the group IDclassNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
NoSuchRuleGroupInstanceException
- if a m d r rule group instance with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<MDRRuleGroupInstance> filterFindByG_C_C(long groupId, long classNameId, long classPK) throws SystemException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class p k
SystemException
- if a system exception occurredpublic static List<MDRRuleGroupInstance> filterFindByG_C_C(long groupId, long classNameId, long classPK, int start, int end) throws SystemException
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.
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class p kstart
- the lower bound of the range of m d r rule group instancesend
- the upper bound of the range of m d r rule group instances (not inclusive)
SystemException
- if a system exception occurredpublic static List<MDRRuleGroupInstance> filterFindByG_C_C(long groupId, long classNameId, long classPK, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class p kstart
- the lower bound of the range of m d r rule group instancesend
- the upper bound of the range of m d r rule group instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance[] filterFindByG_C_C_PrevAndNext(long ruleGroupInstanceId, long groupId, long classNameId, long classPK, OrderByComparator orderByComparator) throws SystemException, NoSuchRuleGroupInstanceException
ruleGroupInstanceId
- the primary key of the current m d r rule group instancegroupId
- the group IDclassNameId
- the class name IDclassPK
- the class p korderByComparator
- the comparator to order the set by (optionally null
)
NoSuchRuleGroupInstanceException
- if a m d r rule group instance with the primary key could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance findByC_C_R(long classNameId, long classPK, long ruleGroupId) throws SystemException, NoSuchRuleGroupInstanceException
NoSuchRuleGroupInstanceException
if it could not be found.
classNameId
- the class name IDclassPK
- the class p kruleGroupId
- the rule group ID
NoSuchRuleGroupInstanceException
- if a matching m d r rule group instance could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance fetchByC_C_R(long classNameId, long classPK, long ruleGroupId) throws SystemException
null
if it could not be found. Uses the finder cache.
classNameId
- the class name IDclassPK
- the class p kruleGroupId
- the rule group ID
null
if a matching m d r rule group instance could not be found
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance fetchByC_C_R(long classNameId, long classPK, long ruleGroupId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
classNameId
- the class name IDclassPK
- the class p kruleGroupId
- the rule group IDretrieveFromCache
- whether to use the finder cache
null
if a matching m d r rule group instance could not be found
SystemException
- if a system exception occurredpublic static List<MDRRuleGroupInstance> findAll() throws SystemException
SystemException
- if a system exception occurredpublic static List<MDRRuleGroupInstance> findAll(int start, int end) throws SystemException
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.
start
- the lower bound of the range of m d r rule group instancesend
- the upper bound of the range of m d r rule group instances (not inclusive)
SystemException
- if a system exception occurredpublic static List<MDRRuleGroupInstance> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
start
- the lower bound of the range of m d r rule group instancesend
- the upper bound of the range of m d r rule group instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static void removeByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance removeByUUID_G(String uuid, long groupId) throws SystemException, NoSuchRuleGroupInstanceException
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurred
NoSuchRuleGroupInstanceException
public static void removeByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static void removeByRuleGroupId(long ruleGroupId) throws SystemException
ruleGroupId
- the rule group ID
SystemException
- if a system exception occurredpublic static void removeByC_C(long classNameId, long classPK) throws SystemException
classNameId
- the class name IDclassPK
- the class p k
SystemException
- if a system exception occurredpublic static void removeByG_C_C(long groupId, long classNameId, long classPK) throws SystemException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class p k
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstance removeByC_C_R(long classNameId, long classPK, long ruleGroupId) throws SystemException, NoSuchRuleGroupInstanceException
classNameId
- the class name IDclassPK
- the class p kruleGroupId
- the rule group ID
SystemException
- if a system exception occurred
NoSuchRuleGroupInstanceException
public static void removeAll() throws SystemException
SystemException
- if a system exception occurredpublic static int countByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredpublic static int countByUUID_G(String uuid, long groupId) throws SystemException
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurredpublic static int countByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static int filterCountByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static int countByRuleGroupId(long ruleGroupId) throws SystemException
ruleGroupId
- the rule group ID
SystemException
- if a system exception occurredpublic static int countByC_C(long classNameId, long classPK) throws SystemException
classNameId
- the class name IDclassPK
- the class p k
SystemException
- if a system exception occurredpublic static int countByG_C_C(long groupId, long classNameId, long classPK) throws SystemException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class p k
SystemException
- if a system exception occurredpublic static int filterCountByG_C_C(long groupId, long classNameId, long classPK) throws SystemException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class p k
SystemException
- if a system exception occurredpublic static int countByC_C_R(long classNameId, long classPK, long ruleGroupId) throws SystemException
classNameId
- the class name IDclassPK
- the class p kruleGroupId
- the rule group ID
SystemException
- if a system exception occurredpublic static int countAll() throws SystemException
SystemException
- if a system exception occurredpublic static MDRRuleGroupInstancePersistence getPersistence()
public void setPersistence(MDRRuleGroupInstancePersistence persistence)
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |