@ProviderType public interface CommerceWarehousePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceWarehouse>
Caching information and settings can be found in portal.properties
com.liferay.commerce.service.persistence.impl.CommerceWarehousePersistenceImpl,
CommerceWarehouseUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(CommerceWarehouse commerceWarehouse)
Caches the commerce warehouse in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceWarehouse> commerceWarehouses)
Caches the commerce warehouses in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce warehouses.
|
int |
countByG_A_C(long groupId,
boolean active,
long commerceCountryId)
Returns the number of commerce warehouses where groupId = ? and active = ? and commerceCountryId = ?.
|
int |
countByG_A(long groupId,
boolean active)
Returns the number of commerce warehouses where groupId = ? and active = ?.
|
int |
countByG_C(long groupId,
long commerceCountryId)
Returns the number of commerce warehouses where groupId = ? and commerceCountryId = ?.
|
int |
countByG_P(long groupId,
boolean primary)
Returns the number of commerce warehouses where groupId = ? and primary = ?.
|
int |
countByGroupId(long groupId)
Returns the number of commerce warehouses where groupId = ?.
|
CommerceWarehouse |
create(long commerceWarehouseId)
Creates a new commerce warehouse with the primary key.
|
CommerceWarehouse |
fetchByG_A_C_First(long groupId,
boolean active,
long commerceCountryId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns the first commerce warehouse in the ordered set where groupId = ? and active = ? and commerceCountryId = ?.
|
CommerceWarehouse |
fetchByG_A_C_Last(long groupId,
boolean active,
long commerceCountryId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns the last commerce warehouse in the ordered set where groupId = ? and active = ? and commerceCountryId = ?.
|
CommerceWarehouse |
fetchByG_A_First(long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns the first commerce warehouse in the ordered set where groupId = ? and active = ?.
|
CommerceWarehouse |
fetchByG_A_Last(long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns the last commerce warehouse in the ordered set where groupId = ? and active = ?.
|
CommerceWarehouse |
fetchByG_C_First(long groupId,
long commerceCountryId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns the first commerce warehouse in the ordered set where groupId = ? and commerceCountryId = ?.
|
CommerceWarehouse |
fetchByG_C_Last(long groupId,
long commerceCountryId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns the last commerce warehouse in the ordered set where groupId = ? and commerceCountryId = ?.
|
CommerceWarehouse |
fetchByG_P_First(long groupId,
boolean primary,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns the first commerce warehouse in the ordered set where groupId = ? and primary = ?.
|
CommerceWarehouse |
fetchByG_P_Last(long groupId,
boolean primary,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns the last commerce warehouse in the ordered set where groupId = ? and primary = ?.
|
CommerceWarehouse |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns the first commerce warehouse in the ordered set where groupId = ?.
|
CommerceWarehouse |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns the last commerce warehouse in the ordered set where groupId = ?.
|
CommerceWarehouse |
fetchByPrimaryKey(long commerceWarehouseId)
Returns the commerce warehouse with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,CommerceWarehouse> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
java.util.List<CommerceWarehouse> |
findAll()
Returns all the commerce warehouses.
|
java.util.List<CommerceWarehouse> |
findAll(int start,
int end)
Returns a range of all the commerce warehouses.
|
java.util.List<CommerceWarehouse> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns an ordered range of all the commerce warehouses.
|
java.util.List<CommerceWarehouse> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce warehouses.
|
CommerceWarehouse |
findByG_A_C_First(long groupId,
boolean active,
long commerceCountryId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns the first commerce warehouse in the ordered set where groupId = ? and active = ? and commerceCountryId = ?.
|
CommerceWarehouse |
findByG_A_C_Last(long groupId,
boolean active,
long commerceCountryId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns the last commerce warehouse in the ordered set where groupId = ? and active = ? and commerceCountryId = ?.
|
CommerceWarehouse[] |
findByG_A_C_PrevAndNext(long commerceWarehouseId,
long groupId,
boolean active,
long commerceCountryId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns the commerce warehouses before and after the current commerce warehouse in the ordered set where groupId = ? and active = ? and commerceCountryId = ?.
|
java.util.List<CommerceWarehouse> |
findByG_A_C(long groupId,
boolean active,
long commerceCountryId)
Returns all the commerce warehouses where groupId = ? and active = ? and commerceCountryId = ?.
|
java.util.List<CommerceWarehouse> |
findByG_A_C(long groupId,
boolean active,
long commerceCountryId,
int start,
int end)
Returns a range of all the commerce warehouses where groupId = ? and active = ? and commerceCountryId = ?.
|
java.util.List<CommerceWarehouse> |
findByG_A_C(long groupId,
boolean active,
long commerceCountryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns an ordered range of all the commerce warehouses where groupId = ? and active = ? and commerceCountryId = ?.
|
java.util.List<CommerceWarehouse> |
findByG_A_C(long groupId,
boolean active,
long commerceCountryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce warehouses where groupId = ? and active = ? and commerceCountryId = ?.
|
CommerceWarehouse |
findByG_A_First(long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns the first commerce warehouse in the ordered set where groupId = ? and active = ?.
|
CommerceWarehouse |
findByG_A_Last(long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns the last commerce warehouse in the ordered set where groupId = ? and active = ?.
|
CommerceWarehouse[] |
findByG_A_PrevAndNext(long commerceWarehouseId,
long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns the commerce warehouses before and after the current commerce warehouse in the ordered set where groupId = ? and active = ?.
|
java.util.List<CommerceWarehouse> |
findByG_A(long groupId,
boolean active)
Returns all the commerce warehouses where groupId = ? and active = ?.
|
java.util.List<CommerceWarehouse> |
findByG_A(long groupId,
boolean active,
int start,
int end)
Returns a range of all the commerce warehouses where groupId = ? and active = ?.
|
java.util.List<CommerceWarehouse> |
findByG_A(long groupId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns an ordered range of all the commerce warehouses where groupId = ? and active = ?.
|
java.util.List<CommerceWarehouse> |
findByG_A(long groupId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce warehouses where groupId = ? and active = ?.
|
CommerceWarehouse |
findByG_C_First(long groupId,
long commerceCountryId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns the first commerce warehouse in the ordered set where groupId = ? and commerceCountryId = ?.
|
CommerceWarehouse |
findByG_C_Last(long groupId,
long commerceCountryId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns the last commerce warehouse in the ordered set where groupId = ? and commerceCountryId = ?.
|
CommerceWarehouse[] |
findByG_C_PrevAndNext(long commerceWarehouseId,
long groupId,
long commerceCountryId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns the commerce warehouses before and after the current commerce warehouse in the ordered set where groupId = ? and commerceCountryId = ?.
|
java.util.List<CommerceWarehouse> |
findByG_C(long groupId,
long commerceCountryId)
Returns all the commerce warehouses where groupId = ? and commerceCountryId = ?.
|
java.util.List<CommerceWarehouse> |
findByG_C(long groupId,
long commerceCountryId,
int start,
int end)
Returns a range of all the commerce warehouses where groupId = ? and commerceCountryId = ?.
|
java.util.List<CommerceWarehouse> |
findByG_C(long groupId,
long commerceCountryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns an ordered range of all the commerce warehouses where groupId = ? and commerceCountryId = ?.
|
java.util.List<CommerceWarehouse> |
findByG_C(long groupId,
long commerceCountryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce warehouses where groupId = ? and commerceCountryId = ?.
|
CommerceWarehouse |
findByG_P_First(long groupId,
boolean primary,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns the first commerce warehouse in the ordered set where groupId = ? and primary = ?.
|
CommerceWarehouse |
findByG_P_Last(long groupId,
boolean primary,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns the last commerce warehouse in the ordered set where groupId = ? and primary = ?.
|
CommerceWarehouse[] |
findByG_P_PrevAndNext(long commerceWarehouseId,
long groupId,
boolean primary,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns the commerce warehouses before and after the current commerce warehouse in the ordered set where groupId = ? and primary = ?.
|
java.util.List<CommerceWarehouse> |
findByG_P(long groupId,
boolean primary)
Returns all the commerce warehouses where groupId = ? and primary = ?.
|
java.util.List<CommerceWarehouse> |
findByG_P(long groupId,
boolean primary,
int start,
int end)
Returns a range of all the commerce warehouses where groupId = ? and primary = ?.
|
java.util.List<CommerceWarehouse> |
findByG_P(long groupId,
boolean primary,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns an ordered range of all the commerce warehouses where groupId = ? and primary = ?.
|
java.util.List<CommerceWarehouse> |
findByG_P(long groupId,
boolean primary,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce warehouses where groupId = ? and primary = ?.
|
CommerceWarehouse |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns the first commerce warehouse in the ordered set where groupId = ?.
|
CommerceWarehouse |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns the last commerce warehouse in the ordered set where groupId = ?.
|
CommerceWarehouse[] |
findByGroupId_PrevAndNext(long commerceWarehouseId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns the commerce warehouses before and after the current commerce warehouse in the ordered set where groupId = ?.
|
java.util.List<CommerceWarehouse> |
findByGroupId(long groupId)
Returns all the commerce warehouses where groupId = ?.
|
java.util.List<CommerceWarehouse> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the commerce warehouses where groupId = ?.
|
java.util.List<CommerceWarehouse> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
Returns an ordered range of all the commerce warehouses where groupId = ?.
|
java.util.List<CommerceWarehouse> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce warehouses where groupId = ?.
|
CommerceWarehouse |
findByPrimaryKey(long commerceWarehouseId)
Returns the commerce warehouse with the primary key or throws a
NoSuchWarehouseException if it could not be found. |
java.util.Set<java.lang.String> |
getBadColumnNames() |
CommerceWarehouse |
remove(long commerceWarehouseId)
Removes the commerce warehouse with the primary key from the database.
|
void |
removeAll()
Removes all the commerce warehouses from the database.
|
void |
removeByG_A_C(long groupId,
boolean active,
long commerceCountryId)
Removes all the commerce warehouses where groupId = ? and active = ? and commerceCountryId = ? from the database.
|
void |
removeByG_A(long groupId,
boolean active)
Removes all the commerce warehouses where groupId = ? and active = ? from the database.
|
void |
removeByG_C(long groupId,
long commerceCountryId)
Removes all the commerce warehouses where groupId = ? and commerceCountryId = ? from the database.
|
void |
removeByG_P(long groupId,
boolean primary)
Removes all the commerce warehouses where groupId = ? and primary = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the commerce warehouses where groupId = ? from the database.
|
CommerceWarehouse |
updateImpl(CommerceWarehouse commerceWarehouse) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, updatejava.util.List<CommerceWarehouse> findByGroupId(long groupId)
groupId - the group IDjava.util.List<CommerceWarehouse> findByGroupId(long groupId, 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstart - the lower bound of the range of commerce warehousesend - the upper bound of the range of commerce warehouses (not inclusive)java.util.List<CommerceWarehouse> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstart - the lower bound of the range of commerce warehousesend - the upper bound of the range of commerce warehouses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceWarehouse> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstart - the lower bound of the range of commerce warehousesend - the upper bound of the range of commerce warehouses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheCommerceWarehouse findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) throws NoSuchWarehouseException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchWarehouseException - if a matching commerce warehouse could not be foundCommerceWarehouse fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce warehouse could not be foundCommerceWarehouse findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) throws NoSuchWarehouseException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchWarehouseException - if a matching commerce warehouse could not be foundCommerceWarehouse fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce warehouse could not be foundCommerceWarehouse[] findByGroupId_PrevAndNext(long commerceWarehouseId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) throws NoSuchWarehouseException
commerceWarehouseId - the primary key of the current commerce warehousegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchWarehouseException - if a commerce warehouse with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId - the group IDint countByGroupId(long groupId)
groupId - the group IDjava.util.List<CommerceWarehouse> findByG_A(long groupId, boolean active)
groupId - the group IDactive - the activejava.util.List<CommerceWarehouse> findByG_A(long groupId, boolean active, 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDactive - the activestart - the lower bound of the range of commerce warehousesend - the upper bound of the range of commerce warehouses (not inclusive)java.util.List<CommerceWarehouse> findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDactive - the activestart - the lower bound of the range of commerce warehousesend - the upper bound of the range of commerce warehouses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceWarehouse> findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDactive - the activestart - the lower bound of the range of commerce warehousesend - the upper bound of the range of commerce warehouses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheCommerceWarehouse findByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) throws NoSuchWarehouseException
groupId - the group IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchWarehouseException - if a matching commerce warehouse could not be foundCommerceWarehouse fetchByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
groupId - the group IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce warehouse could not be foundCommerceWarehouse findByG_A_Last(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) throws NoSuchWarehouseException
groupId - the group IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchWarehouseException - if a matching commerce warehouse could not be foundCommerceWarehouse fetchByG_A_Last(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
groupId - the group IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce warehouse could not be foundCommerceWarehouse[] findByG_A_PrevAndNext(long commerceWarehouseId, long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) throws NoSuchWarehouseException
commerceWarehouseId - the primary key of the current commerce warehousegroupId - the group IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchWarehouseException - if a commerce warehouse with the primary key could not be foundvoid removeByG_A(long groupId,
boolean active)
groupId - the group IDactive - the activeint countByG_A(long groupId,
boolean active)
groupId - the group IDactive - the activejava.util.List<CommerceWarehouse> findByG_C(long groupId, long commerceCountryId)
groupId - the group IDcommerceCountryId - the commerce country IDjava.util.List<CommerceWarehouse> findByG_C(long groupId, long commerceCountryId, 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDcommerceCountryId - the commerce country IDstart - the lower bound of the range of commerce warehousesend - the upper bound of the range of commerce warehouses (not inclusive)java.util.List<CommerceWarehouse> findByG_C(long groupId, long commerceCountryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDcommerceCountryId - the commerce country IDstart - the lower bound of the range of commerce warehousesend - the upper bound of the range of commerce warehouses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceWarehouse> findByG_C(long groupId, long commerceCountryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDcommerceCountryId - the commerce country IDstart - the lower bound of the range of commerce warehousesend - the upper bound of the range of commerce warehouses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheCommerceWarehouse findByG_C_First(long groupId, long commerceCountryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) throws NoSuchWarehouseException
groupId - the group IDcommerceCountryId - the commerce country IDorderByComparator - the comparator to order the set by (optionally null)NoSuchWarehouseException - if a matching commerce warehouse could not be foundCommerceWarehouse fetchByG_C_First(long groupId, long commerceCountryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
groupId - the group IDcommerceCountryId - the commerce country IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce warehouse could not be foundCommerceWarehouse findByG_C_Last(long groupId, long commerceCountryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) throws NoSuchWarehouseException
groupId - the group IDcommerceCountryId - the commerce country IDorderByComparator - the comparator to order the set by (optionally null)NoSuchWarehouseException - if a matching commerce warehouse could not be foundCommerceWarehouse fetchByG_C_Last(long groupId, long commerceCountryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
groupId - the group IDcommerceCountryId - the commerce country IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce warehouse could not be foundCommerceWarehouse[] findByG_C_PrevAndNext(long commerceWarehouseId, long groupId, long commerceCountryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) throws NoSuchWarehouseException
commerceWarehouseId - the primary key of the current commerce warehousegroupId - the group IDcommerceCountryId - the commerce country IDorderByComparator - the comparator to order the set by (optionally null)NoSuchWarehouseException - if a commerce warehouse with the primary key could not be foundvoid removeByG_C(long groupId,
long commerceCountryId)
groupId - the group IDcommerceCountryId - the commerce country IDint countByG_C(long groupId,
long commerceCountryId)
groupId - the group IDcommerceCountryId - the commerce country IDjava.util.List<CommerceWarehouse> findByG_P(long groupId, boolean primary)
groupId - the group IDprimary - the primaryjava.util.List<CommerceWarehouse> findByG_P(long groupId, boolean primary, 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDprimary - the primarystart - the lower bound of the range of commerce warehousesend - the upper bound of the range of commerce warehouses (not inclusive)java.util.List<CommerceWarehouse> findByG_P(long groupId, boolean primary, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDprimary - the primarystart - the lower bound of the range of commerce warehousesend - the upper bound of the range of commerce warehouses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceWarehouse> findByG_P(long groupId, boolean primary, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDprimary - the primarystart - the lower bound of the range of commerce warehousesend - the upper bound of the range of commerce warehouses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheCommerceWarehouse findByG_P_First(long groupId, boolean primary, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) throws NoSuchWarehouseException
groupId - the group IDprimary - the primaryorderByComparator - the comparator to order the set by (optionally null)NoSuchWarehouseException - if a matching commerce warehouse could not be foundCommerceWarehouse fetchByG_P_First(long groupId, boolean primary, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
groupId - the group IDprimary - the primaryorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce warehouse could not be foundCommerceWarehouse findByG_P_Last(long groupId, boolean primary, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) throws NoSuchWarehouseException
groupId - the group IDprimary - the primaryorderByComparator - the comparator to order the set by (optionally null)NoSuchWarehouseException - if a matching commerce warehouse could not be foundCommerceWarehouse fetchByG_P_Last(long groupId, boolean primary, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
groupId - the group IDprimary - the primaryorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce warehouse could not be foundCommerceWarehouse[] findByG_P_PrevAndNext(long commerceWarehouseId, long groupId, boolean primary, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) throws NoSuchWarehouseException
commerceWarehouseId - the primary key of the current commerce warehousegroupId - the group IDprimary - the primaryorderByComparator - the comparator to order the set by (optionally null)NoSuchWarehouseException - if a commerce warehouse with the primary key could not be foundvoid removeByG_P(long groupId,
boolean primary)
groupId - the group IDprimary - the primaryint countByG_P(long groupId,
boolean primary)
groupId - the group IDprimary - the primaryjava.util.List<CommerceWarehouse> findByG_A_C(long groupId, boolean active, long commerceCountryId)
groupId - the group IDactive - the activecommerceCountryId - the commerce country IDjava.util.List<CommerceWarehouse> findByG_A_C(long groupId, boolean active, long commerceCountryId, 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDactive - the activecommerceCountryId - the commerce country IDstart - the lower bound of the range of commerce warehousesend - the upper bound of the range of commerce warehouses (not inclusive)java.util.List<CommerceWarehouse> findByG_A_C(long groupId, boolean active, long commerceCountryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDactive - the activecommerceCountryId - the commerce country IDstart - the lower bound of the range of commerce warehousesend - the upper bound of the range of commerce warehouses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceWarehouse> findByG_A_C(long groupId, boolean active, long commerceCountryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDactive - the activecommerceCountryId - the commerce country IDstart - the lower bound of the range of commerce warehousesend - the upper bound of the range of commerce warehouses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheCommerceWarehouse findByG_A_C_First(long groupId, boolean active, long commerceCountryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) throws NoSuchWarehouseException
groupId - the group IDactive - the activecommerceCountryId - the commerce country IDorderByComparator - the comparator to order the set by (optionally null)NoSuchWarehouseException - if a matching commerce warehouse could not be foundCommerceWarehouse fetchByG_A_C_First(long groupId, boolean active, long commerceCountryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
groupId - the group IDactive - the activecommerceCountryId - the commerce country IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce warehouse could not be foundCommerceWarehouse findByG_A_C_Last(long groupId, boolean active, long commerceCountryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) throws NoSuchWarehouseException
groupId - the group IDactive - the activecommerceCountryId - the commerce country IDorderByComparator - the comparator to order the set by (optionally null)NoSuchWarehouseException - if a matching commerce warehouse could not be foundCommerceWarehouse fetchByG_A_C_Last(long groupId, boolean active, long commerceCountryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
groupId - the group IDactive - the activecommerceCountryId - the commerce country IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce warehouse could not be foundCommerceWarehouse[] findByG_A_C_PrevAndNext(long commerceWarehouseId, long groupId, boolean active, long commerceCountryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) throws NoSuchWarehouseException
commerceWarehouseId - the primary key of the current commerce warehousegroupId - the group IDactive - the activecommerceCountryId - the commerce country IDorderByComparator - the comparator to order the set by (optionally null)NoSuchWarehouseException - if a commerce warehouse with the primary key could not be foundvoid removeByG_A_C(long groupId,
boolean active,
long commerceCountryId)
groupId - the group IDactive - the activecommerceCountryId - the commerce country IDint countByG_A_C(long groupId,
boolean active,
long commerceCountryId)
groupId - the group IDactive - the activecommerceCountryId - the commerce country IDvoid cacheResult(CommerceWarehouse commerceWarehouse)
commerceWarehouse - the commerce warehousevoid cacheResult(java.util.List<CommerceWarehouse> commerceWarehouses)
commerceWarehouses - the commerce warehousesCommerceWarehouse create(long commerceWarehouseId)
commerceWarehouseId - the primary key for the new commerce warehouseCommerceWarehouse remove(long commerceWarehouseId) throws NoSuchWarehouseException
commerceWarehouseId - the primary key of the commerce warehouseNoSuchWarehouseException - if a commerce warehouse with the primary key could not be foundCommerceWarehouse updateImpl(CommerceWarehouse commerceWarehouse)
CommerceWarehouse findByPrimaryKey(long commerceWarehouseId) throws NoSuchWarehouseException
NoSuchWarehouseException if it could not be found.commerceWarehouseId - the primary key of the commerce warehouseNoSuchWarehouseException - if a commerce warehouse with the primary key could not be foundCommerceWarehouse fetchByPrimaryKey(long commerceWarehouseId)
null if it could not be found.commerceWarehouseId - the primary key of the commerce warehousenull if a commerce warehouse with the primary key could not be foundjava.util.Map<java.io.Serializable,CommerceWarehouse> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceWarehouse>java.util.List<CommerceWarehouse> findAll()
java.util.List<CommerceWarehouse> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of commerce warehousesend - the upper bound of the range of commerce warehouses (not inclusive)java.util.List<CommerceWarehouse> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of commerce warehousesend - the upper bound of the range of commerce warehouses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceWarehouse> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceWarehouseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of commerce warehousesend - the upper bound of the range of commerce warehouses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cachevoid removeAll()
int countAll()
java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceWarehouse>