@ProviderType public interface CommercePaymentMethodGroupRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommercePaymentMethodGroupRel>
Caching information and settings can be found in portal.properties
CommercePaymentMethodGroupRelUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommercePaymentMethodGroupRel commercePaymentMethodGroupRel)
Caches the commerce payment method group rel in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommercePaymentMethodGroupRel> commercePaymentMethodGroupRels)
Caches the commerce payment method group rels in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce payment method group rels.
|
int |
countByG_A(long groupId,
boolean active)
Returns the number of commerce payment method group rels where groupId = ? and active = ?.
|
int |
countByG_E(long groupId,
java.lang.String engineKey)
Returns the number of commerce payment method group rels where groupId = ? and engineKey = ?.
|
int |
countByGroupId(long groupId)
Returns the number of commerce payment method group rels where groupId = ?.
|
CommercePaymentMethodGroupRel |
create(long commercePaymentMethodGroupRelId)
Creates a new commerce payment method group rel with the primary key.
|
CommercePaymentMethodGroupRel |
fetchByG_A_First(long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
Returns the first commerce payment method group rel in the ordered set where groupId = ? and active = ?.
|
CommercePaymentMethodGroupRel |
fetchByG_A_Last(long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
Returns the last commerce payment method group rel in the ordered set where groupId = ? and active = ?.
|
CommercePaymentMethodGroupRel |
fetchByG_E(long groupId,
java.lang.String engineKey)
Returns the commerce payment method group rel where groupId = ? and engineKey = ? or returns
null if it could not be found. |
CommercePaymentMethodGroupRel |
fetchByG_E(long groupId,
java.lang.String engineKey,
boolean useFinderCache)
Returns the commerce payment method group rel where groupId = ? and engineKey = ? or returns
null if it could not be found, optionally using the finder cache. |
CommercePaymentMethodGroupRel |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
Returns the first commerce payment method group rel in the ordered set where groupId = ?.
|
CommercePaymentMethodGroupRel |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
Returns the last commerce payment method group rel in the ordered set where groupId = ?.
|
CommercePaymentMethodGroupRel |
fetchByPrimaryKey(long commercePaymentMethodGroupRelId)
Returns the commerce payment method group rel with the primary key or returns
null if it could not be found. |
int |
filterCountByG_A(long groupId,
boolean active)
Returns the number of commerce payment method group rels that the user has permission to view where groupId = ? and active = ?.
|
int |
filterCountByGroupId(long groupId)
Returns the number of commerce payment method group rels that the user has permission to view where groupId = ?.
|
CommercePaymentMethodGroupRel[] |
filterFindByG_A_PrevAndNext(long commercePaymentMethodGroupRelId,
long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
Returns the commerce payment method group rels before and after the current commerce payment method group rel in the ordered set of commerce payment method group rels that the user has permission to view where groupId = ? and active = ?.
|
java.util.List<CommercePaymentMethodGroupRel> |
filterFindByG_A(long groupId,
boolean active)
Returns all the commerce payment method group rels that the user has permission to view where groupId = ? and active = ?.
|
java.util.List<CommercePaymentMethodGroupRel> |
filterFindByG_A(long groupId,
boolean active,
int start,
int end)
Returns a range of all the commerce payment method group rels that the user has permission to view where groupId = ? and active = ?.
|
java.util.List<CommercePaymentMethodGroupRel> |
filterFindByG_A(long groupId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
Returns an ordered range of all the commerce payment method group rels that the user has permissions to view where groupId = ? and active = ?.
|
CommercePaymentMethodGroupRel[] |
filterFindByGroupId_PrevAndNext(long commercePaymentMethodGroupRelId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
Returns the commerce payment method group rels before and after the current commerce payment method group rel in the ordered set of commerce payment method group rels that the user has permission to view where groupId = ?.
|
java.util.List<CommercePaymentMethodGroupRel> |
filterFindByGroupId(long groupId)
Returns all the commerce payment method group rels that the user has permission to view where groupId = ?.
|
java.util.List<CommercePaymentMethodGroupRel> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the commerce payment method group rels that the user has permission to view where groupId = ?.
|
java.util.List<CommercePaymentMethodGroupRel> |
filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
Returns an ordered range of all the commerce payment method group rels that the user has permissions to view where groupId = ?.
|
java.util.List<CommercePaymentMethodGroupRel> |
findAll()
Returns all the commerce payment method group rels.
|
java.util.List<CommercePaymentMethodGroupRel> |
findAll(int start,
int end)
Returns a range of all the commerce payment method group rels.
|
java.util.List<CommercePaymentMethodGroupRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
Returns an ordered range of all the commerce payment method group rels.
|
java.util.List<CommercePaymentMethodGroupRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce payment method group rels.
|
CommercePaymentMethodGroupRel |
findByG_A_First(long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
Returns the first commerce payment method group rel in the ordered set where groupId = ? and active = ?.
|
CommercePaymentMethodGroupRel |
findByG_A_Last(long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
Returns the last commerce payment method group rel in the ordered set where groupId = ? and active = ?.
|
CommercePaymentMethodGroupRel[] |
findByG_A_PrevAndNext(long commercePaymentMethodGroupRelId,
long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
Returns the commerce payment method group rels before and after the current commerce payment method group rel in the ordered set where groupId = ? and active = ?.
|
java.util.List<CommercePaymentMethodGroupRel> |
findByG_A(long groupId,
boolean active)
Returns all the commerce payment method group rels where groupId = ? and active = ?.
|
java.util.List<CommercePaymentMethodGroupRel> |
findByG_A(long groupId,
boolean active,
int start,
int end)
Returns a range of all the commerce payment method group rels where groupId = ? and active = ?.
|
java.util.List<CommercePaymentMethodGroupRel> |
findByG_A(long groupId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
Returns an ordered range of all the commerce payment method group rels where groupId = ? and active = ?.
|
java.util.List<CommercePaymentMethodGroupRel> |
findByG_A(long groupId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce payment method group rels where groupId = ? and active = ?.
|
CommercePaymentMethodGroupRel |
findByG_E(long groupId,
java.lang.String engineKey)
Returns the commerce payment method group rel where groupId = ? and engineKey = ? or throws a
NoSuchPaymentMethodGroupRelException if it could not be found. |
CommercePaymentMethodGroupRel |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
Returns the first commerce payment method group rel in the ordered set where groupId = ?.
|
CommercePaymentMethodGroupRel |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
Returns the last commerce payment method group rel in the ordered set where groupId = ?.
|
CommercePaymentMethodGroupRel[] |
findByGroupId_PrevAndNext(long commercePaymentMethodGroupRelId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
Returns the commerce payment method group rels before and after the current commerce payment method group rel in the ordered set where groupId = ?.
|
java.util.List<CommercePaymentMethodGroupRel> |
findByGroupId(long groupId)
Returns all the commerce payment method group rels where groupId = ?.
|
java.util.List<CommercePaymentMethodGroupRel> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the commerce payment method group rels where groupId = ?.
|
java.util.List<CommercePaymentMethodGroupRel> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
Returns an ordered range of all the commerce payment method group rels where groupId = ?.
|
java.util.List<CommercePaymentMethodGroupRel> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce payment method group rels where groupId = ?.
|
CommercePaymentMethodGroupRel |
findByPrimaryKey(long commercePaymentMethodGroupRelId)
Returns the commerce payment method group rel with the primary key or throws a
NoSuchPaymentMethodGroupRelException if it could not be found. |
CommercePaymentMethodGroupRel |
remove(long commercePaymentMethodGroupRelId)
Removes the commerce payment method group rel with the primary key from the database.
|
void |
removeAll()
Removes all the commerce payment method group rels from the database.
|
void |
removeByG_A(long groupId,
boolean active)
Removes all the commerce payment method group rels where groupId = ? and active = ? from the database.
|
CommercePaymentMethodGroupRel |
removeByG_E(long groupId,
java.lang.String engineKey)
Removes the commerce payment method group rel where groupId = ? and engineKey = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the commerce payment method group rels where groupId = ? from the database.
|
CommercePaymentMethodGroupRel |
updateImpl(CommercePaymentMethodGroupRel commercePaymentMethodGroupRel) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<CommercePaymentMethodGroupRel> findByGroupId(long groupId)
groupId
- the group IDjava.util.List<CommercePaymentMethodGroupRel> 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, then the query will include the default ORDER BY logic from CommercePaymentMethodGroupRelModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of commerce payment method group relsend
- the upper bound of the range of commerce payment method group rels (not inclusive)java.util.List<CommercePaymentMethodGroupRel> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> 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, then the query will include the default ORDER BY logic from CommercePaymentMethodGroupRelModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of commerce payment method group relsend
- the upper bound of the range of commerce payment method group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommercePaymentMethodGroupRel> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from CommercePaymentMethodGroupRelModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of commerce payment method group relsend
- the upper bound of the range of commerce payment method group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommercePaymentMethodGroupRel findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) throws NoSuchPaymentMethodGroupRelException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPaymentMethodGroupRelException
- if a matching commerce payment method group rel could not be foundCommercePaymentMethodGroupRel fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce payment method group rel could not be foundCommercePaymentMethodGroupRel findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) throws NoSuchPaymentMethodGroupRelException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPaymentMethodGroupRelException
- if a matching commerce payment method group rel could not be foundCommercePaymentMethodGroupRel fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce payment method group rel could not be foundCommercePaymentMethodGroupRel[] findByGroupId_PrevAndNext(long commercePaymentMethodGroupRelId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) throws NoSuchPaymentMethodGroupRelException
commercePaymentMethodGroupRelId
- the primary key of the current commerce payment method group relgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPaymentMethodGroupRelException
- if a commerce payment method group rel with the primary key could not be foundjava.util.List<CommercePaymentMethodGroupRel> filterFindByGroupId(long groupId)
groupId
- the group IDjava.util.List<CommercePaymentMethodGroupRel> 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, then the query will include the default ORDER BY logic from CommercePaymentMethodGroupRelModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of commerce payment method group relsend
- the upper bound of the range of commerce payment method group rels (not inclusive)java.util.List<CommercePaymentMethodGroupRel> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> 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, then the query will include the default ORDER BY logic from CommercePaymentMethodGroupRelModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of commerce payment method group relsend
- the upper bound of the range of commerce payment method group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)CommercePaymentMethodGroupRel[] filterFindByGroupId_PrevAndNext(long commercePaymentMethodGroupRelId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) throws NoSuchPaymentMethodGroupRelException
commercePaymentMethodGroupRelId
- the primary key of the current commerce payment method group relgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPaymentMethodGroupRelException
- if a commerce payment method group rel with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDint filterCountByGroupId(long groupId)
groupId
- the group IDCommercePaymentMethodGroupRel findByG_E(long groupId, java.lang.String engineKey) throws NoSuchPaymentMethodGroupRelException
NoSuchPaymentMethodGroupRelException
if it could not be found.groupId
- the group IDengineKey
- the engine keyNoSuchPaymentMethodGroupRelException
- if a matching commerce payment method group rel could not be foundCommercePaymentMethodGroupRel fetchByG_E(long groupId, java.lang.String engineKey)
null
if it could not be found. Uses the finder cache.groupId
- the group IDengineKey
- the engine keynull
if a matching commerce payment method group rel could not be foundCommercePaymentMethodGroupRel fetchByG_E(long groupId, java.lang.String engineKey, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDengineKey
- the engine keyuseFinderCache
- whether to use the finder cachenull
if a matching commerce payment method group rel could not be foundCommercePaymentMethodGroupRel removeByG_E(long groupId, java.lang.String engineKey) throws NoSuchPaymentMethodGroupRelException
groupId
- the group IDengineKey
- the engine keyNoSuchPaymentMethodGroupRelException
int countByG_E(long groupId, java.lang.String engineKey)
groupId
- the group IDengineKey
- the engine keyjava.util.List<CommercePaymentMethodGroupRel> findByG_A(long groupId, boolean active)
groupId
- the group IDactive
- the activejava.util.List<CommercePaymentMethodGroupRel> findByG_A(long groupId, boolean active, 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, then the query will include the default ORDER BY logic from CommercePaymentMethodGroupRelModelImpl
.
groupId
- the group IDactive
- the activestart
- the lower bound of the range of commerce payment method group relsend
- the upper bound of the range of commerce payment method group rels (not inclusive)java.util.List<CommercePaymentMethodGroupRel> findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> 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, then the query will include the default ORDER BY logic from CommercePaymentMethodGroupRelModelImpl
.
groupId
- the group IDactive
- the activestart
- the lower bound of the range of commerce payment method group relsend
- the upper bound of the range of commerce payment method group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommercePaymentMethodGroupRel> findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from CommercePaymentMethodGroupRelModelImpl
.
groupId
- the group IDactive
- the activestart
- the lower bound of the range of commerce payment method group relsend
- the upper bound of the range of commerce payment method group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommercePaymentMethodGroupRel findByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) throws NoSuchPaymentMethodGroupRelException
groupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPaymentMethodGroupRelException
- if a matching commerce payment method group rel could not be foundCommercePaymentMethodGroupRel fetchByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
groupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce payment method group rel could not be foundCommercePaymentMethodGroupRel findByG_A_Last(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) throws NoSuchPaymentMethodGroupRelException
groupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPaymentMethodGroupRelException
- if a matching commerce payment method group rel could not be foundCommercePaymentMethodGroupRel fetchByG_A_Last(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
groupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce payment method group rel could not be foundCommercePaymentMethodGroupRel[] findByG_A_PrevAndNext(long commercePaymentMethodGroupRelId, long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) throws NoSuchPaymentMethodGroupRelException
commercePaymentMethodGroupRelId
- the primary key of the current commerce payment method group relgroupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPaymentMethodGroupRelException
- if a commerce payment method group rel with the primary key could not be foundjava.util.List<CommercePaymentMethodGroupRel> filterFindByG_A(long groupId, boolean active)
groupId
- the group IDactive
- the activejava.util.List<CommercePaymentMethodGroupRel> filterFindByG_A(long groupId, boolean active, 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, then the query will include the default ORDER BY logic from CommercePaymentMethodGroupRelModelImpl
.
groupId
- the group IDactive
- the activestart
- the lower bound of the range of commerce payment method group relsend
- the upper bound of the range of commerce payment method group rels (not inclusive)java.util.List<CommercePaymentMethodGroupRel> filterFindByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> 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, then the query will include the default ORDER BY logic from CommercePaymentMethodGroupRelModelImpl
.
groupId
- the group IDactive
- the activestart
- the lower bound of the range of commerce payment method group relsend
- the upper bound of the range of commerce payment method group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)CommercePaymentMethodGroupRel[] filterFindByG_A_PrevAndNext(long commercePaymentMethodGroupRelId, long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) throws NoSuchPaymentMethodGroupRelException
commercePaymentMethodGroupRelId
- the primary key of the current commerce payment method group relgroupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPaymentMethodGroupRelException
- if a commerce payment method group rel with the primary key could not be foundvoid removeByG_A(long groupId, boolean active)
groupId
- the group IDactive
- the activeint countByG_A(long groupId, boolean active)
groupId
- the group IDactive
- the activeint filterCountByG_A(long groupId, boolean active)
groupId
- the group IDactive
- the activevoid cacheResult(CommercePaymentMethodGroupRel commercePaymentMethodGroupRel)
commercePaymentMethodGroupRel
- the commerce payment method group relvoid cacheResult(java.util.List<CommercePaymentMethodGroupRel> commercePaymentMethodGroupRels)
commercePaymentMethodGroupRels
- the commerce payment method group relsCommercePaymentMethodGroupRel create(long commercePaymentMethodGroupRelId)
commercePaymentMethodGroupRelId
- the primary key for the new commerce payment method group relCommercePaymentMethodGroupRel remove(long commercePaymentMethodGroupRelId) throws NoSuchPaymentMethodGroupRelException
commercePaymentMethodGroupRelId
- the primary key of the commerce payment method group relNoSuchPaymentMethodGroupRelException
- if a commerce payment method group rel with the primary key could not be foundCommercePaymentMethodGroupRel updateImpl(CommercePaymentMethodGroupRel commercePaymentMethodGroupRel)
CommercePaymentMethodGroupRel findByPrimaryKey(long commercePaymentMethodGroupRelId) throws NoSuchPaymentMethodGroupRelException
NoSuchPaymentMethodGroupRelException
if it could not be found.commercePaymentMethodGroupRelId
- the primary key of the commerce payment method group relNoSuchPaymentMethodGroupRelException
- if a commerce payment method group rel with the primary key could not be foundCommercePaymentMethodGroupRel fetchByPrimaryKey(long commercePaymentMethodGroupRelId)
null
if it could not be found.commercePaymentMethodGroupRelId
- the primary key of the commerce payment method group relnull
if a commerce payment method group rel with the primary key could not be foundjava.util.List<CommercePaymentMethodGroupRel> findAll()
java.util.List<CommercePaymentMethodGroupRel> 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, then the query will include the default ORDER BY logic from CommercePaymentMethodGroupRelModelImpl
.
start
- the lower bound of the range of commerce payment method group relsend
- the upper bound of the range of commerce payment method group rels (not inclusive)java.util.List<CommercePaymentMethodGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> 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, then the query will include the default ORDER BY logic from CommercePaymentMethodGroupRelModelImpl
.
start
- the lower bound of the range of commerce payment method group relsend
- the upper bound of the range of commerce payment method group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommercePaymentMethodGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from CommercePaymentMethodGroupRelModelImpl
.
start
- the lower bound of the range of commerce payment method group relsend
- the upper bound of the range of commerce payment method group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()