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 |
countByCompanyId(long companyId)
Returns the number of commerce inventory warehouses where companyId = ?.
|
static int |
countByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the number of commerce inventory warehouses where externalReferenceCode = ? and companyId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce inventory warehouses where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of commerce inventory warehouses where uuid = ?.
|
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 |
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 |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the commerce inventory warehouse where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found. |
static CommerceInventoryWarehouse |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId,
boolean useFinderCache)
Returns the commerce inventory warehouse where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found, optionally using the finder cache. |
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 CommerceInventoryWarehouse |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the first commerce inventory warehouse in the ordered set where uuid = ? and companyId = ?.
|
static CommerceInventoryWarehouse |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the last commerce inventory warehouse in the ordered set where uuid = ? and companyId = ?.
|
static CommerceInventoryWarehouse |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the first commerce inventory warehouse in the ordered set where uuid = ?.
|
static CommerceInventoryWarehouse |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the last commerce inventory warehouse in the ordered set where uuid = ?.
|
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 int |
filterCountByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce inventory warehouses that the user has permission to view where uuid = ? and companyId = ?.
|
static int |
filterCountByUuid(java.lang.String uuid)
Returns the number of commerce inventory warehouses that the user has permission to view where uuid = ?.
|
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 CommerceInventoryWarehouse[] |
filterFindByUuid_C_PrevAndNext(long commerceInventoryWarehouseId,
java.lang.String uuid,
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 uuid = ? and companyId = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
filterFindByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce inventory warehouses that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce inventory warehouses that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
filterFindByUuid_C(java.lang.String uuid,
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 uuid = ? and companyId = ?.
|
static CommerceInventoryWarehouse[] |
filterFindByUuid_PrevAndNext(long commerceInventoryWarehouseId,
java.lang.String uuid,
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 uuid = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
filterFindByUuid(java.lang.String uuid)
Returns all the commerce inventory warehouses that the user has permission to view where uuid = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
filterFindByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce inventory warehouses that the user has permission to view where uuid = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
filterFindByUuid(java.lang.String uuid,
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 uuid = ?.
|
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 |
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 |
findByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the commerce inventory warehouse where externalReferenceCode = ? and companyId = ? or throws a
NoSuchInventoryWarehouseException if it could not be found. |
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 CommerceInventoryWarehouse |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the first commerce inventory warehouse in the ordered set where uuid = ? and companyId = ?.
|
static CommerceInventoryWarehouse |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the last commerce inventory warehouse in the ordered set where uuid = ? and companyId = ?.
|
static CommerceInventoryWarehouse[] |
findByUuid_C_PrevAndNext(long commerceInventoryWarehouseId,
java.lang.String uuid,
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 uuid = ? and companyId = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce inventory warehouses where uuid = ? and companyId = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce inventory warehouses where uuid = ? and companyId = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
findByUuid_C(java.lang.String uuid,
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 uuid = ? and companyId = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
findByUuid_C(java.lang.String uuid,
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 uuid = ? and companyId = ?.
|
static CommerceInventoryWarehouse |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the first commerce inventory warehouse in the ordered set where uuid = ?.
|
static CommerceInventoryWarehouse |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns the last commerce inventory warehouse in the ordered set where uuid = ?.
|
static CommerceInventoryWarehouse[] |
findByUuid_PrevAndNext(long commerceInventoryWarehouseId,
java.lang.String uuid,
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 uuid = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
findByUuid(java.lang.String uuid)
Returns all the commerce inventory warehouses where uuid = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce inventory warehouses where uuid = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
Returns an ordered range of all the commerce inventory warehouses where uuid = ?.
|
static java.util.List<CommerceInventoryWarehouse> |
findByUuid(java.lang.String uuid,
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 uuid = ?.
|
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 void |
removeByCompanyId(long companyId)
Removes all the commerce inventory warehouses where companyId = ? from the database.
|
static CommerceInventoryWarehouse |
removeByERC_C(java.lang.String externalReferenceCode,
long companyId)
Removes the commerce inventory warehouse where externalReferenceCode = ? and companyId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce inventory warehouses where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the commerce inventory warehouses where uuid = ? from the database.
|
static void |
setPersistence(CommerceInventoryWarehousePersistence persistence) |
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> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CommerceInventoryWarehouse> findByUuid(java.lang.String uuid, 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
.
uuid
- the uuidstart
- 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> findByUuid(java.lang.String uuid, 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
.
uuid
- the uuidstart
- 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> findByUuid(java.lang.String uuid, 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
.
uuid
- the uuidstart
- 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 findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryWarehouseException
- if a matching commerce inventory warehouse could not be foundpublic static CommerceInventoryWarehouse fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory warehouse could not be foundpublic static CommerceInventoryWarehouse findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInventoryWarehouseException
- if a matching commerce inventory warehouse could not be foundpublic static CommerceInventoryWarehouse fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce inventory warehouse could not be foundpublic static CommerceInventoryWarehouse[] findByUuid_PrevAndNext(long commerceInventoryWarehouseId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException
commerceInventoryWarehouseId
- the primary key of the current commerce inventory warehouseuuid
- the uuidorderByComparator
- 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> filterFindByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CommerceInventoryWarehouse> filterFindByUuid(java.lang.String uuid, 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
.
uuid
- the uuidstart
- 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> filterFindByUuid(java.lang.String uuid, 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
.
uuid
- the uuidstart
- 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[] filterFindByUuid_PrevAndNext(long commerceInventoryWarehouseId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException
commerceInventoryWarehouseId
- the primary key of the current commerce inventory warehouseuuid
- the uuidorderByComparator
- 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 removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int filterCountByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CommerceInventoryWarehouse> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CommerceInventoryWarehouse> findByUuid_C(java.lang.String uuid, 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
.
uuid
- the uuidcompanyId
- 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> findByUuid_C(java.lang.String uuid, 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
.
uuid
- the uuidcompanyId
- 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> findByUuid_C(java.lang.String uuid, 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
.
uuid
- the uuidcompanyId
- 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 findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException
uuid
- the uuidcompanyId
- 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 fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
uuid
- the uuidcompanyId
- 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 findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException
uuid
- the uuidcompanyId
- 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 fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator)
uuid
- the uuidcompanyId
- 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[] findByUuid_C_PrevAndNext(long commerceInventoryWarehouseId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException
commerceInventoryWarehouseId
- the primary key of the current commerce inventory warehouseuuid
- the uuidcompanyId
- 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> filterFindByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CommerceInventoryWarehouse> filterFindByUuid_C(java.lang.String uuid, 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
.
uuid
- the uuidcompanyId
- 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> filterFindByUuid_C(java.lang.String uuid, 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
.
uuid
- the uuidcompanyId
- 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[] filterFindByUuid_C_PrevAndNext(long commerceInventoryWarehouseId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException
commerceInventoryWarehouseId
- the primary key of the current commerce inventory warehouseuuid
- the uuidcompanyId
- 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 removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int filterCountByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic 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 findByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchInventoryWarehouseException
NoSuchInventoryWarehouseException
if it could not be found.externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchInventoryWarehouseException
- if a matching commerce inventory warehouse could not be foundpublic static CommerceInventoryWarehouse fetchByERC_C(java.lang.String externalReferenceCode, long companyId)
null
if it could not be found. Uses the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDnull
if a matching commerce inventory warehouse could not be foundpublic static CommerceInventoryWarehouse fetchByERC_C(java.lang.String externalReferenceCode, long companyId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce inventory warehouse could not be foundpublic static CommerceInventoryWarehouse removeByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchInventoryWarehouseException
externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchInventoryWarehouseException
public static int countByERC_C(java.lang.String externalReferenceCode, long companyId)
externalReferenceCode
- the external reference codecompanyId
- the company IDpublic 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()
public static void setPersistence(CommerceInventoryWarehousePersistence persistence)