Interface CommerceInventoryWarehouseRelPersistence

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

@ProviderType public interface CommerceInventoryWarehouseRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceInventoryWarehouseRel>
The persistence interface for the commerce inventory warehouse rel service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByC_C(long classNameId, long commerceInventoryWarehouseId)
    Returns the number of commerce inventory warehouse rels where classNameId = ? and commerceInventoryWarehouseId = ?.
    int
    countByC_C_CIWI(long classNameId, long classPK, long commerceInventoryWarehouseId)
    Returns the number of commerce inventory warehouse rels where classNameId = ? and classPK = ? and commerceInventoryWarehouseId = ?.
    int
    countByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
    Returns the number of commerce inventory warehouse rels where commerceInventoryWarehouseId = ?.
    create(long commerceInventoryWarehouseRelId)
    Creates a new commerce inventory warehouse rel with the primary key.
    fetchByC_C_CIWI(long classNameId, long classPK, long commerceInventoryWarehouseId)
    Returns the commerce inventory warehouse rel where classNameId = ? and classPK = ? and commerceInventoryWarehouseId = ? or returns null if it could not be found.
    fetchByC_C_CIWI(long classNameId, long classPK, long commerceInventoryWarehouseId, boolean useFinderCache)
    Returns the commerce inventory warehouse rel where classNameId = ? and classPK = ? and commerceInventoryWarehouseId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByC_C_First(long classNameId, long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator)
    Returns the first commerce inventory warehouse rel in the ordered set where classNameId = ? and commerceInventoryWarehouseId = ?.
    fetchByCommerceInventoryWarehouseId_First(long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator)
    Returns the first commerce inventory warehouse rel in the ordered set where commerceInventoryWarehouseId = ?.
    fetchByPrimaryKey(long commerceInventoryWarehouseRelId)
    Returns the commerce inventory warehouse rel with the primary key or returns null if it could not be found.
    findByC_C(long classNameId, long commerceInventoryWarehouseId)
    Returns all the commerce inventory warehouse rels where classNameId = ? and commerceInventoryWarehouseId = ?.
    findByC_C(long classNameId, long commerceInventoryWarehouseId, int start, int end)
    Returns a range of all the commerce inventory warehouse rels where classNameId = ? and commerceInventoryWarehouseId = ?.
    findByC_C(long classNameId, long commerceInventoryWarehouseId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator)
    Returns an ordered range of all the commerce inventory warehouse rels where classNameId = ? and commerceInventoryWarehouseId = ?.
    findByC_C(long classNameId, long commerceInventoryWarehouseId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce inventory warehouse rels where classNameId = ? and commerceInventoryWarehouseId = ?.
    findByC_C_CIWI(long classNameId, long classPK, long commerceInventoryWarehouseId)
    Returns the commerce inventory warehouse rel where classNameId = ? and classPK = ? and commerceInventoryWarehouseId = ? or throws a NoSuchInventoryWarehouseRelException if it could not be found.
    findByC_C_First(long classNameId, long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator)
    Returns the first commerce inventory warehouse rel in the ordered set where classNameId = ? and commerceInventoryWarehouseId = ?.
    findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
    Returns all the commerce inventory warehouse rels where commerceInventoryWarehouseId = ?.
    findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId, int start, int end)
    Returns a range of all the commerce inventory warehouse rels where commerceInventoryWarehouseId = ?.
    findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator)
    Returns an ordered range of all the commerce inventory warehouse rels where commerceInventoryWarehouseId = ?.
    findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce inventory warehouse rels where commerceInventoryWarehouseId = ?.
    findByCommerceInventoryWarehouseId_First(long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator)
    Returns the first commerce inventory warehouse rel in the ordered set where commerceInventoryWarehouseId = ?.
    findByPrimaryKey(long commerceInventoryWarehouseRelId)
    Returns the commerce inventory warehouse rel with the primary key or throws a NoSuchInventoryWarehouseRelException if it could not be found.
    remove(long commerceInventoryWarehouseRelId)
    Removes the commerce inventory warehouse rel with the primary key from the database.
    void
    removeByC_C(long classNameId, long commerceInventoryWarehouseId)
    Removes all the commerce inventory warehouse rels where classNameId = ? and commerceInventoryWarehouseId = ? from the database.
    removeByC_C_CIWI(long classNameId, long classPK, long commerceInventoryWarehouseId)
    Removes the commerce inventory warehouse rel where classNameId = ? and classPK = ? and commerceInventoryWarehouseId = ? from the database.
    void
    removeByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
    Removes all the commerce inventory warehouse rels where commerceInventoryWarehouseId = ? from the database.
    updateImpl(CommerceInventoryWarehouseRel commerceInventoryWarehouseRel)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update
  • Method Details

    • findByCommerceInventoryWarehouseId

      List<CommerceInventoryWarehouseRel> findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce inventory warehouse rels where commerceInventoryWarehouseId = ?.

      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.inventory.model.impl.CommerceInventoryWarehouseRelModelImpl.

      Parameters:
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      start - the lower bound of the range of commerce inventory warehouse rels
      end - the upper bound of the range of commerce inventory warehouse 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 inventory warehouse rels
    • findByCommerceInventoryWarehouseId_First

      CommerceInventoryWarehouseRel findByCommerceInventoryWarehouseId_First(long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator) throws NoSuchInventoryWarehouseRelException
      Returns the first commerce inventory warehouse rel in the ordered set where commerceInventoryWarehouseId = ?.
      Parameters:
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce inventory warehouse rel
      Throws:
      NoSuchInventoryWarehouseRelException - if a matching commerce inventory warehouse rel could not be found
    • fetchByCommerceInventoryWarehouseId_First

      CommerceInventoryWarehouseRel fetchByCommerceInventoryWarehouseId_First(long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator)
      Returns the first commerce inventory warehouse rel in the ordered set where commerceInventoryWarehouseId = ?.
      Parameters:
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce inventory warehouse rel, or null if a matching commerce inventory warehouse rel could not be found
    • removeByCommerceInventoryWarehouseId

      void removeByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
      Removes all the commerce inventory warehouse rels where commerceInventoryWarehouseId = ? from the database.
      Parameters:
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
    • countByCommerceInventoryWarehouseId

      int countByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
      Returns the number of commerce inventory warehouse rels where commerceInventoryWarehouseId = ?.
      Parameters:
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      Returns:
      the number of matching commerce inventory warehouse rels
    • findByC_C

      List<CommerceInventoryWarehouseRel> findByC_C(long classNameId, long commerceInventoryWarehouseId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce inventory warehouse rels where classNameId = ? and commerceInventoryWarehouseId = ?.

      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.inventory.model.impl.CommerceInventoryWarehouseRelModelImpl.

      Parameters:
      classNameId - the class name ID
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      start - the lower bound of the range of commerce inventory warehouse rels
      end - the upper bound of the range of commerce inventory warehouse 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 inventory warehouse rels
    • findByC_C_First

      CommerceInventoryWarehouseRel findByC_C_First(long classNameId, long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator) throws NoSuchInventoryWarehouseRelException
      Returns the first commerce inventory warehouse rel in the ordered set where classNameId = ? and commerceInventoryWarehouseId = ?.
      Parameters:
      classNameId - the class name ID
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce inventory warehouse rel
      Throws:
      NoSuchInventoryWarehouseRelException - if a matching commerce inventory warehouse rel could not be found
    • fetchByC_C_First

      CommerceInventoryWarehouseRel fetchByC_C_First(long classNameId, long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator)
      Returns the first commerce inventory warehouse rel in the ordered set where classNameId = ? and commerceInventoryWarehouseId = ?.
      Parameters:
      classNameId - the class name ID
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce inventory warehouse rel, or null if a matching commerce inventory warehouse rel could not be found
    • removeByC_C

      void removeByC_C(long classNameId, long commerceInventoryWarehouseId)
      Removes all the commerce inventory warehouse rels where classNameId = ? and commerceInventoryWarehouseId = ? from the database.
      Parameters:
      classNameId - the class name ID
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
    • countByC_C

      int countByC_C(long classNameId, long commerceInventoryWarehouseId)
      Returns the number of commerce inventory warehouse rels where classNameId = ? and commerceInventoryWarehouseId = ?.
      Parameters:
      classNameId - the class name ID
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      Returns:
      the number of matching commerce inventory warehouse rels
    • findByC_C_CIWI

      CommerceInventoryWarehouseRel findByC_C_CIWI(long classNameId, long classPK, long commerceInventoryWarehouseId) throws NoSuchInventoryWarehouseRelException
      Returns the commerce inventory warehouse rel where classNameId = ? and classPK = ? and commerceInventoryWarehouseId = ? or throws a NoSuchInventoryWarehouseRelException if it could not be found.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      Returns:
      the matching commerce inventory warehouse rel
      Throws:
      NoSuchInventoryWarehouseRelException - if a matching commerce inventory warehouse rel could not be found
    • fetchByC_C_CIWI

      CommerceInventoryWarehouseRel fetchByC_C_CIWI(long classNameId, long classPK, long commerceInventoryWarehouseId, boolean useFinderCache)
      Returns the commerce inventory warehouse rel where classNameId = ? and classPK = ? and commerceInventoryWarehouseId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching commerce inventory warehouse rel, or null if a matching commerce inventory warehouse rel could not be found
    • removeByC_C_CIWI

      CommerceInventoryWarehouseRel removeByC_C_CIWI(long classNameId, long classPK, long commerceInventoryWarehouseId) throws NoSuchInventoryWarehouseRelException
      Removes the commerce inventory warehouse rel where classNameId = ? and classPK = ? and commerceInventoryWarehouseId = ? from the database.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      Returns:
      the commerce inventory warehouse rel that was removed
      Throws:
      NoSuchInventoryWarehouseRelException
    • countByC_C_CIWI

      int countByC_C_CIWI(long classNameId, long classPK, long commerceInventoryWarehouseId)
      Returns the number of commerce inventory warehouse rels where classNameId = ? and classPK = ? and commerceInventoryWarehouseId = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      Returns:
      the number of matching commerce inventory warehouse rels
    • create

      CommerceInventoryWarehouseRel create(long commerceInventoryWarehouseRelId)
      Creates a new commerce inventory warehouse rel with the primary key. Does not add the commerce inventory warehouse rel to the database.
      Parameters:
      commerceInventoryWarehouseRelId - the primary key for the new commerce inventory warehouse rel
      Returns:
      the new commerce inventory warehouse rel
    • remove

      CommerceInventoryWarehouseRel remove(long commerceInventoryWarehouseRelId) throws NoSuchInventoryWarehouseRelException
      Removes the commerce inventory warehouse rel with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      commerceInventoryWarehouseRelId - the primary key of the commerce inventory warehouse rel
      Returns:
      the commerce inventory warehouse rel that was removed
      Throws:
      NoSuchInventoryWarehouseRelException - if a commerce inventory warehouse rel with the primary key could not be found
    • updateImpl

      CommerceInventoryWarehouseRel updateImpl(CommerceInventoryWarehouseRel commerceInventoryWarehouseRel)
    • findByPrimaryKey

      CommerceInventoryWarehouseRel findByPrimaryKey(long commerceInventoryWarehouseRelId) throws NoSuchInventoryWarehouseRelException
      Returns the commerce inventory warehouse rel with the primary key or throws a NoSuchInventoryWarehouseRelException if it could not be found.
      Parameters:
      commerceInventoryWarehouseRelId - the primary key of the commerce inventory warehouse rel
      Returns:
      the commerce inventory warehouse rel
      Throws:
      NoSuchInventoryWarehouseRelException - if a commerce inventory warehouse rel with the primary key could not be found
    • fetchByPrimaryKey

      CommerceInventoryWarehouseRel fetchByPrimaryKey(long commerceInventoryWarehouseRelId)
      Returns the commerce inventory warehouse rel with the primary key or returns null if it could not be found.
      Parameters:
      commerceInventoryWarehouseRelId - the primary key of the commerce inventory warehouse rel
      Returns:
      the commerce inventory warehouse rel, or null if a commerce inventory warehouse rel with the primary key could not be found
    • fetchByC_C_CIWI

      default CommerceInventoryWarehouseRel fetchByC_C_CIWI(long classNameId, long classPK, long commerceInventoryWarehouseId)
      Returns the commerce inventory warehouse rel where classNameId = ? and classPK = ? and commerceInventoryWarehouseId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      Returns:
      the matching commerce inventory warehouse rel, or null if a matching commerce inventory warehouse rel could not be found
    • findByCommerceInventoryWarehouseId

      default List<CommerceInventoryWarehouseRel> findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
      Returns all the commerce inventory warehouse rels where commerceInventoryWarehouseId = ?.
      Parameters:
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      Returns:
      the matching commerce inventory warehouse rels
    • findByCommerceInventoryWarehouseId

      default List<CommerceInventoryWarehouseRel> findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId, int start, int end)
      Returns a range of all the commerce inventory warehouse rels where commerceInventoryWarehouseId = ?.

      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.inventory.model.impl.CommerceInventoryWarehouseRelModelImpl.

      Parameters:
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      start - the lower bound of the range of commerce inventory warehouse rels
      end - the upper bound of the range of commerce inventory warehouse rels (not inclusive)
      Returns:
      the range of matching commerce inventory warehouse rels
    • findByCommerceInventoryWarehouseId

      default List<CommerceInventoryWarehouseRel> findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator)
      Returns an ordered range of all the commerce inventory warehouse rels where commerceInventoryWarehouseId = ?.

      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.inventory.model.impl.CommerceInventoryWarehouseRelModelImpl.

      Parameters:
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      start - the lower bound of the range of commerce inventory warehouse rels
      end - the upper bound of the range of commerce inventory warehouse rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce inventory warehouse rels
    • findByC_C

      default List<CommerceInventoryWarehouseRel> findByC_C(long classNameId, long commerceInventoryWarehouseId)
      Returns all the commerce inventory warehouse rels where classNameId = ? and commerceInventoryWarehouseId = ?.
      Parameters:
      classNameId - the class name ID
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      Returns:
      the matching commerce inventory warehouse rels
    • findByC_C

      default List<CommerceInventoryWarehouseRel> findByC_C(long classNameId, long commerceInventoryWarehouseId, int start, int end)
      Returns a range of all the commerce inventory warehouse rels where classNameId = ? and commerceInventoryWarehouseId = ?.

      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.inventory.model.impl.CommerceInventoryWarehouseRelModelImpl.

      Parameters:
      classNameId - the class name ID
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      start - the lower bound of the range of commerce inventory warehouse rels
      end - the upper bound of the range of commerce inventory warehouse rels (not inclusive)
      Returns:
      the range of matching commerce inventory warehouse rels
    • findByC_C

      default List<CommerceInventoryWarehouseRel> findByC_C(long classNameId, long commerceInventoryWarehouseId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator)
      Returns an ordered range of all the commerce inventory warehouse rels where classNameId = ? and commerceInventoryWarehouseId = ?.

      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.inventory.model.impl.CommerceInventoryWarehouseRelModelImpl.

      Parameters:
      classNameId - the class name ID
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      start - the lower bound of the range of commerce inventory warehouse rels
      end - the upper bound of the range of commerce inventory warehouse rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce inventory warehouse rels