public class CommerceInventoryWarehouseUtil
extends java.lang.Object
com.liferay.commerce.inventory.service.persistence.impl.CommerceInventoryWarehousePersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
CommerceInventoryWarehousePersistence
Constructor and Description |
---|
CommerceInventoryWarehouseUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CommerceInventoryWarehouse commerceInventoryWarehouse)
Caches the commerce inventory warehouse in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CommerceInventoryWarehouse> commerceInventoryWarehouses)
Caches the commerce inventory warehouses in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CommerceInventoryWarehouse commerceInventoryWarehouse) |
static int |
countAll()
Returns the number of commerce inventory warehouses.
|
static int |
countByC_A_C(long companyId,
boolean active,
java.lang.String countryTwoLettersISOCode)
Returns the number of commerce inventory warehouses where companyId = ? and active = ? and countryTwoLettersISOCode = ?.
|
static int |
countByC_A(long companyId,
boolean active)
Returns the number of commerce inventory warehouses where companyId = ? and active = ?.
|
static int |
countByC_C(long companyId,
java.lang.String countryTwoLettersISOCode)
Returns the number of commerce inventory warehouses where companyId = ? and countryTwoLettersISOCode = ?.
|
static int |
countByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the number of commerce inventory warehouses where companyId = ? and externalReferenceCode = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of commerce inventory warehouses where companyId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CommerceInventoryWarehouse |
create(long commerceInventoryWarehouseId)
Creates a new commerce inventory warehouse with the primary key.
|
static CommerceInventoryWarehouse |
fetchByC_A_C_First(long companyId,
boolean active,
java.lang.String countryTwoLettersISOCode,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the first commerce inventory warehouse in the ordered set where companyId = ? and active = ? and countryTwoLettersISOCode = ?.
|
static CommerceInventoryWarehouse |
fetchByC_A_C_Last(long companyId,
boolean active,
java.lang.String countryTwoLettersISOCode,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the last commerce inventory warehouse in the ordered set where companyId = ? and active = ? and countryTwoLettersISOCode = ?.
|
static CommerceInventoryWarehouse |
fetchByC_A_First(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the first commerce inventory warehouse in the ordered set where companyId = ? and active = ?.
|
static CommerceInventoryWarehouse |
fetchByC_A_Last(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the last commerce inventory warehouse in the ordered set where companyId = ? and active = ?.
|
static CommerceInventoryWarehouse |
fetchByC_C_First(long companyId,
java.lang.String countryTwoLettersISOCode,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the first commerce inventory warehouse in the ordered set where companyId = ? and countryTwoLettersISOCode = ?.
|
static CommerceInventoryWarehouse |
fetchByC_C_Last(long companyId,
java.lang.String countryTwoLettersISOCode,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the last commerce inventory warehouse in the ordered set where companyId = ? and countryTwoLettersISOCode = ?.
|
static CommerceInventoryWarehouse |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce inventory warehouse where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found. |
static CommerceInventoryWarehouse |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode,
boolean useFinderCache)
Returns the commerce inventory warehouse where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found, optionally using the finder cache. |
static CommerceInventoryWarehouse |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the first commerce inventory warehouse in the ordered set where companyId = ?.
|
static CommerceInventoryWarehouse |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the last commerce inventory warehouse in the ordered set where companyId = ?.
|
static CommerceInventoryWarehouse |
fetchByPrimaryKey(long commerceInventoryWarehouseId)
Returns the commerce inventory warehouse with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CommerceInventoryWarehouse> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static int |
filterCountByC_A_C(long companyId,
boolean active,
java.lang.String countryTwoLettersISOCode)
Returns the number of commerce inventory warehouses that the user has permission to view where companyId = ? and active = ? and countryTwoLettersISOCode = ?.
|
static int |
filterCountByC_A(long companyId,
boolean active)
Returns the number of commerce inventory warehouses that the user has permission to view where companyId = ? and active = ?.
|
static int |
filterCountByC_C(long companyId,
java.lang.String countryTwoLettersISOCode)
Returns the number of commerce inventory warehouses that the user has permission to view where companyId = ? and countryTwoLettersISOCode = ?.
|
static int |
filterCountByCompanyId(long companyId)
Returns the number of commerce inventory warehouses that the user has permission to view where companyId = ?.
|
static CommerceInventoryWarehouse[] |
filterFindByC_A_C_PrevAndNext(long commerceInventoryWarehouseId,
long companyId,
boolean active,
java.lang.String countryTwoLettersISOCode,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set of commerce inventory warehouses that the user has permission to view where companyId = ? and active = ? and countryTwoLettersISOCode = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
filterFindByC_A_C(long companyId,
boolean active,
java.lang.String countryTwoLettersISOCode)
Returns all the commerce inventory warehouses that the user has permission to view where companyId = ? and active = ? and countryTwoLettersISOCode = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
filterFindByC_A_C(long companyId,
boolean active,
java.lang.String countryTwoLettersISOCode,
int start,
int end)
Returns a range of all the commerce inventory warehouses that the user has permission to view where companyId = ? and active = ? and countryTwoLettersISOCode = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
filterFindByC_A_C(long companyId,
boolean active,
java.lang.String countryTwoLettersISOCode,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns an ordered range of all the commerce inventory warehouses that the user has permissions to view where companyId = ? and active = ? and countryTwoLettersISOCode = ?.
|
static CommerceInventoryWarehouse[] |
filterFindByC_A_PrevAndNext(long commerceInventoryWarehouseId,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set of commerce inventory warehouses that the user has permission to view where companyId = ? and active = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
filterFindByC_A(long companyId,
boolean active)
Returns all the commerce inventory warehouses that the user has permission to view where companyId = ? and active = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
filterFindByC_A(long companyId,
boolean active,
int start,
int end)
Returns a range of all the commerce inventory warehouses that the user has permission to view where companyId = ? and active = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
filterFindByC_A(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns an ordered range of all the commerce inventory warehouses that the user has permissions to view where companyId = ? and active = ?.
|
static CommerceInventoryWarehouse[] |
filterFindByC_C_PrevAndNext(long commerceInventoryWarehouseId,
long companyId,
java.lang.String countryTwoLettersISOCode,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set of commerce inventory warehouses that the user has permission to view where companyId = ? and countryTwoLettersISOCode = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
filterFindByC_C(long companyId,
java.lang.String countryTwoLettersISOCode)
Returns all the commerce inventory warehouses that the user has permission to view where companyId = ? and countryTwoLettersISOCode = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
filterFindByC_C(long companyId,
java.lang.String countryTwoLettersISOCode,
int start,
int end)
Returns a range of all the commerce inventory warehouses that the user has permission to view where companyId = ? and countryTwoLettersISOCode = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
filterFindByC_C(long companyId,
java.lang.String countryTwoLettersISOCode,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns an ordered range of all the commerce inventory warehouses that the user has permissions to view where companyId = ? and countryTwoLettersISOCode = ?.
|
static CommerceInventoryWarehouse[] |
filterFindByCompanyId_PrevAndNext(long commerceInventoryWarehouseId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set of commerce inventory warehouses that the user has permission to view where companyId = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
filterFindByCompanyId(long companyId)
Returns all the commerce inventory warehouses that the user has permission to view where companyId = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the commerce inventory warehouses that the user has permission to view where companyId = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
filterFindByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns an ordered range of all the commerce inventory warehouses that the user has permissions to view where companyId = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
findAll()
Returns all the commerce inventory warehouses.
|
static java.util.List<CommerceInventoryWarehouse> |
findAll(int start,
int end)
Returns a range of all the commerce inventory warehouses.
|
static java.util.List<CommerceInventoryWarehouse> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns an ordered range of all the commerce inventory warehouses.
|
static java.util.List<CommerceInventoryWarehouse> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce inventory warehouses.
|
static CommerceInventoryWarehouse |
findByC_A_C_First(long companyId,
boolean active,
java.lang.String countryTwoLettersISOCode,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the first commerce inventory warehouse in the ordered set where companyId = ? and active = ? and countryTwoLettersISOCode = ?.
|
static CommerceInventoryWarehouse |
findByC_A_C_Last(long companyId,
boolean active,
java.lang.String countryTwoLettersISOCode,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the last commerce inventory warehouse in the ordered set where companyId = ? and active = ? and countryTwoLettersISOCode = ?.
|
static CommerceInventoryWarehouse[] |
findByC_A_C_PrevAndNext(long commerceInventoryWarehouseId,
long companyId,
boolean active,
java.lang.String countryTwoLettersISOCode,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set where companyId = ? and active = ? and countryTwoLettersISOCode = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
findByC_A_C(long companyId,
boolean active,
java.lang.String countryTwoLettersISOCode)
Returns all the commerce inventory warehouses where companyId = ? and active = ? and countryTwoLettersISOCode = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
findByC_A_C(long companyId,
boolean active,
java.lang.String countryTwoLettersISOCode,
int start,
int end)
Returns a range of all the commerce inventory warehouses where companyId = ? and active = ? and countryTwoLettersISOCode = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
findByC_A_C(long companyId,
boolean active,
java.lang.String countryTwoLettersISOCode,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns an ordered range of all the commerce inventory warehouses where companyId = ? and active = ? and countryTwoLettersISOCode = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
findByC_A_C(long companyId,
boolean active,
java.lang.String countryTwoLettersISOCode,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce inventory warehouses where companyId = ? and active = ? and countryTwoLettersISOCode = ?.
|
static CommerceInventoryWarehouse |
findByC_A_First(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the first commerce inventory warehouse in the ordered set where companyId = ? and active = ?.
|
static CommerceInventoryWarehouse |
findByC_A_Last(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the last commerce inventory warehouse in the ordered set where companyId = ? and active = ?.
|
static CommerceInventoryWarehouse[] |
findByC_A_PrevAndNext(long commerceInventoryWarehouseId,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set where companyId = ? and active = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
findByC_A(long companyId,
boolean active)
Returns all the commerce inventory warehouses where companyId = ? and active = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
findByC_A(long companyId,
boolean active,
int start,
int end)
Returns a range of all the commerce inventory warehouses where companyId = ? and active = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
findByC_A(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns an ordered range of all the commerce inventory warehouses where companyId = ? and active = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
findByC_A(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce inventory warehouses where companyId = ? and active = ?.
|
static CommerceInventoryWarehouse |
findByC_C_First(long companyId,
java.lang.String countryTwoLettersISOCode,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the first commerce inventory warehouse in the ordered set where companyId = ? and countryTwoLettersISOCode = ?.
|
static CommerceInventoryWarehouse |
findByC_C_Last(long companyId,
java.lang.String countryTwoLettersISOCode,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the last commerce inventory warehouse in the ordered set where companyId = ? and countryTwoLettersISOCode = ?.
|
static CommerceInventoryWarehouse[] |
findByC_C_PrevAndNext(long commerceInventoryWarehouseId,
long companyId,
java.lang.String countryTwoLettersISOCode,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set where companyId = ? and countryTwoLettersISOCode = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
findByC_C(long companyId,
java.lang.String countryTwoLettersISOCode)
Returns all the commerce inventory warehouses where companyId = ? and countryTwoLettersISOCode = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
findByC_C(long companyId,
java.lang.String countryTwoLettersISOCode,
int start,
int end)
Returns a range of all the commerce inventory warehouses where companyId = ? and countryTwoLettersISOCode = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
findByC_C(long companyId,
java.lang.String countryTwoLettersISOCode,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns an ordered range of all the commerce inventory warehouses where companyId = ? and countryTwoLettersISOCode = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
findByC_C(long companyId,
java.lang.String countryTwoLettersISOCode,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce inventory warehouses where companyId = ? and countryTwoLettersISOCode = ?.
|
static CommerceInventoryWarehouse |
findByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce inventory warehouse where companyId = ? and externalReferenceCode = ? or throws a
NoSuchInventoryWarehouseException if it could not be found. |
static CommerceInventoryWarehouse |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the first commerce inventory warehouse in the ordered set where companyId = ?.
|
static CommerceInventoryWarehouse |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the last commerce inventory warehouse in the ordered set where companyId = ?.
|
static CommerceInventoryWarehouse[] |
findByCompanyId_PrevAndNext(long commerceInventoryWarehouseId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set where companyId = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
findByCompanyId(long companyId)
Returns all the commerce inventory warehouses where companyId = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the commerce inventory warehouses where companyId = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns an ordered range of all the commerce inventory warehouses where companyId = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce inventory warehouses where companyId = ?.
|
static CommerceInventoryWarehouse |
findByPrimaryKey(long commerceInventoryWarehouseId)
Returns the commerce inventory warehouse with the primary key or throws a
NoSuchInventoryWarehouseException if it could not be found. |
static java.util.List<CommerceInventoryWarehouse> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CommerceInventoryWarehouse> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CommerceInventoryWarehouse> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) |
static CommerceInventoryWarehousePersistence |
getPersistence() |
static CommerceInventoryWarehouse |
remove(long commerceInventoryWarehouseId)
Removes the commerce inventory warehouse with the primary key from the database.
|
static void |
removeAll()
Removes all the commerce inventory warehouses from the database.
|
static void |
removeByC_A_C(long companyId,
boolean active,
java.lang.String countryTwoLettersISOCode)
Removes all the commerce inventory warehouses where companyId = ? and active = ? and countryTwoLettersISOCode = ? from the database.
|
static void |
removeByC_A(long companyId,
boolean active)
Removes all the commerce inventory warehouses where companyId = ? and active = ? from the database.
|
static void |
removeByC_C(long companyId,
java.lang.String countryTwoLettersISOCode)
Removes all the commerce inventory warehouses where companyId = ? and countryTwoLettersISOCode = ? from the database.
|
static CommerceInventoryWarehouse |
removeByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Removes the commerce inventory warehouse where companyId = ? and externalReferenceCode = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the commerce inventory warehouses where companyId = ? from the database.
|
static CommerceInventoryWarehouse |
update(CommerceInventoryWarehouse commerceInventoryWarehouse) |
static CommerceInventoryWarehouse |
update(CommerceInventoryWarehouse commerceInventoryWarehouse,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceInventoryWarehouse |
updateImpl(CommerceInventoryWarehouse commerceInventoryWarehouse) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CommerceInventoryWarehouse commerceInventoryWarehouse)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,CommerceInventoryWarehouse> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<CommerceInventoryWarehouse> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CommerceInventoryWarehouse> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CommerceInventoryWarehouse> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CommerceInventoryWarehouse update(CommerceInventoryWarehouse commerceInventoryWarehouse)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CommerceInventoryWarehouse update(CommerceInventoryWarehouse commerceInventoryWarehouse, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CommerceInventoryWarehouse> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<CommerceInventoryWarehouse> findByCompanyId(long companyId, 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 CommerceInventoryWarehouseModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)public static java.util.List<CommerceInventoryWarehouse> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> 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 CommerceInventoryWarehouseModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceInventoryWarehouse> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> 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 CommerceInventoryWarehouseModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceInventoryWarehouse findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryWarehouseException
- if a matching commerce inventory warehouse could not be foundpublic static CommerceInventoryWarehouse fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory warehouse could not be foundpublic static CommerceInventoryWarehouse findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryWarehouseException
- if a matching commerce inventory warehouse could not be foundpublic static CommerceInventoryWarehouse fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory warehouse could not be foundpublic static CommerceInventoryWarehouse[] findByCompanyId_PrevAndNext(long commerceInventoryWarehouseId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException
commerceInventoryWarehouseId
- the primary key of the current commerce inventory warehousecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryWarehouseException
- if a commerce inventory warehouse with the primary key could not be foundpublic static java.util.List<CommerceInventoryWarehouse> filterFindByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<CommerceInventoryWarehouse> filterFindByCompanyId(long companyId, 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 CommerceInventoryWarehouseModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)public static java.util.List<CommerceInventoryWarehouse> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> 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 CommerceInventoryWarehouseModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static CommerceInventoryWarehouse[] filterFindByCompanyId_PrevAndNext(long commerceInventoryWarehouseId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException
commerceInventoryWarehouseId
- the primary key of the current commerce inventory warehousecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryWarehouseException
- if a commerce inventory warehouse with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static int filterCountByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<CommerceInventoryWarehouse> findByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activepublic static java.util.List<CommerceInventoryWarehouse> findByC_A(long companyId, 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, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl
.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)public static java.util.List<CommerceInventoryWarehouse> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> 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 CommerceInventoryWarehouseModelImpl
.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceInventoryWarehouse> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> 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 CommerceInventoryWarehouseModelImpl
.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceInventoryWarehouse findByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryWarehouseException
- if a matching commerce inventory warehouse could not be foundpublic static CommerceInventoryWarehouse fetchByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory warehouse could not be foundpublic static CommerceInventoryWarehouse findByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryWarehouseException
- if a matching commerce inventory warehouse could not be foundpublic static CommerceInventoryWarehouse fetchByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory warehouse could not be foundpublic static CommerceInventoryWarehouse[] findByC_A_PrevAndNext(long commerceInventoryWarehouseId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException
commerceInventoryWarehouseId
- the primary key of the current commerce inventory warehousecompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryWarehouseException
- if a commerce inventory warehouse with the primary key could not be foundpublic static java.util.List<CommerceInventoryWarehouse> filterFindByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activepublic static java.util.List<CommerceInventoryWarehouse> filterFindByC_A(long companyId, 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, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl
.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)public static java.util.List<CommerceInventoryWarehouse> filterFindByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> 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 CommerceInventoryWarehouseModelImpl
.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static CommerceInventoryWarehouse[] filterFindByC_A_PrevAndNext(long commerceInventoryWarehouseId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException
commerceInventoryWarehouseId
- the primary key of the current commerce inventory warehousecompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryWarehouseException
- if a commerce inventory warehouse with the primary key could not be foundpublic static void removeByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activepublic static int countByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activepublic static int filterCountByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activepublic static java.util.List<CommerceInventoryWarehouse> findByC_C(long companyId, java.lang.String countryTwoLettersISOCode)
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codepublic static java.util.List<CommerceInventoryWarehouse> findByC_C(long companyId, java.lang.String countryTwoLettersISOCode, 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 CommerceInventoryWarehouseModelImpl
.
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)public static java.util.List<CommerceInventoryWarehouse> findByC_C(long companyId, java.lang.String countryTwoLettersISOCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> 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 CommerceInventoryWarehouseModelImpl
.
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceInventoryWarehouse> findByC_C(long companyId, java.lang.String countryTwoLettersISOCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> 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 CommerceInventoryWarehouseModelImpl
.
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceInventoryWarehouse findByC_C_First(long companyId, java.lang.String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryWarehouseException
- if a matching commerce inventory warehouse could not be foundpublic static CommerceInventoryWarehouse fetchByC_C_First(long companyId, java.lang.String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory warehouse could not be foundpublic static CommerceInventoryWarehouse findByC_C_Last(long companyId, java.lang.String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryWarehouseException
- if a matching commerce inventory warehouse could not be foundpublic static CommerceInventoryWarehouse fetchByC_C_Last(long companyId, java.lang.String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory warehouse could not be foundpublic static CommerceInventoryWarehouse[] findByC_C_PrevAndNext(long commerceInventoryWarehouseId, long companyId, java.lang.String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException
commerceInventoryWarehouseId
- the primary key of the current commerce inventory warehousecompanyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryWarehouseException
- if a commerce inventory warehouse with the primary key could not be foundpublic static java.util.List<CommerceInventoryWarehouse> filterFindByC_C(long companyId, java.lang.String countryTwoLettersISOCode)
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codepublic static java.util.List<CommerceInventoryWarehouse> filterFindByC_C(long companyId, java.lang.String countryTwoLettersISOCode, 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 CommerceInventoryWarehouseModelImpl
.
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)public static java.util.List<CommerceInventoryWarehouse> filterFindByC_C(long companyId, java.lang.String countryTwoLettersISOCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> 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 CommerceInventoryWarehouseModelImpl
.
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static CommerceInventoryWarehouse[] filterFindByC_C_PrevAndNext(long commerceInventoryWarehouseId, long companyId, java.lang.String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException
commerceInventoryWarehouseId
- the primary key of the current commerce inventory warehousecompanyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryWarehouseException
- if a commerce inventory warehouse with the primary key could not be foundpublic static void removeByC_C(long companyId, java.lang.String countryTwoLettersISOCode)
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codepublic static int countByC_C(long companyId, java.lang.String countryTwoLettersISOCode)
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codepublic static int filterCountByC_C(long companyId, java.lang.String countryTwoLettersISOCode)
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codepublic static java.util.List<CommerceInventoryWarehouse> findByC_A_C(long companyId, boolean active, java.lang.String countryTwoLettersISOCode)
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codepublic static java.util.List<CommerceInventoryWarehouse> findByC_A_C(long companyId, boolean active, java.lang.String countryTwoLettersISOCode, 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 CommerceInventoryWarehouseModelImpl
.
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)public static java.util.List<CommerceInventoryWarehouse> findByC_A_C(long companyId, boolean active, java.lang.String countryTwoLettersISOCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> 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 CommerceInventoryWarehouseModelImpl
.
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceInventoryWarehouse> findByC_A_C(long companyId, boolean active, java.lang.String countryTwoLettersISOCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> 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 CommerceInventoryWarehouseModelImpl
.
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceInventoryWarehouse findByC_A_C_First(long companyId, boolean active, java.lang.String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryWarehouseException
- if a matching commerce inventory warehouse could not be foundpublic static CommerceInventoryWarehouse fetchByC_A_C_First(long companyId, boolean active, java.lang.String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory warehouse could not be foundpublic static CommerceInventoryWarehouse findByC_A_C_Last(long companyId, boolean active, java.lang.String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryWarehouseException
- if a matching commerce inventory warehouse could not be foundpublic static CommerceInventoryWarehouse fetchByC_A_C_Last(long companyId, boolean active, java.lang.String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory warehouse could not be foundpublic static CommerceInventoryWarehouse[] findByC_A_C_PrevAndNext(long commerceInventoryWarehouseId, long companyId, boolean active, java.lang.String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException
commerceInventoryWarehouseId
- the primary key of the current commerce inventory warehousecompanyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryWarehouseException
- if a commerce inventory warehouse with the primary key could not be foundpublic static java.util.List<CommerceInventoryWarehouse> filterFindByC_A_C(long companyId, boolean active, java.lang.String countryTwoLettersISOCode)
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codepublic static java.util.List<CommerceInventoryWarehouse> filterFindByC_A_C(long companyId, boolean active, java.lang.String countryTwoLettersISOCode, 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 CommerceInventoryWarehouseModelImpl
.
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)public static java.util.List<CommerceInventoryWarehouse> filterFindByC_A_C(long companyId, boolean active, java.lang.String countryTwoLettersISOCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> 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 CommerceInventoryWarehouseModelImpl
.
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static CommerceInventoryWarehouse[] filterFindByC_A_C_PrevAndNext(long commerceInventoryWarehouseId, long companyId, boolean active, java.lang.String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException
commerceInventoryWarehouseId
- the primary key of the current commerce inventory warehousecompanyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryWarehouseException
- if a commerce inventory warehouse with the primary key could not be foundpublic static void removeByC_A_C(long companyId, boolean active, java.lang.String countryTwoLettersISOCode)
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codepublic static int countByC_A_C(long companyId, boolean active, java.lang.String countryTwoLettersISOCode)
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codepublic static int filterCountByC_A_C(long companyId, boolean active, java.lang.String countryTwoLettersISOCode)
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codepublic static CommerceInventoryWarehouse findByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchInventoryWarehouseException
NoSuchInventoryWarehouseException
if it could not be found.companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchInventoryWarehouseException
- if a matching commerce inventory warehouse could not be foundpublic static CommerceInventoryWarehouse fetchByC_ERC(long companyId, java.lang.String externalReferenceCode)
null
if it could not be found. Uses the finder cache.companyId
- the company IDexternalReferenceCode
- the external reference codenull
if a matching commerce inventory warehouse could not be foundpublic static CommerceInventoryWarehouse fetchByC_ERC(long companyId, java.lang.String externalReferenceCode, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDexternalReferenceCode
- the external reference codeuseFinderCache
- whether to use the finder cachenull
if a matching commerce inventory warehouse could not be foundpublic static CommerceInventoryWarehouse removeByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchInventoryWarehouseException
companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchInventoryWarehouseException
public static int countByC_ERC(long companyId, java.lang.String externalReferenceCode)
companyId
- the company IDexternalReferenceCode
- the external reference codepublic static void cacheResult(CommerceInventoryWarehouse commerceInventoryWarehouse)
commerceInventoryWarehouse
- the commerce inventory warehousepublic static void cacheResult(java.util.List<CommerceInventoryWarehouse> commerceInventoryWarehouses)
commerceInventoryWarehouses
- the commerce inventory warehousespublic static CommerceInventoryWarehouse create(long commerceInventoryWarehouseId)
commerceInventoryWarehouseId
- the primary key for the new commerce inventory warehousepublic static CommerceInventoryWarehouse remove(long commerceInventoryWarehouseId) throws NoSuchInventoryWarehouseException
commerceInventoryWarehouseId
- the primary key of the commerce inventory warehouseNoSuchInventoryWarehouseException
- if a commerce inventory warehouse with the primary key could not be foundpublic static CommerceInventoryWarehouse updateImpl(CommerceInventoryWarehouse commerceInventoryWarehouse)
public static CommerceInventoryWarehouse findByPrimaryKey(long commerceInventoryWarehouseId) throws NoSuchInventoryWarehouseException
NoSuchInventoryWarehouseException
if it could not be found.commerceInventoryWarehouseId
- the primary key of the commerce inventory warehouseNoSuchInventoryWarehouseException
- if a commerce inventory warehouse with the primary key could not be foundpublic static CommerceInventoryWarehouse fetchByPrimaryKey(long commerceInventoryWarehouseId)
null
if it could not be found.commerceInventoryWarehouseId
- the primary key of the commerce inventory warehousenull
if a commerce inventory warehouse with the primary key could not be foundpublic static java.util.List<CommerceInventoryWarehouse> findAll()
public static java.util.List<CommerceInventoryWarehouse> 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 CommerceInventoryWarehouseModelImpl
.
start
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)public static java.util.List<CommerceInventoryWarehouse> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> 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 CommerceInventoryWarehouseModelImpl
.
start
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceInventoryWarehouse> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> 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 CommerceInventoryWarehouseModelImpl
.
start
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static CommerceInventoryWarehousePersistence getPersistence()