Interface CommerceShippingFixedOptionRelPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceShippingFixedOptionRel>

@ProviderType public interface CommerceShippingFixedOptionRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceShippingFixedOptionRel>
The persistence interface for the commerce shipping fixed option rel service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByCommerceShippingFixedOptionId

      List<CommerceShippingFixedOptionRel> findByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce shipping fixed option rels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl.

      Parameters:
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
      start - the lower bound of the range of commerce shipping fixed option rels
      end - the upper bound of the range of commerce shipping fixed option rels (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 rels
    • findByCommerceShippingFixedOptionId_First

      CommerceShippingFixedOptionRel findByCommerceShippingFixedOptionId_First(long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) throws NoSuchShippingFixedOptionRelException
      Returns the first commerce shipping fixed option rel 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 rel
      Throws:
      NoSuchShippingFixedOptionRelException - if a matching commerce shipping fixed option rel could not be found
    • fetchByCommerceShippingFixedOptionId_First

      CommerceShippingFixedOptionRel fetchByCommerceShippingFixedOptionId_First(long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator)
      Returns the first commerce shipping fixed option rel 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 rel, or null if a matching commerce shipping fixed option rel could not be found
    • removeByCommerceShippingFixedOptionId

      void removeByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId)
      Removes all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ? from the database.
      Parameters:
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
    • countByCommerceShippingFixedOptionId

      int countByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId)
      Returns the number of commerce shipping fixed option rels where commerceShippingFixedOptionId = ?.
      Parameters:
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
      Returns:
      the number of matching commerce shipping fixed option rels
    • findByCommerceShippingMethodId

      List<CommerceShippingFixedOptionRel> findByCommerceShippingMethodId(long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce shipping fixed option rels where commerceShippingMethodId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl.

      Parameters:
      commerceShippingMethodId - the commerce shipping method ID
      start - the lower bound of the range of commerce shipping fixed option rels
      end - the upper bound of the range of commerce shipping fixed option rels (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 rels
    • findByCommerceShippingMethodId_First

      CommerceShippingFixedOptionRel findByCommerceShippingMethodId_First(long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) throws NoSuchShippingFixedOptionRelException
      Returns the first commerce shipping fixed option rel in the ordered set where commerceShippingMethodId = ?.
      Parameters:
      commerceShippingMethodId - the commerce shipping method ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce shipping fixed option rel
      Throws:
      NoSuchShippingFixedOptionRelException - if a matching commerce shipping fixed option rel could not be found
    • fetchByCommerceShippingMethodId_First

      CommerceShippingFixedOptionRel fetchByCommerceShippingMethodId_First(long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator)
      Returns the first commerce shipping fixed option rel in the ordered set where commerceShippingMethodId = ?.
      Parameters:
      commerceShippingMethodId - the commerce shipping method ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce shipping fixed option rel, or null if a matching commerce shipping fixed option rel could not be found
    • removeByCommerceShippingMethodId

      void removeByCommerceShippingMethodId(long commerceShippingMethodId)
      Removes all the commerce shipping fixed option rels where commerceShippingMethodId = ? from the database.
      Parameters:
      commerceShippingMethodId - the commerce shipping method ID
    • countByCommerceShippingMethodId

      int countByCommerceShippingMethodId(long commerceShippingMethodId)
      Returns the number of commerce shipping fixed option rels where commerceShippingMethodId = ?.
      Parameters:
      commerceShippingMethodId - the commerce shipping method ID
      Returns:
      the number of matching commerce shipping fixed option rels
    • findByC_C

      List<CommerceShippingFixedOptionRel> findByC_C(long commerceShippingFixedOptionId, long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ? and commerceShippingMethodId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl.

      Parameters:
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
      commerceShippingMethodId - the commerce shipping method ID
      start - the lower bound of the range of commerce shipping fixed option rels
      end - the upper bound of the range of commerce shipping fixed option rels (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 rels
    • findByC_C_First

      CommerceShippingFixedOptionRel findByC_C_First(long commerceShippingFixedOptionId, long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) throws NoSuchShippingFixedOptionRelException
      Returns the first commerce shipping fixed option rel in the ordered set where commerceShippingFixedOptionId = ? and commerceShippingMethodId = ?.
      Parameters:
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
      commerceShippingMethodId - the commerce shipping method ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce shipping fixed option rel
      Throws:
      NoSuchShippingFixedOptionRelException - if a matching commerce shipping fixed option rel could not be found
    • fetchByC_C_First

      CommerceShippingFixedOptionRel fetchByC_C_First(long commerceShippingFixedOptionId, long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator)
      Returns the first commerce shipping fixed option rel in the ordered set where commerceShippingFixedOptionId = ? and commerceShippingMethodId = ?.
      Parameters:
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
      commerceShippingMethodId - the commerce shipping method ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce shipping fixed option rel, or null if a matching commerce shipping fixed option rel could not be found
    • removeByC_C

      void removeByC_C(long commerceShippingFixedOptionId, long commerceShippingMethodId)
      Removes all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ? and commerceShippingMethodId = ? from the database.
      Parameters:
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
      commerceShippingMethodId - the commerce shipping method ID
    • countByC_C

      int countByC_C(long commerceShippingFixedOptionId, long commerceShippingMethodId)
      Returns the number of commerce shipping fixed option rels where commerceShippingFixedOptionId = ? and commerceShippingMethodId = ?.
      Parameters:
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
      commerceShippingMethodId - the commerce shipping method ID
      Returns:
      the number of matching commerce shipping fixed option rels
    • create

      CommerceShippingFixedOptionRel create(long commerceShippingFixedOptionRelId)
      Creates a new commerce shipping fixed option rel with the primary key. Does not add the commerce shipping fixed option rel to the database.
      Parameters:
      commerceShippingFixedOptionRelId - the primary key for the new commerce shipping fixed option rel
      Returns:
      the new commerce shipping fixed option rel
    • remove

      CommerceShippingFixedOptionRel remove(long commerceShippingFixedOptionRelId) throws NoSuchShippingFixedOptionRelException
      Removes the commerce shipping fixed option rel with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      commerceShippingFixedOptionRelId - the primary key of the commerce shipping fixed option rel
      Returns:
      the commerce shipping fixed option rel that was removed
      Throws:
      NoSuchShippingFixedOptionRelException - if a commerce shipping fixed option rel with the primary key could not be found
    • updateImpl

      CommerceShippingFixedOptionRel updateImpl(CommerceShippingFixedOptionRel commerceShippingFixedOptionRel)
    • findByPrimaryKey

      CommerceShippingFixedOptionRel findByPrimaryKey(long commerceShippingFixedOptionRelId) throws NoSuchShippingFixedOptionRelException
      Returns the commerce shipping fixed option rel with the primary key or throws a NoSuchShippingFixedOptionRelException if it could not be found.
      Parameters:
      commerceShippingFixedOptionRelId - the primary key of the commerce shipping fixed option rel
      Returns:
      the commerce shipping fixed option rel
      Throws:
      NoSuchShippingFixedOptionRelException - if a commerce shipping fixed option rel with the primary key could not be found
    • fetchByPrimaryKey

      CommerceShippingFixedOptionRel fetchByPrimaryKey(long commerceShippingFixedOptionRelId)
      Returns the commerce shipping fixed option rel with the primary key or returns null if it could not be found.
      Parameters:
      commerceShippingFixedOptionRelId - the primary key of the commerce shipping fixed option rel
      Returns:
      the commerce shipping fixed option rel, or null if a commerce shipping fixed option rel with the primary key could not be found
    • findByCommerceShippingFixedOptionId

      default List<CommerceShippingFixedOptionRel> findByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId)
      Returns all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ?.
      Parameters:
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
      Returns:
      the matching commerce shipping fixed option rels
    • findByCommerceShippingFixedOptionId

      default List<CommerceShippingFixedOptionRel> findByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId, int start, int end)
      Returns a range of all the commerce shipping fixed option rels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl.

      Parameters:
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
      start - the lower bound of the range of commerce shipping fixed option rels
      end - the upper bound of the range of commerce shipping fixed option rels (not inclusive)
      Returns:
      the range of matching commerce shipping fixed option rels
    • findByCommerceShippingFixedOptionId

      default List<CommerceShippingFixedOptionRel> findByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator)
      Returns an ordered range of all the commerce shipping fixed option rels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl.

      Parameters:
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
      start - the lower bound of the range of commerce shipping fixed option rels
      end - the upper bound of the range of commerce shipping fixed option rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce shipping fixed option rels
    • findByCommerceShippingMethodId

      default List<CommerceShippingFixedOptionRel> findByCommerceShippingMethodId(long commerceShippingMethodId)
      Returns all the commerce shipping fixed option rels where commerceShippingMethodId = ?.
      Parameters:
      commerceShippingMethodId - the commerce shipping method ID
      Returns:
      the matching commerce shipping fixed option rels
    • findByCommerceShippingMethodId

      default List<CommerceShippingFixedOptionRel> findByCommerceShippingMethodId(long commerceShippingMethodId, int start, int end)
      Returns a range of all the commerce shipping fixed option rels where commerceShippingMethodId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl.

      Parameters:
      commerceShippingMethodId - the commerce shipping method ID
      start - the lower bound of the range of commerce shipping fixed option rels
      end - the upper bound of the range of commerce shipping fixed option rels (not inclusive)
      Returns:
      the range of matching commerce shipping fixed option rels
    • findByCommerceShippingMethodId

      default List<CommerceShippingFixedOptionRel> findByCommerceShippingMethodId(long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator)
      Returns an ordered range of all the commerce shipping fixed option rels where commerceShippingMethodId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl.

      Parameters:
      commerceShippingMethodId - the commerce shipping method ID
      start - the lower bound of the range of commerce shipping fixed option rels
      end - the upper bound of the range of commerce shipping fixed option rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce shipping fixed option rels
    • findByC_C

      default List<CommerceShippingFixedOptionRel> findByC_C(long commerceShippingFixedOptionId, long commerceShippingMethodId)
      Returns all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ? and commerceShippingMethodId = ?.
      Parameters:
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
      commerceShippingMethodId - the commerce shipping method ID
      Returns:
      the matching commerce shipping fixed option rels
    • findByC_C

      default List<CommerceShippingFixedOptionRel> findByC_C(long commerceShippingFixedOptionId, long commerceShippingMethodId, int start, int end)
      Returns a range of all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ? and commerceShippingMethodId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl.

      Parameters:
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
      commerceShippingMethodId - the commerce shipping method ID
      start - the lower bound of the range of commerce shipping fixed option rels
      end - the upper bound of the range of commerce shipping fixed option rels (not inclusive)
      Returns:
      the range of matching commerce shipping fixed option rels
    • findByC_C

      default List<CommerceShippingFixedOptionRel> findByC_C(long commerceShippingFixedOptionId, long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator)
      Returns an ordered range of all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ? and commerceShippingMethodId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl.

      Parameters:
      commerceShippingFixedOptionId - the commerce shipping fixed option ID
      commerceShippingMethodId - the commerce shipping method ID
      start - the lower bound of the range of commerce shipping fixed option rels
      end - the upper bound of the range of commerce shipping fixed option rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce shipping fixed option rels