Class CommercePaymentMethodGroupRelQualifierUtil
com.liferay.commerce.payment.service.persistence.impl.CommercePaymentMethodGroupRelQualifierPersistenceImpl
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
(CommercePaymentMethodGroupRelQualifier commercePaymentMethodGroupRelQualifier) Caches the commerce payment method group rel qualifier in the entity cache if it is enabled.static void
cacheResult
(List<CommercePaymentMethodGroupRelQualifier> commercePaymentMethodGroupRelQualifiers) Caches the commerce payment method group rel qualifiers in the entity cache if it is enabled.static void
static void
clearCache
(CommercePaymentMethodGroupRelQualifier commercePaymentMethodGroupRelQualifier) static int
countAll()
Returns the number of commerce payment method group rel qualifiers.static int
countByC_C
(long classNameId, long commercePaymentMethodGroupRelId) Returns the number of commerce payment method group rel qualifiers where classNameId = ? and commercePaymentMethodGroupRelId = ?.static int
countByC_C_C
(long classNameId, long classPK, long commercePaymentMethodGroupRelId) Returns the number of commerce payment method group rel qualifiers where classNameId = ? and classPK = ? and commercePaymentMethodGroupRelId = ?.static int
countByCommercePaymentMethodGroupRelId
(long commercePaymentMethodGroupRelId) Returns the number of commerce payment method group rel qualifiers where commercePaymentMethodGroupRelId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) create
(long commercePaymentMethodGroupRelQualifierId) Creates a new commerce payment method group rel qualifier with the primary key.fetchByC_C_C
(long classNameId, long classPK, long commercePaymentMethodGroupRelId) Returns the commerce payment method group rel qualifier where classNameId = ? and classPK = ? and commercePaymentMethodGroupRelId = ? or returnsnull
if it could not be found.fetchByC_C_C
(long classNameId, long classPK, long commercePaymentMethodGroupRelId, boolean useFinderCache) Returns the commerce payment method group rel qualifier where classNameId = ? and classPK = ? and commercePaymentMethodGroupRelId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByC_C_First
(long classNameId, long commercePaymentMethodGroupRelId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) Returns the first commerce payment method group rel qualifier in the ordered set where classNameId = ? and commercePaymentMethodGroupRelId = ?.fetchByC_C_Last
(long classNameId, long commercePaymentMethodGroupRelId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) Returns the last commerce payment method group rel qualifier in the ordered set where classNameId = ? and commercePaymentMethodGroupRelId = ?.fetchByCommercePaymentMethodGroupRelId_First
(long commercePaymentMethodGroupRelId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) Returns the first commerce payment method group rel qualifier in the ordered set where commercePaymentMethodGroupRelId = ?.fetchByCommercePaymentMethodGroupRelId_Last
(long commercePaymentMethodGroupRelId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) Returns the last commerce payment method group rel qualifier in the ordered set where commercePaymentMethodGroupRelId = ?.fetchByPrimaryKey
(long commercePaymentMethodGroupRelQualifierId) Returns the commerce payment method group rel qualifier with the primary key or returnsnull
if it could not be found.fetchByPrimaryKeys
(Set<Serializable> primaryKeys) findAll()
Returns all the commerce payment method group rel qualifiers.findAll
(int start, int end) Returns a range of all the commerce payment method group rel qualifiers.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) Returns an ordered range of all the commerce payment method group rel qualifiers.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce payment method group rel qualifiers.findByC_C
(long classNameId, long commercePaymentMethodGroupRelId) Returns all the commerce payment method group rel qualifiers where classNameId = ? and commercePaymentMethodGroupRelId = ?.findByC_C
(long classNameId, long commercePaymentMethodGroupRelId, int start, int end) Returns a range of all the commerce payment method group rel qualifiers where classNameId = ? and commercePaymentMethodGroupRelId = ?.findByC_C
(long classNameId, long commercePaymentMethodGroupRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) Returns an ordered range of all the commerce payment method group rel qualifiers where classNameId = ? and commercePaymentMethodGroupRelId = ?.findByC_C
(long classNameId, long commercePaymentMethodGroupRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce payment method group rel qualifiers where classNameId = ? and commercePaymentMethodGroupRelId = ?.findByC_C_C
(long classNameId, long classPK, long commercePaymentMethodGroupRelId) Returns the commerce payment method group rel qualifier where classNameId = ? and classPK = ? and commercePaymentMethodGroupRelId = ? or throws aNoSuchPaymentMethodGroupRelQualifierException
if it could not be found.findByC_C_First
(long classNameId, long commercePaymentMethodGroupRelId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) Returns the first commerce payment method group rel qualifier in the ordered set where classNameId = ? and commercePaymentMethodGroupRelId = ?.findByC_C_Last
(long classNameId, long commercePaymentMethodGroupRelId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) Returns the last commerce payment method group rel qualifier in the ordered set where classNameId = ? and commercePaymentMethodGroupRelId = ?.findByC_C_PrevAndNext
(long commercePaymentMethodGroupRelQualifierId, long classNameId, long commercePaymentMethodGroupRelId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) Returns the commerce payment method group rel qualifiers before and after the current commerce payment method group rel qualifier in the ordered set where classNameId = ? and commercePaymentMethodGroupRelId = ?.findByCommercePaymentMethodGroupRelId
(long commercePaymentMethodGroupRelId) Returns all the commerce payment method group rel qualifiers where commercePaymentMethodGroupRelId = ?.findByCommercePaymentMethodGroupRelId
(long commercePaymentMethodGroupRelId, int start, int end) Returns a range of all the commerce payment method group rel qualifiers where commercePaymentMethodGroupRelId = ?.findByCommercePaymentMethodGroupRelId
(long commercePaymentMethodGroupRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) Returns an ordered range of all the commerce payment method group rel qualifiers where commercePaymentMethodGroupRelId = ?.findByCommercePaymentMethodGroupRelId
(long commercePaymentMethodGroupRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce payment method group rel qualifiers where commercePaymentMethodGroupRelId = ?.findByCommercePaymentMethodGroupRelId_First
(long commercePaymentMethodGroupRelId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) Returns the first commerce payment method group rel qualifier in the ordered set where commercePaymentMethodGroupRelId = ?.findByCommercePaymentMethodGroupRelId_Last
(long commercePaymentMethodGroupRelId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) Returns the last commerce payment method group rel qualifier in the ordered set where commercePaymentMethodGroupRelId = ?.findByCommercePaymentMethodGroupRelId_PrevAndNext
(long commercePaymentMethodGroupRelQualifierId, long commercePaymentMethodGroupRelId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) Returns the commerce payment method group rel qualifiers before and after the current commerce payment method group rel qualifier in the ordered set where commercePaymentMethodGroupRelId = ?.findByPrimaryKey
(long commercePaymentMethodGroupRelQualifierId) Returns the commerce payment method group rel qualifier with the primary key or throws aNoSuchPaymentMethodGroupRelQualifierException
if it could not be found.findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) remove
(long commercePaymentMethodGroupRelQualifierId) Removes the commerce payment method group rel qualifier with the primary key from the database.static void
Removes all the commerce payment method group rel qualifiers from the database.static void
removeByC_C
(long classNameId, long commercePaymentMethodGroupRelId) Removes all the commerce payment method group rel qualifiers where classNameId = ? and commercePaymentMethodGroupRelId = ? from the database.removeByC_C_C
(long classNameId, long classPK, long commercePaymentMethodGroupRelId) Removes the commerce payment method group rel qualifier where classNameId = ? and classPK = ? and commercePaymentMethodGroupRelId = ? from the database.static void
removeByCommercePaymentMethodGroupRelId
(long commercePaymentMethodGroupRelId) Removes all the commerce payment method group rel qualifiers where commercePaymentMethodGroupRelId = ? from the database.static void
update
(CommercePaymentMethodGroupRelQualifier commercePaymentMethodGroupRelQualifier) update
(CommercePaymentMethodGroupRelQualifier commercePaymentMethodGroupRelQualifier, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateImpl
(CommercePaymentMethodGroupRelQualifier commercePaymentMethodGroupRelQualifier)
-
Constructor Details
-
CommercePaymentMethodGroupRelQualifierUtil
public CommercePaymentMethodGroupRelQualifierUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
public static void clearCache(CommercePaymentMethodGroupRelQualifier commercePaymentMethodGroupRelQualifier) - 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,CommercePaymentMethodGroupRelQualifier> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CommercePaymentMethodGroupRelQualifier> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CommercePaymentMethodGroupRelQualifier> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CommercePaymentMethodGroupRelQualifier> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
public static CommercePaymentMethodGroupRelQualifier update(CommercePaymentMethodGroupRelQualifier commercePaymentMethodGroupRelQualifier) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CommercePaymentMethodGroupRelQualifier update(CommercePaymentMethodGroupRelQualifier commercePaymentMethodGroupRelQualifier, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByCommercePaymentMethodGroupRelId
public static List<CommercePaymentMethodGroupRelQualifier> findByCommercePaymentMethodGroupRelId(long commercePaymentMethodGroupRelId) Returns all the commerce payment method group rel qualifiers where commercePaymentMethodGroupRelId = ?.- Parameters:
commercePaymentMethodGroupRelId
- the commerce payment method group rel ID- Returns:
- the matching commerce payment method group rel qualifiers
-
findByCommercePaymentMethodGroupRelId
public static List<CommercePaymentMethodGroupRelQualifier> findByCommercePaymentMethodGroupRelId(long commercePaymentMethodGroupRelId, int start, int end) Returns a range of all the commerce payment method group rel qualifiers where commercePaymentMethodGroupRelId = ?.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 fromCommercePaymentMethodGroupRelQualifierModelImpl
.- Parameters:
commercePaymentMethodGroupRelId
- the commerce payment method group rel IDstart
- the lower bound of the range of commerce payment method group rel qualifiersend
- the upper bound of the range of commerce payment method group rel qualifiers (not inclusive)- Returns:
- the range of matching commerce payment method group rel qualifiers
-
findByCommercePaymentMethodGroupRelId
public static List<CommercePaymentMethodGroupRelQualifier> findByCommercePaymentMethodGroupRelId(long commercePaymentMethodGroupRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) Returns an ordered range of all the commerce payment method group rel qualifiers where commercePaymentMethodGroupRelId = ?.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 fromCommercePaymentMethodGroupRelQualifierModelImpl
.- Parameters:
commercePaymentMethodGroupRelId
- the commerce payment method group rel IDstart
- the lower bound of the range of commerce payment method group rel qualifiersend
- the upper bound of the range of commerce payment method group rel qualifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce payment method group rel qualifiers
-
findByCommercePaymentMethodGroupRelId
public static List<CommercePaymentMethodGroupRelQualifier> findByCommercePaymentMethodGroupRelId(long commercePaymentMethodGroupRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce payment method group rel qualifiers where commercePaymentMethodGroupRelId = ?.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 fromCommercePaymentMethodGroupRelQualifierModelImpl
.- Parameters:
commercePaymentMethodGroupRelId
- the commerce payment method group rel IDstart
- the lower bound of the range of commerce payment method group rel qualifiersend
- the upper bound of the range of commerce payment method group rel qualifiers (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 rel qualifiers
-
findByCommercePaymentMethodGroupRelId_First
public static CommercePaymentMethodGroupRelQualifier findByCommercePaymentMethodGroupRelId_First(long commercePaymentMethodGroupRelId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) throws NoSuchPaymentMethodGroupRelQualifierException Returns the first commerce payment method group rel qualifier in the ordered set where commercePaymentMethodGroupRelId = ?.- Parameters:
commercePaymentMethodGroupRelId
- the commerce payment method group rel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce payment method group rel qualifier
- Throws:
NoSuchPaymentMethodGroupRelQualifierException
- if a matching commerce payment method group rel qualifier could not be foundNoSuchPaymentMethodGroupRelQualifierException
-
fetchByCommercePaymentMethodGroupRelId_First
public static CommercePaymentMethodGroupRelQualifier fetchByCommercePaymentMethodGroupRelId_First(long commercePaymentMethodGroupRelId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) Returns the first commerce payment method group rel qualifier in the ordered set where commercePaymentMethodGroupRelId = ?.- Parameters:
commercePaymentMethodGroupRelId
- the commerce payment method group rel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce payment method group rel qualifier, or
null
if a matching commerce payment method group rel qualifier could not be found
-
findByCommercePaymentMethodGroupRelId_Last
public static CommercePaymentMethodGroupRelQualifier findByCommercePaymentMethodGroupRelId_Last(long commercePaymentMethodGroupRelId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) throws NoSuchPaymentMethodGroupRelQualifierException Returns the last commerce payment method group rel qualifier in the ordered set where commercePaymentMethodGroupRelId = ?.- Parameters:
commercePaymentMethodGroupRelId
- the commerce payment method group rel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce payment method group rel qualifier
- Throws:
NoSuchPaymentMethodGroupRelQualifierException
- if a matching commerce payment method group rel qualifier could not be foundNoSuchPaymentMethodGroupRelQualifierException
-
fetchByCommercePaymentMethodGroupRelId_Last
public static CommercePaymentMethodGroupRelQualifier fetchByCommercePaymentMethodGroupRelId_Last(long commercePaymentMethodGroupRelId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) Returns the last commerce payment method group rel qualifier in the ordered set where commercePaymentMethodGroupRelId = ?.- Parameters:
commercePaymentMethodGroupRelId
- the commerce payment method group rel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce payment method group rel qualifier, or
null
if a matching commerce payment method group rel qualifier could not be found
-
findByCommercePaymentMethodGroupRelId_PrevAndNext
public static CommercePaymentMethodGroupRelQualifier[] findByCommercePaymentMethodGroupRelId_PrevAndNext(long commercePaymentMethodGroupRelQualifierId, long commercePaymentMethodGroupRelId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) throws NoSuchPaymentMethodGroupRelQualifierException Returns the commerce payment method group rel qualifiers before and after the current commerce payment method group rel qualifier in the ordered set where commercePaymentMethodGroupRelId = ?.- Parameters:
commercePaymentMethodGroupRelQualifierId
- the primary key of the current commerce payment method group rel qualifiercommercePaymentMethodGroupRelId
- the commerce payment method group rel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce payment method group rel qualifier
- Throws:
NoSuchPaymentMethodGroupRelQualifierException
- if a commerce payment method group rel qualifier with the primary key could not be foundNoSuchPaymentMethodGroupRelQualifierException
-
removeByCommercePaymentMethodGroupRelId
public static void removeByCommercePaymentMethodGroupRelId(long commercePaymentMethodGroupRelId) Removes all the commerce payment method group rel qualifiers where commercePaymentMethodGroupRelId = ? from the database.- Parameters:
commercePaymentMethodGroupRelId
- the commerce payment method group rel ID
-
countByCommercePaymentMethodGroupRelId
public static int countByCommercePaymentMethodGroupRelId(long commercePaymentMethodGroupRelId) Returns the number of commerce payment method group rel qualifiers where commercePaymentMethodGroupRelId = ?.- Parameters:
commercePaymentMethodGroupRelId
- the commerce payment method group rel ID- Returns:
- the number of matching commerce payment method group rel qualifiers
-
findByC_C
public static List<CommercePaymentMethodGroupRelQualifier> findByC_C(long classNameId, long commercePaymentMethodGroupRelId) Returns all the commerce payment method group rel qualifiers where classNameId = ? and commercePaymentMethodGroupRelId = ?.- Parameters:
classNameId
- the class name IDcommercePaymentMethodGroupRelId
- the commerce payment method group rel ID- Returns:
- the matching commerce payment method group rel qualifiers
-
findByC_C
public static List<CommercePaymentMethodGroupRelQualifier> findByC_C(long classNameId, long commercePaymentMethodGroupRelId, int start, int end) Returns a range of all the commerce payment method group rel qualifiers where classNameId = ? and commercePaymentMethodGroupRelId = ?.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 fromCommercePaymentMethodGroupRelQualifierModelImpl
.- Parameters:
classNameId
- the class name IDcommercePaymentMethodGroupRelId
- the commerce payment method group rel IDstart
- the lower bound of the range of commerce payment method group rel qualifiersend
- the upper bound of the range of commerce payment method group rel qualifiers (not inclusive)- Returns:
- the range of matching commerce payment method group rel qualifiers
-
findByC_C
public static List<CommercePaymentMethodGroupRelQualifier> findByC_C(long classNameId, long commercePaymentMethodGroupRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) Returns an ordered range of all the commerce payment method group rel qualifiers where classNameId = ? and commercePaymentMethodGroupRelId = ?.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 fromCommercePaymentMethodGroupRelQualifierModelImpl
.- Parameters:
classNameId
- the class name IDcommercePaymentMethodGroupRelId
- the commerce payment method group rel IDstart
- the lower bound of the range of commerce payment method group rel qualifiersend
- the upper bound of the range of commerce payment method group rel qualifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce payment method group rel qualifiers
-
findByC_C
public static List<CommercePaymentMethodGroupRelQualifier> findByC_C(long classNameId, long commercePaymentMethodGroupRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce payment method group rel qualifiers where classNameId = ? and commercePaymentMethodGroupRelId = ?.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 fromCommercePaymentMethodGroupRelQualifierModelImpl
.- Parameters:
classNameId
- the class name IDcommercePaymentMethodGroupRelId
- the commerce payment method group rel IDstart
- the lower bound of the range of commerce payment method group rel qualifiersend
- the upper bound of the range of commerce payment method group rel qualifiers (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 rel qualifiers
-
findByC_C_First
public static CommercePaymentMethodGroupRelQualifier findByC_C_First(long classNameId, long commercePaymentMethodGroupRelId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) throws NoSuchPaymentMethodGroupRelQualifierException Returns the first commerce payment method group rel qualifier in the ordered set where classNameId = ? and commercePaymentMethodGroupRelId = ?.- Parameters:
classNameId
- the class name IDcommercePaymentMethodGroupRelId
- the commerce payment method group rel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce payment method group rel qualifier
- Throws:
NoSuchPaymentMethodGroupRelQualifierException
- if a matching commerce payment method group rel qualifier could not be foundNoSuchPaymentMethodGroupRelQualifierException
-
fetchByC_C_First
public static CommercePaymentMethodGroupRelQualifier fetchByC_C_First(long classNameId, long commercePaymentMethodGroupRelId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) Returns the first commerce payment method group rel qualifier in the ordered set where classNameId = ? and commercePaymentMethodGroupRelId = ?.- Parameters:
classNameId
- the class name IDcommercePaymentMethodGroupRelId
- the commerce payment method group rel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce payment method group rel qualifier, or
null
if a matching commerce payment method group rel qualifier could not be found
-
findByC_C_Last
public static CommercePaymentMethodGroupRelQualifier findByC_C_Last(long classNameId, long commercePaymentMethodGroupRelId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) throws NoSuchPaymentMethodGroupRelQualifierException Returns the last commerce payment method group rel qualifier in the ordered set where classNameId = ? and commercePaymentMethodGroupRelId = ?.- Parameters:
classNameId
- the class name IDcommercePaymentMethodGroupRelId
- the commerce payment method group rel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce payment method group rel qualifier
- Throws:
NoSuchPaymentMethodGroupRelQualifierException
- if a matching commerce payment method group rel qualifier could not be foundNoSuchPaymentMethodGroupRelQualifierException
-
fetchByC_C_Last
public static CommercePaymentMethodGroupRelQualifier fetchByC_C_Last(long classNameId, long commercePaymentMethodGroupRelId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) Returns the last commerce payment method group rel qualifier in the ordered set where classNameId = ? and commercePaymentMethodGroupRelId = ?.- Parameters:
classNameId
- the class name IDcommercePaymentMethodGroupRelId
- the commerce payment method group rel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce payment method group rel qualifier, or
null
if a matching commerce payment method group rel qualifier could not be found
-
findByC_C_PrevAndNext
public static CommercePaymentMethodGroupRelQualifier[] findByC_C_PrevAndNext(long commercePaymentMethodGroupRelQualifierId, long classNameId, long commercePaymentMethodGroupRelId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) throws NoSuchPaymentMethodGroupRelQualifierException Returns the commerce payment method group rel qualifiers before and after the current commerce payment method group rel qualifier in the ordered set where classNameId = ? and commercePaymentMethodGroupRelId = ?.- Parameters:
commercePaymentMethodGroupRelQualifierId
- the primary key of the current commerce payment method group rel qualifierclassNameId
- the class name IDcommercePaymentMethodGroupRelId
- the commerce payment method group rel IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce payment method group rel qualifier
- Throws:
NoSuchPaymentMethodGroupRelQualifierException
- if a commerce payment method group rel qualifier with the primary key could not be foundNoSuchPaymentMethodGroupRelQualifierException
-
removeByC_C
public static void removeByC_C(long classNameId, long commercePaymentMethodGroupRelId) Removes all the commerce payment method group rel qualifiers where classNameId = ? and commercePaymentMethodGroupRelId = ? from the database.- Parameters:
classNameId
- the class name IDcommercePaymentMethodGroupRelId
- the commerce payment method group rel ID
-
countByC_C
public static int countByC_C(long classNameId, long commercePaymentMethodGroupRelId) Returns the number of commerce payment method group rel qualifiers where classNameId = ? and commercePaymentMethodGroupRelId = ?.- Parameters:
classNameId
- the class name IDcommercePaymentMethodGroupRelId
- the commerce payment method group rel ID- Returns:
- the number of matching commerce payment method group rel qualifiers
-
findByC_C_C
public static CommercePaymentMethodGroupRelQualifier findByC_C_C(long classNameId, long classPK, long commercePaymentMethodGroupRelId) throws NoSuchPaymentMethodGroupRelQualifierException Returns the commerce payment method group rel qualifier where classNameId = ? and classPK = ? and commercePaymentMethodGroupRelId = ? or throws aNoSuchPaymentMethodGroupRelQualifierException
if it could not be found.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcommercePaymentMethodGroupRelId
- the commerce payment method group rel ID- Returns:
- the matching commerce payment method group rel qualifier
- Throws:
NoSuchPaymentMethodGroupRelQualifierException
- if a matching commerce payment method group rel qualifier could not be foundNoSuchPaymentMethodGroupRelQualifierException
-
fetchByC_C_C
public static CommercePaymentMethodGroupRelQualifier fetchByC_C_C(long classNameId, long classPK, long commercePaymentMethodGroupRelId) Returns the commerce payment method group rel qualifier where classNameId = ? and classPK = ? and commercePaymentMethodGroupRelId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcommercePaymentMethodGroupRelId
- the commerce payment method group rel ID- Returns:
- the matching commerce payment method group rel qualifier, or
null
if a matching commerce payment method group rel qualifier could not be found
-
fetchByC_C_C
public static CommercePaymentMethodGroupRelQualifier fetchByC_C_C(long classNameId, long classPK, long commercePaymentMethodGroupRelId, boolean useFinderCache) Returns the commerce payment method group rel qualifier where classNameId = ? and classPK = ? and commercePaymentMethodGroupRelId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcommercePaymentMethodGroupRelId
- the commerce payment method group rel IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching commerce payment method group rel qualifier, or
null
if a matching commerce payment method group rel qualifier could not be found
-
removeByC_C_C
public static CommercePaymentMethodGroupRelQualifier removeByC_C_C(long classNameId, long classPK, long commercePaymentMethodGroupRelId) throws NoSuchPaymentMethodGroupRelQualifierException Removes the commerce payment method group rel qualifier where classNameId = ? and classPK = ? and commercePaymentMethodGroupRelId = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcommercePaymentMethodGroupRelId
- the commerce payment method group rel ID- Returns:
- the commerce payment method group rel qualifier that was removed
- Throws:
NoSuchPaymentMethodGroupRelQualifierException
-
countByC_C_C
public static int countByC_C_C(long classNameId, long classPK, long commercePaymentMethodGroupRelId) Returns the number of commerce payment method group rel qualifiers where classNameId = ? and classPK = ? and commercePaymentMethodGroupRelId = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcommercePaymentMethodGroupRelId
- the commerce payment method group rel ID- Returns:
- the number of matching commerce payment method group rel qualifiers
-
cacheResult
public static void cacheResult(CommercePaymentMethodGroupRelQualifier commercePaymentMethodGroupRelQualifier) Caches the commerce payment method group rel qualifier in the entity cache if it is enabled.- Parameters:
commercePaymentMethodGroupRelQualifier
- the commerce payment method group rel qualifier
-
cacheResult
public static void cacheResult(List<CommercePaymentMethodGroupRelQualifier> commercePaymentMethodGroupRelQualifiers) Caches the commerce payment method group rel qualifiers in the entity cache if it is enabled.- Parameters:
commercePaymentMethodGroupRelQualifiers
- the commerce payment method group rel qualifiers
-
create
public static CommercePaymentMethodGroupRelQualifier create(long commercePaymentMethodGroupRelQualifierId) Creates a new commerce payment method group rel qualifier with the primary key. Does not add the commerce payment method group rel qualifier to the database.- Parameters:
commercePaymentMethodGroupRelQualifierId
- the primary key for the new commerce payment method group rel qualifier- Returns:
- the new commerce payment method group rel qualifier
-
remove
public static CommercePaymentMethodGroupRelQualifier remove(long commercePaymentMethodGroupRelQualifierId) throws NoSuchPaymentMethodGroupRelQualifierException Removes the commerce payment method group rel qualifier with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commercePaymentMethodGroupRelQualifierId
- the primary key of the commerce payment method group rel qualifier- Returns:
- the commerce payment method group rel qualifier that was removed
- Throws:
NoSuchPaymentMethodGroupRelQualifierException
- if a commerce payment method group rel qualifier with the primary key could not be foundNoSuchPaymentMethodGroupRelQualifierException
-
updateImpl
public static CommercePaymentMethodGroupRelQualifier updateImpl(CommercePaymentMethodGroupRelQualifier commercePaymentMethodGroupRelQualifier) -
findByPrimaryKey
public static CommercePaymentMethodGroupRelQualifier findByPrimaryKey(long commercePaymentMethodGroupRelQualifierId) throws NoSuchPaymentMethodGroupRelQualifierException Returns the commerce payment method group rel qualifier with the primary key or throws aNoSuchPaymentMethodGroupRelQualifierException
if it could not be found.- Parameters:
commercePaymentMethodGroupRelQualifierId
- the primary key of the commerce payment method group rel qualifier- Returns:
- the commerce payment method group rel qualifier
- Throws:
NoSuchPaymentMethodGroupRelQualifierException
- if a commerce payment method group rel qualifier with the primary key could not be foundNoSuchPaymentMethodGroupRelQualifierException
-
fetchByPrimaryKey
public static CommercePaymentMethodGroupRelQualifier fetchByPrimaryKey(long commercePaymentMethodGroupRelQualifierId) Returns the commerce payment method group rel qualifier with the primary key or returnsnull
if it could not be found.- Parameters:
commercePaymentMethodGroupRelQualifierId
- the primary key of the commerce payment method group rel qualifier- Returns:
- the commerce payment method group rel qualifier, or
null
if a commerce payment method group rel qualifier with the primary key could not be found
-
findAll
Returns all the commerce payment method group rel qualifiers.- Returns:
- the commerce payment method group rel qualifiers
-
findAll
Returns a range of all the commerce payment method group rel qualifiers.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 fromCommercePaymentMethodGroupRelQualifierModelImpl
.- Parameters:
start
- the lower bound of the range of commerce payment method group rel qualifiersend
- the upper bound of the range of commerce payment method group rel qualifiers (not inclusive)- Returns:
- the range of commerce payment method group rel qualifiers
-
findAll
public static List<CommercePaymentMethodGroupRelQualifier> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator) Returns an ordered range of all the commerce payment method group rel qualifiers.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 fromCommercePaymentMethodGroupRelQualifierModelImpl
.- Parameters:
start
- the lower bound of the range of commerce payment method group rel qualifiersend
- the upper bound of the range of commerce payment method group rel qualifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of commerce payment method group rel qualifiers
-
findAll
public static List<CommercePaymentMethodGroupRelQualifier> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRelQualifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce payment method group rel qualifiers.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 fromCommercePaymentMethodGroupRelQualifierModelImpl
.- Parameters:
start
- the lower bound of the range of commerce payment method group rel qualifiersend
- the upper bound of the range of commerce payment method group rel qualifiers (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 rel qualifiers
-
removeAll
public static void removeAll()Removes all the commerce payment method group rel qualifiers from the database. -
countAll
public static int countAll()Returns the number of commerce payment method group rel qualifiers.- Returns:
- the number of commerce payment method group rel qualifiers
-
getPersistence
-
setPersistence
-