|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType public interface MDRRuleGroupPersistence
The persistence interface for the m d r rule group service.
Caching information and settings can be found in portal.properties
MDRRuleGroupPersistenceImpl,
MDRRuleGroupUtil| Method Summary | |
|---|---|
void |
cacheResult(List<MDRRuleGroup> mdrRuleGroups)
Caches the m d r rule groups in the entity cache if it is enabled. |
void |
cacheResult(MDRRuleGroup mdrRuleGroup)
Caches the m d r rule group in the entity cache if it is enabled. |
int |
countAll()
Returns the number of m d r rule groups. |
int |
countByGroupId(long groupId)
Returns the number of m d r rule groups where groupId = ?. |
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of m d r rule groups where uuid = ? and companyId = ?. |
int |
countByUUID_G(String uuid,
long groupId)
Returns the number of m d r rule groups where uuid = ? and groupId = ?. |
int |
countByUuid(String uuid)
Returns the number of m d r rule groups where uuid = ?. |
MDRRuleGroup |
create(long ruleGroupId)
Creates a new m d r rule group with the primary key. |
MDRRuleGroup |
fetchByGroupId_First(long groupId,
OrderByComparator<MDRRuleGroup> orderByComparator)
Returns the first m d r rule group in the ordered set where groupId = ?. |
MDRRuleGroup |
fetchByGroupId_Last(long groupId,
OrderByComparator<MDRRuleGroup> orderByComparator)
Returns the last m d r rule group in the ordered set where groupId = ?. |
MDRRuleGroup |
fetchByPrimaryKey(long ruleGroupId)
Returns the m d r rule group with the primary key or returns null if it could not be found. |
Map<Serializable,MDRRuleGroup> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
MDRRuleGroup |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<MDRRuleGroup> orderByComparator)
Returns the first m d r rule group in the ordered set where uuid = ? and companyId = ?. |
MDRRuleGroup |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<MDRRuleGroup> orderByComparator)
Returns the last m d r rule group in the ordered set where uuid = ? and companyId = ?. |
MDRRuleGroup |
fetchByUuid_First(String uuid,
OrderByComparator<MDRRuleGroup> orderByComparator)
Returns the first m d r rule group in the ordered set where uuid = ?. |
MDRRuleGroup |
fetchByUUID_G(String uuid,
long groupId)
Returns the m d r rule group where uuid = ? and groupId = ? or returns null if it could not be found. |
MDRRuleGroup |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the m d r rule group where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
MDRRuleGroup |
fetchByUuid_Last(String uuid,
OrderByComparator<MDRRuleGroup> orderByComparator)
Returns the last m d r rule group in the ordered set where uuid = ?. |
int |
filterCountByGroupId(long groupId)
Returns the number of m d r rule groups that the user has permission to view where groupId = ?. |
MDRRuleGroup[] |
filterFindByGroupId_PrevAndNext(long ruleGroupId,
long groupId,
OrderByComparator<MDRRuleGroup> orderByComparator)
Returns the m d r rule groups before and after the current m d r rule group in the ordered set of m d r rule groups that the user has permission to view where groupId = ?. |
List<MDRRuleGroup> |
filterFindByGroupId(long groupId)
Returns all the m d r rule groups that the user has permission to view where groupId = ?. |
List<MDRRuleGroup> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the m d r rule groups that the user has permission to view where groupId = ?. |
List<MDRRuleGroup> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator<MDRRuleGroup> orderByComparator)
Returns an ordered range of all the m d r rule groups that the user has permissions to view where groupId = ?. |
List<MDRRuleGroup> |
findAll()
Returns all the m d r rule groups. |
List<MDRRuleGroup> |
findAll(int start,
int end)
Returns a range of all the m d r rule groups. |
List<MDRRuleGroup> |
findAll(int start,
int end,
OrderByComparator<MDRRuleGroup> orderByComparator)
Returns an ordered range of all the m d r rule groups. |
MDRRuleGroup |
findByGroupId_First(long groupId,
OrderByComparator<MDRRuleGroup> orderByComparator)
Returns the first m d r rule group in the ordered set where groupId = ?. |
MDRRuleGroup |
findByGroupId_Last(long groupId,
OrderByComparator<MDRRuleGroup> orderByComparator)
Returns the last m d r rule group in the ordered set where groupId = ?. |
MDRRuleGroup[] |
findByGroupId_PrevAndNext(long ruleGroupId,
long groupId,
OrderByComparator<MDRRuleGroup> orderByComparator)
Returns the m d r rule groups before and after the current m d r rule group in the ordered set where groupId = ?. |
List<MDRRuleGroup> |
findByGroupId(long groupId)
Returns all the m d r rule groups where groupId = ?. |
List<MDRRuleGroup> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the m d r rule groups where groupId = ?. |
List<MDRRuleGroup> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<MDRRuleGroup> orderByComparator)
Returns an ordered range of all the m d r rule groups where groupId = ?. |
MDRRuleGroup |
findByPrimaryKey(long ruleGroupId)
Returns the m d r rule group with the primary key or throws a NoSuchRuleGroupException if it could not be found. |
MDRRuleGroup |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<MDRRuleGroup> orderByComparator)
Returns the first m d r rule group in the ordered set where uuid = ? and companyId = ?. |
MDRRuleGroup |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<MDRRuleGroup> orderByComparator)
Returns the last m d r rule group in the ordered set where uuid = ? and companyId = ?. |
MDRRuleGroup[] |
findByUuid_C_PrevAndNext(long ruleGroupId,
String uuid,
long companyId,
OrderByComparator<MDRRuleGroup> orderByComparator)
Returns the m d r rule groups before and after the current m d r rule group in the ordered set where uuid = ? and companyId = ?. |
List<MDRRuleGroup> |
findByUuid_C(String uuid,
long companyId)
Returns all the m d r rule groups where uuid = ? and companyId = ?. |
List<MDRRuleGroup> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the m d r rule groups where uuid = ? and companyId = ?. |
List<MDRRuleGroup> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<MDRRuleGroup> orderByComparator)
Returns an ordered range of all the m d r rule groups where uuid = ? and companyId = ?. |
MDRRuleGroup |
findByUuid_First(String uuid,
OrderByComparator<MDRRuleGroup> orderByComparator)
Returns the first m d r rule group in the ordered set where uuid = ?. |
MDRRuleGroup |
findByUUID_G(String uuid,
long groupId)
Returns the m d r rule group where uuid = ? and groupId = ? or throws a NoSuchRuleGroupException if it could not be found. |
MDRRuleGroup |
findByUuid_Last(String uuid,
OrderByComparator<MDRRuleGroup> orderByComparator)
Returns the last m d r rule group in the ordered set where uuid = ?. |
MDRRuleGroup[] |
findByUuid_PrevAndNext(long ruleGroupId,
String uuid,
OrderByComparator<MDRRuleGroup> orderByComparator)
Returns the m d r rule groups before and after the current m d r rule group in the ordered set where uuid = ?. |
List<MDRRuleGroup> |
findByUuid(String uuid)
Returns all the m d r rule groups where uuid = ?. |
List<MDRRuleGroup> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the m d r rule groups where uuid = ?. |
List<MDRRuleGroup> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<MDRRuleGroup> orderByComparator)
Returns an ordered range of all the m d r rule groups where uuid = ?. |
MDRRuleGroup |
remove(long ruleGroupId)
Removes the m d r rule group with the primary key from the database. |
void |
removeAll()
Removes all the m d r rule groups from the database. |
void |
removeByGroupId(long groupId)
Removes all the m d r rule groups where groupId = ? from the database. |
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the m d r rule groups where uuid = ? and companyId = ? from the database. |
MDRRuleGroup |
removeByUUID_G(String uuid,
long groupId)
Removes the m d r rule group where uuid = ? and groupId = ? from the database. |
void |
removeByUuid(String uuid)
Removes all the m d r rule groups where uuid = ? from the database. |
MDRRuleGroup |
updateImpl(MDRRuleGroup mdrRuleGroup)
|
| 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<MDRRuleGroup> findByUuid(String uuid)
uuid - the uuid
List<MDRRuleGroup> 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.MDRRuleGroupModelImpl. 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 groupsend - the upper bound of the range of m d r rule groups (not inclusive)
List<MDRRuleGroup> findByUuid(String uuid,
int start,
int end,
OrderByComparator<MDRRuleGroup> 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.MDRRuleGroupModelImpl. 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 groupsend - the upper bound of the range of m d r rule groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
MDRRuleGroup findByUuid_First(String uuid,
OrderByComparator<MDRRuleGroup> orderByComparator)
throws NoSuchRuleGroupException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchRuleGroupException - if a matching m d r rule group could not be found
MDRRuleGroup fetchByUuid_First(String uuid,
OrderByComparator<MDRRuleGroup> orderByComparator)
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching m d r rule group could not be found
MDRRuleGroup findByUuid_Last(String uuid,
OrderByComparator<MDRRuleGroup> orderByComparator)
throws NoSuchRuleGroupException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchRuleGroupException - if a matching m d r rule group could not be found
MDRRuleGroup fetchByUuid_Last(String uuid,
OrderByComparator<MDRRuleGroup> orderByComparator)
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching m d r rule group could not be found
MDRRuleGroup[] findByUuid_PrevAndNext(long ruleGroupId,
String uuid,
OrderByComparator<MDRRuleGroup> orderByComparator)
throws NoSuchRuleGroupException
ruleGroupId - the primary key of the current m d r rule groupuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchRuleGroupException - if a m d r rule group with the primary key could not be foundvoid removeByUuid(String uuid)
uuid - the uuidint countByUuid(String uuid)
uuid - the uuid
MDRRuleGroup findByUUID_G(String uuid,
long groupId)
throws NoSuchRuleGroupException
NoSuchRuleGroupException if it could not be found.
uuid - the uuidgroupId - the group ID
NoSuchRuleGroupException - if a matching m d r rule group could not be found
MDRRuleGroup 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 could not be found
MDRRuleGroup 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 could not be found
MDRRuleGroup removeByUUID_G(String uuid,
long groupId)
throws NoSuchRuleGroupException
uuid - the uuidgroupId - the group ID
NoSuchRuleGroupException
int countByUUID_G(String uuid,
long groupId)
uuid - the uuidgroupId - the group ID
List<MDRRuleGroup> findByUuid_C(String uuid,
long companyId)
uuid - the uuidcompanyId - the company ID
List<MDRRuleGroup> 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.MDRRuleGroupModelImpl. 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 groupsend - the upper bound of the range of m d r rule groups (not inclusive)
List<MDRRuleGroup> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<MDRRuleGroup> 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.MDRRuleGroupModelImpl. 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 groupsend - the upper bound of the range of m d r rule groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
MDRRuleGroup findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<MDRRuleGroup> orderByComparator)
throws NoSuchRuleGroupException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchRuleGroupException - if a matching m d r rule group could not be found
MDRRuleGroup fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<MDRRuleGroup> 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 could not be found
MDRRuleGroup findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<MDRRuleGroup> orderByComparator)
throws NoSuchRuleGroupException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchRuleGroupException - if a matching m d r rule group could not be found
MDRRuleGroup fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<MDRRuleGroup> 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 could not be found
MDRRuleGroup[] findByUuid_C_PrevAndNext(long ruleGroupId,
String uuid,
long companyId,
OrderByComparator<MDRRuleGroup> orderByComparator)
throws NoSuchRuleGroupException
ruleGroupId - the primary key of the current m d r rule groupuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchRuleGroupException - if a m d r rule group 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<MDRRuleGroup> findByGroupId(long groupId)
groupId - the group ID
List<MDRRuleGroup> 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.MDRRuleGroupModelImpl. 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 groupsend - the upper bound of the range of m d r rule groups (not inclusive)
List<MDRRuleGroup> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<MDRRuleGroup> 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.MDRRuleGroupModelImpl. 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 groupsend - the upper bound of the range of m d r rule groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
MDRRuleGroup findByGroupId_First(long groupId,
OrderByComparator<MDRRuleGroup> orderByComparator)
throws NoSuchRuleGroupException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchRuleGroupException - if a matching m d r rule group could not be found
MDRRuleGroup fetchByGroupId_First(long groupId,
OrderByComparator<MDRRuleGroup> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching m d r rule group could not be found
MDRRuleGroup findByGroupId_Last(long groupId,
OrderByComparator<MDRRuleGroup> orderByComparator)
throws NoSuchRuleGroupException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchRuleGroupException - if a matching m d r rule group could not be found
MDRRuleGroup fetchByGroupId_Last(long groupId,
OrderByComparator<MDRRuleGroup> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching m d r rule group could not be found
MDRRuleGroup[] findByGroupId_PrevAndNext(long ruleGroupId,
long groupId,
OrderByComparator<MDRRuleGroup> orderByComparator)
throws NoSuchRuleGroupException
ruleGroupId - the primary key of the current m d r rule groupgroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchRuleGroupException - if a m d r rule group with the primary key could not be foundList<MDRRuleGroup> filterFindByGroupId(long groupId)
groupId - the group ID
List<MDRRuleGroup> 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.MDRRuleGroupModelImpl. 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 groupsend - the upper bound of the range of m d r rule groups (not inclusive)
List<MDRRuleGroup> filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator<MDRRuleGroup> 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.MDRRuleGroupModelImpl. 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 groupsend - the upper bound of the range of m d r rule groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
MDRRuleGroup[] filterFindByGroupId_PrevAndNext(long ruleGroupId,
long groupId,
OrderByComparator<MDRRuleGroup> orderByComparator)
throws NoSuchRuleGroupException
ruleGroupId - the primary key of the current m d r rule groupgroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchRuleGroupException - if a m d r rule group 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
void cacheResult(MDRRuleGroup mdrRuleGroup)
mdrRuleGroup - the m d r rule groupvoid cacheResult(List<MDRRuleGroup> mdrRuleGroups)
mdrRuleGroups - the m d r rule groupsMDRRuleGroup create(long ruleGroupId)
ruleGroupId - the primary key for the new m d r rule group
MDRRuleGroup remove(long ruleGroupId)
throws NoSuchRuleGroupException
ruleGroupId - the primary key of the m d r rule group
NoSuchRuleGroupException - if a m d r rule group with the primary key could not be foundMDRRuleGroup updateImpl(MDRRuleGroup mdrRuleGroup)
MDRRuleGroup findByPrimaryKey(long ruleGroupId)
throws NoSuchRuleGroupException
NoSuchRuleGroupException if it could not be found.
ruleGroupId - the primary key of the m d r rule group
NoSuchRuleGroupException - if a m d r rule group with the primary key could not be foundMDRRuleGroup fetchByPrimaryKey(long ruleGroupId)
null if it could not be found.
ruleGroupId - the primary key of the m d r rule group
null if a m d r rule group with the primary key could not be foundMap<Serializable,MDRRuleGroup> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<MDRRuleGroup>List<MDRRuleGroup> findAll()
List<MDRRuleGroup> 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.MDRRuleGroupModelImpl. 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 groupsend - the upper bound of the range of m d r rule groups (not inclusive)
List<MDRRuleGroup> findAll(int start,
int end,
OrderByComparator<MDRRuleGroup> 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.MDRRuleGroupModelImpl. 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 groupsend - the upper bound of the range of m d r rule groups (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 | |||||||||