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

    • findByCommerceShippingMethodId

      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

      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 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 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

      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 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 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
    • 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 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 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
    • findByCommerceShippingMethodId_Last

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

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

      CommerceShippingFixedOptionRel[] findByCommerceShippingMethodId_PrevAndNext(long commerceShippingFixedOptionRelId, long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) throws NoSuchShippingFixedOptionRelException
      Returns the commerce shipping fixed option rels before and after the current commerce shipping fixed option rel in the ordered set where commerceShippingMethodId = ?.
      Parameters:
      commerceShippingFixedOptionRelId - the primary key of the current commerce shipping fixed option rel
      commerceShippingMethodId - the commerce shipping method ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce shipping fixed option rel
      Throws:
      NoSuchShippingFixedOptionRelException - if a commerce shipping fixed option rel with the primary key 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
    • findByCommerceShippingFixedOptionId

      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

      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 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 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

      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 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 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
    • 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 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 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
    • findByCommerceShippingFixedOptionId_Last

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

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

      CommerceShippingFixedOptionRel[] findByCommerceShippingFixedOptionId_PrevAndNext(long commerceShippingFixedOptionRelId, long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) throws NoSuchShippingFixedOptionRelException
      Returns the commerce shipping fixed option rels before and after the current commerce shipping fixed option rel in the ordered set where commerceShippingFixedOptionId = ?.
      Parameters:
      commerceShippingFixedOptionRelId - the primary key of the current commerce shipping fixed option rel
      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 rel
      Throws:
      NoSuchShippingFixedOptionRelException - if a commerce shipping fixed option rel with the primary key 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
    • cacheResult

      void cacheResult(CommerceShippingFixedOptionRel commerceShippingFixedOptionRel)
      Caches the commerce shipping fixed option rel in the entity cache if it is enabled.
      Parameters:
      commerceShippingFixedOptionRel - the commerce shipping fixed option rel
    • cacheResult

      void cacheResult(List<CommerceShippingFixedOptionRel> commerceShippingFixedOptionRels)
      Caches the commerce shipping fixed option rels in the entity cache if it is enabled.
      Parameters:
      commerceShippingFixedOptionRels - the 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
    • findAll

      Returns all the commerce shipping fixed option rels.
      Returns:
      the commerce shipping fixed option rels
    • findAll

      List<CommerceShippingFixedOptionRel> findAll(int start, int end)
      Returns a range of all the commerce shipping fixed option rels.

      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 CommerceShippingFixedOptionRelModelImpl.

      Parameters:
      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 commerce shipping fixed option rels
    • findAll

      List<CommerceShippingFixedOptionRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator)
      Returns an ordered range of all the commerce shipping fixed option rels.

      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 CommerceShippingFixedOptionRelModelImpl.

      Parameters:
      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 commerce shipping fixed option rels
    • findAll

      List<CommerceShippingFixedOptionRel> findAll(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.

      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 CommerceShippingFixedOptionRelModelImpl.

      Parameters:
      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 commerce shipping fixed option rels
    • removeAll

      void removeAll()
      Removes all the commerce shipping fixed option rels from the database.
    • countAll

      int countAll()
      Returns the number of commerce shipping fixed option rels.
      Returns:
      the number of commerce shipping fixed option rels