@ProviderType public interface CommerceAddressPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceAddress>
Caching information and settings can be found in portal.properties
CommerceAddressUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(CommerceAddress commerceAddress)
Caches the commerce address in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceAddress> commerceAddresses)
Caches the commerce addresses in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce addresses.
|
int |
countByC_C_C_C(long companyId,
long classNameId,
long classPK,
int type)
Returns the number of commerce addresses where companyId = ? and classNameId = ? and classPK = ? and type = ?.
|
int |
countByC_C_C(long companyId,
long classNameId,
long classPK)
Returns the number of commerce addresses where companyId = ? and classNameId = ? and classPK = ?.
|
int |
countByC_C(long classNameId,
long classPK)
Returns the number of commerce addresses where classNameId = ? and classPK = ?.
|
int |
countByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the number of commerce addresses where companyId = ? and externalReferenceCode = ?.
|
int |
countByCommerceCountryId(long commerceCountryId)
Returns the number of commerce addresses where commerceCountryId = ?.
|
int |
countByCommerceRegionId(long commerceRegionId)
Returns the number of commerce addresses where commerceRegionId = ?.
|
int |
countByG_C_C_DB(long groupId,
long classNameId,
long classPK,
boolean defaultBilling)
Returns the number of commerce addresses where groupId = ? and classNameId = ? and classPK = ? and defaultBilling = ?.
|
int |
countByG_C_C_DS(long groupId,
long classNameId,
long classPK,
boolean defaultShipping)
Returns the number of commerce addresses where groupId = ? and classNameId = ? and classPK = ? and defaultShipping = ?.
|
int |
countByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the number of commerce addresses where groupId = ? and classNameId = ? and classPK = ?.
|
CommerceAddress |
create(long commerceAddressId)
Creates a new commerce address with the primary key.
|
CommerceAddress |
fetchByC_C_C_C_First(long companyId,
long classNameId,
long classPK,
int type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the first commerce address in the ordered set where companyId = ? and classNameId = ? and classPK = ? and type = ?.
|
CommerceAddress |
fetchByC_C_C_C_Last(long companyId,
long classNameId,
long classPK,
int type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the last commerce address in the ordered set where companyId = ? and classNameId = ? and classPK = ? and type = ?.
|
CommerceAddress |
fetchByC_C_C_First(long companyId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the first commerce address in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
|
CommerceAddress |
fetchByC_C_C_Last(long companyId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the last commerce address in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
|
CommerceAddress |
fetchByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the first commerce address in the ordered set where classNameId = ? and classPK = ?.
|
CommerceAddress |
fetchByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the last commerce address in the ordered set where classNameId = ? and classPK = ?.
|
CommerceAddress |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce address where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found. |
CommerceAddress |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode,
boolean useFinderCache)
Returns the commerce address where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceAddress |
fetchByCommerceCountryId_First(long commerceCountryId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the first commerce address in the ordered set where commerceCountryId = ?.
|
CommerceAddress |
fetchByCommerceCountryId_Last(long commerceCountryId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the last commerce address in the ordered set where commerceCountryId = ?.
|
CommerceAddress |
fetchByCommerceRegionId_First(long commerceRegionId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the first commerce address in the ordered set where commerceRegionId = ?.
|
CommerceAddress |
fetchByCommerceRegionId_Last(long commerceRegionId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the last commerce address in the ordered set where commerceRegionId = ?.
|
CommerceAddress |
fetchByG_C_C_DB_First(long groupId,
long classNameId,
long classPK,
boolean defaultBilling,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the first commerce address in the ordered set where groupId = ? and classNameId = ? and classPK = ? and defaultBilling = ?.
|
CommerceAddress |
fetchByG_C_C_DB_Last(long groupId,
long classNameId,
long classPK,
boolean defaultBilling,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the last commerce address in the ordered set where groupId = ? and classNameId = ? and classPK = ? and defaultBilling = ?.
|
CommerceAddress |
fetchByG_C_C_DS_First(long groupId,
long classNameId,
long classPK,
boolean defaultShipping,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the first commerce address in the ordered set where groupId = ? and classNameId = ? and classPK = ? and defaultShipping = ?.
|
CommerceAddress |
fetchByG_C_C_DS_Last(long groupId,
long classNameId,
long classPK,
boolean defaultShipping,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the last commerce address in the ordered set where groupId = ? and classNameId = ? and classPK = ? and defaultShipping = ?.
|
CommerceAddress |
fetchByG_C_C_First(long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the first commerce address in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
CommerceAddress |
fetchByG_C_C_Last(long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the last commerce address in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
CommerceAddress |
fetchByPrimaryKey(long commerceAddressId)
Returns the commerce address with the primary key or returns
null if it could not be found. |
java.util.List<CommerceAddress> |
findAll()
Returns all the commerce addresses.
|
java.util.List<CommerceAddress> |
findAll(int start,
int end)
Returns a range of all the commerce addresses.
|
java.util.List<CommerceAddress> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns an ordered range of all the commerce addresses.
|
java.util.List<CommerceAddress> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce addresses.
|
CommerceAddress |
findByC_C_C_C_First(long companyId,
long classNameId,
long classPK,
int type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the first commerce address in the ordered set where companyId = ? and classNameId = ? and classPK = ? and type = ?.
|
CommerceAddress |
findByC_C_C_C_Last(long companyId,
long classNameId,
long classPK,
int type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the last commerce address in the ordered set where companyId = ? and classNameId = ? and classPK = ? and type = ?.
|
CommerceAddress[] |
findByC_C_C_C_PrevAndNext(long commerceAddressId,
long companyId,
long classNameId,
long classPK,
int type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the commerce addresses before and after the current commerce address in the ordered set where companyId = ? and classNameId = ? and classPK = ? and type = ?.
|
java.util.List<CommerceAddress> |
findByC_C_C_C(long companyId,
long classNameId,
long classPK,
int type)
Returns all the commerce addresses where companyId = ? and classNameId = ? and classPK = ? and type = ?.
|
java.util.List<CommerceAddress> |
findByC_C_C_C(long companyId,
long classNameId,
long classPK,
int type,
int start,
int end)
Returns a range of all the commerce addresses where companyId = ? and classNameId = ? and classPK = ? and type = ?.
|
java.util.List<CommerceAddress> |
findByC_C_C_C(long companyId,
long classNameId,
long classPK,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns an ordered range of all the commerce addresses where companyId = ? and classNameId = ? and classPK = ? and type = ?.
|
java.util.List<CommerceAddress> |
findByC_C_C_C(long companyId,
long classNameId,
long classPK,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce addresses where companyId = ? and classNameId = ? and classPK = ? and type = ?.
|
CommerceAddress |
findByC_C_C_First(long companyId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the first commerce address in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
|
CommerceAddress |
findByC_C_C_Last(long companyId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the last commerce address in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
|
CommerceAddress[] |
findByC_C_C_PrevAndNext(long commerceAddressId,
long companyId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the commerce addresses before and after the current commerce address in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
|
java.util.List<CommerceAddress> |
findByC_C_C(long companyId,
long classNameId,
long classPK)
Returns all the commerce addresses where companyId = ? and classNameId = ? and classPK = ?.
|
java.util.List<CommerceAddress> |
findByC_C_C(long companyId,
long classNameId,
long classPK,
int start,
int end)
Returns a range of all the commerce addresses where companyId = ? and classNameId = ? and classPK = ?.
|
java.util.List<CommerceAddress> |
findByC_C_C(long companyId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns an ordered range of all the commerce addresses where companyId = ? and classNameId = ? and classPK = ?.
|
java.util.List<CommerceAddress> |
findByC_C_C(long companyId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce addresses where companyId = ? and classNameId = ? and classPK = ?.
|
CommerceAddress |
findByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the first commerce address in the ordered set where classNameId = ? and classPK = ?.
|
CommerceAddress |
findByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the last commerce address in the ordered set where classNameId = ? and classPK = ?.
|
CommerceAddress[] |
findByC_C_PrevAndNext(long commerceAddressId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the commerce addresses before and after the current commerce address in the ordered set where classNameId = ? and classPK = ?.
|
java.util.List<CommerceAddress> |
findByC_C(long classNameId,
long classPK)
Returns all the commerce addresses where classNameId = ? and classPK = ?.
|
java.util.List<CommerceAddress> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
Returns a range of all the commerce addresses where classNameId = ? and classPK = ?.
|
java.util.List<CommerceAddress> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns an ordered range of all the commerce addresses where classNameId = ? and classPK = ?.
|
java.util.List<CommerceAddress> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce addresses where classNameId = ? and classPK = ?.
|
CommerceAddress |
findByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce address where companyId = ? and externalReferenceCode = ? or throws a
NoSuchAddressException if it could not be found. |
CommerceAddress |
findByCommerceCountryId_First(long commerceCountryId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the first commerce address in the ordered set where commerceCountryId = ?.
|
CommerceAddress |
findByCommerceCountryId_Last(long commerceCountryId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the last commerce address in the ordered set where commerceCountryId = ?.
|
CommerceAddress[] |
findByCommerceCountryId_PrevAndNext(long commerceAddressId,
long commerceCountryId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the commerce addresses before and after the current commerce address in the ordered set where commerceCountryId = ?.
|
java.util.List<CommerceAddress> |
findByCommerceCountryId(long commerceCountryId)
Returns all the commerce addresses where commerceCountryId = ?.
|
java.util.List<CommerceAddress> |
findByCommerceCountryId(long commerceCountryId,
int start,
int end)
Returns a range of all the commerce addresses where commerceCountryId = ?.
|
java.util.List<CommerceAddress> |
findByCommerceCountryId(long commerceCountryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns an ordered range of all the commerce addresses where commerceCountryId = ?.
|
java.util.List<CommerceAddress> |
findByCommerceCountryId(long commerceCountryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce addresses where commerceCountryId = ?.
|
CommerceAddress |
findByCommerceRegionId_First(long commerceRegionId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the first commerce address in the ordered set where commerceRegionId = ?.
|
CommerceAddress |
findByCommerceRegionId_Last(long commerceRegionId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the last commerce address in the ordered set where commerceRegionId = ?.
|
CommerceAddress[] |
findByCommerceRegionId_PrevAndNext(long commerceAddressId,
long commerceRegionId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the commerce addresses before and after the current commerce address in the ordered set where commerceRegionId = ?.
|
java.util.List<CommerceAddress> |
findByCommerceRegionId(long commerceRegionId)
Returns all the commerce addresses where commerceRegionId = ?.
|
java.util.List<CommerceAddress> |
findByCommerceRegionId(long commerceRegionId,
int start,
int end)
Returns a range of all the commerce addresses where commerceRegionId = ?.
|
java.util.List<CommerceAddress> |
findByCommerceRegionId(long commerceRegionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns an ordered range of all the commerce addresses where commerceRegionId = ?.
|
java.util.List<CommerceAddress> |
findByCommerceRegionId(long commerceRegionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce addresses where commerceRegionId = ?.
|
CommerceAddress |
findByG_C_C_DB_First(long groupId,
long classNameId,
long classPK,
boolean defaultBilling,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the first commerce address in the ordered set where groupId = ? and classNameId = ? and classPK = ? and defaultBilling = ?.
|
CommerceAddress |
findByG_C_C_DB_Last(long groupId,
long classNameId,
long classPK,
boolean defaultBilling,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the last commerce address in the ordered set where groupId = ? and classNameId = ? and classPK = ? and defaultBilling = ?.
|
CommerceAddress[] |
findByG_C_C_DB_PrevAndNext(long commerceAddressId,
long groupId,
long classNameId,
long classPK,
boolean defaultBilling,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the commerce addresses before and after the current commerce address in the ordered set where groupId = ? and classNameId = ? and classPK = ? and defaultBilling = ?.
|
java.util.List<CommerceAddress> |
findByG_C_C_DB(long groupId,
long classNameId,
long classPK,
boolean defaultBilling)
Returns all the commerce addresses where groupId = ? and classNameId = ? and classPK = ? and defaultBilling = ?.
|
java.util.List<CommerceAddress> |
findByG_C_C_DB(long groupId,
long classNameId,
long classPK,
boolean defaultBilling,
int start,
int end)
Returns a range of all the commerce addresses where groupId = ? and classNameId = ? and classPK = ? and defaultBilling = ?.
|
java.util.List<CommerceAddress> |
findByG_C_C_DB(long groupId,
long classNameId,
long classPK,
boolean defaultBilling,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns an ordered range of all the commerce addresses where groupId = ? and classNameId = ? and classPK = ? and defaultBilling = ?.
|
java.util.List<CommerceAddress> |
findByG_C_C_DB(long groupId,
long classNameId,
long classPK,
boolean defaultBilling,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce addresses where groupId = ? and classNameId = ? and classPK = ? and defaultBilling = ?.
|
CommerceAddress |
findByG_C_C_DS_First(long groupId,
long classNameId,
long classPK,
boolean defaultShipping,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the first commerce address in the ordered set where groupId = ? and classNameId = ? and classPK = ? and defaultShipping = ?.
|
CommerceAddress |
findByG_C_C_DS_Last(long groupId,
long classNameId,
long classPK,
boolean defaultShipping,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the last commerce address in the ordered set where groupId = ? and classNameId = ? and classPK = ? and defaultShipping = ?.
|
CommerceAddress[] |
findByG_C_C_DS_PrevAndNext(long commerceAddressId,
long groupId,
long classNameId,
long classPK,
boolean defaultShipping,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the commerce addresses before and after the current commerce address in the ordered set where groupId = ? and classNameId = ? and classPK = ? and defaultShipping = ?.
|
java.util.List<CommerceAddress> |
findByG_C_C_DS(long groupId,
long classNameId,
long classPK,
boolean defaultShipping)
Returns all the commerce addresses where groupId = ? and classNameId = ? and classPK = ? and defaultShipping = ?.
|
java.util.List<CommerceAddress> |
findByG_C_C_DS(long groupId,
long classNameId,
long classPK,
boolean defaultShipping,
int start,
int end)
Returns a range of all the commerce addresses where groupId = ? and classNameId = ? and classPK = ? and defaultShipping = ?.
|
java.util.List<CommerceAddress> |
findByG_C_C_DS(long groupId,
long classNameId,
long classPK,
boolean defaultShipping,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns an ordered range of all the commerce addresses where groupId = ? and classNameId = ? and classPK = ? and defaultShipping = ?.
|
java.util.List<CommerceAddress> |
findByG_C_C_DS(long groupId,
long classNameId,
long classPK,
boolean defaultShipping,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce addresses where groupId = ? and classNameId = ? and classPK = ? and defaultShipping = ?.
|
CommerceAddress |
findByG_C_C_First(long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the first commerce address in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
CommerceAddress |
findByG_C_C_Last(long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the last commerce address in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
CommerceAddress[] |
findByG_C_C_PrevAndNext(long commerceAddressId,
long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns the commerce addresses before and after the current commerce address in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
java.util.List<CommerceAddress> |
findByG_C_C(long groupId,
long classNameId,
long classPK)
Returns all the commerce addresses where groupId = ? and classNameId = ? and classPK = ?.
|
java.util.List<CommerceAddress> |
findByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end)
Returns a range of all the commerce addresses where groupId = ? and classNameId = ? and classPK = ?.
|
java.util.List<CommerceAddress> |
findByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Returns an ordered range of all the commerce addresses where groupId = ? and classNameId = ? and classPK = ?.
|
java.util.List<CommerceAddress> |
findByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce addresses where groupId = ? and classNameId = ? and classPK = ?.
|
CommerceAddress |
findByPrimaryKey(long commerceAddressId)
Returns the commerce address with the primary key or throws a
NoSuchAddressException if it could not be found. |
CommerceAddress |
remove(long commerceAddressId)
Removes the commerce address with the primary key from the database.
|
void |
removeAll()
Removes all the commerce addresses from the database.
|
void |
removeByC_C_C_C(long companyId,
long classNameId,
long classPK,
int type)
Removes all the commerce addresses where companyId = ? and classNameId = ? and classPK = ? and type = ? from the database.
|
void |
removeByC_C_C(long companyId,
long classNameId,
long classPK)
Removes all the commerce addresses where companyId = ? and classNameId = ? and classPK = ? from the database.
|
void |
removeByC_C(long classNameId,
long classPK)
Removes all the commerce addresses where classNameId = ? and classPK = ? from the database.
|
CommerceAddress |
removeByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Removes the commerce address where companyId = ? and externalReferenceCode = ? from the database.
|
void |
removeByCommerceCountryId(long commerceCountryId)
Removes all the commerce addresses where commerceCountryId = ? from the database.
|
void |
removeByCommerceRegionId(long commerceRegionId)
Removes all the commerce addresses where commerceRegionId = ? from the database.
|
void |
removeByG_C_C_DB(long groupId,
long classNameId,
long classPK,
boolean defaultBilling)
Removes all the commerce addresses where groupId = ? and classNameId = ? and classPK = ? and defaultBilling = ? from the database.
|
void |
removeByG_C_C_DS(long groupId,
long classNameId,
long classPK,
boolean defaultShipping)
Removes all the commerce addresses where groupId = ? and classNameId = ? and classPK = ? and defaultShipping = ? from the database.
|
void |
removeByG_C_C(long groupId,
long classNameId,
long classPK)
Removes all the commerce addresses where groupId = ? and classNameId = ? and classPK = ? from the database.
|
CommerceAddress |
updateImpl(CommerceAddress commerceAddress) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, updatejava.util.List<CommerceAddress> findByCommerceRegionId(long commerceRegionId)
commerceRegionId - the commerce region IDjava.util.List<CommerceAddress> findByCommerceRegionId(long commerceRegionId, 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 CommerceAddressModelImpl.
commerceRegionId - the commerce region IDstart - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)java.util.List<CommerceAddress> findByCommerceRegionId(long commerceRegionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> 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 CommerceAddressModelImpl.
commerceRegionId - the commerce region IDstart - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAddress> findByCommerceRegionId(long commerceRegionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> 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 CommerceAddressModelImpl.
commerceRegionId - the commerce region IDstart - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceAddress findByCommerceRegionId_First(long commerceRegionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws NoSuchAddressException
commerceRegionId - the commerce region IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAddressException - if a matching commerce address could not be foundCommerceAddress fetchByCommerceRegionId_First(long commerceRegionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
commerceRegionId - the commerce region IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce address could not be foundCommerceAddress findByCommerceRegionId_Last(long commerceRegionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws NoSuchAddressException
commerceRegionId - the commerce region IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAddressException - if a matching commerce address could not be foundCommerceAddress fetchByCommerceRegionId_Last(long commerceRegionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
commerceRegionId - the commerce region IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce address could not be foundCommerceAddress[] findByCommerceRegionId_PrevAndNext(long commerceAddressId, long commerceRegionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws NoSuchAddressException
commerceAddressId - the primary key of the current commerce addresscommerceRegionId - the commerce region IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAddressException - if a commerce address with the primary key could not be foundvoid removeByCommerceRegionId(long commerceRegionId)
commerceRegionId - the commerce region IDint countByCommerceRegionId(long commerceRegionId)
commerceRegionId - the commerce region IDjava.util.List<CommerceAddress> findByCommerceCountryId(long commerceCountryId)
commerceCountryId - the commerce country IDjava.util.List<CommerceAddress> findByCommerceCountryId(long commerceCountryId, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceAddressModelImpl.
commerceCountryId - the commerce country IDstart - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)java.util.List<CommerceAddress> findByCommerceCountryId(long commerceCountryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> 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 CommerceAddressModelImpl.
commerceCountryId - the commerce country IDstart - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAddress> findByCommerceCountryId(long commerceCountryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> 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 CommerceAddressModelImpl.
commerceCountryId - the commerce country IDstart - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceAddress findByCommerceCountryId_First(long commerceCountryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws NoSuchAddressException
commerceCountryId - the commerce country IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAddressException - if a matching commerce address could not be foundCommerceAddress fetchByCommerceCountryId_First(long commerceCountryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
commerceCountryId - the commerce country IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce address could not be foundCommerceAddress findByCommerceCountryId_Last(long commerceCountryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws NoSuchAddressException
commerceCountryId - the commerce country IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAddressException - if a matching commerce address could not be foundCommerceAddress fetchByCommerceCountryId_Last(long commerceCountryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
commerceCountryId - the commerce country IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce address could not be foundCommerceAddress[] findByCommerceCountryId_PrevAndNext(long commerceAddressId, long commerceCountryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws NoSuchAddressException
commerceAddressId - the primary key of the current commerce addresscommerceCountryId - the commerce country IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAddressException - if a commerce address with the primary key could not be foundvoid removeByCommerceCountryId(long commerceCountryId)
commerceCountryId - the commerce country IDint countByCommerceCountryId(long commerceCountryId)
commerceCountryId - the commerce country IDjava.util.List<CommerceAddress> findByC_C(long classNameId, long classPK)
classNameId - the class name IDclassPK - the class pkjava.util.List<CommerceAddress> findByC_C(long classNameId, long classPK, 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 CommerceAddressModelImpl.
classNameId - the class name IDclassPK - the class pkstart - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)java.util.List<CommerceAddress> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> 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 CommerceAddressModelImpl.
classNameId - the class name IDclassPK - the class pkstart - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAddress> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> 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 CommerceAddressModelImpl.
classNameId - the class name IDclassPK - the class pkstart - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceAddress findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws NoSuchAddressException
classNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)NoSuchAddressException - if a matching commerce address could not be foundCommerceAddress fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
classNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce address could not be foundCommerceAddress findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws NoSuchAddressException
classNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)NoSuchAddressException - if a matching commerce address could not be foundCommerceAddress fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
classNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce address could not be foundCommerceAddress[] findByC_C_PrevAndNext(long commerceAddressId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws NoSuchAddressException
commerceAddressId - the primary key of the current commerce addressclassNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)NoSuchAddressException - if a commerce address with the primary key could not be foundvoid removeByC_C(long classNameId,
long classPK)
classNameId - the class name IDclassPK - the class pkint countByC_C(long classNameId,
long classPK)
classNameId - the class name IDclassPK - the class pkjava.util.List<CommerceAddress> findByG_C_C(long groupId, long classNameId, long classPK)
groupId - the group IDclassNameId - the class name IDclassPK - the class pkjava.util.List<CommerceAddress> findByG_C_C(long groupId, long classNameId, long classPK, 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 CommerceAddressModelImpl.
groupId - the group IDclassNameId - the class name IDclassPK - the class pkstart - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)java.util.List<CommerceAddress> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> 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 CommerceAddressModelImpl.
groupId - the group IDclassNameId - the class name IDclassPK - the class pkstart - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAddress> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> 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 CommerceAddressModelImpl.
groupId - the group IDclassNameId - the class name IDclassPK - the class pkstart - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceAddress findByG_C_C_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws NoSuchAddressException
groupId - the group IDclassNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)NoSuchAddressException - if a matching commerce address could not be foundCommerceAddress fetchByG_C_C_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
groupId - the group IDclassNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce address could not be foundCommerceAddress findByG_C_C_Last(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws NoSuchAddressException
groupId - the group IDclassNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)NoSuchAddressException - if a matching commerce address could not be foundCommerceAddress fetchByG_C_C_Last(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
groupId - the group IDclassNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce address could not be foundCommerceAddress[] findByG_C_C_PrevAndNext(long commerceAddressId, long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws NoSuchAddressException
commerceAddressId - the primary key of the current commerce addressgroupId - the group IDclassNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)NoSuchAddressException - if a commerce address with the primary key could not be foundvoid removeByG_C_C(long groupId,
long classNameId,
long classPK)
groupId - the group IDclassNameId - the class name IDclassPK - the class pkint countByG_C_C(long groupId,
long classNameId,
long classPK)
groupId - the group IDclassNameId - the class name IDclassPK - the class pkjava.util.List<CommerceAddress> findByC_C_C(long companyId, long classNameId, long classPK)
companyId - the company IDclassNameId - the class name IDclassPK - the class pkjava.util.List<CommerceAddress> findByC_C_C(long companyId, long classNameId, long classPK, 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 CommerceAddressModelImpl.
companyId - the company IDclassNameId - the class name IDclassPK - the class pkstart - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)java.util.List<CommerceAddress> findByC_C_C(long companyId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> 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 CommerceAddressModelImpl.
companyId - the company IDclassNameId - the class name IDclassPK - the class pkstart - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAddress> findByC_C_C(long companyId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> 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 CommerceAddressModelImpl.
companyId - the company IDclassNameId - the class name IDclassPK - the class pkstart - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceAddress findByC_C_C_First(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws NoSuchAddressException
companyId - the company IDclassNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)NoSuchAddressException - if a matching commerce address could not be foundCommerceAddress fetchByC_C_C_First(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
companyId - the company IDclassNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce address could not be foundCommerceAddress findByC_C_C_Last(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws NoSuchAddressException
companyId - the company IDclassNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)NoSuchAddressException - if a matching commerce address could not be foundCommerceAddress fetchByC_C_C_Last(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
companyId - the company IDclassNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce address could not be foundCommerceAddress[] findByC_C_C_PrevAndNext(long commerceAddressId, long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws NoSuchAddressException
commerceAddressId - the primary key of the current commerce addresscompanyId - the company IDclassNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)NoSuchAddressException - if a commerce address with the primary key could not be foundvoid removeByC_C_C(long companyId,
long classNameId,
long classPK)
companyId - the company IDclassNameId - the class name IDclassPK - the class pkint countByC_C_C(long companyId,
long classNameId,
long classPK)
companyId - the company IDclassNameId - the class name IDclassPK - the class pkjava.util.List<CommerceAddress> findByG_C_C_DB(long groupId, long classNameId, long classPK, boolean defaultBilling)
groupId - the group IDclassNameId - the class name IDclassPK - the class pkdefaultBilling - the default billingjava.util.List<CommerceAddress> findByG_C_C_DB(long groupId, long classNameId, long classPK, boolean defaultBilling, 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 CommerceAddressModelImpl.
groupId - the group IDclassNameId - the class name IDclassPK - the class pkdefaultBilling - the default billingstart - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)java.util.List<CommerceAddress> findByG_C_C_DB(long groupId, long classNameId, long classPK, boolean defaultBilling, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> 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 CommerceAddressModelImpl.
groupId - the group IDclassNameId - the class name IDclassPK - the class pkdefaultBilling - the default billingstart - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAddress> findByG_C_C_DB(long groupId, long classNameId, long classPK, boolean defaultBilling, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> 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 CommerceAddressModelImpl.
groupId - the group IDclassNameId - the class name IDclassPK - the class pkdefaultBilling - the default billingstart - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceAddress findByG_C_C_DB_First(long groupId, long classNameId, long classPK, boolean defaultBilling, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws NoSuchAddressException
groupId - the group IDclassNameId - the class name IDclassPK - the class pkdefaultBilling - the default billingorderByComparator - the comparator to order the set by (optionally null)NoSuchAddressException - if a matching commerce address could not be foundCommerceAddress fetchByG_C_C_DB_First(long groupId, long classNameId, long classPK, boolean defaultBilling, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
groupId - the group IDclassNameId - the class name IDclassPK - the class pkdefaultBilling - the default billingorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce address could not be foundCommerceAddress findByG_C_C_DB_Last(long groupId, long classNameId, long classPK, boolean defaultBilling, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws NoSuchAddressException
groupId - the group IDclassNameId - the class name IDclassPK - the class pkdefaultBilling - the default billingorderByComparator - the comparator to order the set by (optionally null)NoSuchAddressException - if a matching commerce address could not be foundCommerceAddress fetchByG_C_C_DB_Last(long groupId, long classNameId, long classPK, boolean defaultBilling, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
groupId - the group IDclassNameId - the class name IDclassPK - the class pkdefaultBilling - the default billingorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce address could not be foundCommerceAddress[] findByG_C_C_DB_PrevAndNext(long commerceAddressId, long groupId, long classNameId, long classPK, boolean defaultBilling, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws NoSuchAddressException
commerceAddressId - the primary key of the current commerce addressgroupId - the group IDclassNameId - the class name IDclassPK - the class pkdefaultBilling - the default billingorderByComparator - the comparator to order the set by (optionally null)NoSuchAddressException - if a commerce address with the primary key could not be foundvoid removeByG_C_C_DB(long groupId,
long classNameId,
long classPK,
boolean defaultBilling)
groupId - the group IDclassNameId - the class name IDclassPK - the class pkdefaultBilling - the default billingint countByG_C_C_DB(long groupId,
long classNameId,
long classPK,
boolean defaultBilling)
groupId - the group IDclassNameId - the class name IDclassPK - the class pkdefaultBilling - the default billingjava.util.List<CommerceAddress> findByG_C_C_DS(long groupId, long classNameId, long classPK, boolean defaultShipping)
groupId - the group IDclassNameId - the class name IDclassPK - the class pkdefaultShipping - the default shippingjava.util.List<CommerceAddress> findByG_C_C_DS(long groupId, long classNameId, long classPK, boolean defaultShipping, 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 CommerceAddressModelImpl.
groupId - the group IDclassNameId - the class name IDclassPK - the class pkdefaultShipping - the default shippingstart - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)java.util.List<CommerceAddress> findByG_C_C_DS(long groupId, long classNameId, long classPK, boolean defaultShipping, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> 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 CommerceAddressModelImpl.
groupId - the group IDclassNameId - the class name IDclassPK - the class pkdefaultShipping - the default shippingstart - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAddress> findByG_C_C_DS(long groupId, long classNameId, long classPK, boolean defaultShipping, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> 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 CommerceAddressModelImpl.
groupId - the group IDclassNameId - the class name IDclassPK - the class pkdefaultShipping - the default shippingstart - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceAddress findByG_C_C_DS_First(long groupId, long classNameId, long classPK, boolean defaultShipping, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws NoSuchAddressException
groupId - the group IDclassNameId - the class name IDclassPK - the class pkdefaultShipping - the default shippingorderByComparator - the comparator to order the set by (optionally null)NoSuchAddressException - if a matching commerce address could not be foundCommerceAddress fetchByG_C_C_DS_First(long groupId, long classNameId, long classPK, boolean defaultShipping, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
groupId - the group IDclassNameId - the class name IDclassPK - the class pkdefaultShipping - the default shippingorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce address could not be foundCommerceAddress findByG_C_C_DS_Last(long groupId, long classNameId, long classPK, boolean defaultShipping, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws NoSuchAddressException
groupId - the group IDclassNameId - the class name IDclassPK - the class pkdefaultShipping - the default shippingorderByComparator - the comparator to order the set by (optionally null)NoSuchAddressException - if a matching commerce address could not be foundCommerceAddress fetchByG_C_C_DS_Last(long groupId, long classNameId, long classPK, boolean defaultShipping, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
groupId - the group IDclassNameId - the class name IDclassPK - the class pkdefaultShipping - the default shippingorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce address could not be foundCommerceAddress[] findByG_C_C_DS_PrevAndNext(long commerceAddressId, long groupId, long classNameId, long classPK, boolean defaultShipping, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws NoSuchAddressException
commerceAddressId - the primary key of the current commerce addressgroupId - the group IDclassNameId - the class name IDclassPK - the class pkdefaultShipping - the default shippingorderByComparator - the comparator to order the set by (optionally null)NoSuchAddressException - if a commerce address with the primary key could not be foundvoid removeByG_C_C_DS(long groupId,
long classNameId,
long classPK,
boolean defaultShipping)
groupId - the group IDclassNameId - the class name IDclassPK - the class pkdefaultShipping - the default shippingint countByG_C_C_DS(long groupId,
long classNameId,
long classPK,
boolean defaultShipping)
groupId - the group IDclassNameId - the class name IDclassPK - the class pkdefaultShipping - the default shippingjava.util.List<CommerceAddress> findByC_C_C_C(long companyId, long classNameId, long classPK, int type)
companyId - the company IDclassNameId - the class name IDclassPK - the class pktype - the typejava.util.List<CommerceAddress> findByC_C_C_C(long companyId, long classNameId, long classPK, int type, 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 CommerceAddressModelImpl.
companyId - the company IDclassNameId - the class name IDclassPK - the class pktype - the typestart - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)java.util.List<CommerceAddress> findByC_C_C_C(long companyId, long classNameId, long classPK, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> 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 CommerceAddressModelImpl.
companyId - the company IDclassNameId - the class name IDclassPK - the class pktype - the typestart - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAddress> findByC_C_C_C(long companyId, long classNameId, long classPK, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> 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 CommerceAddressModelImpl.
companyId - the company IDclassNameId - the class name IDclassPK - the class pktype - the typestart - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceAddress findByC_C_C_C_First(long companyId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws NoSuchAddressException
companyId - the company IDclassNameId - the class name IDclassPK - the class pktype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchAddressException - if a matching commerce address could not be foundCommerceAddress fetchByC_C_C_C_First(long companyId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
companyId - the company IDclassNameId - the class name IDclassPK - the class pktype - the typeorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce address could not be foundCommerceAddress findByC_C_C_C_Last(long companyId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws NoSuchAddressException
companyId - the company IDclassNameId - the class name IDclassPK - the class pktype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchAddressException - if a matching commerce address could not be foundCommerceAddress fetchByC_C_C_C_Last(long companyId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
companyId - the company IDclassNameId - the class name IDclassPK - the class pktype - the typeorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce address could not be foundCommerceAddress[] findByC_C_C_C_PrevAndNext(long commerceAddressId, long companyId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws NoSuchAddressException
commerceAddressId - the primary key of the current commerce addresscompanyId - the company IDclassNameId - the class name IDclassPK - the class pktype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchAddressException - if a commerce address with the primary key could not be foundvoid removeByC_C_C_C(long companyId,
long classNameId,
long classPK,
int type)
companyId - the company IDclassNameId - the class name IDclassPK - the class pktype - the typeint countByC_C_C_C(long companyId,
long classNameId,
long classPK,
int type)
companyId - the company IDclassNameId - the class name IDclassPK - the class pktype - the typeCommerceAddress findByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchAddressException
NoSuchAddressException if it could not be found.companyId - the company IDexternalReferenceCode - the external reference codeNoSuchAddressException - if a matching commerce address could not be foundCommerceAddress fetchByC_ERC(long companyId, java.lang.String externalReferenceCode)
null if it could not be found. Uses the finder cache.companyId - the company IDexternalReferenceCode - the external reference codenull if a matching commerce address could not be foundCommerceAddress fetchByC_ERC(long companyId, java.lang.String externalReferenceCode, boolean useFinderCache)
null if it could not be found, optionally using the finder cache.companyId - the company IDexternalReferenceCode - the external reference codeuseFinderCache - whether to use the finder cachenull if a matching commerce address could not be foundCommerceAddress removeByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchAddressException
companyId - the company IDexternalReferenceCode - the external reference codeNoSuchAddressExceptionint countByC_ERC(long companyId,
java.lang.String externalReferenceCode)
companyId - the company IDexternalReferenceCode - the external reference codevoid cacheResult(CommerceAddress commerceAddress)
commerceAddress - the commerce addressvoid cacheResult(java.util.List<CommerceAddress> commerceAddresses)
commerceAddresses - the commerce addressesCommerceAddress create(long commerceAddressId)
commerceAddressId - the primary key for the new commerce addressCommerceAddress remove(long commerceAddressId) throws NoSuchAddressException
commerceAddressId - the primary key of the commerce addressNoSuchAddressException - if a commerce address with the primary key could not be foundCommerceAddress updateImpl(CommerceAddress commerceAddress)
CommerceAddress findByPrimaryKey(long commerceAddressId) throws NoSuchAddressException
NoSuchAddressException if it could not be found.commerceAddressId - the primary key of the commerce addressNoSuchAddressException - if a commerce address with the primary key could not be foundCommerceAddress fetchByPrimaryKey(long commerceAddressId)
null if it could not be found.commerceAddressId - the primary key of the commerce addressnull if a commerce address with the primary key could not be foundjava.util.List<CommerceAddress> findAll()
java.util.List<CommerceAddress> 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 CommerceAddressModelImpl.
start - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)java.util.List<CommerceAddress> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> 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 CommerceAddressModelImpl.
start - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAddress> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> 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 CommerceAddressModelImpl.
start - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachevoid removeAll()
int countAll()