|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType 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 |
countByGroupId(long groupId)
Returns the number of m d r rule group instances where groupId = ?. |
int |
countByRuleGroupId(long ruleGroupId)
Returns the number of m d r rule group instances where ruleGroupId = ?. |
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of m d r rule group instances where uuid = ? and companyId = ?. |
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_First(long classNameId,
long classPK,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the first m d r rule group instance in the ordered set where classNameId = ? and classPK = ?. |
MDRRuleGroupInstance |
fetchByC_C_Last(long classNameId,
long classPK,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the last m d r rule group instance in the ordered set where classNameId = ? and classPK = ?. |
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 |
fetchByG_C_C_First(long groupId,
long classNameId,
long classPK,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the first m d r rule group instance in the ordered set where groupId = ? and classNameId = ? and classPK = ?. |
MDRRuleGroupInstance |
fetchByG_C_C_Last(long groupId,
long classNameId,
long classPK,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the last m d r rule group instance in the ordered set where groupId = ? and classNameId = ? and classPK = ?. |
MDRRuleGroupInstance |
fetchByGroupId_First(long groupId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the first m d r rule group instance in the ordered set where groupId = ?. |
MDRRuleGroupInstance |
fetchByGroupId_Last(long groupId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the last m d r rule group instance in the ordered set where groupId = ?. |
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. |
Map<Serializable,MDRRuleGroupInstance> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
MDRRuleGroupInstance |
fetchByRuleGroupId_First(long ruleGroupId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the first m d r rule group instance in the ordered set where ruleGroupId = ?. |
MDRRuleGroupInstance |
fetchByRuleGroupId_Last(long ruleGroupId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the last m d r rule group instance in the ordered set where ruleGroupId = ?. |
MDRRuleGroupInstance |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the first m d r rule group instance in the ordered set where uuid = ? and companyId = ?. |
MDRRuleGroupInstance |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the last m d r rule group instance in the ordered set where uuid = ? and companyId = ?. |
MDRRuleGroupInstance |
fetchByUuid_First(String uuid,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the first m d r rule group instance in the ordered set where uuid = ?. |
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. |
MDRRuleGroupInstance |
fetchByUuid_Last(String uuid,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the last m d r rule group instance in the ordered set where uuid = ?. |
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 = ?. |
int |
filterCountByGroupId(long groupId)
Returns the number of m d r rule group instances that the user has permission to view where groupId = ?. |
MDRRuleGroupInstance[] |
filterFindByG_C_C_PrevAndNext(long ruleGroupInstanceId,
long groupId,
long classNameId,
long classPK,
OrderByComparator<MDRRuleGroupInstance> 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<MDRRuleGroupInstance> 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 = ?. |
MDRRuleGroupInstance[] |
filterFindByGroupId_PrevAndNext(long ruleGroupInstanceId,
long groupId,
OrderByComparator<MDRRuleGroupInstance> 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 = ?. |
List<MDRRuleGroupInstance> |
filterFindByGroupId(long groupId)
Returns all the m d r rule group instances that the user has permission to view where groupId = ?. |
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 = ?. |
List<MDRRuleGroupInstance> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns an ordered range of all the m d r rule group instances that the user has permissions to view where groupId = ?. |
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<MDRRuleGroupInstance> orderByComparator)
Returns an ordered range of all the m d r rule group instances. |
MDRRuleGroupInstance |
findByC_C_First(long classNameId,
long classPK,
OrderByComparator<MDRRuleGroupInstance> 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<MDRRuleGroupInstance> 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<MDRRuleGroupInstance> 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<MDRRuleGroupInstance> 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<MDRRuleGroupInstance> 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<MDRRuleGroupInstance> 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<MDRRuleGroupInstance> 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<MDRRuleGroupInstance> orderByComparator)
Returns an ordered range of all the m d r rule group instances where groupId = ? and classNameId = ? and classPK = ?. |
MDRRuleGroupInstance |
findByGroupId_First(long groupId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the first m d r rule group instance in the ordered set where groupId = ?. |
MDRRuleGroupInstance |
findByGroupId_Last(long groupId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the last m d r rule group instance in the ordered set where groupId = ?. |
MDRRuleGroupInstance[] |
findByGroupId_PrevAndNext(long ruleGroupInstanceId,
long groupId,
OrderByComparator<MDRRuleGroupInstance> 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 = ?. |
List<MDRRuleGroupInstance> |
findByGroupId(long groupId)
Returns all the m d r rule group instances where groupId = ?. |
List<MDRRuleGroupInstance> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the m d r rule group instances where groupId = ?. |
List<MDRRuleGroupInstance> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns an ordered range of all the m d r rule group instances where groupId = ?. |
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<MDRRuleGroupInstance> orderByComparator)
Returns the first m d r rule group instance in the ordered set where ruleGroupId = ?. |
MDRRuleGroupInstance |
findByRuleGroupId_Last(long ruleGroupId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the last m d r rule group instance in the ordered set where ruleGroupId = ?. |
MDRRuleGroupInstance[] |
findByRuleGroupId_PrevAndNext(long ruleGroupInstanceId,
long ruleGroupId,
OrderByComparator<MDRRuleGroupInstance> 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<MDRRuleGroupInstance> orderByComparator)
Returns an ordered range of all the m d r rule group instances where ruleGroupId = ?. |
MDRRuleGroupInstance |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the first m d r rule group instance in the ordered set where uuid = ? and companyId = ?. |
MDRRuleGroupInstance |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns the last m d r rule group instance in the ordered set where uuid = ? and companyId = ?. |
MDRRuleGroupInstance[] |
findByUuid_C_PrevAndNext(long ruleGroupInstanceId,
String uuid,
long companyId,
OrderByComparator<MDRRuleGroupInstance> 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 = ? and companyId = ?. |
List<MDRRuleGroupInstance> |
findByUuid_C(String uuid,
long companyId)
Returns all the m d r rule group instances where uuid = ? and companyId = ?. |
List<MDRRuleGroupInstance> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the m d r rule group instances where uuid = ? and companyId = ?. |
List<MDRRuleGroupInstance> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns an ordered range of all the m d r rule group instances where uuid = ? and companyId = ?. |
MDRRuleGroupInstance |
findByUuid_First(String uuid,
OrderByComparator<MDRRuleGroupInstance> 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<MDRRuleGroupInstance> orderByComparator)
Returns the last m d r rule group instance in the ordered set where uuid = ?. |
MDRRuleGroupInstance[] |
findByUuid_PrevAndNext(long ruleGroupInstanceId,
String uuid,
OrderByComparator<MDRRuleGroupInstance> 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<MDRRuleGroupInstance> 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. |
void |
removeAll()
Removes all the m d r rule group instances from the database. |
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. |
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 |
removeByGroupId(long groupId)
Removes all the m d r rule group instances where groupId = ? from the database. |
void |
removeByRuleGroupId(long ruleGroupId)
Removes all the m d r rule group instances where ruleGroupId = ? from the database. |
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the m d r rule group instances where uuid = ? and companyId = ? from the database. |
MDRRuleGroupInstance |
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)
|
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, update |
| Method Detail |
|---|
List<MDRRuleGroupInstance> findByUuid(String uuid)
uuid - the uuid
List<MDRRuleGroupInstance> findByUuid(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 com.liferay.portlet.mobiledevicerules.model.impl.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 m d r rule group instancesend - the upper bound of the range of m d r rule group instances (not inclusive)
List<MDRRuleGroupInstance> findByUuid(String uuid,
int start,
int end,
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 com.liferay.portlet.mobiledevicerules.model.impl.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 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)
MDRRuleGroupInstance findByUuid_First(String uuid,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
throws 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
MDRRuleGroupInstance fetchByUuid_First(String uuid,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
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
MDRRuleGroupInstance findByUuid_Last(String uuid,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
throws 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
MDRRuleGroupInstance fetchByUuid_Last(String uuid,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
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
MDRRuleGroupInstance[] findByUuid_PrevAndNext(long ruleGroupInstanceId,
String uuid,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
throws 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 foundvoid removeByUuid(String uuid)
uuid - the uuidint countByUuid(String uuid)
uuid - the uuid
MDRRuleGroupInstance findByUUID_G(String uuid,
long groupId)
throws 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
MDRRuleGroupInstance fetchByUUID_G(String uuid,
long groupId)
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
MDRRuleGroupInstance fetchByUUID_G(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 use the finder cache
null if a matching m d r rule group instance could not be found
MDRRuleGroupInstance removeByUUID_G(String uuid,
long groupId)
throws NoSuchRuleGroupInstanceException
uuid - the uuidgroupId - the group ID
NoSuchRuleGroupInstanceException
int countByUUID_G(String uuid,
long groupId)
uuid - the uuidgroupId - the group ID
List<MDRRuleGroupInstance> findByUuid_C(String uuid,
long companyId)
uuid - the uuidcompanyId - the company ID
List<MDRRuleGroupInstance> findByUuid_C(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 com.liferay.portlet.mobiledevicerules.model.impl.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 m d r rule group instancesend - the upper bound of the range of m d r rule group instances (not inclusive)
List<MDRRuleGroupInstance> findByUuid_C(String uuid,
long companyId,
int start,
int end,
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 com.liferay.portlet.mobiledevicerules.model.impl.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 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)
MDRRuleGroupInstance findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
throws NoSuchRuleGroupInstanceException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchRuleGroupInstanceException - if a matching m d r rule group instance could not be found
MDRRuleGroupInstance fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching m d r rule group instance could not be found
MDRRuleGroupInstance findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
throws NoSuchRuleGroupInstanceException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchRuleGroupInstanceException - if a matching m d r rule group instance could not be found
MDRRuleGroupInstance fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching m d r rule group instance could not be found
MDRRuleGroupInstance[] findByUuid_C_PrevAndNext(long ruleGroupInstanceId,
String uuid,
long companyId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
throws NoSuchRuleGroupInstanceException
ruleGroupInstanceId - the primary key of the current m d r rule group instanceuuid - the uuidcompanyId - the company 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
void removeByUuid_C(String uuid,
long companyId)
uuid - the uuidcompanyId - the company ID
int countByUuid_C(String uuid,
long companyId)
uuid - the uuidcompanyId - the company ID
List<MDRRuleGroupInstance> findByGroupId(long groupId)
groupId - the group ID
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 com.liferay.portlet.mobiledevicerules.model.impl.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 m d r rule group instancesend - the upper bound of the range of m d r rule group instances (not inclusive)
List<MDRRuleGroupInstance> findByGroupId(long groupId,
int start,
int end,
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 com.liferay.portlet.mobiledevicerules.model.impl.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 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)
MDRRuleGroupInstance findByGroupId_First(long groupId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
throws 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
MDRRuleGroupInstance fetchByGroupId_First(long groupId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
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
MDRRuleGroupInstance findByGroupId_Last(long groupId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
throws 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
MDRRuleGroupInstance fetchByGroupId_Last(long groupId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
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
MDRRuleGroupInstance[] findByGroupId_PrevAndNext(long ruleGroupInstanceId,
long groupId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
throws 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 foundList<MDRRuleGroupInstance> filterFindByGroupId(long groupId)
groupId - the group ID
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 com.liferay.portlet.mobiledevicerules.model.impl.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 m d r rule group instancesend - the upper bound of the range of m d r rule group instances (not inclusive)
List<MDRRuleGroupInstance> filterFindByGroupId(long groupId,
int start,
int end,
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 com.liferay.portlet.mobiledevicerules.model.impl.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 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)
MDRRuleGroupInstance[] filterFindByGroupId_PrevAndNext(long ruleGroupInstanceId,
long groupId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
throws 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 foundvoid removeByGroupId(long groupId)
groupId - the group IDint countByGroupId(long groupId)
groupId - the group ID
int filterCountByGroupId(long groupId)
groupId - the group ID
List<MDRRuleGroupInstance> findByRuleGroupId(long ruleGroupId)
ruleGroupId - the rule group ID
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 com.liferay.portlet.mobiledevicerules.model.impl.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 m d r rule group instancesend - the upper bound of the range of m d r rule group instances (not inclusive)
List<MDRRuleGroupInstance> findByRuleGroupId(long ruleGroupId,
int start,
int end,
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 com.liferay.portlet.mobiledevicerules.model.impl.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 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)
MDRRuleGroupInstance findByRuleGroupId_First(long ruleGroupId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
throws 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
MDRRuleGroupInstance fetchByRuleGroupId_First(long ruleGroupId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
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
MDRRuleGroupInstance findByRuleGroupId_Last(long ruleGroupId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
throws 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
MDRRuleGroupInstance fetchByRuleGroupId_Last(long ruleGroupId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
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
MDRRuleGroupInstance[] findByRuleGroupId_PrevAndNext(long ruleGroupInstanceId,
long ruleGroupId,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
throws 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 foundvoid removeByRuleGroupId(long ruleGroupId)
ruleGroupId - the rule group IDint countByRuleGroupId(long ruleGroupId)
ruleGroupId - the rule group ID
List<MDRRuleGroupInstance> findByC_C(long classNameId,
long classPK)
classNameId - the class name IDclassPK - the class p k
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 com.liferay.portlet.mobiledevicerules.model.impl.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 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)
List<MDRRuleGroupInstance> findByC_C(long classNameId,
long classPK,
int start,
int end,
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 com.liferay.portlet.mobiledevicerules.model.impl.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 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)
MDRRuleGroupInstance findByC_C_First(long classNameId,
long classPK,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
throws 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
MDRRuleGroupInstance fetchByC_C_First(long classNameId,
long classPK,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
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
MDRRuleGroupInstance findByC_C_Last(long classNameId,
long classPK,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
throws 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
MDRRuleGroupInstance fetchByC_C_Last(long classNameId,
long classPK,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
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
MDRRuleGroupInstance[] findByC_C_PrevAndNext(long ruleGroupInstanceId,
long classNameId,
long classPK,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
throws 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
void removeByC_C(long classNameId,
long classPK)
classNameId - the class name IDclassPK - the class p k
int countByC_C(long classNameId,
long classPK)
classNameId - the class name IDclassPK - the class p k
List<MDRRuleGroupInstance> findByG_C_C(long groupId,
long classNameId,
long classPK)
groupId - the group IDclassNameId - the class name IDclassPK - the class p k
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 com.liferay.portlet.mobiledevicerules.model.impl.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 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)
List<MDRRuleGroupInstance> findByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end,
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 com.liferay.portlet.mobiledevicerules.model.impl.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 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)
MDRRuleGroupInstance findByG_C_C_First(long groupId,
long classNameId,
long classPK,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
throws 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
MDRRuleGroupInstance fetchByG_C_C_First(long groupId,
long classNameId,
long classPK,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
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
MDRRuleGroupInstance findByG_C_C_Last(long groupId,
long classNameId,
long classPK,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
throws 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
MDRRuleGroupInstance fetchByG_C_C_Last(long groupId,
long classNameId,
long classPK,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
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
MDRRuleGroupInstance[] findByG_C_C_PrevAndNext(long ruleGroupInstanceId,
long groupId,
long classNameId,
long classPK,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
throws 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
List<MDRRuleGroupInstance> filterFindByG_C_C(long groupId,
long classNameId,
long classPK)
groupId - the group IDclassNameId - the class name IDclassPK - the class p k
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 com.liferay.portlet.mobiledevicerules.model.impl.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 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)
List<MDRRuleGroupInstance> filterFindByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end,
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 com.liferay.portlet.mobiledevicerules.model.impl.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 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)
MDRRuleGroupInstance[] filterFindByG_C_C_PrevAndNext(long ruleGroupInstanceId,
long groupId,
long classNameId,
long classPK,
OrderByComparator<MDRRuleGroupInstance> orderByComparator)
throws 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
void removeByG_C_C(long groupId,
long classNameId,
long classPK)
groupId - the group IDclassNameId - the class name IDclassPK - the class p k
int countByG_C_C(long groupId,
long classNameId,
long classPK)
groupId - the group IDclassNameId - the class name IDclassPK - the class p k
int filterCountByG_C_C(long groupId,
long classNameId,
long classPK)
groupId - the group IDclassNameId - the class name IDclassPK - the class p k
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 p kruleGroupId - the rule group ID
NoSuchRuleGroupInstanceException - if a matching m d r rule group instance could not be found
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 p kruleGroupId - the rule group ID
null if a matching m d r rule group instance could not be found
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 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
MDRRuleGroupInstance removeByC_C_R(long classNameId,
long classPK,
long ruleGroupId)
throws NoSuchRuleGroupInstanceException
classNameId - the class name IDclassPK - the class p kruleGroupId - the rule group ID
NoSuchRuleGroupInstanceException
int countByC_C_R(long classNameId,
long classPK,
long ruleGroupId)
classNameId - the class name IDclassPK - the class p kruleGroupId - the rule group ID
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 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 foundMDRRuleGroupInstance updateImpl(MDRRuleGroupInstance mdrRuleGroupInstance)
MDRRuleGroupInstance findByPrimaryKey(long ruleGroupInstanceId)
throws 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 foundMDRRuleGroupInstance fetchByPrimaryKey(long ruleGroupInstanceId)
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 foundMap<Serializable,MDRRuleGroupInstance> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<MDRRuleGroupInstance>List<MDRRuleGroupInstance> findAll()
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 com.liferay.portlet.mobiledevicerules.model.impl.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 m d r rule group instancesend - the upper bound of the range of m d r rule group instances (not inclusive)
List<MDRRuleGroupInstance> findAll(int start,
int end,
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 com.liferay.portlet.mobiledevicerules.model.impl.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 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)
void removeAll()
int countAll()
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||