Class CommerceShippingFixedOptionQualifierUtil

java.lang.Object
com.liferay.commerce.shipping.engine.fixed.service.persistence.CommerceShippingFixedOptionQualifierUtil

public class CommerceShippingFixedOptionQualifierUtil extends Object
The persistence utility for the commerce shipping fixed option qualifier service. This utility wraps 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 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceShippingFixedOptionQualifierModelImpl.

      Parameters:
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
      start - the lower bound of the range of commerce shipping fixed option qualifiers
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceShippingFixedOptionQualifierModelImpl.

      Parameters:
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
      start - the lower bound of the range of commerce shipping fixed option qualifiers
      end - the upper bound of the range of commerce shipping fixed option qualifiers (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceShippingFixedOptionQualifierModelImpl.

      Parameters:
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
      start - the lower bound of the range of commerce shipping fixed option qualifiers
      end - the upper bound of the range of commerce shipping fixed option qualifiers (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce shipping fixed option qualifier
      Throws:
      NoSuchShippingFixedOptionQualifierException - if a matching commerce shipping fixed option qualifier could not be found
      NoSuchShippingFixedOptionQualifierException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce shipping fixed option qualifier
      Throws:
      NoSuchShippingFixedOptionQualifierException - if a matching commerce shipping fixed option qualifier could not be found
      NoSuchShippingFixedOptionQualifierException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 qualifier
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchShippingFixedOptionQualifierException
    • 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 ID
      commerceShippingFixedOptionId - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceShippingFixedOptionQualifierModelImpl.

      Parameters:
      classNameId - the class name ID
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
      start - the lower bound of the range of commerce shipping fixed option qualifiers
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceShippingFixedOptionQualifierModelImpl.

      Parameters:
      classNameId - the class name ID
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
      start - the lower bound of the range of commerce shipping fixed option qualifiers
      end - the upper bound of the range of commerce shipping fixed option qualifiers (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceShippingFixedOptionQualifierModelImpl.

      Parameters:
      classNameId - the class name ID
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
      start - the lower bound of the range of commerce shipping fixed option qualifiers
      end - the upper bound of the range of commerce shipping fixed option qualifiers (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce shipping fixed option qualifier
      Throws:
      NoSuchShippingFixedOptionQualifierException - if a matching commerce shipping fixed option qualifier could not be found
      NoSuchShippingFixedOptionQualifierException
    • 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 ID
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce shipping fixed option qualifier
      Throws:
      NoSuchShippingFixedOptionQualifierException - if a matching commerce shipping fixed option qualifier could not be found
      NoSuchShippingFixedOptionQualifierException
    • 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 ID
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 qualifier
      classNameId - the class name ID
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchShippingFixedOptionQualifierException
    • 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 ID
      commerceShippingFixedOptionId - 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 ID
      commerceShippingFixedOptionId - 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 a NoSuchShippingFixedOptionQualifierException if it could not be found.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      commerceShippingFixedOptionId - 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 found
      NoSuchShippingFixedOptionQualifierException
    • 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 returns null if it could not be found. Uses the finder cache.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      commerceShippingFixedOptionId - 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
      useFinderCache - 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 ID
      classPK - the class pk
      commerceShippingFixedOptionId - 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 ID
      classPK - the class pk
      commerceShippingFixedOptionId - 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 found
      NoSuchShippingFixedOptionQualifierException
    • 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 a NoSuchShippingFixedOptionQualifierException 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 found
      NoSuchShippingFixedOptionQualifierException
    • fetchByPrimaryKey

      public static CommerceShippingFixedOptionQualifier fetchByPrimaryKey(long commerceShippingFixedOptionQualifierId)
      Returns the commerce shipping fixed option qualifier with the primary key or returns null 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

      public static List<CommerceShippingFixedOptionQualifier> findAll()
      Returns all the commerce shipping fixed option qualifiers.
      Returns:
      the commerce shipping fixed option qualifiers
    • findAll

      public static List<CommerceShippingFixedOptionQualifier> findAll(int start, int end)
      Returns a range of all the commerce shipping fixed option qualifiers.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceShippingFixedOptionQualifierModelImpl.

      Parameters:
      start - the lower bound of the range of commerce shipping fixed option qualifiers
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceShippingFixedOptionQualifierModelImpl.

      Parameters:
      start - the lower bound of the range of commerce shipping fixed option qualifiers
      end - the upper bound of the range of commerce shipping fixed option qualifiers (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceShippingFixedOptionQualifierModelImpl.

      Parameters:
      start - the lower bound of the range of commerce shipping fixed option qualifiers
      end - the upper bound of the range of commerce shipping fixed option qualifiers (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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

      public static CommerceShippingFixedOptionQualifierPersistence getPersistence()
    • setPersistence

      public static void setPersistence(CommerceShippingFixedOptionQualifierPersistence persistence)