@ProviderType public interface CommerceInventoryWarehouseRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceInventoryWarehouseRel>
Caching information and settings can be found in portal.properties
CommerceInventoryWarehouseRelUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommerceInventoryWarehouseRel commerceInventoryWarehouseRel)
Caches the commerce inventory warehouse rel in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceInventoryWarehouseRel> commerceInventoryWarehouseRels)
Caches the commerce inventory warehouse rels in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce inventory warehouse rels.
|
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 |
countByC_C(long classNameId,
long commerceInventoryWarehouseId)
Returns the number of commerce inventory warehouse rels where classNameId = ? and commerceInventoryWarehouseId = ?.
|
int |
countByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
Returns the number of commerce inventory warehouse rels where commerceInventoryWarehouseId = ?.
|
CommerceInventoryWarehouseRel |
create(long commerceInventoryWarehouseRelId)
Creates a new commerce inventory warehouse rel with the primary key.
|
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. |
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. |
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 = ?.
|
CommerceInventoryWarehouseRel |
fetchByC_C_Last(long classNameId,
long commerceInventoryWarehouseId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator)
Returns the last commerce inventory warehouse rel in the ordered set where classNameId = ? and commerceInventoryWarehouseId = ?.
|
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 = ?.
|
CommerceInventoryWarehouseRel |
fetchByCommerceInventoryWarehouseId_Last(long commerceInventoryWarehouseId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator)
Returns the last commerce inventory warehouse rel in the ordered set where commerceInventoryWarehouseId = ?.
|
CommerceInventoryWarehouseRel |
fetchByPrimaryKey(long commerceInventoryWarehouseRelId)
Returns the commerce inventory warehouse rel with the primary key or returns
null if it could not be found. |
java.util.List<CommerceInventoryWarehouseRel> |
findAll()
Returns all the commerce inventory warehouse rels.
|
java.util.List<CommerceInventoryWarehouseRel> |
findAll(int start,
int end)
Returns a range of all the commerce inventory warehouse rels.
|
java.util.List<CommerceInventoryWarehouseRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator)
Returns an ordered range of all the commerce inventory warehouse rels.
|
java.util.List<CommerceInventoryWarehouseRel> |
findAll(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.
|
CommerceInventoryWarehouseRel |
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. |
CommerceInventoryWarehouseRel |
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 = ?.
|
CommerceInventoryWarehouseRel |
findByC_C_Last(long classNameId,
long commerceInventoryWarehouseId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator)
Returns the last commerce inventory warehouse rel in the ordered set where classNameId = ? and commerceInventoryWarehouseId = ?.
|
CommerceInventoryWarehouseRel[] |
findByC_C_PrevAndNext(long commerceInventoryWarehouseRelId,
long classNameId,
long commerceInventoryWarehouseId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator)
Returns the commerce inventory warehouse rels before and after the current commerce inventory warehouse rel in the ordered set where classNameId = ? and commerceInventoryWarehouseId = ?.
|
java.util.List<CommerceInventoryWarehouseRel> |
findByC_C(long classNameId,
long commerceInventoryWarehouseId)
Returns all the commerce inventory warehouse rels where classNameId = ? and commerceInventoryWarehouseId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CommerceInventoryWarehouseRel |
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 = ?.
|
CommerceInventoryWarehouseRel |
findByCommerceInventoryWarehouseId_Last(long commerceInventoryWarehouseId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator)
Returns the last commerce inventory warehouse rel in the ordered set where commerceInventoryWarehouseId = ?.
|
CommerceInventoryWarehouseRel[] |
findByCommerceInventoryWarehouseId_PrevAndNext(long commerceInventoryWarehouseRelId,
long commerceInventoryWarehouseId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator)
Returns the commerce inventory warehouse rels before and after the current commerce inventory warehouse rel in the ordered set where commerceInventoryWarehouseId = ?.
|
java.util.List<CommerceInventoryWarehouseRel> |
findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
Returns all the commerce inventory warehouse rels where commerceInventoryWarehouseId = ?.
|
java.util.List<CommerceInventoryWarehouseRel> |
findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId,
int start,
int end)
Returns a range of all the commerce inventory warehouse rels where commerceInventoryWarehouseId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CommerceInventoryWarehouseRel |
findByPrimaryKey(long commerceInventoryWarehouseRelId)
Returns the commerce inventory warehouse rel with the primary key or throws a
NoSuchInventoryWarehouseRelException if it could not be found. |
CommerceInventoryWarehouseRel |
remove(long commerceInventoryWarehouseRelId)
Removes the commerce inventory warehouse rel with the primary key from the database.
|
void |
removeAll()
Removes all the commerce inventory warehouse rels from the database.
|
CommerceInventoryWarehouseRel |
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 |
removeByC_C(long classNameId,
long commerceInventoryWarehouseId)
Removes all the commerce inventory warehouse rels where classNameId = ? and commerceInventoryWarehouseId = ? from the database.
|
void |
removeByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
Removes all the commerce inventory warehouse rels where commerceInventoryWarehouseId = ? from the database.
|
CommerceInventoryWarehouseRel |
updateImpl(CommerceInventoryWarehouseRel commerceInventoryWarehouseRel) |
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<CommerceInventoryWarehouseRel> findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
commerceInventoryWarehouseId
- the commerce inventory warehouse IDjava.util.List<CommerceInventoryWarehouseRel> findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId, 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 CommerceInventoryWarehouseRelModelImpl
.
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)java.util.List<CommerceInventoryWarehouseRel> findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> 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 CommerceInventoryWarehouseRelModelImpl
.
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 (optionally null
)java.util.List<CommerceInventoryWarehouseRel> findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> 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 CommerceInventoryWarehouseRelModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceInventoryWarehouseRel findByCommerceInventoryWarehouseId_First(long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator) throws NoSuchInventoryWarehouseRelException
commerceInventoryWarehouseId
- the commerce inventory warehouse IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryWarehouseRelException
- if a matching commerce inventory warehouse rel could not be foundCommerceInventoryWarehouseRel fetchByCommerceInventoryWarehouseId_First(long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator)
commerceInventoryWarehouseId
- the commerce inventory warehouse IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory warehouse rel could not be foundCommerceInventoryWarehouseRel findByCommerceInventoryWarehouseId_Last(long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator) throws NoSuchInventoryWarehouseRelException
commerceInventoryWarehouseId
- the commerce inventory warehouse IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryWarehouseRelException
- if a matching commerce inventory warehouse rel could not be foundCommerceInventoryWarehouseRel fetchByCommerceInventoryWarehouseId_Last(long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator)
commerceInventoryWarehouseId
- the commerce inventory warehouse IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory warehouse rel could not be foundCommerceInventoryWarehouseRel[] findByCommerceInventoryWarehouseId_PrevAndNext(long commerceInventoryWarehouseRelId, long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator) throws NoSuchInventoryWarehouseRelException
commerceInventoryWarehouseRelId
- the primary key of the current commerce inventory warehouse relcommerceInventoryWarehouseId
- the commerce inventory warehouse IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryWarehouseRelException
- if a commerce inventory warehouse rel with the primary key could not be foundvoid removeByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
commerceInventoryWarehouseId
- the commerce inventory warehouse IDint countByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
commerceInventoryWarehouseId
- the commerce inventory warehouse IDjava.util.List<CommerceInventoryWarehouseRel> findByC_C(long classNameId, long commerceInventoryWarehouseId)
classNameId
- the class name IDcommerceInventoryWarehouseId
- the commerce inventory warehouse IDjava.util.List<CommerceInventoryWarehouseRel> findByC_C(long classNameId, long commerceInventoryWarehouseId, 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 CommerceInventoryWarehouseRelModelImpl
.
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)java.util.List<CommerceInventoryWarehouseRel> findByC_C(long classNameId, long commerceInventoryWarehouseId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> 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 CommerceInventoryWarehouseRelModelImpl
.
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 (optionally null
)java.util.List<CommerceInventoryWarehouseRel> findByC_C(long classNameId, long commerceInventoryWarehouseId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> 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 CommerceInventoryWarehouseRelModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceInventoryWarehouseRel findByC_C_First(long classNameId, long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator) throws NoSuchInventoryWarehouseRelException
classNameId
- the class name IDcommerceInventoryWarehouseId
- the commerce inventory warehouse IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryWarehouseRelException
- if a matching commerce inventory warehouse rel could not be foundCommerceInventoryWarehouseRel fetchByC_C_First(long classNameId, long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator)
classNameId
- the class name IDcommerceInventoryWarehouseId
- the commerce inventory warehouse IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory warehouse rel could not be foundCommerceInventoryWarehouseRel findByC_C_Last(long classNameId, long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator) throws NoSuchInventoryWarehouseRelException
classNameId
- the class name IDcommerceInventoryWarehouseId
- the commerce inventory warehouse IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryWarehouseRelException
- if a matching commerce inventory warehouse rel could not be foundCommerceInventoryWarehouseRel fetchByC_C_Last(long classNameId, long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator)
classNameId
- the class name IDcommerceInventoryWarehouseId
- the commerce inventory warehouse IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory warehouse rel could not be foundCommerceInventoryWarehouseRel[] findByC_C_PrevAndNext(long commerceInventoryWarehouseRelId, long classNameId, long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> orderByComparator) throws NoSuchInventoryWarehouseRelException
commerceInventoryWarehouseRelId
- the primary key of the current commerce inventory warehouse relclassNameId
- the class name IDcommerceInventoryWarehouseId
- the commerce inventory warehouse IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryWarehouseRelException
- if a commerce inventory warehouse rel with the primary key could not be foundvoid removeByC_C(long classNameId, long commerceInventoryWarehouseId)
classNameId
- the class name IDcommerceInventoryWarehouseId
- the commerce inventory warehouse IDint countByC_C(long classNameId, long commerceInventoryWarehouseId)
classNameId
- the class name IDcommerceInventoryWarehouseId
- the commerce inventory warehouse IDCommerceInventoryWarehouseRel findByC_C_CIWI(long classNameId, long classPK, long commerceInventoryWarehouseId) throws NoSuchInventoryWarehouseRelException
NoSuchInventoryWarehouseRelException
if it could not be found.classNameId
- the class name IDclassPK
- the class pkcommerceInventoryWarehouseId
- the commerce inventory warehouse IDNoSuchInventoryWarehouseRelException
- if a matching commerce inventory warehouse rel could not be foundCommerceInventoryWarehouseRel fetchByC_C_CIWI(long classNameId, long classPK, long commerceInventoryWarehouseId)
null
if it could not be found. Uses the finder cache.classNameId
- the class name IDclassPK
- the class pkcommerceInventoryWarehouseId
- the commerce inventory warehouse IDnull
if a matching commerce inventory warehouse rel could not be foundCommerceInventoryWarehouseRel fetchByC_C_CIWI(long classNameId, long classPK, long commerceInventoryWarehouseId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.classNameId
- the class name IDclassPK
- the class pkcommerceInventoryWarehouseId
- the commerce inventory warehouse IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce inventory warehouse rel could not be foundCommerceInventoryWarehouseRel removeByC_C_CIWI(long classNameId, long classPK, long commerceInventoryWarehouseId) throws NoSuchInventoryWarehouseRelException
classNameId
- the class name IDclassPK
- the class pkcommerceInventoryWarehouseId
- the commerce inventory warehouse IDNoSuchInventoryWarehouseRelException
int countByC_C_CIWI(long classNameId, long classPK, long commerceInventoryWarehouseId)
classNameId
- the class name IDclassPK
- the class pkcommerceInventoryWarehouseId
- the commerce inventory warehouse IDvoid cacheResult(CommerceInventoryWarehouseRel commerceInventoryWarehouseRel)
commerceInventoryWarehouseRel
- the commerce inventory warehouse relvoid cacheResult(java.util.List<CommerceInventoryWarehouseRel> commerceInventoryWarehouseRels)
commerceInventoryWarehouseRels
- the commerce inventory warehouse relsCommerceInventoryWarehouseRel create(long commerceInventoryWarehouseRelId)
commerceInventoryWarehouseRelId
- the primary key for the new commerce inventory warehouse relCommerceInventoryWarehouseRel remove(long commerceInventoryWarehouseRelId) throws NoSuchInventoryWarehouseRelException
commerceInventoryWarehouseRelId
- the primary key of the commerce inventory warehouse relNoSuchInventoryWarehouseRelException
- if a commerce inventory warehouse rel with the primary key could not be foundCommerceInventoryWarehouseRel updateImpl(CommerceInventoryWarehouseRel commerceInventoryWarehouseRel)
CommerceInventoryWarehouseRel findByPrimaryKey(long commerceInventoryWarehouseRelId) throws NoSuchInventoryWarehouseRelException
NoSuchInventoryWarehouseRelException
if it could not be found.commerceInventoryWarehouseRelId
- the primary key of the commerce inventory warehouse relNoSuchInventoryWarehouseRelException
- if a commerce inventory warehouse rel with the primary key could not be foundCommerceInventoryWarehouseRel fetchByPrimaryKey(long commerceInventoryWarehouseRelId)
null
if it could not be found.commerceInventoryWarehouseRelId
- the primary key of the commerce inventory warehouse relnull
if a commerce inventory warehouse rel with the primary key could not be foundjava.util.List<CommerceInventoryWarehouseRel> findAll()
java.util.List<CommerceInventoryWarehouseRel> 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 CommerceInventoryWarehouseRelModelImpl
.
start
- the lower bound of the range of commerce inventory warehouse relsend
- the upper bound of the range of commerce inventory warehouse rels (not inclusive)java.util.List<CommerceInventoryWarehouseRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> 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 CommerceInventoryWarehouseRelModelImpl
.
start
- 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 (optionally null
)java.util.List<CommerceInventoryWarehouseRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseRel> 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 CommerceInventoryWarehouseRelModelImpl
.
start
- 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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()