@ProviderType public interface CommerceInventoryBookedQuantityPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceInventoryBookedQuantity>
Caching information and settings can be found in portal.properties
CommerceInventoryBookedQuantityUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommerceInventoryBookedQuantity commerceInventoryBookedQuantity)
Caches the commerce inventory booked quantity in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceInventoryBookedQuantity> commerceInventoryBookedQuantities)
Caches the commerce inventory booked quantities in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce inventory booked quantities.
|
int |
countByC_S(long companyId,
java.lang.String sku)
Returns the number of commerce inventory booked quantities where companyId = ? and sku = ?.
|
int |
countByLtExpirationDate(java.util.Date expirationDate)
Returns the number of commerce inventory booked quantities where expirationDate < ?.
|
int |
countBySku(java.lang.String sku)
Returns the number of commerce inventory booked quantities where sku = ?.
|
CommerceInventoryBookedQuantity |
create(long commerceInventoryBookedQuantityId)
Creates a new commerce inventory booked quantity with the primary key.
|
CommerceInventoryBookedQuantity |
fetchByC_S_First(long companyId,
java.lang.String sku,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
Returns the first commerce inventory booked quantity in the ordered set where companyId = ? and sku = ?.
|
CommerceInventoryBookedQuantity |
fetchByC_S_Last(long companyId,
java.lang.String sku,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
Returns the last commerce inventory booked quantity in the ordered set where companyId = ? and sku = ?.
|
CommerceInventoryBookedQuantity |
fetchByLtExpirationDate_First(java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
Returns the first commerce inventory booked quantity in the ordered set where expirationDate < ?.
|
CommerceInventoryBookedQuantity |
fetchByLtExpirationDate_Last(java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
Returns the last commerce inventory booked quantity in the ordered set where expirationDate < ?.
|
CommerceInventoryBookedQuantity |
fetchByPrimaryKey(long commerceInventoryBookedQuantityId)
Returns the commerce inventory booked quantity with the primary key or returns
null if it could not be found. |
CommerceInventoryBookedQuantity |
fetchBySku_First(java.lang.String sku,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
Returns the first commerce inventory booked quantity in the ordered set where sku = ?.
|
CommerceInventoryBookedQuantity |
fetchBySku_Last(java.lang.String sku,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
Returns the last commerce inventory booked quantity in the ordered set where sku = ?.
|
java.util.List<CommerceInventoryBookedQuantity> |
findAll()
Returns all the commerce inventory booked quantities.
|
java.util.List<CommerceInventoryBookedQuantity> |
findAll(int start,
int end)
Returns a range of all the commerce inventory booked quantities.
|
java.util.List<CommerceInventoryBookedQuantity> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
Returns an ordered range of all the commerce inventory booked quantities.
|
java.util.List<CommerceInventoryBookedQuantity> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce inventory booked quantities.
|
CommerceInventoryBookedQuantity |
findByC_S_First(long companyId,
java.lang.String sku,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
Returns the first commerce inventory booked quantity in the ordered set where companyId = ? and sku = ?.
|
CommerceInventoryBookedQuantity |
findByC_S_Last(long companyId,
java.lang.String sku,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
Returns the last commerce inventory booked quantity in the ordered set where companyId = ? and sku = ?.
|
CommerceInventoryBookedQuantity[] |
findByC_S_PrevAndNext(long commerceInventoryBookedQuantityId,
long companyId,
java.lang.String sku,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
Returns the commerce inventory booked quantities before and after the current commerce inventory booked quantity in the ordered set where companyId = ? and sku = ?.
|
java.util.List<CommerceInventoryBookedQuantity> |
findByC_S(long companyId,
java.lang.String sku)
Returns all the commerce inventory booked quantities where companyId = ? and sku = ?.
|
java.util.List<CommerceInventoryBookedQuantity> |
findByC_S(long companyId,
java.lang.String sku,
int start,
int end)
Returns a range of all the commerce inventory booked quantities where companyId = ? and sku = ?.
|
java.util.List<CommerceInventoryBookedQuantity> |
findByC_S(long companyId,
java.lang.String sku,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
Returns an ordered range of all the commerce inventory booked quantities where companyId = ? and sku = ?.
|
java.util.List<CommerceInventoryBookedQuantity> |
findByC_S(long companyId,
java.lang.String sku,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce inventory booked quantities where companyId = ? and sku = ?.
|
CommerceInventoryBookedQuantity |
findByLtExpirationDate_First(java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
Returns the first commerce inventory booked quantity in the ordered set where expirationDate < ?.
|
CommerceInventoryBookedQuantity |
findByLtExpirationDate_Last(java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
Returns the last commerce inventory booked quantity in the ordered set where expirationDate < ?.
|
CommerceInventoryBookedQuantity[] |
findByLtExpirationDate_PrevAndNext(long commerceInventoryBookedQuantityId,
java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
Returns the commerce inventory booked quantities before and after the current commerce inventory booked quantity in the ordered set where expirationDate < ?.
|
java.util.List<CommerceInventoryBookedQuantity> |
findByLtExpirationDate(java.util.Date expirationDate)
Returns all the commerce inventory booked quantities where expirationDate < ?.
|
java.util.List<CommerceInventoryBookedQuantity> |
findByLtExpirationDate(java.util.Date expirationDate,
int start,
int end)
Returns a range of all the commerce inventory booked quantities where expirationDate < ?.
|
java.util.List<CommerceInventoryBookedQuantity> |
findByLtExpirationDate(java.util.Date expirationDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
Returns an ordered range of all the commerce inventory booked quantities where expirationDate < ?.
|
java.util.List<CommerceInventoryBookedQuantity> |
findByLtExpirationDate(java.util.Date expirationDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce inventory booked quantities where expirationDate < ?.
|
CommerceInventoryBookedQuantity |
findByPrimaryKey(long commerceInventoryBookedQuantityId)
Returns the commerce inventory booked quantity with the primary key or throws a
NoSuchInventoryBookedQuantityException if it could not be found. |
CommerceInventoryBookedQuantity |
findBySku_First(java.lang.String sku,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
Returns the first commerce inventory booked quantity in the ordered set where sku = ?.
|
CommerceInventoryBookedQuantity |
findBySku_Last(java.lang.String sku,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
Returns the last commerce inventory booked quantity in the ordered set where sku = ?.
|
CommerceInventoryBookedQuantity[] |
findBySku_PrevAndNext(long commerceInventoryBookedQuantityId,
java.lang.String sku,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
Returns the commerce inventory booked quantities before and after the current commerce inventory booked quantity in the ordered set where sku = ?.
|
java.util.List<CommerceInventoryBookedQuantity> |
findBySku(java.lang.String sku)
Returns all the commerce inventory booked quantities where sku = ?.
|
java.util.List<CommerceInventoryBookedQuantity> |
findBySku(java.lang.String sku,
int start,
int end)
Returns a range of all the commerce inventory booked quantities where sku = ?.
|
java.util.List<CommerceInventoryBookedQuantity> |
findBySku(java.lang.String sku,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
Returns an ordered range of all the commerce inventory booked quantities where sku = ?.
|
java.util.List<CommerceInventoryBookedQuantity> |
findBySku(java.lang.String sku,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce inventory booked quantities where sku = ?.
|
CommerceInventoryBookedQuantity |
remove(long commerceInventoryBookedQuantityId)
Removes the commerce inventory booked quantity with the primary key from the database.
|
void |
removeAll()
Removes all the commerce inventory booked quantities from the database.
|
void |
removeByC_S(long companyId,
java.lang.String sku)
Removes all the commerce inventory booked quantities where companyId = ? and sku = ? from the database.
|
void |
removeByLtExpirationDate(java.util.Date expirationDate)
Removes all the commerce inventory booked quantities where expirationDate < ? from the database.
|
void |
removeBySku(java.lang.String sku)
Removes all the commerce inventory booked quantities where sku = ? from the database.
|
CommerceInventoryBookedQuantity |
updateImpl(CommerceInventoryBookedQuantity commerceInventoryBookedQuantity) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<CommerceInventoryBookedQuantity> findBySku(java.lang.String sku)
sku
- the skujava.util.List<CommerceInventoryBookedQuantity> findBySku(java.lang.String sku, int start, int end)
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 CommerceInventoryBookedQuantityModelImpl
.
sku
- the skustart
- the lower bound of the range of commerce inventory booked quantitiesend
- the upper bound of the range of commerce inventory booked quantities (not inclusive)java.util.List<CommerceInventoryBookedQuantity> findBySku(java.lang.String sku, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
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 CommerceInventoryBookedQuantityModelImpl
.
sku
- the skustart
- the lower bound of the range of commerce inventory booked quantitiesend
- the upper bound of the range of commerce inventory booked quantities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceInventoryBookedQuantity> findBySku(java.lang.String sku, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator, boolean useFinderCache)
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 CommerceInventoryBookedQuantityModelImpl
.
sku
- the skustart
- the lower bound of the range of commerce inventory booked quantitiesend
- the upper bound of the range of commerce inventory booked quantities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceInventoryBookedQuantity findBySku_First(java.lang.String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator) throws NoSuchInventoryBookedQuantityException
sku
- the skuorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryBookedQuantityException
- if a matching commerce inventory booked quantity could not be foundCommerceInventoryBookedQuantity fetchBySku_First(java.lang.String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
sku
- the skuorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory booked quantity could not be foundCommerceInventoryBookedQuantity findBySku_Last(java.lang.String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator) throws NoSuchInventoryBookedQuantityException
sku
- the skuorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryBookedQuantityException
- if a matching commerce inventory booked quantity could not be foundCommerceInventoryBookedQuantity fetchBySku_Last(java.lang.String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
sku
- the skuorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory booked quantity could not be foundCommerceInventoryBookedQuantity[] findBySku_PrevAndNext(long commerceInventoryBookedQuantityId, java.lang.String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator) throws NoSuchInventoryBookedQuantityException
commerceInventoryBookedQuantityId
- the primary key of the current commerce inventory booked quantitysku
- the skuorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryBookedQuantityException
- if a commerce inventory booked quantity with the primary key could not be foundvoid removeBySku(java.lang.String sku)
sku
- the skuint countBySku(java.lang.String sku)
sku
- the skujava.util.List<CommerceInventoryBookedQuantity> findByLtExpirationDate(java.util.Date expirationDate)
expirationDate
- the expiration datejava.util.List<CommerceInventoryBookedQuantity> findByLtExpirationDate(java.util.Date expirationDate, int start, int end)
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 CommerceInventoryBookedQuantityModelImpl
.
expirationDate
- the expiration datestart
- the lower bound of the range of commerce inventory booked quantitiesend
- the upper bound of the range of commerce inventory booked quantities (not inclusive)java.util.List<CommerceInventoryBookedQuantity> findByLtExpirationDate(java.util.Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
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 CommerceInventoryBookedQuantityModelImpl
.
expirationDate
- the expiration datestart
- the lower bound of the range of commerce inventory booked quantitiesend
- the upper bound of the range of commerce inventory booked quantities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceInventoryBookedQuantity> findByLtExpirationDate(java.util.Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator, boolean useFinderCache)
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 CommerceInventoryBookedQuantityModelImpl
.
expirationDate
- the expiration datestart
- the lower bound of the range of commerce inventory booked quantitiesend
- the upper bound of the range of commerce inventory booked quantities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceInventoryBookedQuantity findByLtExpirationDate_First(java.util.Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator) throws NoSuchInventoryBookedQuantityException
expirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryBookedQuantityException
- if a matching commerce inventory booked quantity could not be foundCommerceInventoryBookedQuantity fetchByLtExpirationDate_First(java.util.Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
expirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory booked quantity could not be foundCommerceInventoryBookedQuantity findByLtExpirationDate_Last(java.util.Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator) throws NoSuchInventoryBookedQuantityException
expirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryBookedQuantityException
- if a matching commerce inventory booked quantity could not be foundCommerceInventoryBookedQuantity fetchByLtExpirationDate_Last(java.util.Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
expirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory booked quantity could not be foundCommerceInventoryBookedQuantity[] findByLtExpirationDate_PrevAndNext(long commerceInventoryBookedQuantityId, java.util.Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator) throws NoSuchInventoryBookedQuantityException
commerceInventoryBookedQuantityId
- the primary key of the current commerce inventory booked quantityexpirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryBookedQuantityException
- if a commerce inventory booked quantity with the primary key could not be foundvoid removeByLtExpirationDate(java.util.Date expirationDate)
expirationDate
- the expiration dateint countByLtExpirationDate(java.util.Date expirationDate)
expirationDate
- the expiration datejava.util.List<CommerceInventoryBookedQuantity> findByC_S(long companyId, java.lang.String sku)
companyId
- the company IDsku
- the skujava.util.List<CommerceInventoryBookedQuantity> findByC_S(long companyId, java.lang.String sku, int start, int end)
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 CommerceInventoryBookedQuantityModelImpl
.
companyId
- the company IDsku
- the skustart
- the lower bound of the range of commerce inventory booked quantitiesend
- the upper bound of the range of commerce inventory booked quantities (not inclusive)java.util.List<CommerceInventoryBookedQuantity> findByC_S(long companyId, java.lang.String sku, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
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 CommerceInventoryBookedQuantityModelImpl
.
companyId
- the company IDsku
- the skustart
- the lower bound of the range of commerce inventory booked quantitiesend
- the upper bound of the range of commerce inventory booked quantities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceInventoryBookedQuantity> findByC_S(long companyId, java.lang.String sku, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator, boolean useFinderCache)
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 CommerceInventoryBookedQuantityModelImpl
.
companyId
- the company IDsku
- the skustart
- the lower bound of the range of commerce inventory booked quantitiesend
- the upper bound of the range of commerce inventory booked quantities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceInventoryBookedQuantity findByC_S_First(long companyId, java.lang.String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator) throws NoSuchInventoryBookedQuantityException
companyId
- the company IDsku
- the skuorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryBookedQuantityException
- if a matching commerce inventory booked quantity could not be foundCommerceInventoryBookedQuantity fetchByC_S_First(long companyId, java.lang.String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
companyId
- the company IDsku
- the skuorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory booked quantity could not be foundCommerceInventoryBookedQuantity findByC_S_Last(long companyId, java.lang.String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator) throws NoSuchInventoryBookedQuantityException
companyId
- the company IDsku
- the skuorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryBookedQuantityException
- if a matching commerce inventory booked quantity could not be foundCommerceInventoryBookedQuantity fetchByC_S_Last(long companyId, java.lang.String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
companyId
- the company IDsku
- the skuorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory booked quantity could not be foundCommerceInventoryBookedQuantity[] findByC_S_PrevAndNext(long commerceInventoryBookedQuantityId, long companyId, java.lang.String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator) throws NoSuchInventoryBookedQuantityException
commerceInventoryBookedQuantityId
- the primary key of the current commerce inventory booked quantitycompanyId
- the company IDsku
- the skuorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryBookedQuantityException
- if a commerce inventory booked quantity with the primary key could not be foundvoid removeByC_S(long companyId, java.lang.String sku)
companyId
- the company IDsku
- the skuint countByC_S(long companyId, java.lang.String sku)
companyId
- the company IDsku
- the skuvoid cacheResult(CommerceInventoryBookedQuantity commerceInventoryBookedQuantity)
commerceInventoryBookedQuantity
- the commerce inventory booked quantityvoid cacheResult(java.util.List<CommerceInventoryBookedQuantity> commerceInventoryBookedQuantities)
commerceInventoryBookedQuantities
- the commerce inventory booked quantitiesCommerceInventoryBookedQuantity create(long commerceInventoryBookedQuantityId)
commerceInventoryBookedQuantityId
- the primary key for the new commerce inventory booked quantityCommerceInventoryBookedQuantity remove(long commerceInventoryBookedQuantityId) throws NoSuchInventoryBookedQuantityException
commerceInventoryBookedQuantityId
- the primary key of the commerce inventory booked quantityNoSuchInventoryBookedQuantityException
- if a commerce inventory booked quantity with the primary key could not be foundCommerceInventoryBookedQuantity updateImpl(CommerceInventoryBookedQuantity commerceInventoryBookedQuantity)
CommerceInventoryBookedQuantity findByPrimaryKey(long commerceInventoryBookedQuantityId) throws NoSuchInventoryBookedQuantityException
NoSuchInventoryBookedQuantityException
if it could not be found.commerceInventoryBookedQuantityId
- the primary key of the commerce inventory booked quantityNoSuchInventoryBookedQuantityException
- if a commerce inventory booked quantity with the primary key could not be foundCommerceInventoryBookedQuantity fetchByPrimaryKey(long commerceInventoryBookedQuantityId)
null
if it could not be found.commerceInventoryBookedQuantityId
- the primary key of the commerce inventory booked quantitynull
if a commerce inventory booked quantity with the primary key could not be foundjava.util.List<CommerceInventoryBookedQuantity> findAll()
java.util.List<CommerceInventoryBookedQuantity> findAll(int start, int end)
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 CommerceInventoryBookedQuantityModelImpl
.
start
- the lower bound of the range of commerce inventory booked quantitiesend
- the upper bound of the range of commerce inventory booked quantities (not inclusive)java.util.List<CommerceInventoryBookedQuantity> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
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 CommerceInventoryBookedQuantityModelImpl
.
start
- the lower bound of the range of commerce inventory booked quantitiesend
- the upper bound of the range of commerce inventory booked quantities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceInventoryBookedQuantity> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator, boolean useFinderCache)
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 CommerceInventoryBookedQuantityModelImpl
.
start
- the lower bound of the range of commerce inventory booked quantitiesend
- the upper bound of the range of commerce inventory booked quantities (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()