@ProviderType public interface CommerceInventoryWarehousePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceInventoryWarehouse>
Caching information and settings can be found in portal.properties
CommerceInventoryWarehouseUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommerceInventoryWarehouse commerceInventoryWarehouse)
Caches the commerce inventory warehouse in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceInventoryWarehouse> commerceInventoryWarehouses)
Caches the commerce inventory warehouses in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce inventory warehouses.
|
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 = ?.
|
int |
countByC_A(long companyId,
boolean active)
Returns the number of commerce inventory warehouses where companyId = ? and active = ?.
|
int |
countByC_C(long companyId,
java.lang.String countryTwoLettersISOCode)
Returns the number of commerce inventory warehouses where companyId = ? and countryTwoLettersISOCode = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of commerce inventory warehouses where companyId = ?.
|
int |
countByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the number of commerce inventory warehouses where externalReferenceCode = ? and companyId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce inventory warehouses where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of commerce inventory warehouses where uuid = ?.
|
CommerceInventoryWarehouse |
create(long commerceInventoryWarehouseId)
Creates a new commerce inventory warehouse with the primary key.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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. |
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. |
CommerceInventoryWarehouse |
fetchByPrimaryKey(long commerceInventoryWarehouseId)
Returns the commerce inventory warehouse with the primary key or returns
null if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
int |
filterCountByCompanyId(long companyId)
Returns the number of commerce inventory warehouses that the user has permission to view where companyId = ?.
|
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 = ?.
|
int |
filterCountByUuid(java.lang.String uuid)
Returns the number of commerce inventory warehouses that the user has permission to view where uuid = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CommerceInventoryWarehouse> |
filterFindByCompanyId(long companyId)
Returns all the commerce inventory warehouses that the user has permission to view where companyId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CommerceInventoryWarehouse> |
filterFindByUuid(java.lang.String uuid)
Returns all the commerce inventory warehouses that the user has permission to view where uuid = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CommerceInventoryWarehouse> |
findAll()
Returns all the commerce inventory warehouses.
|
java.util.List<CommerceInventoryWarehouse> |
findAll(int start,
int end)
Returns a range of all the commerce inventory warehouses.
|
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.
|
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.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CommerceInventoryWarehouse> |
findByC_A(long companyId,
boolean active)
Returns all the commerce inventory warehouses where companyId = ? and active = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CommerceInventoryWarehouse> |
findByC_C(long companyId,
java.lang.String countryTwoLettersISOCode)
Returns all the commerce inventory warehouses where companyId = ? and countryTwoLettersISOCode = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CommerceInventoryWarehouse> |
findByCompanyId(long companyId)
Returns all the commerce inventory warehouses where companyId = ?.
|
java.util.List<CommerceInventoryWarehouse> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the commerce inventory warehouses where companyId = ?.
|
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 = ?.
|
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 = ?.
|
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. |
CommerceInventoryWarehouse |
findByPrimaryKey(long commerceInventoryWarehouseId)
Returns the commerce inventory warehouse with the primary key or throws a
NoSuchInventoryWarehouseException if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CommerceInventoryWarehouse> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce inventory warehouses where uuid = ? and companyId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CommerceInventoryWarehouse> |
findByUuid(java.lang.String uuid)
Returns all the commerce inventory warehouses where uuid = ?.
|
java.util.List<CommerceInventoryWarehouse> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce inventory warehouses where uuid = ?.
|
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 = ?.
|
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 = ?.
|
CommerceInventoryWarehouse |
remove(long commerceInventoryWarehouseId)
Removes the commerce inventory warehouse with the primary key from the database.
|
void |
removeAll()
Removes all the commerce inventory warehouses from the database.
|
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.
|
void |
removeByC_A(long companyId,
boolean active)
Removes all the commerce inventory warehouses where companyId = ? and active = ? from the database.
|
void |
removeByC_C(long companyId,
java.lang.String countryTwoLettersISOCode)
Removes all the commerce inventory warehouses where companyId = ? and countryTwoLettersISOCode = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the commerce inventory warehouses where companyId = ? from the database.
|
CommerceInventoryWarehouse |
removeByERC_C(java.lang.String externalReferenceCode,
long companyId)
Removes the commerce inventory warehouse where externalReferenceCode = ? and companyId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce inventory warehouses where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the commerce inventory warehouses where uuid = ? from the database.
|
CommerceInventoryWarehouse |
updateImpl(CommerceInventoryWarehouse commerceInventoryWarehouse) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<CommerceInventoryWarehouse> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.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)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
)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 cacheCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse[] 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 foundjava.util.List<CommerceInventoryWarehouse> filterFindByUuid(java.lang.String uuid)
uuid
- the uuidjava.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)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
)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 foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidint filterCountByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommerceInventoryWarehouse> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.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)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
)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 cacheCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse[] 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 foundjava.util.List<CommerceInventoryWarehouse> filterFindByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.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)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
)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 foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint filterCountByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommerceInventoryWarehouse> findByCompanyId(long companyId)
companyId
- the company IDjava.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)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
)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 cacheCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse[] 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 foundjava.util.List<CommerceInventoryWarehouse> filterFindByCompanyId(long companyId)
companyId
- the company IDjava.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)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
)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 foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDint filterCountByCompanyId(long companyId)
companyId
- the company IDjava.util.List<CommerceInventoryWarehouse> findByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activejava.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)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
)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 cacheCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse[] 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 foundjava.util.List<CommerceInventoryWarehouse> filterFindByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activejava.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)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
)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 foundvoid removeByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activeint countByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activeint filterCountByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activejava.util.List<CommerceInventoryWarehouse> findByC_C(long companyId, java.lang.String countryTwoLettersISOCode)
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codejava.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)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
)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 cacheCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse[] 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 foundjava.util.List<CommerceInventoryWarehouse> filterFindByC_C(long companyId, java.lang.String countryTwoLettersISOCode)
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codejava.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)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
)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 foundvoid removeByC_C(long companyId, java.lang.String countryTwoLettersISOCode)
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codeint countByC_C(long companyId, java.lang.String countryTwoLettersISOCode)
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codeint filterCountByC_C(long companyId, java.lang.String countryTwoLettersISOCode)
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codejava.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 codejava.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)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
)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 cacheCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse[] 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 foundjava.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 codejava.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)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
)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 foundvoid removeByC_A_C(long companyId, boolean active, java.lang.String countryTwoLettersISOCode)
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codeint countByC_A_C(long companyId, boolean active, java.lang.String countryTwoLettersISOCode)
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codeint filterCountByC_A_C(long companyId, boolean active, java.lang.String countryTwoLettersISOCode)
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codeCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse removeByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchInventoryWarehouseException
externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchInventoryWarehouseException
int countByERC_C(java.lang.String externalReferenceCode, long companyId)
externalReferenceCode
- the external reference codecompanyId
- the company IDvoid cacheResult(CommerceInventoryWarehouse commerceInventoryWarehouse)
commerceInventoryWarehouse
- the commerce inventory warehousevoid cacheResult(java.util.List<CommerceInventoryWarehouse> commerceInventoryWarehouses)
commerceInventoryWarehouses
- the commerce inventory warehousesCommerceInventoryWarehouse create(long commerceInventoryWarehouseId)
commerceInventoryWarehouseId
- the primary key for the new commerce inventory warehouseCommerceInventoryWarehouse 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 foundCommerceInventoryWarehouse updateImpl(CommerceInventoryWarehouse commerceInventoryWarehouse)
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 foundCommerceInventoryWarehouse 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 foundjava.util.List<CommerceInventoryWarehouse> findAll()
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)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
)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 cachevoid removeAll()
int countAll()