|
Liferay 6.1.2-ce-ga3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<MDRRuleGroup>
com.liferay.portlet.mobiledevicerules.service.persistence.MDRRuleGroupPersistenceImpl
public class MDRRuleGroupPersistenceImpl
The persistence implementation for the m d r rule group service.
Caching information and settings can be found in portal.properties
MDRRuleGroupPersistence,
MDRRuleGroupUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
MDRRuleGroupPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initializes the m d r rule group persistence. |
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. |
protected void |
cacheUniqueFindersCache(MDRRuleGroup mdrRuleGroup)
|
void |
clearCache()
Clears the cache for all m d r rule groups. |
void |
clearCache(List<MDRRuleGroup> mdrRuleGroups)
Clears the cache for a List instances of this model. |
void |
clearCache(MDRRuleGroup mdrRuleGroup)
Clears the cache for the m d r rule group. |
protected void |
clearUniqueFindersCache(MDRRuleGroup mdrRuleGroup)
|
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. |
void |
destroy()
|
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 |
fetchByPrimaryKey(Serializable primaryKey)
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 = ?. |
protected MDRRuleGroup |
filterGetByGroupId_PrevAndNext(Session session,
MDRRuleGroup mdrRuleGroup,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
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 |
findByPrimaryKey(Serializable primaryKey)
Returns the m d r rule group with the primary key or throws a NoSuchModelException 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 = ?. |
protected MDRRuleGroup |
getByGroupId_PrevAndNext(Session session,
MDRRuleGroup mdrRuleGroup,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
protected MDRRuleGroup |
getByUuid_PrevAndNext(Session session,
MDRRuleGroup mdrRuleGroup,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
|
MDRRuleGroup |
remove(long ruleGroupId)
Removes the m d r rule group with the primary key from the database. |
MDRRuleGroup |
remove(Serializable primaryKey)
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. |
protected MDRRuleGroup |
removeImpl(MDRRuleGroup mdrRuleGroup)
Removes the model instance from the database. |
protected MDRRuleGroup |
toUnwrappedModel(MDRRuleGroup mdrRuleGroup)
|
MDRRuleGroup |
updateImpl(MDRRuleGroup mdrRuleGroup,
boolean merge)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getClassLoader, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_COUNT_BY_UUID
public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=MDRActionPersistence.class) protected MDRActionPersistence mdrActionPersistence
@BeanReference(type=MDRRulePersistence.class) protected MDRRulePersistence mdrRulePersistence
@BeanReference(type=MDRRuleGroupPersistence.class) protected MDRRuleGroupPersistence mdrRuleGroupPersistence
@BeanReference(type=MDRRuleGroupInstancePersistence.class) protected MDRRuleGroupInstancePersistence mdrRuleGroupInstancePersistence
@BeanReference(type=GroupPersistence.class) protected GroupPersistence groupPersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
| Constructor Detail |
|---|
public MDRRuleGroupPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(MDRRuleGroup mdrRuleGroup)
cacheResult in interface MDRRuleGroupPersistencemdrRuleGroup - the m d r rule grouppublic void cacheResult(List<MDRRuleGroup> mdrRuleGroups)
cacheResult in interface MDRRuleGroupPersistencemdrRuleGroups - the m d r rule groupspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<MDRRuleGroup>clearCache in class BasePersistenceImpl<MDRRuleGroup>public void clearCache(MDRRuleGroup mdrRuleGroup)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<MDRRuleGroup>clearCache in class BasePersistenceImpl<MDRRuleGroup>mdrRuleGroup - the instance of this model to clear the cache forpublic void clearCache(List<MDRRuleGroup> mdrRuleGroups)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<MDRRuleGroup>clearCache in class BasePersistenceImpl<MDRRuleGroup>mdrRuleGroups - the List instances of this model to clear the cache forprotected void cacheUniqueFindersCache(MDRRuleGroup mdrRuleGroup)
protected void clearUniqueFindersCache(MDRRuleGroup mdrRuleGroup)
public MDRRuleGroup create(long ruleGroupId)
create in interface MDRRuleGroupPersistenceruleGroupId - the primary key for the new m d r rule group
public MDRRuleGroup remove(long ruleGroupId)
throws NoSuchRuleGroupException,
SystemException
remove in interface MDRRuleGroupPersistenceruleGroupId - 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 occurred
public MDRRuleGroup remove(Serializable primaryKey)
throws NoSuchRuleGroupException,
SystemException
remove in interface BasePersistence<MDRRuleGroup>remove in class BasePersistenceImpl<MDRRuleGroup>primaryKey - 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 occurred
protected MDRRuleGroup removeImpl(MDRRuleGroup mdrRuleGroup)
throws SystemException
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<MDRRuleGroup>mdrRuleGroup - the model instance to remove
SystemException - if a system exception occurred
public MDRRuleGroup updateImpl(MDRRuleGroup mdrRuleGroup,
boolean merge)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface MDRRuleGroupPersistenceupdateImpl in class BasePersistenceImpl<MDRRuleGroup>mdrRuleGroup - the model instance to updatemerge - whether to merge the model instance with the current
session. See BatchSession.update(
com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean)
for an explanation.
SystemException - if a system exception occurredprotected MDRRuleGroup toUnwrappedModel(MDRRuleGroup mdrRuleGroup)
public MDRRuleGroup findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<MDRRuleGroup>findByPrimaryKey in class BasePersistenceImpl<MDRRuleGroup>primaryKey - the primary key of the m d r rule group
NoSuchModelException - if a m d r rule group with the primary key could not be found
SystemException - if a system exception occurred
public MDRRuleGroup findByPrimaryKey(long ruleGroupId)
throws NoSuchRuleGroupException,
SystemException
NoSuchRuleGroupException if it could not be found.
findByPrimaryKey in interface MDRRuleGroupPersistenceruleGroupId - 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 occurred
public MDRRuleGroup fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<MDRRuleGroup>fetchByPrimaryKey in class BasePersistenceImpl<MDRRuleGroup>primaryKey - 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 occurred
public MDRRuleGroup fetchByPrimaryKey(long ruleGroupId)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface MDRRuleGroupPersistenceruleGroupId - 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 occurred
public List<MDRRuleGroup> findByUuid(String uuid)
throws SystemException
findByUuid in interface MDRRuleGroupPersistenceuuid - the uuid
SystemException - if a system exception occurred
public List<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.
findByUuid in interface MDRRuleGroupPersistenceuuid - 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 occurred
public List<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.
findByUuid in interface MDRRuleGroupPersistenceuuid - 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 occurred
public MDRRuleGroup findByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws NoSuchRuleGroupException,
SystemException
findByUuid_First in interface MDRRuleGroupPersistenceuuid - 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 occurred
public MDRRuleGroup fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws SystemException
fetchByUuid_First in interface MDRRuleGroupPersistenceuuid - 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 occurred
public MDRRuleGroup findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws NoSuchRuleGroupException,
SystemException
findByUuid_Last in interface MDRRuleGroupPersistenceuuid - 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 occurred
public MDRRuleGroup fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws SystemException
fetchByUuid_Last in interface MDRRuleGroupPersistenceuuid - 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 occurred
public MDRRuleGroup[] findByUuid_PrevAndNext(long ruleGroupId,
String uuid,
OrderByComparator orderByComparator)
throws NoSuchRuleGroupException,
SystemException
findByUuid_PrevAndNext in interface MDRRuleGroupPersistenceruleGroupId - 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 occurred
protected MDRRuleGroup getByUuid_PrevAndNext(Session session,
MDRRuleGroup mdrRuleGroup,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
public MDRRuleGroup findByUUID_G(String uuid,
long groupId)
throws NoSuchRuleGroupException,
SystemException
NoSuchRuleGroupException if it could not be found.
findByUUID_G in interface MDRRuleGroupPersistenceuuid - the uuidgroupId - the group ID
NoSuchRuleGroupException - if a matching m d r rule group could not be found
SystemException - if a system exception occurred
public MDRRuleGroup fetchByUUID_G(String uuid,
long groupId)
throws SystemException
null if it could not be found. Uses the finder cache.
fetchByUUID_G in interface MDRRuleGroupPersistenceuuid - the uuidgroupId - the group ID
null if a matching m d r rule group could not be found
SystemException - if a system exception occurred
public MDRRuleGroup fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
fetchByUUID_G in interface MDRRuleGroupPersistenceuuid - 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 occurred
public List<MDRRuleGroup> findByGroupId(long groupId)
throws SystemException
findByGroupId in interface MDRRuleGroupPersistencegroupId - the group ID
SystemException - if a system exception occurred
public List<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.
findByGroupId in interface MDRRuleGroupPersistencegroupId - 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 occurred
public List<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.
findByGroupId in interface MDRRuleGroupPersistencegroupId - 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 occurred
public MDRRuleGroup findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws NoSuchRuleGroupException,
SystemException
findByGroupId_First in interface MDRRuleGroupPersistencegroupId - 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 occurred
public MDRRuleGroup fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws SystemException
fetchByGroupId_First in interface MDRRuleGroupPersistencegroupId - 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 occurred
public MDRRuleGroup findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws NoSuchRuleGroupException,
SystemException
findByGroupId_Last in interface MDRRuleGroupPersistencegroupId - 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 occurred
public MDRRuleGroup fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws SystemException
fetchByGroupId_Last in interface MDRRuleGroupPersistencegroupId - 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 occurred
public MDRRuleGroup[] findByGroupId_PrevAndNext(long ruleGroupId,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchRuleGroupException,
SystemException
findByGroupId_PrevAndNext in interface MDRRuleGroupPersistenceruleGroupId - 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 occurred
protected MDRRuleGroup getByGroupId_PrevAndNext(Session session,
MDRRuleGroup mdrRuleGroup,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
public List<MDRRuleGroup> filterFindByGroupId(long groupId)
throws SystemException
filterFindByGroupId in interface MDRRuleGroupPersistencegroupId - the group ID
SystemException - if a system exception occurred
public List<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.
filterFindByGroupId in interface MDRRuleGroupPersistencegroupId - 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 occurred
public List<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.
filterFindByGroupId in interface MDRRuleGroupPersistencegroupId - 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 occurred
public MDRRuleGroup[] filterFindByGroupId_PrevAndNext(long ruleGroupId,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchRuleGroupException,
SystemException
filterFindByGroupId_PrevAndNext in interface MDRRuleGroupPersistenceruleGroupId - 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 occurred
protected MDRRuleGroup filterGetByGroupId_PrevAndNext(Session session,
MDRRuleGroup mdrRuleGroup,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
public List<MDRRuleGroup> findAll()
throws SystemException
findAll in interface MDRRuleGroupPersistenceSystemException - if a system exception occurred
public List<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.
findAll in interface MDRRuleGroupPersistencestart - 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 occurred
public List<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.
findAll in interface MDRRuleGroupPersistencestart - 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 occurred
public void removeByUuid(String uuid)
throws SystemException
removeByUuid in interface MDRRuleGroupPersistenceuuid - the uuid
SystemException - if a system exception occurred
public MDRRuleGroup removeByUUID_G(String uuid,
long groupId)
throws NoSuchRuleGroupException,
SystemException
removeByUUID_G in interface MDRRuleGroupPersistenceuuid - the uuidgroupId - the group ID
SystemException - if a system exception occurred
NoSuchRuleGroupException
public void removeByGroupId(long groupId)
throws SystemException
removeByGroupId in interface MDRRuleGroupPersistencegroupId - the group ID
SystemException - if a system exception occurred
public void removeAll()
throws SystemException
removeAll in interface MDRRuleGroupPersistenceSystemException - if a system exception occurred
public int countByUuid(String uuid)
throws SystemException
countByUuid in interface MDRRuleGroupPersistenceuuid - the uuid
SystemException - if a system exception occurred
public int countByUUID_G(String uuid,
long groupId)
throws SystemException
countByUUID_G in interface MDRRuleGroupPersistenceuuid - the uuidgroupId - the group ID
SystemException - if a system exception occurred
public int countByGroupId(long groupId)
throws SystemException
countByGroupId in interface MDRRuleGroupPersistencegroupId - the group ID
SystemException - if a system exception occurred
public int filterCountByGroupId(long groupId)
throws SystemException
filterCountByGroupId in interface MDRRuleGroupPersistencegroupId - the group ID
SystemException - if a system exception occurred
public int countAll()
throws SystemException
countAll in interface MDRRuleGroupPersistenceSystemException - if a system exception occurredpublic void afterPropertiesSet()
public void destroy()
|
Liferay 6.1.2-ce-ga3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||