|
Liferay 6.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MDRRuleGroupInstancePersistence
The persistence interface for the m d r rule group instance service.
Caching information and settings can be found in portal.properties
MDRRuleGroupInstancePersistenceImpl,
MDRRuleGroupInstanceUtil| Method Summary | |
|---|---|
void |
cacheResult(List<MDRRuleGroupInstance> mdrRuleGroupInstances)
Caches the m d r rule group instances in the entity cache if it is enabled. |
void |
cacheResult(MDRRuleGroupInstance mdrRuleGroupInstance)
Caches the m d r rule group instance in the entity cache if it is enabled. |
int |
countAll()
Returns the number of m d r rule group instances. |
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 = ?. |
int |
countByC_C(long classNameId,
long classPK)
Returns the number of m d r rule group instances where classNameId = ? and classPK = ?. |
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 = ?. |
int |
countByRuleGroupId(long ruleGroupId)
Returns the number of m d r rule group instances where ruleGroupId = ?. |
int |
countByUUID_G(String uuid,
long groupId)
Returns the number of m d r rule group instances where uuid = ? and groupId = ?. |
int |
countByUuid(String uuid)
Returns the number of m d r rule group instances where uuid = ?. |
MDRRuleGroupInstance |
create(long ruleGroupInstanceId)
Creates a new m d r rule group instance with the primary key. |
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. |
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. |
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. |
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. |
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. |
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 = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
List<MDRRuleGroupInstance> |
findAll()
Returns all the m d r rule group instances. |
List<MDRRuleGroupInstance> |
findAll(int start,
int end)
Returns a range of all the m d r rule group instances. |
List<MDRRuleGroupInstance> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the m d r rule group instances. |
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 = ?. |
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 = ?. |
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 = ?. |
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. |
List<MDRRuleGroupInstance> |
findByC_C(long classNameId,
long classPK)
Returns all the m d r rule group instances where classNameId = ? and classPK = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
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. |
MDRRuleGroupInstance |
findByRuleGroupId_First(long ruleGroupId,
OrderByComparator orderByComparator)
Returns the first m d r rule group instance in the ordered set where ruleGroupId = ?. |
MDRRuleGroupInstance |
findByRuleGroupId_Last(long ruleGroupId,
OrderByComparator orderByComparator)
Returns the last m d r rule group instance in the ordered set where ruleGroupId = ?. |
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 = ?. |
List<MDRRuleGroupInstance> |
findByRuleGroupId(long ruleGroupId)
Returns all the m d r rule group instances where ruleGroupId = ?. |
List<MDRRuleGroupInstance> |
findByRuleGroupId(long ruleGroupId,
int start,
int end)
Returns a range of all the m d r rule group instances where ruleGroupId = ?. |
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 = ?. |
MDRRuleGroupInstance |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first m d r rule group instance in the ordered set where uuid = ?. |
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. |
MDRRuleGroupInstance |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last m d r rule group instance in the ordered set where uuid = ?. |
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 = ?. |
List<MDRRuleGroupInstance> |
findByUuid(String uuid)
Returns all the m d r rule group instances where uuid = ?. |
List<MDRRuleGroupInstance> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the m d r rule group instances where uuid = ?. |
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 = ?. |
MDRRuleGroupInstance |
remove(long ruleGroupInstanceId)
Removes the m d r rule group instance with the primary key from the database. |
MDRRuleGroupInstance |
remove(MDRRuleGroupInstance mdrRuleGroupInstance)
Removes the model instance from the database. |
void |
removeAll()
Removes all the m d r rule group instances from the database. |
void |
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. |
void |
removeByC_C(long classNameId,
long classPK)
Removes all the m d r rule group instances where classNameId = ? and classPK = ? from the database. |
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. |
void |
removeByRuleGroupId(long ruleGroupId)
Removes all the m d r rule group instances where ruleGroupId = ? from the database. |
void |
removeByUUID_G(String uuid,
long groupId)
Removes the m d r rule group instance where uuid = ? and groupId = ? from the database. |
void |
removeByUuid(String uuid)
Removes all the m d r rule group instances where uuid = ? from the database. |
MDRRuleGroupInstance |
updateImpl(MDRRuleGroupInstance mdrRuleGroupInstance,
boolean merge)
|
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update |
| Method Detail |
|---|
void cacheResult(MDRRuleGroupInstance mdrRuleGroupInstance)
mdrRuleGroupInstance - the m d r rule group instancevoid cacheResult(List<MDRRuleGroupInstance> mdrRuleGroupInstances)
mdrRuleGroupInstances - the m d r rule group instancesMDRRuleGroupInstance create(long ruleGroupInstanceId)
ruleGroupInstanceId - the primary key for the new m d r rule group instance
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 occurred
MDRRuleGroupInstance updateImpl(MDRRuleGroupInstance mdrRuleGroupInstance,
boolean merge)
throws SystemException
SystemException
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 occurred
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 occurred
List<MDRRuleGroupInstance> findByUuid(String uuid)
throws SystemException
uuid - the uuid
SystemException - if a system exception occurred
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 occurred
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 occurred
MDRRuleGroupInstance findByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchRuleGroupInstanceException
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 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 occurred
MDRRuleGroupInstance findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchRuleGroupInstanceException
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 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 occurred
MDRRuleGroupInstance[] findByUuid_PrevAndNext(long ruleGroupInstanceId,
String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchRuleGroupInstanceException
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.
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 occurred
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 occurred
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 occurred
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 occurred
List<MDRRuleGroupInstance> findByRuleGroupId(long ruleGroupId)
throws SystemException
ruleGroupId - the rule group ID
SystemException - if a system exception occurred
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 occurred
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 occurred
MDRRuleGroupInstance findByRuleGroupId_First(long ruleGroupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchRuleGroupInstanceException
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 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 occurred
MDRRuleGroupInstance findByRuleGroupId_Last(long ruleGroupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchRuleGroupInstanceException
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 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 occurred
MDRRuleGroupInstance[] findByRuleGroupId_PrevAndNext(long ruleGroupInstanceId,
long ruleGroupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchRuleGroupInstanceException
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.
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 occurred
List<MDRRuleGroupInstance> findByC_C(long classNameId,
long classPK)
throws SystemException
classNameId - the class name IDclassPK - the class p k
SystemException - if a system exception occurred
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 occurred
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 occurred
MDRRuleGroupInstance findByC_C_First(long classNameId,
long classPK,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchRuleGroupInstanceException
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 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 occurred
MDRRuleGroupInstance findByC_C_Last(long classNameId,
long classPK,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchRuleGroupInstanceException
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 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 occurred
MDRRuleGroupInstance[] findByC_C_PrevAndNext(long ruleGroupInstanceId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchRuleGroupInstanceException
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.
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 occurred
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 occurred
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 occurred
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 occurred
MDRRuleGroupInstance findByG_C_C_First(long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchRuleGroupInstanceException
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 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 occurred
MDRRuleGroupInstance findByG_C_C_Last(long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchRuleGroupInstanceException
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 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 occurred
MDRRuleGroupInstance[] findByG_C_C_PrevAndNext(long ruleGroupInstanceId,
long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchRuleGroupInstanceException
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.
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 occurred
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 occurred
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 occurred
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 occurred
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 occurred
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 occurred
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 occurred
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 occurred
List<MDRRuleGroupInstance> findAll()
throws SystemException
SystemException - if a system exception occurred
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 occurred
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 occurred
void removeByUuid(String uuid)
throws SystemException
uuid - the uuid
SystemException - if a system exception occurred
void removeByUUID_G(String uuid,
long groupId)
throws SystemException,
NoSuchRuleGroupInstanceException
uuid - the uuidgroupId - the group ID
SystemException - if a system exception occurred
NoSuchRuleGroupInstanceException
void removeByRuleGroupId(long ruleGroupId)
throws SystemException
ruleGroupId - the rule group ID
SystemException - if a system exception occurred
void removeByC_C(long classNameId,
long classPK)
throws SystemException
classNameId - the class name IDclassPK - the class p k
SystemException - if a system exception occurred
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 occurred
void 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
void removeAll()
throws SystemException
SystemException - if a system exception occurred
int countByUuid(String uuid)
throws SystemException
uuid - the uuid
SystemException - if a system exception occurred
int countByUUID_G(String uuid,
long groupId)
throws SystemException
uuid - the uuidgroupId - the group ID
SystemException - if a system exception occurred
int countByRuleGroupId(long ruleGroupId)
throws SystemException
ruleGroupId - the rule group ID
SystemException - if a system exception occurred
int countByC_C(long classNameId,
long classPK)
throws SystemException
classNameId - the class name IDclassPK - the class p k
SystemException - if a system exception occurred
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 occurred
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 occurred
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 occurred
int countAll()
throws SystemException
SystemException - if a system exception occurred
MDRRuleGroupInstance remove(MDRRuleGroupInstance mdrRuleGroupInstance)
throws SystemException
BasePersistence
remove in interface BasePersistence<MDRRuleGroupInstance>mdrRuleGroupInstance - the model instance to remove
SystemException - if a system exception occurred
|
Liferay 6.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||