Class CommercePaymentMethodGroupRelUtil
com.liferay.commerce.payment.service.persistence.impl.CommercePaymentMethodGroupRelPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(CommercePaymentMethodGroupRel commercePaymentMethodGroupRel) Caches the commerce payment method group rel in the entity cache if it is enabled.static void
cacheResult
(List<CommercePaymentMethodGroupRel> commercePaymentMethodGroupRels) Caches the commerce payment method group rels in the entity cache if it is enabled.static void
static void
clearCache
(CommercePaymentMethodGroupRel commercePaymentMethodGroupRel) static int
countAll()
Returns the number of commerce payment method group rels.static int
countByG_A
(long groupId, boolean active) Returns the number of commerce payment method group rels where groupId = ? and active = ?.static int
countByG_P
(long groupId, String paymentIntegrationKey) Returns the number of commerce payment method group rels where groupId = ? and paymentIntegrationKey = ?.static int
countByGroupId
(long groupId) Returns the number of commerce payment method group rels where groupId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) 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.fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static 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 = ?.static int
filterCountByGroupId
(long groupId) Returns the number of commerce payment method group rels that the user has permission to view where groupId = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static List<CommercePaymentMethodGroupRel>
filterFindByGroupId
(long groupId) Returns all the commerce payment method group rels that the user has permission to view where groupId = ?.static 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 = ?.static 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 = ?.static 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 = ?.static List<CommercePaymentMethodGroupRel>
findAll()
Returns all the commerce payment method group rels.static List<CommercePaymentMethodGroupRel>
findAll
(int start, int end) Returns a range of all the commerce payment method group rels.static 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.static 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.static List<CommercePaymentMethodGroupRel>
findByG_A
(long groupId, boolean active) Returns all the commerce payment method group rels where groupId = ? and active = ?.static 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 = ?.static 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 = ?.static 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 = ?.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 = ?.static 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 = ?.Returns the commerce payment method group rel where groupId = ? and paymentIntegrationKey = ? or throws aNoSuchPaymentMethodGroupRelException
if it could not be found.static List<CommercePaymentMethodGroupRel>
findByGroupId
(long groupId) Returns all the commerce payment method group rels where groupId = ?.static List<CommercePaymentMethodGroupRel>
findByGroupId
(long groupId, int start, int end) Returns a range of all the commerce payment method group rels where groupId = ?.static 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 = ?.static 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 = ?.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 = ?.static 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 = ?.findByPrimaryKey
(long commercePaymentMethodGroupRelId) Returns the commerce payment method group rel with the primary key or throws aNoSuchPaymentMethodGroupRelException
if it could not be found.static List<CommercePaymentMethodGroupRel>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CommercePaymentMethodGroupRel>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CommercePaymentMethodGroupRel>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) remove
(long commercePaymentMethodGroupRelId) Removes the commerce payment method group rel with the primary key from the database.static void
Removes all the commerce payment method group rels from the database.static 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.static void
removeByGroupId
(long groupId) Removes all the commerce payment method group rels where groupId = ? from the database.static void
setPersistence
(CommercePaymentMethodGroupRelPersistence persistence) update
(CommercePaymentMethodGroupRel commercePaymentMethodGroupRel) update
(CommercePaymentMethodGroupRel commercePaymentMethodGroupRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateImpl
(CommercePaymentMethodGroupRel commercePaymentMethodGroupRel)
-
Constructor Details
-
CommercePaymentMethodGroupRelUtil
public CommercePaymentMethodGroupRelUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,CommercePaymentMethodGroupRel> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CommercePaymentMethodGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CommercePaymentMethodGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CommercePaymentMethodGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
public static CommercePaymentMethodGroupRel update(CommercePaymentMethodGroupRel commercePaymentMethodGroupRel) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CommercePaymentMethodGroupRel update(CommercePaymentMethodGroupRel commercePaymentMethodGroupRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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
public static 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
public static 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
public static 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 foundNoSuchPaymentMethodGroupRelException
-
fetchByGroupId_First
public static 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
public static 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 foundNoSuchPaymentMethodGroupRelException
-
fetchByGroupId_Last
public static 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
public static 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 foundNoSuchPaymentMethodGroupRelException
-
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
public static 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 = ?.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
public static 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
public static 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 foundNoSuchPaymentMethodGroupRelException
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the commerce payment method group rels where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
public static 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
public static 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
public static 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 = ?.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
public static 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
public static 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
public static 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 foundNoSuchPaymentMethodGroupRelException
-
fetchByG_A_First
public static 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
public static 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 foundNoSuchPaymentMethodGroupRelException
-
fetchByG_A_Last
public static 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
public static 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 foundNoSuchPaymentMethodGroupRelException
-
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
public static 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
public static 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
public static 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 foundNoSuchPaymentMethodGroupRelException
-
removeByG_A
public static 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
public static 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
public static 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
public static 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 foundNoSuchPaymentMethodGroupRelException
-
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
public static 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
public static 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
public static 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 foundNoSuchPaymentMethodGroupRelException
-
updateImpl
public static CommercePaymentMethodGroupRel updateImpl(CommercePaymentMethodGroupRel commercePaymentMethodGroupRel) -
findByPrimaryKey
public static 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 foundNoSuchPaymentMethodGroupRelException
-
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
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
public static 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
public static 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
public static void removeAll()Removes all the commerce payment method group rels from the database. -
countAll
public static int countAll()Returns the number of commerce payment method group rels.- Returns:
- the number of commerce payment method group rels
-
getPersistence
-
setPersistence
-