Interface CommerceInventoryWarehouseRelPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceInventoryWarehouseRel>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByC_C(long classNameId, long commerceInventoryWarehouseId) Returns the number of commerce inventory warehouse rels where classNameId = ? and commerceInventoryWarehouseId = ?.intcountByC_C_CIWI(long classNameId, long classPK, long commerceInventoryWarehouseId) Returns the number of commerce inventory warehouse rels where classNameId = ? and classPK = ? and commerceInventoryWarehouseId = ?.intcountByCommerceInventoryWarehouseId(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.default CommerceInventoryWarehouseRelfetchByC_C_CIWI(long classNameId, long classPK, long commerceInventoryWarehouseId) Returns the commerce inventory warehouse rel where classNameId = ? and classPK = ? and commerceInventoryWarehouseId = ? or returnsnullif 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 returnsnullif 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 returnsnullif it could not be found.default List<CommerceInventoryWarehouseRel> findByC_C(long classNameId, long commerceInventoryWarehouseId) Returns all the commerce inventory warehouse rels where classNameId = ? and commerceInventoryWarehouseId = ?.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 = ?.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 = ?.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 aNoSuchInventoryWarehouseRelExceptionif 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 = ?.default List<CommerceInventoryWarehouseRel> findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId) Returns all the commerce inventory warehouse rels where commerceInventoryWarehouseId = ?.default List<CommerceInventoryWarehouseRel> findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId, int start, int end) Returns a range of all the commerce inventory warehouse rels where commerceInventoryWarehouseId = ?.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 = ?.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 aNoSuchInventoryWarehouseRelExceptionif it could not be found.remove(long commerceInventoryWarehouseRelId) Removes the commerce inventory warehouse rel with the primary key from the database.voidremoveByC_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.voidremoveByCommerceInventoryWarehouseId(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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.inventory.model.impl.CommerceInventoryWarehouseRelModelImpl.- Parameters:
commerceInventoryWarehouseId- the commerce inventory warehouse IDstart- the lower bound of the range of commerce inventory warehouse relsend- the upper bound of the range of commerce inventory warehouse rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching commerce 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 IDorderByComparator- the comparator to order the set by (optionallynull)- 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce inventory warehouse rel, or
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.inventory.model.impl.CommerceInventoryWarehouseRelModelImpl.- Parameters:
classNameId- the class name IDcommerceInventoryWarehouseId- the commerce inventory warehouse IDstart- the lower bound of the range of commerce inventory warehouse relsend- the upper bound of the range of commerce inventory warehouse rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching commerce 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 IDcommerceInventoryWarehouseId- the commerce inventory warehouse IDorderByComparator- the comparator to order the set by (optionallynull)- 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 IDcommerceInventoryWarehouseId- the commerce inventory warehouse IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce inventory warehouse rel, or
nullif 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 IDcommerceInventoryWarehouseId- 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 IDcommerceInventoryWarehouseId- 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 aNoSuchInventoryWarehouseRelExceptionif it could not be found.- Parameters:
classNameId- the class name IDclassPK- the class pkcommerceInventoryWarehouseId- 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 returnsnullif it could not be found, optionally using the finder cache.- Parameters:
classNameId- the class name IDclassPK- the class pkcommerceInventoryWarehouseId- the commerce inventory warehouse IDuseFinderCache- whether to use the finder cache- Returns:
- the matching commerce inventory warehouse rel, or
nullif 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 IDclassPK- the class pkcommerceInventoryWarehouseId- 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 IDclassPK- the class pkcommerceInventoryWarehouseId- the commerce inventory warehouse ID- Returns:
- the number of matching commerce inventory warehouse rels
-
create
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 aNoSuchInventoryWarehouseRelExceptionif 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
Returns the commerce inventory warehouse rel with the primary key or returnsnullif it could not be found.- Parameters:
commerceInventoryWarehouseRelId- the primary key of the commerce inventory warehouse rel- Returns:
- the commerce inventory warehouse rel, or
nullif 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 returnsnullif it could not be found. Uses the finder cache.- Parameters:
classNameId- the class name IDclassPK- the class pkcommerceInventoryWarehouseId- the commerce inventory warehouse ID- Returns:
- the matching commerce inventory warehouse rel, or
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.inventory.model.impl.CommerceInventoryWarehouseRelModelImpl.- Parameters:
commerceInventoryWarehouseId- the commerce inventory warehouse IDstart- the lower bound of the range of commerce inventory warehouse relsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.inventory.model.impl.CommerceInventoryWarehouseRelModelImpl.- Parameters:
commerceInventoryWarehouseId- the commerce inventory warehouse IDstart- the lower bound of the range of commerce inventory warehouse relsend- the upper bound of the range of commerce inventory warehouse rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 IDcommerceInventoryWarehouseId- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.inventory.model.impl.CommerceInventoryWarehouseRelModelImpl.- Parameters:
classNameId- the class name IDcommerceInventoryWarehouseId- the commerce inventory warehouse IDstart- the lower bound of the range of commerce inventory warehouse relsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.inventory.model.impl.CommerceInventoryWarehouseRelModelImpl.- Parameters:
classNameId- the class name IDcommerceInventoryWarehouseId- the commerce inventory warehouse IDstart- the lower bound of the range of commerce inventory warehouse relsend- the upper bound of the range of commerce inventory warehouse rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce inventory warehouse rels
-