Class CommerceShippingFixedOptionQualifierUtil
com.liferay.commerce.shipping.engine.fixed.service.persistence.impl.CommerceShippingFixedOptionQualifierPersistenceImpl
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
(CommerceShippingFixedOptionQualifier commerceShippingFixedOptionQualifier) Caches the commerce shipping fixed option qualifier in the entity cache if it is enabled.static void
cacheResult
(List<CommerceShippingFixedOptionQualifier> commerceShippingFixedOptionQualifiers) Caches the commerce shipping fixed option qualifiers in the entity cache if it is enabled.static void
static void
clearCache
(CommerceShippingFixedOptionQualifier commerceShippingFixedOptionQualifier) static int
countAll()
Returns the number of commerce shipping fixed option qualifiers.static int
countByC_C
(long classNameId, long commerceShippingFixedOptionId) Returns the number of commerce shipping fixed option qualifiers where classNameId = ? and commerceShippingFixedOptionId = ?.static int
countByC_C_C
(long classNameId, long classPK, long commerceShippingFixedOptionId) Returns the number of commerce shipping fixed option qualifiers where classNameId = ? and classPK = ? and commerceShippingFixedOptionId = ?.static int
countByCommerceShippingFixedOptionId
(long commerceShippingFixedOptionId) Returns the number of commerce shipping fixed option qualifiers where commerceShippingFixedOptionId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) create
(long commerceShippingFixedOptionQualifierId) Creates a new commerce shipping fixed option qualifier with the primary key.fetchByC_C_C
(long classNameId, long classPK, long commerceShippingFixedOptionId) Returns the commerce shipping fixed option qualifier where classNameId = ? and classPK = ? and commerceShippingFixedOptionId = ? or returnsnull
if it could not be found.fetchByC_C_C
(long classNameId, long classPK, long commerceShippingFixedOptionId, boolean useFinderCache) Returns the commerce shipping fixed option qualifier where classNameId = ? and classPK = ? and commerceShippingFixedOptionId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByC_C_First
(long classNameId, long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) Returns the first commerce shipping fixed option qualifier in the ordered set where classNameId = ? and commerceShippingFixedOptionId = ?.fetchByC_C_Last
(long classNameId, long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) Returns the last commerce shipping fixed option qualifier in the ordered set where classNameId = ? and commerceShippingFixedOptionId = ?.fetchByCommerceShippingFixedOptionId_First
(long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) Returns the first commerce shipping fixed option qualifier in the ordered set where commerceShippingFixedOptionId = ?.fetchByCommerceShippingFixedOptionId_Last
(long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) Returns the last commerce shipping fixed option qualifier in the ordered set where commerceShippingFixedOptionId = ?.fetchByPrimaryKey
(long commerceShippingFixedOptionQualifierId) Returns the commerce shipping fixed option qualifier with the primary key or returnsnull
if it could not be found.fetchByPrimaryKeys
(Set<Serializable> primaryKeys) findAll()
Returns all the commerce shipping fixed option qualifiers.findAll
(int start, int end) Returns a range of all the commerce shipping fixed option qualifiers.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) Returns an ordered range of all the commerce shipping fixed option qualifiers.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipping fixed option qualifiers.findByC_C
(long classNameId, long commerceShippingFixedOptionId) Returns all the commerce shipping fixed option qualifiers where classNameId = ? and commerceShippingFixedOptionId = ?.findByC_C
(long classNameId, long commerceShippingFixedOptionId, int start, int end) Returns a range of all the commerce shipping fixed option qualifiers where classNameId = ? and commerceShippingFixedOptionId = ?.findByC_C
(long classNameId, long commerceShippingFixedOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) Returns an ordered range of all the commerce shipping fixed option qualifiers where classNameId = ? and commerceShippingFixedOptionId = ?.findByC_C
(long classNameId, long commerceShippingFixedOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipping fixed option qualifiers where classNameId = ? and commerceShippingFixedOptionId = ?.findByC_C_C
(long classNameId, long classPK, long commerceShippingFixedOptionId) Returns the commerce shipping fixed option qualifier where classNameId = ? and classPK = ? and commerceShippingFixedOptionId = ? or throws aNoSuchShippingFixedOptionQualifierException
if it could not be found.findByC_C_First
(long classNameId, long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) Returns the first commerce shipping fixed option qualifier in the ordered set where classNameId = ? and commerceShippingFixedOptionId = ?.findByC_C_Last
(long classNameId, long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) Returns the last commerce shipping fixed option qualifier in the ordered set where classNameId = ? and commerceShippingFixedOptionId = ?.static CommerceShippingFixedOptionQualifier[]
findByC_C_PrevAndNext
(long commerceShippingFixedOptionQualifierId, long classNameId, long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) Returns the commerce shipping fixed option qualifiers before and after the current commerce shipping fixed option qualifier in the ordered set where classNameId = ? and commerceShippingFixedOptionId = ?.findByCommerceShippingFixedOptionId
(long commerceShippingFixedOptionId) Returns all the commerce shipping fixed option qualifiers where commerceShippingFixedOptionId = ?.findByCommerceShippingFixedOptionId
(long commerceShippingFixedOptionId, int start, int end) Returns a range of all the commerce shipping fixed option qualifiers where commerceShippingFixedOptionId = ?.findByCommerceShippingFixedOptionId
(long commerceShippingFixedOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) Returns an ordered range of all the commerce shipping fixed option qualifiers where commerceShippingFixedOptionId = ?.findByCommerceShippingFixedOptionId
(long commerceShippingFixedOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipping fixed option qualifiers where commerceShippingFixedOptionId = ?.findByCommerceShippingFixedOptionId_First
(long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) Returns the first commerce shipping fixed option qualifier in the ordered set where commerceShippingFixedOptionId = ?.findByCommerceShippingFixedOptionId_Last
(long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) Returns the last commerce shipping fixed option qualifier in the ordered set where commerceShippingFixedOptionId = ?.static CommerceShippingFixedOptionQualifier[]
findByCommerceShippingFixedOptionId_PrevAndNext
(long commerceShippingFixedOptionQualifierId, long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) Returns the commerce shipping fixed option qualifiers before and after the current commerce shipping fixed option qualifier in the ordered set where commerceShippingFixedOptionId = ?.findByPrimaryKey
(long commerceShippingFixedOptionQualifierId) Returns the commerce shipping fixed option qualifier with the primary key or throws aNoSuchShippingFixedOptionQualifierException
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<CommerceShippingFixedOptionQualifier> orderByComparator) remove
(long commerceShippingFixedOptionQualifierId) Removes the commerce shipping fixed option qualifier with the primary key from the database.static void
Removes all the commerce shipping fixed option qualifiers from the database.static void
removeByC_C
(long classNameId, long commerceShippingFixedOptionId) Removes all the commerce shipping fixed option qualifiers where classNameId = ? and commerceShippingFixedOptionId = ? from the database.removeByC_C_C
(long classNameId, long classPK, long commerceShippingFixedOptionId) Removes the commerce shipping fixed option qualifier where classNameId = ? and classPK = ? and commerceShippingFixedOptionId = ? from the database.static void
removeByCommerceShippingFixedOptionId
(long commerceShippingFixedOptionId) Removes all the commerce shipping fixed option qualifiers where commerceShippingFixedOptionId = ? from the database.static void
update
(CommerceShippingFixedOptionQualifier commerceShippingFixedOptionQualifier) update
(CommerceShippingFixedOptionQualifier commerceShippingFixedOptionQualifier, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateImpl
(CommerceShippingFixedOptionQualifier commerceShippingFixedOptionQualifier)
-
Constructor Details
-
CommerceShippingFixedOptionQualifierUtil
public CommerceShippingFixedOptionQualifierUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
public static void clearCache(CommerceShippingFixedOptionQualifier commerceShippingFixedOptionQualifier) - 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,CommerceShippingFixedOptionQualifier> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CommerceShippingFixedOptionQualifier> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CommerceShippingFixedOptionQualifier> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CommerceShippingFixedOptionQualifier> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
public static CommerceShippingFixedOptionQualifier update(CommerceShippingFixedOptionQualifier commerceShippingFixedOptionQualifier) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CommerceShippingFixedOptionQualifier update(CommerceShippingFixedOptionQualifier commerceShippingFixedOptionQualifier, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByCommerceShippingFixedOptionId
public static List<CommerceShippingFixedOptionQualifier> findByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId) Returns all the commerce shipping fixed option qualifiers where commerceShippingFixedOptionId = ?.- Parameters:
commerceShippingFixedOptionId
- the commerce shipping fixed option ID- Returns:
- the matching commerce shipping fixed option qualifiers
-
findByCommerceShippingFixedOptionId
public static List<CommerceShippingFixedOptionQualifier> findByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId, int start, int end) Returns a range of all the commerce shipping fixed option qualifiers where commerceShippingFixedOptionId = ?.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 fromCommerceShippingFixedOptionQualifierModelImpl
.- Parameters:
commerceShippingFixedOptionId
- the commerce shipping fixed option IDstart
- the lower bound of the range of commerce shipping fixed option qualifiersend
- the upper bound of the range of commerce shipping fixed option qualifiers (not inclusive)- Returns:
- the range of matching commerce shipping fixed option qualifiers
-
findByCommerceShippingFixedOptionId
public static List<CommerceShippingFixedOptionQualifier> findByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) Returns an ordered range of all the commerce shipping fixed option qualifiers where commerceShippingFixedOptionId = ?.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 fromCommerceShippingFixedOptionQualifierModelImpl
.- Parameters:
commerceShippingFixedOptionId
- the commerce shipping fixed option IDstart
- the lower bound of the range of commerce shipping fixed option qualifiersend
- the upper bound of the range of commerce shipping fixed option qualifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce shipping fixed option qualifiers
-
findByCommerceShippingFixedOptionId
public static List<CommerceShippingFixedOptionQualifier> findByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipping fixed option qualifiers where commerceShippingFixedOptionId = ?.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 fromCommerceShippingFixedOptionQualifierModelImpl
.- Parameters:
commerceShippingFixedOptionId
- the commerce shipping fixed option IDstart
- the lower bound of the range of commerce shipping fixed option qualifiersend
- the upper bound of the range of commerce shipping fixed option 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 shipping fixed option qualifiers
-
findByCommerceShippingFixedOptionId_First
public static CommerceShippingFixedOptionQualifier findByCommerceShippingFixedOptionId_First(long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) throws NoSuchShippingFixedOptionQualifierException Returns the first commerce shipping fixed option qualifier in the ordered set where commerceShippingFixedOptionId = ?.- Parameters:
commerceShippingFixedOptionId
- the commerce shipping fixed option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipping fixed option qualifier
- Throws:
NoSuchShippingFixedOptionQualifierException
- if a matching commerce shipping fixed option qualifier could not be foundNoSuchShippingFixedOptionQualifierException
-
fetchByCommerceShippingFixedOptionId_First
public static CommerceShippingFixedOptionQualifier fetchByCommerceShippingFixedOptionId_First(long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) Returns the first commerce shipping fixed option qualifier in the ordered set where commerceShippingFixedOptionId = ?.- Parameters:
commerceShippingFixedOptionId
- the commerce shipping fixed option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipping fixed option qualifier, or
null
if a matching commerce shipping fixed option qualifier could not be found
-
findByCommerceShippingFixedOptionId_Last
public static CommerceShippingFixedOptionQualifier findByCommerceShippingFixedOptionId_Last(long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) throws NoSuchShippingFixedOptionQualifierException Returns the last commerce shipping fixed option qualifier in the ordered set where commerceShippingFixedOptionId = ?.- Parameters:
commerceShippingFixedOptionId
- the commerce shipping fixed option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipping fixed option qualifier
- Throws:
NoSuchShippingFixedOptionQualifierException
- if a matching commerce shipping fixed option qualifier could not be foundNoSuchShippingFixedOptionQualifierException
-
fetchByCommerceShippingFixedOptionId_Last
public static CommerceShippingFixedOptionQualifier fetchByCommerceShippingFixedOptionId_Last(long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) Returns the last commerce shipping fixed option qualifier in the ordered set where commerceShippingFixedOptionId = ?.- Parameters:
commerceShippingFixedOptionId
- the commerce shipping fixed option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipping fixed option qualifier, or
null
if a matching commerce shipping fixed option qualifier could not be found
-
findByCommerceShippingFixedOptionId_PrevAndNext
public static CommerceShippingFixedOptionQualifier[] findByCommerceShippingFixedOptionId_PrevAndNext(long commerceShippingFixedOptionQualifierId, long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) throws NoSuchShippingFixedOptionQualifierException Returns the commerce shipping fixed option qualifiers before and after the current commerce shipping fixed option qualifier in the ordered set where commerceShippingFixedOptionId = ?.- Parameters:
commerceShippingFixedOptionQualifierId
- the primary key of the current commerce shipping fixed option qualifiercommerceShippingFixedOptionId
- the commerce shipping fixed option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce shipping fixed option qualifier
- Throws:
NoSuchShippingFixedOptionQualifierException
- if a commerce shipping fixed option qualifier with the primary key could not be foundNoSuchShippingFixedOptionQualifierException
-
removeByCommerceShippingFixedOptionId
public static void removeByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId) Removes all the commerce shipping fixed option qualifiers where commerceShippingFixedOptionId = ? from the database.- Parameters:
commerceShippingFixedOptionId
- the commerce shipping fixed option ID
-
countByCommerceShippingFixedOptionId
public static int countByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId) Returns the number of commerce shipping fixed option qualifiers where commerceShippingFixedOptionId = ?.- Parameters:
commerceShippingFixedOptionId
- the commerce shipping fixed option ID- Returns:
- the number of matching commerce shipping fixed option qualifiers
-
findByC_C
public static List<CommerceShippingFixedOptionQualifier> findByC_C(long classNameId, long commerceShippingFixedOptionId) Returns all the commerce shipping fixed option qualifiers where classNameId = ? and commerceShippingFixedOptionId = ?.- Parameters:
classNameId
- the class name IDcommerceShippingFixedOptionId
- the commerce shipping fixed option ID- Returns:
- the matching commerce shipping fixed option qualifiers
-
findByC_C
public static List<CommerceShippingFixedOptionQualifier> findByC_C(long classNameId, long commerceShippingFixedOptionId, int start, int end) Returns a range of all the commerce shipping fixed option qualifiers where classNameId = ? and commerceShippingFixedOptionId = ?.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 fromCommerceShippingFixedOptionQualifierModelImpl
.- Parameters:
classNameId
- the class name IDcommerceShippingFixedOptionId
- the commerce shipping fixed option IDstart
- the lower bound of the range of commerce shipping fixed option qualifiersend
- the upper bound of the range of commerce shipping fixed option qualifiers (not inclusive)- Returns:
- the range of matching commerce shipping fixed option qualifiers
-
findByC_C
public static List<CommerceShippingFixedOptionQualifier> findByC_C(long classNameId, long commerceShippingFixedOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) Returns an ordered range of all the commerce shipping fixed option qualifiers where classNameId = ? and commerceShippingFixedOptionId = ?.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 fromCommerceShippingFixedOptionQualifierModelImpl
.- Parameters:
classNameId
- the class name IDcommerceShippingFixedOptionId
- the commerce shipping fixed option IDstart
- the lower bound of the range of commerce shipping fixed option qualifiersend
- the upper bound of the range of commerce shipping fixed option qualifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce shipping fixed option qualifiers
-
findByC_C
public static List<CommerceShippingFixedOptionQualifier> findByC_C(long classNameId, long commerceShippingFixedOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipping fixed option qualifiers where classNameId = ? and commerceShippingFixedOptionId = ?.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 fromCommerceShippingFixedOptionQualifierModelImpl
.- Parameters:
classNameId
- the class name IDcommerceShippingFixedOptionId
- the commerce shipping fixed option IDstart
- the lower bound of the range of commerce shipping fixed option qualifiersend
- the upper bound of the range of commerce shipping fixed option 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 shipping fixed option qualifiers
-
findByC_C_First
public static CommerceShippingFixedOptionQualifier findByC_C_First(long classNameId, long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) throws NoSuchShippingFixedOptionQualifierException Returns the first commerce shipping fixed option qualifier in the ordered set where classNameId = ? and commerceShippingFixedOptionId = ?.- Parameters:
classNameId
- the class name IDcommerceShippingFixedOptionId
- the commerce shipping fixed option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipping fixed option qualifier
- Throws:
NoSuchShippingFixedOptionQualifierException
- if a matching commerce shipping fixed option qualifier could not be foundNoSuchShippingFixedOptionQualifierException
-
fetchByC_C_First
public static CommerceShippingFixedOptionQualifier fetchByC_C_First(long classNameId, long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) Returns the first commerce shipping fixed option qualifier in the ordered set where classNameId = ? and commerceShippingFixedOptionId = ?.- Parameters:
classNameId
- the class name IDcommerceShippingFixedOptionId
- the commerce shipping fixed option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipping fixed option qualifier, or
null
if a matching commerce shipping fixed option qualifier could not be found
-
findByC_C_Last
public static CommerceShippingFixedOptionQualifier findByC_C_Last(long classNameId, long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) throws NoSuchShippingFixedOptionQualifierException Returns the last commerce shipping fixed option qualifier in the ordered set where classNameId = ? and commerceShippingFixedOptionId = ?.- Parameters:
classNameId
- the class name IDcommerceShippingFixedOptionId
- the commerce shipping fixed option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipping fixed option qualifier
- Throws:
NoSuchShippingFixedOptionQualifierException
- if a matching commerce shipping fixed option qualifier could not be foundNoSuchShippingFixedOptionQualifierException
-
fetchByC_C_Last
public static CommerceShippingFixedOptionQualifier fetchByC_C_Last(long classNameId, long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) Returns the last commerce shipping fixed option qualifier in the ordered set where classNameId = ? and commerceShippingFixedOptionId = ?.- Parameters:
classNameId
- the class name IDcommerceShippingFixedOptionId
- the commerce shipping fixed option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipping fixed option qualifier, or
null
if a matching commerce shipping fixed option qualifier could not be found
-
findByC_C_PrevAndNext
public static CommerceShippingFixedOptionQualifier[] findByC_C_PrevAndNext(long commerceShippingFixedOptionQualifierId, long classNameId, long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) throws NoSuchShippingFixedOptionQualifierException Returns the commerce shipping fixed option qualifiers before and after the current commerce shipping fixed option qualifier in the ordered set where classNameId = ? and commerceShippingFixedOptionId = ?.- Parameters:
commerceShippingFixedOptionQualifierId
- the primary key of the current commerce shipping fixed option qualifierclassNameId
- the class name IDcommerceShippingFixedOptionId
- the commerce shipping fixed option IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce shipping fixed option qualifier
- Throws:
NoSuchShippingFixedOptionQualifierException
- if a commerce shipping fixed option qualifier with the primary key could not be foundNoSuchShippingFixedOptionQualifierException
-
removeByC_C
public static void removeByC_C(long classNameId, long commerceShippingFixedOptionId) Removes all the commerce shipping fixed option qualifiers where classNameId = ? and commerceShippingFixedOptionId = ? from the database.- Parameters:
classNameId
- the class name IDcommerceShippingFixedOptionId
- the commerce shipping fixed option ID
-
countByC_C
public static int countByC_C(long classNameId, long commerceShippingFixedOptionId) Returns the number of commerce shipping fixed option qualifiers where classNameId = ? and commerceShippingFixedOptionId = ?.- Parameters:
classNameId
- the class name IDcommerceShippingFixedOptionId
- the commerce shipping fixed option ID- Returns:
- the number of matching commerce shipping fixed option qualifiers
-
findByC_C_C
public static CommerceShippingFixedOptionQualifier findByC_C_C(long classNameId, long classPK, long commerceShippingFixedOptionId) throws NoSuchShippingFixedOptionQualifierException Returns the commerce shipping fixed option qualifier where classNameId = ? and classPK = ? and commerceShippingFixedOptionId = ? or throws aNoSuchShippingFixedOptionQualifierException
if it could not be found.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcommerceShippingFixedOptionId
- the commerce shipping fixed option ID- Returns:
- the matching commerce shipping fixed option qualifier
- Throws:
NoSuchShippingFixedOptionQualifierException
- if a matching commerce shipping fixed option qualifier could not be foundNoSuchShippingFixedOptionQualifierException
-
fetchByC_C_C
public static CommerceShippingFixedOptionQualifier fetchByC_C_C(long classNameId, long classPK, long commerceShippingFixedOptionId) Returns the commerce shipping fixed option qualifier where classNameId = ? and classPK = ? and commerceShippingFixedOptionId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcommerceShippingFixedOptionId
- the commerce shipping fixed option ID- Returns:
- the matching commerce shipping fixed option qualifier, or
null
if a matching commerce shipping fixed option qualifier could not be found
-
fetchByC_C_C
public static CommerceShippingFixedOptionQualifier fetchByC_C_C(long classNameId, long classPK, long commerceShippingFixedOptionId, boolean useFinderCache) Returns the commerce shipping fixed option qualifier where classNameId = ? and classPK = ? and commerceShippingFixedOptionId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcommerceShippingFixedOptionId
- the commerce shipping fixed option IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching commerce shipping fixed option qualifier, or
null
if a matching commerce shipping fixed option qualifier could not be found
-
removeByC_C_C
public static CommerceShippingFixedOptionQualifier removeByC_C_C(long classNameId, long classPK, long commerceShippingFixedOptionId) throws NoSuchShippingFixedOptionQualifierException Removes the commerce shipping fixed option qualifier where classNameId = ? and classPK = ? and commerceShippingFixedOptionId = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcommerceShippingFixedOptionId
- the commerce shipping fixed option ID- Returns:
- the commerce shipping fixed option qualifier that was removed
- Throws:
NoSuchShippingFixedOptionQualifierException
-
countByC_C_C
public static int countByC_C_C(long classNameId, long classPK, long commerceShippingFixedOptionId) Returns the number of commerce shipping fixed option qualifiers where classNameId = ? and classPK = ? and commerceShippingFixedOptionId = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcommerceShippingFixedOptionId
- the commerce shipping fixed option ID- Returns:
- the number of matching commerce shipping fixed option qualifiers
-
cacheResult
public static void cacheResult(CommerceShippingFixedOptionQualifier commerceShippingFixedOptionQualifier) Caches the commerce shipping fixed option qualifier in the entity cache if it is enabled.- Parameters:
commerceShippingFixedOptionQualifier
- the commerce shipping fixed option qualifier
-
cacheResult
public static void cacheResult(List<CommerceShippingFixedOptionQualifier> commerceShippingFixedOptionQualifiers) Caches the commerce shipping fixed option qualifiers in the entity cache if it is enabled.- Parameters:
commerceShippingFixedOptionQualifiers
- the commerce shipping fixed option qualifiers
-
create
public static CommerceShippingFixedOptionQualifier create(long commerceShippingFixedOptionQualifierId) Creates a new commerce shipping fixed option qualifier with the primary key. Does not add the commerce shipping fixed option qualifier to the database.- Parameters:
commerceShippingFixedOptionQualifierId
- the primary key for the new commerce shipping fixed option qualifier- Returns:
- the new commerce shipping fixed option qualifier
-
remove
public static CommerceShippingFixedOptionQualifier remove(long commerceShippingFixedOptionQualifierId) throws NoSuchShippingFixedOptionQualifierException Removes the commerce shipping fixed option qualifier with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceShippingFixedOptionQualifierId
- the primary key of the commerce shipping fixed option qualifier- Returns:
- the commerce shipping fixed option qualifier that was removed
- Throws:
NoSuchShippingFixedOptionQualifierException
- if a commerce shipping fixed option qualifier with the primary key could not be foundNoSuchShippingFixedOptionQualifierException
-
updateImpl
public static CommerceShippingFixedOptionQualifier updateImpl(CommerceShippingFixedOptionQualifier commerceShippingFixedOptionQualifier) -
findByPrimaryKey
public static CommerceShippingFixedOptionQualifier findByPrimaryKey(long commerceShippingFixedOptionQualifierId) throws NoSuchShippingFixedOptionQualifierException Returns the commerce shipping fixed option qualifier with the primary key or throws aNoSuchShippingFixedOptionQualifierException
if it could not be found.- Parameters:
commerceShippingFixedOptionQualifierId
- the primary key of the commerce shipping fixed option qualifier- Returns:
- the commerce shipping fixed option qualifier
- Throws:
NoSuchShippingFixedOptionQualifierException
- if a commerce shipping fixed option qualifier with the primary key could not be foundNoSuchShippingFixedOptionQualifierException
-
fetchByPrimaryKey
public static CommerceShippingFixedOptionQualifier fetchByPrimaryKey(long commerceShippingFixedOptionQualifierId) Returns the commerce shipping fixed option qualifier with the primary key or returnsnull
if it could not be found.- Parameters:
commerceShippingFixedOptionQualifierId
- the primary key of the commerce shipping fixed option qualifier- Returns:
- the commerce shipping fixed option qualifier, or
null
if a commerce shipping fixed option qualifier with the primary key could not be found
-
findAll
Returns all the commerce shipping fixed option qualifiers.- Returns:
- the commerce shipping fixed option qualifiers
-
findAll
Returns a range of all the commerce shipping fixed option 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 fromCommerceShippingFixedOptionQualifierModelImpl
.- Parameters:
start
- the lower bound of the range of commerce shipping fixed option qualifiersend
- the upper bound of the range of commerce shipping fixed option qualifiers (not inclusive)- Returns:
- the range of commerce shipping fixed option qualifiers
-
findAll
public static List<CommerceShippingFixedOptionQualifier> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator) Returns an ordered range of all the commerce shipping fixed option 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 fromCommerceShippingFixedOptionQualifierModelImpl
.- Parameters:
start
- the lower bound of the range of commerce shipping fixed option qualifiersend
- the upper bound of the range of commerce shipping fixed option qualifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of commerce shipping fixed option qualifiers
-
findAll
public static List<CommerceShippingFixedOptionQualifier> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionQualifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipping fixed option 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 fromCommerceShippingFixedOptionQualifierModelImpl
.- Parameters:
start
- the lower bound of the range of commerce shipping fixed option qualifiersend
- the upper bound of the range of commerce shipping fixed option 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 shipping fixed option qualifiers
-
removeAll
public static void removeAll()Removes all the commerce shipping fixed option qualifiers from the database. -
countAll
public static int countAll()Returns the number of commerce shipping fixed option qualifiers.- Returns:
- the number of commerce shipping fixed option qualifiers
-
getPersistence
-
setPersistence
-