Interface CommercePaymentMethodGroupRelPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommercePaymentMethodGroupRel>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CommercePaymentMethodGroupRel commercePaymentMethodGroupRel) Caches the commerce payment method group rel in the entity cache if it is enabled.void
cacheResult
(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_P
(long groupId, String paymentIntegrationKey) Returns the number of commerce payment method group rels where groupId = ? and paymentIntegrationKey = ?.int
countByGroupId
(long groupId) Returns the number of commerce payment method group rels where groupId = ?.create
(long commercePaymentMethodGroupRelId) Creates a new commerce payment method group rel with the primary key.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 = ?.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 = ?.fetchByG_P
(long groupId, String paymentIntegrationKey) Returns the commerce payment method group rel where groupId = ? and paymentIntegrationKey = ? or returnsnull
if it could not be found.fetchByG_P
(long groupId, String paymentIntegrationKey, boolean useFinderCache) Returns the commerce payment method group rel where groupId = ? and paymentIntegrationKey = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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 = ?.fetchByPrimaryKey
(long commercePaymentMethodGroupRelId) Returns the commerce payment method group rel with the primary key or returnsnull
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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.filterFindByGroupId
(long groupId) Returns all the commerce payment method group rels that the user has permission to view where groupId = ?.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 = ?.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 = ?.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 = ?.findAll()
Returns all the commerce payment method group rels.findAll
(int start, int end) Returns a range of all the commerce payment method group rels.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.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.findByG_A
(long groupId, boolean active) Returns all the commerce payment method group rels where groupId = ? and active = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.Returns the commerce payment method group rel where groupId = ? and paymentIntegrationKey = ? or throws aNoSuchPaymentMethodGroupRelException
if it could not be found.findByGroupId
(long groupId) Returns all the commerce payment method group rels where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the commerce payment method group rels where groupId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByPrimaryKey
(long commercePaymentMethodGroupRelId) Returns the commerce payment method group rel with the primary key or throws aNoSuchPaymentMethodGroupRelException
if it could not be found.remove
(long commercePaymentMethodGroupRelId) Removes the commerce payment method group rel with the primary key from the database.void
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.removeByG_P
(long groupId, String paymentIntegrationKey) Removes the commerce payment method group rel where groupId = ? and paymentIntegrationKey = ? from the database.void
removeByGroupId
(long groupId) Removes all the commerce payment method group rels where groupId = ? from the database.updateImpl
(CommercePaymentMethodGroupRel commercePaymentMethodGroupRel) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
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, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByGroupId
Returns all the commerce payment method group rels where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching commerce payment method group rels
-
findByGroupId
Returns a range of all the commerce payment method group rels where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentMethodGroupRelModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce payment method group rels
-
findByGroupId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentMethodGroupRelModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce payment method group rels
-
findByGroupId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentMethodGroupRelModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce payment method group rels
-
findByGroupId_First
CommercePaymentMethodGroupRel findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) throws NoSuchPaymentMethodGroupRelException Returns the first commerce payment method group rel in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce payment method group rel
- Throws:
NoSuchPaymentMethodGroupRelException
- if a matching commerce payment method group rel could not be found
-
fetchByGroupId_First
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 = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce payment method group rel, or
null
if a matching commerce payment method group rel could not be found
-
findByGroupId_Last
CommercePaymentMethodGroupRel findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) throws NoSuchPaymentMethodGroupRelException Returns the last commerce payment method group rel in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce payment method group rel
- Throws:
NoSuchPaymentMethodGroupRelException
- if a matching commerce payment method group rel could not be found
-
fetchByGroupId_Last
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 = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce payment method group rel, or
null
if a matching commerce payment method group rel could not be found
-
findByGroupId_PrevAndNext
CommercePaymentMethodGroupRel[] findByGroupId_PrevAndNext(long commercePaymentMethodGroupRelId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) throws NoSuchPaymentMethodGroupRelException Returns the commerce payment method group rels before and after the current commerce payment method group rel in the ordered set where groupId = ?.- Parameters:
commercePaymentMethodGroupRelId
- the primary key of the current commerce payment method group relgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce payment method group rel
- Throws:
NoSuchPaymentMethodGroupRelException
- if a commerce payment method group rel with the primary key could not be found
-
filterFindByGroupId
Returns all the commerce payment method group rels that the user has permission to view where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching commerce payment method group rels that the user has permission to view
-
filterFindByGroupId
Returns a range of all the commerce payment method group rels that the user has permission to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentMethodGroupRelModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce payment method group rels that the user has permission to view
-
filterFindByGroupId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentMethodGroupRelModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce payment method group rels that the user has permission to view
-
filterFindByGroupId_PrevAndNext
CommercePaymentMethodGroupRel[] filterFindByGroupId_PrevAndNext(long commercePaymentMethodGroupRelId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) throws NoSuchPaymentMethodGroupRelException 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 = ?.- Parameters:
commercePaymentMethodGroupRelId
- the primary key of the current commerce payment method group relgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce payment method group rel
- Throws:
NoSuchPaymentMethodGroupRelException
- if a commerce payment method group rel with the primary key could not be found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the commerce payment method group rels where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of commerce payment method group rels where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching commerce payment method group rels
-
filterCountByGroupId
int filterCountByGroupId(long groupId) Returns the number of commerce payment method group rels that the user has permission to view where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching commerce payment method group rels that the user has permission to view
-
findByG_A
Returns all the commerce payment method group rels where groupId = ? and active = ?.- Parameters:
groupId
- the group IDactive
- the active- Returns:
- the matching commerce payment method group rels
-
findByG_A
Returns a range of all the commerce payment method group rels where groupId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentMethodGroupRelModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce payment method group rels
-
findByG_A
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentMethodGroupRelModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce payment method group rels
-
findByG_A
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentMethodGroupRelModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce payment method group rels
-
findByG_A_First
CommercePaymentMethodGroupRel findByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) throws NoSuchPaymentMethodGroupRelException Returns the first commerce payment method group rel in the ordered set where groupId = ? and active = ?.- Parameters:
groupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce payment method group rel
- Throws:
NoSuchPaymentMethodGroupRelException
- if a matching commerce payment method group rel could not be found
-
fetchByG_A_First
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 = ?.- Parameters:
groupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce payment method group rel, or
null
if a matching commerce payment method group rel could not be found
-
findByG_A_Last
CommercePaymentMethodGroupRel findByG_A_Last(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) throws NoSuchPaymentMethodGroupRelException Returns the last commerce payment method group rel in the ordered set where groupId = ? and active = ?.- Parameters:
groupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce payment method group rel
- Throws:
NoSuchPaymentMethodGroupRelException
- if a matching commerce payment method group rel could not be found
-
fetchByG_A_Last
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 = ?.- Parameters:
groupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce payment method group rel, or
null
if a matching commerce payment method group rel could not be found
-
findByG_A_PrevAndNext
CommercePaymentMethodGroupRel[] findByG_A_PrevAndNext(long commercePaymentMethodGroupRelId, long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) throws NoSuchPaymentMethodGroupRelException 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 = ?.- Parameters:
commercePaymentMethodGroupRelId
- the primary key of the current commerce payment method group relgroupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce payment method group rel
- Throws:
NoSuchPaymentMethodGroupRelException
- if a commerce payment method group rel with the primary key could not be found
-
filterFindByG_A
Returns all the commerce payment method group rels that the user has permission to view where groupId = ? and active = ?.- Parameters:
groupId
- the group IDactive
- the active- Returns:
- the matching commerce payment method group rels that the user has permission to view
-
filterFindByG_A
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentMethodGroupRelModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce payment method group rels that the user has permission to view
-
filterFindByG_A
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentMethodGroupRelModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce payment method group rels that the user has permission to view
-
filterFindByG_A_PrevAndNext
CommercePaymentMethodGroupRel[] filterFindByG_A_PrevAndNext(long commercePaymentMethodGroupRelId, long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) throws NoSuchPaymentMethodGroupRelException 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 = ?.- Parameters:
commercePaymentMethodGroupRelId
- the primary key of the current commerce payment method group relgroupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce payment method group rel
- Throws:
NoSuchPaymentMethodGroupRelException
- if a commerce payment method group rel with the primary key could not be found
-
removeByG_A
void removeByG_A(long groupId, boolean active) Removes all the commerce payment method group rels where groupId = ? and active = ? from the database.- Parameters:
groupId
- the group IDactive
- the active
-
countByG_A
int countByG_A(long groupId, boolean active) Returns the number of commerce payment method group rels where groupId = ? and active = ?.- Parameters:
groupId
- the group IDactive
- the active- Returns:
- the number of matching commerce payment method group rels
-
filterCountByG_A
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 = ?.- Parameters:
groupId
- the group IDactive
- the active- Returns:
- the number of matching commerce payment method group rels that the user has permission to view
-
findByG_P
CommercePaymentMethodGroupRel findByG_P(long groupId, String paymentIntegrationKey) throws NoSuchPaymentMethodGroupRelException Returns the commerce payment method group rel where groupId = ? and paymentIntegrationKey = ? or throws aNoSuchPaymentMethodGroupRelException
if it could not be found.- Parameters:
groupId
- the group IDpaymentIntegrationKey
- the payment integration key- Returns:
- the matching commerce payment method group rel
- Throws:
NoSuchPaymentMethodGroupRelException
- if a matching commerce payment method group rel could not be found
-
fetchByG_P
Returns the commerce payment method group rel where groupId = ? and paymentIntegrationKey = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDpaymentIntegrationKey
- the payment integration key- Returns:
- the matching commerce payment method group rel, or
null
if a matching commerce payment method group rel could not be found
-
fetchByG_P
CommercePaymentMethodGroupRel fetchByG_P(long groupId, String paymentIntegrationKey, boolean useFinderCache) Returns the commerce payment method group rel where groupId = ? and paymentIntegrationKey = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDpaymentIntegrationKey
- the payment integration keyuseFinderCache
- whether to use the finder cache- Returns:
- the matching commerce payment method group rel, or
null
if a matching commerce payment method group rel could not be found
-
removeByG_P
CommercePaymentMethodGroupRel removeByG_P(long groupId, String paymentIntegrationKey) throws NoSuchPaymentMethodGroupRelException Removes the commerce payment method group rel where groupId = ? and paymentIntegrationKey = ? from the database.- Parameters:
groupId
- the group IDpaymentIntegrationKey
- the payment integration key- Returns:
- the commerce payment method group rel that was removed
- Throws:
NoSuchPaymentMethodGroupRelException
-
countByG_P
Returns the number of commerce payment method group rels where groupId = ? and paymentIntegrationKey = ?.- Parameters:
groupId
- the group IDpaymentIntegrationKey
- the payment integration key- Returns:
- the number of matching commerce payment method group rels
-
cacheResult
Caches the commerce payment method group rel in the entity cache if it is enabled.- Parameters:
commercePaymentMethodGroupRel
- the commerce payment method group rel
-
cacheResult
Caches the commerce payment method group rels in the entity cache if it is enabled.- Parameters:
commercePaymentMethodGroupRels
- the commerce payment method group rels
-
create
Creates a new commerce payment method group rel with the primary key. Does not add the commerce payment method group rel to the database.- Parameters:
commercePaymentMethodGroupRelId
- the primary key for the new commerce payment method group rel- Returns:
- the new commerce payment method group rel
-
remove
CommercePaymentMethodGroupRel remove(long commercePaymentMethodGroupRelId) throws NoSuchPaymentMethodGroupRelException Removes the commerce payment method group rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commercePaymentMethodGroupRelId
- the primary key of the commerce payment method group rel- Returns:
- the commerce payment method group rel that was removed
- Throws:
NoSuchPaymentMethodGroupRelException
- if a commerce payment method group rel with the primary key could not be found
-
updateImpl
CommercePaymentMethodGroupRel updateImpl(CommercePaymentMethodGroupRel commercePaymentMethodGroupRel) -
findByPrimaryKey
CommercePaymentMethodGroupRel findByPrimaryKey(long commercePaymentMethodGroupRelId) throws NoSuchPaymentMethodGroupRelException Returns the commerce payment method group rel with the primary key or throws aNoSuchPaymentMethodGroupRelException
if it could not be found.- Parameters:
commercePaymentMethodGroupRelId
- the primary key of the commerce payment method group rel- Returns:
- the commerce payment method group rel
- Throws:
NoSuchPaymentMethodGroupRelException
- if a commerce payment method group rel with the primary key could not be found
-
fetchByPrimaryKey
Returns the commerce payment method group rel with the primary key or returnsnull
if it could not be found.- Parameters:
commercePaymentMethodGroupRelId
- the primary key of the commerce payment method group rel- Returns:
- the commerce payment method group rel, or
null
if a commerce payment method group rel with the primary key could not be found
-
findAll
List<CommercePaymentMethodGroupRel> findAll()Returns all the commerce payment method group rels.- Returns:
- the commerce payment method group rels
-
findAll
Returns a range of all the commerce payment method group rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentMethodGroupRelModelImpl
.- Parameters:
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)- Returns:
- the range of commerce payment method group rels
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentMethodGroupRelModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of commerce payment method group rels
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentMethodGroupRelModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of commerce payment method group rels
-
removeAll
void removeAll()Removes all the commerce payment method group rels from the database. -
countAll
int countAll()Returns the number of commerce payment method group rels.- Returns:
- the number of commerce payment method group rels
-