|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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_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 orderByComparator)
Returns the first m d r rule group in the ordered set where groupId = ?. |
MDRRuleGroup |
fetchByGroupId_Last(long groupId,
OrderByComparator 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. |
MDRRuleGroup |
fetchByUuid_First(String uuid,
OrderByComparator 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 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 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 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 orderByComparator)
Returns an ordered range of all the m d r rule groups. |
MDRRuleGroup |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first m d r rule group in the ordered set where groupId = ?. |
MDRRuleGroup |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last m d r rule group in the ordered set where groupId = ?. |
MDRRuleGroup[] |
findByGroupId_PrevAndNext(long ruleGroupId,
long groupId,
OrderByComparator 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 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_First(String uuid,
OrderByComparator 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 orderByComparator)
Returns the last m d r rule group in the ordered set where uuid = ?. |
MDRRuleGroup[] |
findByUuid_PrevAndNext(long ruleGroupId,
String uuid,
OrderByComparator 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 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. |
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,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update |
Method Detail |
---|
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 SystemException, 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 found
SystemException
- if a system exception occurredMDRRuleGroup updateImpl(MDRRuleGroup mdrRuleGroup, boolean merge) throws SystemException
SystemException
MDRRuleGroup findByPrimaryKey(long ruleGroupId) throws SystemException, 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 found
SystemException
- if a system exception occurredMDRRuleGroup fetchByPrimaryKey(long ruleGroupId) throws SystemException
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 found
SystemException
- if a system exception occurredList<MDRRuleGroup> findByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredList<MDRRuleGroup> 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 groupsend
- the upper bound of the range of m d r rule groups (not inclusive)
SystemException
- if a system exception occurredList<MDRRuleGroup> 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 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
)
SystemException
- if a system exception occurredMDRRuleGroup findByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException, 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
SystemException
- if a system exception occurredMDRRuleGroup fetchByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching m d r rule group could not be found
SystemException
- if a system exception occurredMDRRuleGroup findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException, 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
SystemException
- if a system exception occurredMDRRuleGroup fetchByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching m d r rule group could not be found
SystemException
- if a system exception occurredMDRRuleGroup[] findByUuid_PrevAndNext(long ruleGroupId, String uuid, OrderByComparator orderByComparator) throws SystemException, 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 found
SystemException
- if a system exception occurredMDRRuleGroup findByUUID_G(String uuid, long groupId) throws SystemException, 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
SystemException
- if a system exception occurredMDRRuleGroup 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 could not be found
SystemException
- if a system exception occurredMDRRuleGroup 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 could not be found
SystemException
- if a system exception occurredList<MDRRuleGroup> findByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredList<MDRRuleGroup> findByGroupId(long groupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group IDstart
- the lower bound of the range of m d r rule groupsend
- the upper bound of the range of m d r rule groups (not inclusive)
SystemException
- if a system exception occurredList<MDRRuleGroup> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group IDstart
- the lower bound of the range of m d r rule 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
)
SystemException
- if a system exception occurredMDRRuleGroup findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException, 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
SystemException
- if a system exception occurredMDRRuleGroup fetchByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching m d r rule group could not be found
SystemException
- if a system exception occurredMDRRuleGroup findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException, 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
SystemException
- if a system exception occurredMDRRuleGroup fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching m d r rule group could not be found
SystemException
- if a system exception occurredMDRRuleGroup[] findByGroupId_PrevAndNext(long ruleGroupId, long groupId, OrderByComparator orderByComparator) throws SystemException, 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 found
SystemException
- if a system exception occurredList<MDRRuleGroup> filterFindByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredList<MDRRuleGroup> filterFindByGroupId(long groupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group IDstart
- the lower bound of the range of m d r rule groupsend
- the upper bound of the range of m d r rule groups (not inclusive)
SystemException
- if a system exception occurredList<MDRRuleGroup> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group IDstart
- the lower bound of the range of m d r rule 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
)
SystemException
- if a system exception occurredMDRRuleGroup[] filterFindByGroupId_PrevAndNext(long ruleGroupId, long groupId, OrderByComparator orderByComparator) throws SystemException, 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 found
SystemException
- if a system exception occurredList<MDRRuleGroup> findAll() throws SystemException
SystemException
- if a system exception occurredList<MDRRuleGroup> 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 groupsend
- the upper bound of the range of m d r rule groups (not inclusive)
SystemException
- if a system exception occurredList<MDRRuleGroup> 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 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
)
SystemException
- if a system exception occurredvoid removeByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredMDRRuleGroup removeByUUID_G(String uuid, long groupId) throws SystemException, NoSuchRuleGroupException
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurred
NoSuchRuleGroupException
void removeByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredvoid removeAll() throws SystemException
SystemException
- if a system exception occurredint countByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredint countByUUID_G(String uuid, long groupId) throws SystemException
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurredint countByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredint filterCountByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredint countAll() throws SystemException
SystemException
- if a system exception occurred
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |