@ProviderType public interface AddressPersistence extends BasePersistence<Address>, CTPersistence<Address>
Caching information and settings can be found in portal.properties
AddressUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(Address address)
Caches the address in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<Address> addresses)
Caches the addresses in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of addresses.
|
int |
countByC_C_C_L(long companyId,
long classNameId,
long classPK,
long listTypeId)
Returns the number of addresses where companyId = ? and classNameId = ? and classPK = ? and listTypeId = ?.
|
int |
countByC_C_C_L(long companyId,
long classNameId,
long classPK,
long[] listTypeIds)
Returns the number of addresses where companyId = ? and classNameId = ? and classPK = ? and listTypeId = any ?.
|
int |
countByC_C_C_M(long companyId,
long classNameId,
long classPK,
boolean mailing)
Returns the number of addresses where companyId = ? and classNameId = ? and classPK = ? and mailing = ?.
|
int |
countByC_C_C_P(long companyId,
long classNameId,
long classPK,
boolean primary)
Returns the number of addresses where companyId = ? and classNameId = ? and classPK = ? and primary = ?.
|
int |
countByC_C_C(long companyId,
long classNameId,
long classPK)
Returns the number of addresses where companyId = ? and classNameId = ? and classPK = ?.
|
int |
countByC_C(long companyId,
long classNameId)
Returns the number of addresses where companyId = ? and classNameId = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of addresses where companyId = ?.
|
int |
countByCountryId(long countryId)
Returns the number of addresses where countryId = ?.
|
int |
countByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the number of addresses where externalReferenceCode = ? and companyId = ?.
|
int |
countByRegionId(long regionId)
Returns the number of addresses where regionId = ?.
|
int |
countByUserId(long userId)
Returns the number of addresses where userId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of addresses where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of addresses where uuid = ?.
|
Address |
create(long addressId)
Creates a new address with the primary key.
|
Address |
fetchByC_C_C_First(long companyId,
long classNameId,
long classPK,
OrderByComparator<Address> orderByComparator)
Returns the first address in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
|
Address |
fetchByC_C_C_L_First(long companyId,
long classNameId,
long classPK,
long listTypeId,
OrderByComparator<Address> orderByComparator)
Returns the first address in the ordered set where companyId = ? and classNameId = ? and classPK = ? and listTypeId = ?.
|
Address |
fetchByC_C_C_L_Last(long companyId,
long classNameId,
long classPK,
long listTypeId,
OrderByComparator<Address> orderByComparator)
Returns the last address in the ordered set where companyId = ? and classNameId = ? and classPK = ? and listTypeId = ?.
|
Address |
fetchByC_C_C_Last(long companyId,
long classNameId,
long classPK,
OrderByComparator<Address> orderByComparator)
Returns the last address in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
|
Address |
fetchByC_C_C_M_First(long companyId,
long classNameId,
long classPK,
boolean mailing,
OrderByComparator<Address> orderByComparator)
Returns the first address in the ordered set where companyId = ? and classNameId = ? and classPK = ? and mailing = ?.
|
Address |
fetchByC_C_C_M_Last(long companyId,
long classNameId,
long classPK,
boolean mailing,
OrderByComparator<Address> orderByComparator)
Returns the last address in the ordered set where companyId = ? and classNameId = ? and classPK = ? and mailing = ?.
|
Address |
fetchByC_C_C_P_First(long companyId,
long classNameId,
long classPK,
boolean primary,
OrderByComparator<Address> orderByComparator)
Returns the first address in the ordered set where companyId = ? and classNameId = ? and classPK = ? and primary = ?.
|
Address |
fetchByC_C_C_P_Last(long companyId,
long classNameId,
long classPK,
boolean primary,
OrderByComparator<Address> orderByComparator)
Returns the last address in the ordered set where companyId = ? and classNameId = ? and classPK = ? and primary = ?.
|
Address |
fetchByC_C_First(long companyId,
long classNameId,
OrderByComparator<Address> orderByComparator)
Returns the first address in the ordered set where companyId = ? and classNameId = ?.
|
Address |
fetchByC_C_Last(long companyId,
long classNameId,
OrderByComparator<Address> orderByComparator)
Returns the last address in the ordered set where companyId = ? and classNameId = ?.
|
Address |
fetchByCompanyId_First(long companyId,
OrderByComparator<Address> orderByComparator)
Returns the first address in the ordered set where companyId = ?.
|
Address |
fetchByCompanyId_Last(long companyId,
OrderByComparator<Address> orderByComparator)
Returns the last address in the ordered set where companyId = ?.
|
Address |
fetchByCountryId_First(long countryId,
OrderByComparator<Address> orderByComparator)
Returns the first address in the ordered set where countryId = ?.
|
Address |
fetchByCountryId_Last(long countryId,
OrderByComparator<Address> orderByComparator)
Returns the last address in the ordered set where countryId = ?.
|
Address |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the address where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found. |
Address |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId,
boolean useFinderCache)
Returns the address where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found, optionally using the finder cache. |
Address |
fetchByPrimaryKey(long addressId)
Returns the address with the primary key or returns
null if it could not be found. |
Address |
fetchByRegionId_First(long regionId,
OrderByComparator<Address> orderByComparator)
Returns the first address in the ordered set where regionId = ?.
|
Address |
fetchByRegionId_Last(long regionId,
OrderByComparator<Address> orderByComparator)
Returns the last address in the ordered set where regionId = ?.
|
Address |
fetchByUserId_First(long userId,
OrderByComparator<Address> orderByComparator)
Returns the first address in the ordered set where userId = ?.
|
Address |
fetchByUserId_Last(long userId,
OrderByComparator<Address> orderByComparator)
Returns the last address in the ordered set where userId = ?.
|
Address |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
OrderByComparator<Address> orderByComparator)
Returns the first address in the ordered set where uuid = ? and companyId = ?.
|
Address |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
OrderByComparator<Address> orderByComparator)
Returns the last address in the ordered set where uuid = ? and companyId = ?.
|
Address |
fetchByUuid_First(java.lang.String uuid,
OrderByComparator<Address> orderByComparator)
Returns the first address in the ordered set where uuid = ?.
|
Address |
fetchByUuid_Last(java.lang.String uuid,
OrderByComparator<Address> orderByComparator)
Returns the last address in the ordered set where uuid = ?.
|
java.util.List<Address> |
findAll()
Returns all the addresses.
|
java.util.List<Address> |
findAll(int start,
int end)
Returns a range of all the addresses.
|
java.util.List<Address> |
findAll(int start,
int end,
OrderByComparator<Address> orderByComparator)
Returns an ordered range of all the addresses.
|
java.util.List<Address> |
findAll(int start,
int end,
OrderByComparator<Address> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the addresses.
|
Address |
findByC_C_C_First(long companyId,
long classNameId,
long classPK,
OrderByComparator<Address> orderByComparator)
Returns the first address in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
|
Address |
findByC_C_C_L_First(long companyId,
long classNameId,
long classPK,
long listTypeId,
OrderByComparator<Address> orderByComparator)
Returns the first address in the ordered set where companyId = ? and classNameId = ? and classPK = ? and listTypeId = ?.
|
Address |
findByC_C_C_L_Last(long companyId,
long classNameId,
long classPK,
long listTypeId,
OrderByComparator<Address> orderByComparator)
Returns the last address in the ordered set where companyId = ? and classNameId = ? and classPK = ? and listTypeId = ?.
|
Address[] |
findByC_C_C_L_PrevAndNext(long addressId,
long companyId,
long classNameId,
long classPK,
long listTypeId,
OrderByComparator<Address> orderByComparator)
Returns the addresses before and after the current address in the ordered set where companyId = ? and classNameId = ? and classPK = ? and listTypeId = ?.
|
java.util.List<Address> |
findByC_C_C_L(long companyId,
long classNameId,
long classPK,
long listTypeId)
Returns all the addresses where companyId = ? and classNameId = ? and classPK = ? and listTypeId = ?.
|
java.util.List<Address> |
findByC_C_C_L(long companyId,
long classNameId,
long classPK,
long[] listTypeIds)
Returns all the addresses where companyId = ? and classNameId = ? and classPK = ? and listTypeId = any ?.
|
java.util.List<Address> |
findByC_C_C_L(long companyId,
long classNameId,
long classPK,
long[] listTypeIds,
int start,
int end)
Returns a range of all the addresses where companyId = ? and classNameId = ? and classPK = ? and listTypeId = any ?.
|
java.util.List<Address> |
findByC_C_C_L(long companyId,
long classNameId,
long classPK,
long[] listTypeIds,
int start,
int end,
OrderByComparator<Address> orderByComparator)
Returns an ordered range of all the addresses where companyId = ? and classNameId = ? and classPK = ? and listTypeId = any ?.
|
java.util.List<Address> |
findByC_C_C_L(long companyId,
long classNameId,
long classPK,
long[] listTypeIds,
int start,
int end,
OrderByComparator<Address> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the addresses where companyId = ? and classNameId = ? and classPK = ? and listTypeId = ?, optionally using the finder cache.
|
java.util.List<Address> |
findByC_C_C_L(long companyId,
long classNameId,
long classPK,
long listTypeId,
int start,
int end)
Returns a range of all the addresses where companyId = ? and classNameId = ? and classPK = ? and listTypeId = ?.
|
java.util.List<Address> |
findByC_C_C_L(long companyId,
long classNameId,
long classPK,
long listTypeId,
int start,
int end,
OrderByComparator<Address> orderByComparator)
Returns an ordered range of all the addresses where companyId = ? and classNameId = ? and classPK = ? and listTypeId = ?.
|
java.util.List<Address> |
findByC_C_C_L(long companyId,
long classNameId,
long classPK,
long listTypeId,
int start,
int end,
OrderByComparator<Address> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the addresses where companyId = ? and classNameId = ? and classPK = ? and listTypeId = ?.
|
Address |
findByC_C_C_Last(long companyId,
long classNameId,
long classPK,
OrderByComparator<Address> orderByComparator)
Returns the last address in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
|
Address |
findByC_C_C_M_First(long companyId,
long classNameId,
long classPK,
boolean mailing,
OrderByComparator<Address> orderByComparator)
Returns the first address in the ordered set where companyId = ? and classNameId = ? and classPK = ? and mailing = ?.
|
Address |
findByC_C_C_M_Last(long companyId,
long classNameId,
long classPK,
boolean mailing,
OrderByComparator<Address> orderByComparator)
Returns the last address in the ordered set where companyId = ? and classNameId = ? and classPK = ? and mailing = ?.
|
Address[] |
findByC_C_C_M_PrevAndNext(long addressId,
long companyId,
long classNameId,
long classPK,
boolean mailing,
OrderByComparator<Address> orderByComparator)
Returns the addresses before and after the current address in the ordered set where companyId = ? and classNameId = ? and classPK = ? and mailing = ?.
|
java.util.List<Address> |
findByC_C_C_M(long companyId,
long classNameId,
long classPK,
boolean mailing)
Returns all the addresses where companyId = ? and classNameId = ? and classPK = ? and mailing = ?.
|
java.util.List<Address> |
findByC_C_C_M(long companyId,
long classNameId,
long classPK,
boolean mailing,
int start,
int end)
Returns a range of all the addresses where companyId = ? and classNameId = ? and classPK = ? and mailing = ?.
|
java.util.List<Address> |
findByC_C_C_M(long companyId,
long classNameId,
long classPK,
boolean mailing,
int start,
int end,
OrderByComparator<Address> orderByComparator)
Returns an ordered range of all the addresses where companyId = ? and classNameId = ? and classPK = ? and mailing = ?.
|
java.util.List<Address> |
findByC_C_C_M(long companyId,
long classNameId,
long classPK,
boolean mailing,
int start,
int end,
OrderByComparator<Address> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the addresses where companyId = ? and classNameId = ? and classPK = ? and mailing = ?.
|
Address |
findByC_C_C_P_First(long companyId,
long classNameId,
long classPK,
boolean primary,
OrderByComparator<Address> orderByComparator)
Returns the first address in the ordered set where companyId = ? and classNameId = ? and classPK = ? and primary = ?.
|
Address |
findByC_C_C_P_Last(long companyId,
long classNameId,
long classPK,
boolean primary,
OrderByComparator<Address> orderByComparator)
Returns the last address in the ordered set where companyId = ? and classNameId = ? and classPK = ? and primary = ?.
|
Address[] |
findByC_C_C_P_PrevAndNext(long addressId,
long companyId,
long classNameId,
long classPK,
boolean primary,
OrderByComparator<Address> orderByComparator)
Returns the addresses before and after the current address in the ordered set where companyId = ? and classNameId = ? and classPK = ? and primary = ?.
|
java.util.List<Address> |
findByC_C_C_P(long companyId,
long classNameId,
long classPK,
boolean primary)
Returns all the addresses where companyId = ? and classNameId = ? and classPK = ? and primary = ?.
|
java.util.List<Address> |
findByC_C_C_P(long companyId,
long classNameId,
long classPK,
boolean primary,
int start,
int end)
Returns a range of all the addresses where companyId = ? and classNameId = ? and classPK = ? and primary = ?.
|
java.util.List<Address> |
findByC_C_C_P(long companyId,
long classNameId,
long classPK,
boolean primary,
int start,
int end,
OrderByComparator<Address> orderByComparator)
Returns an ordered range of all the addresses where companyId = ? and classNameId = ? and classPK = ? and primary = ?.
|
java.util.List<Address> |
findByC_C_C_P(long companyId,
long classNameId,
long classPK,
boolean primary,
int start,
int end,
OrderByComparator<Address> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the addresses where companyId = ? and classNameId = ? and classPK = ? and primary = ?.
|
Address[] |
findByC_C_C_PrevAndNext(long addressId,
long companyId,
long classNameId,
long classPK,
OrderByComparator<Address> orderByComparator)
Returns the addresses before and after the current address in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
|
java.util.List<Address> |
findByC_C_C(long companyId,
long classNameId,
long classPK)
Returns all the addresses where companyId = ? and classNameId = ? and classPK = ?.
|
java.util.List<Address> |
findByC_C_C(long companyId,
long classNameId,
long classPK,
int start,
int end)
Returns a range of all the addresses where companyId = ? and classNameId = ? and classPK = ?.
|
java.util.List<Address> |
findByC_C_C(long companyId,
long classNameId,
long classPK,
int start,
int end,
OrderByComparator<Address> orderByComparator)
Returns an ordered range of all the addresses where companyId = ? and classNameId = ? and classPK = ?.
|
java.util.List<Address> |
findByC_C_C(long companyId,
long classNameId,
long classPK,
int start,
int end,
OrderByComparator<Address> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the addresses where companyId = ? and classNameId = ? and classPK = ?.
|
Address |
findByC_C_First(long companyId,
long classNameId,
OrderByComparator<Address> orderByComparator)
Returns the first address in the ordered set where companyId = ? and classNameId = ?.
|
Address |
findByC_C_Last(long companyId,
long classNameId,
OrderByComparator<Address> orderByComparator)
Returns the last address in the ordered set where companyId = ? and classNameId = ?.
|
Address[] |
findByC_C_PrevAndNext(long addressId,
long companyId,
long classNameId,
OrderByComparator<Address> orderByComparator)
Returns the addresses before and after the current address in the ordered set where companyId = ? and classNameId = ?.
|
java.util.List<Address> |
findByC_C(long companyId,
long classNameId)
Returns all the addresses where companyId = ? and classNameId = ?.
|
java.util.List<Address> |
findByC_C(long companyId,
long classNameId,
int start,
int end)
Returns a range of all the addresses where companyId = ? and classNameId = ?.
|
java.util.List<Address> |
findByC_C(long companyId,
long classNameId,
int start,
int end,
OrderByComparator<Address> orderByComparator)
Returns an ordered range of all the addresses where companyId = ? and classNameId = ?.
|
java.util.List<Address> |
findByC_C(long companyId,
long classNameId,
int start,
int end,
OrderByComparator<Address> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the addresses where companyId = ? and classNameId = ?.
|
Address |
findByCompanyId_First(long companyId,
OrderByComparator<Address> orderByComparator)
Returns the first address in the ordered set where companyId = ?.
|
Address |
findByCompanyId_Last(long companyId,
OrderByComparator<Address> orderByComparator)
Returns the last address in the ordered set where companyId = ?.
|
Address[] |
findByCompanyId_PrevAndNext(long addressId,
long companyId,
OrderByComparator<Address> orderByComparator)
Returns the addresses before and after the current address in the ordered set where companyId = ?.
|
java.util.List<Address> |
findByCompanyId(long companyId)
Returns all the addresses where companyId = ?.
|
java.util.List<Address> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the addresses where companyId = ?.
|
java.util.List<Address> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<Address> orderByComparator)
Returns an ordered range of all the addresses where companyId = ?.
|
java.util.List<Address> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<Address> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the addresses where companyId = ?.
|
Address |
findByCountryId_First(long countryId,
OrderByComparator<Address> orderByComparator)
Returns the first address in the ordered set where countryId = ?.
|
Address |
findByCountryId_Last(long countryId,
OrderByComparator<Address> orderByComparator)
Returns the last address in the ordered set where countryId = ?.
|
Address[] |
findByCountryId_PrevAndNext(long addressId,
long countryId,
OrderByComparator<Address> orderByComparator)
Returns the addresses before and after the current address in the ordered set where countryId = ?.
|
java.util.List<Address> |
findByCountryId(long countryId)
Returns all the addresses where countryId = ?.
|
java.util.List<Address> |
findByCountryId(long countryId,
int start,
int end)
Returns a range of all the addresses where countryId = ?.
|
java.util.List<Address> |
findByCountryId(long countryId,
int start,
int end,
OrderByComparator<Address> orderByComparator)
Returns an ordered range of all the addresses where countryId = ?.
|
java.util.List<Address> |
findByCountryId(long countryId,
int start,
int end,
OrderByComparator<Address> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the addresses where countryId = ?.
|
Address |
findByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the address where externalReferenceCode = ? and companyId = ? or throws a
NoSuchAddressException if it could not be found. |
Address |
findByPrimaryKey(long addressId)
Returns the address with the primary key or throws a
NoSuchAddressException if it could not be found. |
Address |
findByRegionId_First(long regionId,
OrderByComparator<Address> orderByComparator)
Returns the first address in the ordered set where regionId = ?.
|
Address |
findByRegionId_Last(long regionId,
OrderByComparator<Address> orderByComparator)
Returns the last address in the ordered set where regionId = ?.
|
Address[] |
findByRegionId_PrevAndNext(long addressId,
long regionId,
OrderByComparator<Address> orderByComparator)
Returns the addresses before and after the current address in the ordered set where regionId = ?.
|
java.util.List<Address> |
findByRegionId(long regionId)
Returns all the addresses where regionId = ?.
|
java.util.List<Address> |
findByRegionId(long regionId,
int start,
int end)
Returns a range of all the addresses where regionId = ?.
|
java.util.List<Address> |
findByRegionId(long regionId,
int start,
int end,
OrderByComparator<Address> orderByComparator)
Returns an ordered range of all the addresses where regionId = ?.
|
java.util.List<Address> |
findByRegionId(long regionId,
int start,
int end,
OrderByComparator<Address> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the addresses where regionId = ?.
|
Address |
findByUserId_First(long userId,
OrderByComparator<Address> orderByComparator)
Returns the first address in the ordered set where userId = ?.
|
Address |
findByUserId_Last(long userId,
OrderByComparator<Address> orderByComparator)
Returns the last address in the ordered set where userId = ?.
|
Address[] |
findByUserId_PrevAndNext(long addressId,
long userId,
OrderByComparator<Address> orderByComparator)
Returns the addresses before and after the current address in the ordered set where userId = ?.
|
java.util.List<Address> |
findByUserId(long userId)
Returns all the addresses where userId = ?.
|
java.util.List<Address> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the addresses where userId = ?.
|
java.util.List<Address> |
findByUserId(long userId,
int start,
int end,
OrderByComparator<Address> orderByComparator)
Returns an ordered range of all the addresses where userId = ?.
|
java.util.List<Address> |
findByUserId(long userId,
int start,
int end,
OrderByComparator<Address> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the addresses where userId = ?.
|
Address |
findByUuid_C_First(java.lang.String uuid,
long companyId,
OrderByComparator<Address> orderByComparator)
Returns the first address in the ordered set where uuid = ? and companyId = ?.
|
Address |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
OrderByComparator<Address> orderByComparator)
Returns the last address in the ordered set where uuid = ? and companyId = ?.
|
Address[] |
findByUuid_C_PrevAndNext(long addressId,
java.lang.String uuid,
long companyId,
OrderByComparator<Address> orderByComparator)
Returns the addresses before and after the current address in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<Address> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the addresses where uuid = ? and companyId = ?.
|
java.util.List<Address> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the addresses where uuid = ? and companyId = ?.
|
java.util.List<Address> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
OrderByComparator<Address> orderByComparator)
Returns an ordered range of all the addresses where uuid = ? and companyId = ?.
|
java.util.List<Address> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
OrderByComparator<Address> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the addresses where uuid = ? and companyId = ?.
|
Address |
findByUuid_First(java.lang.String uuid,
OrderByComparator<Address> orderByComparator)
Returns the first address in the ordered set where uuid = ?.
|
Address |
findByUuid_Last(java.lang.String uuid,
OrderByComparator<Address> orderByComparator)
Returns the last address in the ordered set where uuid = ?.
|
Address[] |
findByUuid_PrevAndNext(long addressId,
java.lang.String uuid,
OrderByComparator<Address> orderByComparator)
Returns the addresses before and after the current address in the ordered set where uuid = ?.
|
java.util.List<Address> |
findByUuid(java.lang.String uuid)
Returns all the addresses where uuid = ?.
|
java.util.List<Address> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the addresses where uuid = ?.
|
java.util.List<Address> |
findByUuid(java.lang.String uuid,
int start,
int end,
OrderByComparator<Address> orderByComparator)
Returns an ordered range of all the addresses where uuid = ?.
|
java.util.List<Address> |
findByUuid(java.lang.String uuid,
int start,
int end,
OrderByComparator<Address> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the addresses where uuid = ?.
|
Address |
remove(long addressId)
Removes the address with the primary key from the database.
|
void |
removeAll()
Removes all the addresses from the database.
|
void |
removeByC_C_C_L(long companyId,
long classNameId,
long classPK,
long listTypeId)
Removes all the addresses where companyId = ? and classNameId = ? and classPK = ? and listTypeId = ? from the database.
|
void |
removeByC_C_C_M(long companyId,
long classNameId,
long classPK,
boolean mailing)
Removes all the addresses where companyId = ? and classNameId = ? and classPK = ? and mailing = ? from the database.
|
void |
removeByC_C_C_P(long companyId,
long classNameId,
long classPK,
boolean primary)
Removes all the addresses where companyId = ? and classNameId = ? and classPK = ? and primary = ? from the database.
|
void |
removeByC_C_C(long companyId,
long classNameId,
long classPK)
Removes all the addresses where companyId = ? and classNameId = ? and classPK = ? from the database.
|
void |
removeByC_C(long companyId,
long classNameId)
Removes all the addresses where companyId = ? and classNameId = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the addresses where companyId = ? from the database.
|
void |
removeByCountryId(long countryId)
Removes all the addresses where countryId = ? from the database.
|
Address |
removeByERC_C(java.lang.String externalReferenceCode,
long companyId)
Removes the address where externalReferenceCode = ? and companyId = ? from the database.
|
void |
removeByRegionId(long regionId)
Removes all the addresses where regionId = ? from the database.
|
void |
removeByUserId(long userId)
Removes all the addresses where userId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the addresses where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the addresses where uuid = ? from the database.
|
Address |
updateImpl(Address address) |
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
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<Address> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<Address> 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 AddressModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)java.util.List<Address> findByUuid(java.lang.String uuid, int start, int end, OrderByComparator<Address> 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 AddressModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Address> findByUuid(java.lang.String uuid, int start, int end, OrderByComparator<Address> 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 AddressModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheAddress findByUuid_First(java.lang.String uuid, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a matching address could not be foundAddress fetchByUuid_First(java.lang.String uuid, OrderByComparator<Address> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching address could not be foundAddress findByUuid_Last(java.lang.String uuid, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a matching address could not be foundAddress fetchByUuid_Last(java.lang.String uuid, OrderByComparator<Address> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching address could not be foundAddress[] findByUuid_PrevAndNext(long addressId, java.lang.String uuid, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
addressId
- the primary key of the current addressuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a address with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<Address> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<Address> 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 AddressModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)java.util.List<Address> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, OrderByComparator<Address> 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 AddressModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Address> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, OrderByComparator<Address> 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 AddressModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheAddress findByUuid_C_First(java.lang.String uuid, long companyId, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a matching address could not be foundAddress fetchByUuid_C_First(java.lang.String uuid, long companyId, OrderByComparator<Address> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching address could not be foundAddress findByUuid_C_Last(java.lang.String uuid, long companyId, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a matching address could not be foundAddress fetchByUuid_C_Last(java.lang.String uuid, long companyId, OrderByComparator<Address> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching address could not be foundAddress[] findByUuid_C_PrevAndNext(long addressId, java.lang.String uuid, long companyId, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
addressId
- the primary key of the current addressuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a address 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 IDjava.util.List<Address> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<Address> 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 AddressModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)java.util.List<Address> findByCompanyId(long companyId, int start, int end, OrderByComparator<Address> 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 AddressModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Address> findByCompanyId(long companyId, int start, int end, OrderByComparator<Address> 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 AddressModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheAddress findByCompanyId_First(long companyId, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a matching address could not be foundAddress fetchByCompanyId_First(long companyId, OrderByComparator<Address> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching address could not be foundAddress findByCompanyId_Last(long companyId, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a matching address could not be foundAddress fetchByCompanyId_Last(long companyId, OrderByComparator<Address> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching address could not be foundAddress[] findByCompanyId_PrevAndNext(long addressId, long companyId, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
addressId
- the primary key of the current addresscompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a address with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDjava.util.List<Address> findByUserId(long userId)
userId
- the user IDjava.util.List<Address> findByUserId(long userId, 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 AddressModelImpl
.
userId
- the user IDstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)java.util.List<Address> findByUserId(long userId, int start, int end, OrderByComparator<Address> 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 AddressModelImpl
.
userId
- the user IDstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Address> findByUserId(long userId, int start, int end, OrderByComparator<Address> 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 AddressModelImpl
.
userId
- the user IDstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheAddress findByUserId_First(long userId, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a matching address could not be foundAddress fetchByUserId_First(long userId, OrderByComparator<Address> orderByComparator)
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching address could not be foundAddress findByUserId_Last(long userId, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a matching address could not be foundAddress fetchByUserId_Last(long userId, OrderByComparator<Address> orderByComparator)
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching address could not be foundAddress[] findByUserId_PrevAndNext(long addressId, long userId, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
addressId
- the primary key of the current addressuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a address with the primary key could not be foundvoid removeByUserId(long userId)
userId
- the user IDint countByUserId(long userId)
userId
- the user IDjava.util.List<Address> findByCountryId(long countryId)
countryId
- the country IDjava.util.List<Address> findByCountryId(long countryId, 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 AddressModelImpl
.
countryId
- the country IDstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)java.util.List<Address> findByCountryId(long countryId, int start, int end, OrderByComparator<Address> 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 AddressModelImpl
.
countryId
- the country IDstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Address> findByCountryId(long countryId, int start, int end, OrderByComparator<Address> 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 AddressModelImpl
.
countryId
- the country IDstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheAddress findByCountryId_First(long countryId, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
countryId
- the country IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a matching address could not be foundAddress fetchByCountryId_First(long countryId, OrderByComparator<Address> orderByComparator)
countryId
- the country IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching address could not be foundAddress findByCountryId_Last(long countryId, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
countryId
- the country IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a matching address could not be foundAddress fetchByCountryId_Last(long countryId, OrderByComparator<Address> orderByComparator)
countryId
- the country IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching address could not be foundAddress[] findByCountryId_PrevAndNext(long addressId, long countryId, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
addressId
- the primary key of the current addresscountryId
- the country IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a address with the primary key could not be foundvoid removeByCountryId(long countryId)
countryId
- the country IDint countByCountryId(long countryId)
countryId
- the country IDjava.util.List<Address> findByRegionId(long regionId)
regionId
- the region IDjava.util.List<Address> findByRegionId(long regionId, 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 AddressModelImpl
.
regionId
- the region IDstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)java.util.List<Address> findByRegionId(long regionId, int start, int end, OrderByComparator<Address> 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 AddressModelImpl
.
regionId
- the region IDstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Address> findByRegionId(long regionId, int start, int end, OrderByComparator<Address> 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 AddressModelImpl
.
regionId
- the region IDstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheAddress findByRegionId_First(long regionId, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
regionId
- the region IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a matching address could not be foundAddress fetchByRegionId_First(long regionId, OrderByComparator<Address> orderByComparator)
regionId
- the region IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching address could not be foundAddress findByRegionId_Last(long regionId, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
regionId
- the region IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a matching address could not be foundAddress fetchByRegionId_Last(long regionId, OrderByComparator<Address> orderByComparator)
regionId
- the region IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching address could not be foundAddress[] findByRegionId_PrevAndNext(long addressId, long regionId, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
addressId
- the primary key of the current addressregionId
- the region IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a address with the primary key could not be foundvoid removeByRegionId(long regionId)
regionId
- the region IDint countByRegionId(long regionId)
regionId
- the region IDjava.util.List<Address> findByC_C(long companyId, long classNameId)
companyId
- the company IDclassNameId
- the class name IDjava.util.List<Address> findByC_C(long companyId, long classNameId, 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 AddressModelImpl
.
companyId
- the company IDclassNameId
- the class name IDstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)java.util.List<Address> findByC_C(long companyId, long classNameId, int start, int end, OrderByComparator<Address> 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 AddressModelImpl
.
companyId
- the company IDclassNameId
- the class name IDstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Address> findByC_C(long companyId, long classNameId, int start, int end, OrderByComparator<Address> 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 AddressModelImpl
.
companyId
- the company IDclassNameId
- the class name IDstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheAddress findByC_C_First(long companyId, long classNameId, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a matching address could not be foundAddress fetchByC_C_First(long companyId, long classNameId, OrderByComparator<Address> orderByComparator)
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching address could not be foundAddress findByC_C_Last(long companyId, long classNameId, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a matching address could not be foundAddress fetchByC_C_Last(long companyId, long classNameId, OrderByComparator<Address> orderByComparator)
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching address could not be foundAddress[] findByC_C_PrevAndNext(long addressId, long companyId, long classNameId, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
addressId
- the primary key of the current addresscompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a address with the primary key could not be foundvoid removeByC_C(long companyId, long classNameId)
companyId
- the company IDclassNameId
- the class name IDint countByC_C(long companyId, long classNameId)
companyId
- the company IDclassNameId
- the class name IDjava.util.List<Address> findByC_C_C(long companyId, long classNameId, long classPK)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkjava.util.List<Address> 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 AddressModelImpl
.
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)java.util.List<Address> findByC_C_C(long companyId, long classNameId, long classPK, int start, int end, OrderByComparator<Address> 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 AddressModelImpl
.
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Address> findByC_C_C(long companyId, long classNameId, long classPK, int start, int end, OrderByComparator<Address> 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 AddressModelImpl
.
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheAddress findByC_C_C_First(long companyId, long classNameId, long classPK, OrderByComparator<Address> 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 address could not be foundAddress fetchByC_C_C_First(long companyId, long classNameId, long classPK, OrderByComparator<Address> 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 address could not be foundAddress findByC_C_C_Last(long companyId, long classNameId, long classPK, OrderByComparator<Address> 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 address could not be foundAddress fetchByC_C_C_Last(long companyId, long classNameId, long classPK, OrderByComparator<Address> 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 address could not be foundAddress[] findByC_C_C_PrevAndNext(long addressId, long companyId, long classNameId, long classPK, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
addressId
- the primary key of the current addresscompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a 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<Address> findByC_C_C_L(long companyId, long classNameId, long classPK, long listTypeId)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pklistTypeId
- the list type IDjava.util.List<Address> findByC_C_C_L(long companyId, long classNameId, long classPK, long listTypeId, 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 AddressModelImpl
.
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pklistTypeId
- the list type IDstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)java.util.List<Address> findByC_C_C_L(long companyId, long classNameId, long classPK, long listTypeId, int start, int end, OrderByComparator<Address> 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 AddressModelImpl
.
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pklistTypeId
- the list type IDstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Address> findByC_C_C_L(long companyId, long classNameId, long classPK, long listTypeId, int start, int end, OrderByComparator<Address> 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 AddressModelImpl
.
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pklistTypeId
- the list type IDstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheAddress findByC_C_C_L_First(long companyId, long classNameId, long classPK, long listTypeId, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pklistTypeId
- the list type IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a matching address could not be foundAddress fetchByC_C_C_L_First(long companyId, long classNameId, long classPK, long listTypeId, OrderByComparator<Address> orderByComparator)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pklistTypeId
- the list type IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching address could not be foundAddress findByC_C_C_L_Last(long companyId, long classNameId, long classPK, long listTypeId, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pklistTypeId
- the list type IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a matching address could not be foundAddress fetchByC_C_C_L_Last(long companyId, long classNameId, long classPK, long listTypeId, OrderByComparator<Address> orderByComparator)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pklistTypeId
- the list type IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching address could not be foundAddress[] findByC_C_C_L_PrevAndNext(long addressId, long companyId, long classNameId, long classPK, long listTypeId, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
addressId
- the primary key of the current addresscompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pklistTypeId
- the list type IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a address with the primary key could not be foundjava.util.List<Address> findByC_C_C_L(long companyId, long classNameId, long classPK, long[] listTypeIds)
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 AddressModelImpl
.
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pklistTypeIds
- the list type IDsjava.util.List<Address> findByC_C_C_L(long companyId, long classNameId, long classPK, long[] listTypeIds, 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 AddressModelImpl
.
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pklistTypeIds
- the list type IDsstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)java.util.List<Address> findByC_C_C_L(long companyId, long classNameId, long classPK, long[] listTypeIds, int start, int end, OrderByComparator<Address> 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 AddressModelImpl
.
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pklistTypeIds
- the list type IDsstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Address> findByC_C_C_L(long companyId, long classNameId, long classPK, long[] listTypeIds, int start, int end, OrderByComparator<Address> 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 AddressModelImpl
.
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pklistTypeIds
- the list type IDsstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeByC_C_C_L(long companyId, long classNameId, long classPK, long listTypeId)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pklistTypeId
- the list type IDint countByC_C_C_L(long companyId, long classNameId, long classPK, long listTypeId)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pklistTypeId
- the list type IDint countByC_C_C_L(long companyId, long classNameId, long classPK, long[] listTypeIds)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pklistTypeIds
- the list type IDsjava.util.List<Address> findByC_C_C_M(long companyId, long classNameId, long classPK, boolean mailing)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkmailing
- the mailingjava.util.List<Address> findByC_C_C_M(long companyId, long classNameId, long classPK, boolean mailing, 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 AddressModelImpl
.
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkmailing
- the mailingstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)java.util.List<Address> findByC_C_C_M(long companyId, long classNameId, long classPK, boolean mailing, int start, int end, OrderByComparator<Address> 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 AddressModelImpl
.
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkmailing
- the mailingstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Address> findByC_C_C_M(long companyId, long classNameId, long classPK, boolean mailing, int start, int end, OrderByComparator<Address> 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 AddressModelImpl
.
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkmailing
- the mailingstart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheAddress findByC_C_C_M_First(long companyId, long classNameId, long classPK, boolean mailing, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkmailing
- the mailingorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a matching address could not be foundAddress fetchByC_C_C_M_First(long companyId, long classNameId, long classPK, boolean mailing, OrderByComparator<Address> orderByComparator)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkmailing
- the mailingorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching address could not be foundAddress findByC_C_C_M_Last(long companyId, long classNameId, long classPK, boolean mailing, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkmailing
- the mailingorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a matching address could not be foundAddress fetchByC_C_C_M_Last(long companyId, long classNameId, long classPK, boolean mailing, OrderByComparator<Address> orderByComparator)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkmailing
- the mailingorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching address could not be foundAddress[] findByC_C_C_M_PrevAndNext(long addressId, long companyId, long classNameId, long classPK, boolean mailing, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
addressId
- the primary key of the current addresscompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkmailing
- the mailingorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a address with the primary key could not be foundvoid removeByC_C_C_M(long companyId, long classNameId, long classPK, boolean mailing)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkmailing
- the mailingint countByC_C_C_M(long companyId, long classNameId, long classPK, boolean mailing)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkmailing
- the mailingjava.util.List<Address> findByC_C_C_P(long companyId, long classNameId, long classPK, boolean primary)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkprimary
- the primaryjava.util.List<Address> findByC_C_C_P(long companyId, long classNameId, long classPK, boolean primary, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AddressModelImpl
.
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkprimary
- the primarystart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)java.util.List<Address> findByC_C_C_P(long companyId, long classNameId, long classPK, boolean primary, int start, int end, OrderByComparator<Address> 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 AddressModelImpl
.
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkprimary
- the primarystart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Address> findByC_C_C_P(long companyId, long classNameId, long classPK, boolean primary, int start, int end, OrderByComparator<Address> 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 AddressModelImpl
.
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkprimary
- the primarystart
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheAddress findByC_C_C_P_First(long companyId, long classNameId, long classPK, boolean primary, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkprimary
- the primaryorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a matching address could not be foundAddress fetchByC_C_C_P_First(long companyId, long classNameId, long classPK, boolean primary, OrderByComparator<Address> orderByComparator)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkprimary
- the primaryorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching address could not be foundAddress findByC_C_C_P_Last(long companyId, long classNameId, long classPK, boolean primary, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkprimary
- the primaryorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a matching address could not be foundAddress fetchByC_C_C_P_Last(long companyId, long classNameId, long classPK, boolean primary, OrderByComparator<Address> orderByComparator)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkprimary
- the primaryorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching address could not be foundAddress[] findByC_C_C_P_PrevAndNext(long addressId, long companyId, long classNameId, long classPK, boolean primary, OrderByComparator<Address> orderByComparator) throws NoSuchAddressException
addressId
- the primary key of the current addresscompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkprimary
- the primaryorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAddressException
- if a address with the primary key could not be foundvoid removeByC_C_C_P(long companyId, long classNameId, long classPK, boolean primary)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkprimary
- the primaryint countByC_C_C_P(long companyId, long classNameId, long classPK, boolean primary)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkprimary
- the primaryAddress findByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchAddressException
NoSuchAddressException
if it could not be found.externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchAddressException
- if a matching address could not be foundAddress 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 address could not be foundAddress 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 address could not be foundAddress removeByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchAddressException
externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchAddressException
int countByERC_C(java.lang.String externalReferenceCode, long companyId)
externalReferenceCode
- the external reference codecompanyId
- the company IDvoid cacheResult(Address address)
address
- the addressvoid cacheResult(java.util.List<Address> addresses)
addresses
- the addressesAddress create(long addressId)
addressId
- the primary key for the new addressAddress remove(long addressId) throws NoSuchAddressException
addressId
- the primary key of the addressNoSuchAddressException
- if a address with the primary key could not be foundAddress findByPrimaryKey(long addressId) throws NoSuchAddressException
NoSuchAddressException
if it could not be found.addressId
- the primary key of the addressNoSuchAddressException
- if a address with the primary key could not be foundAddress fetchByPrimaryKey(long addressId)
null
if it could not be found.addressId
- the primary key of the addressnull
if a address with the primary key could not be foundjava.util.List<Address> findAll()
java.util.List<Address> 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 AddressModelImpl
.
start
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)java.util.List<Address> findAll(int start, int end, OrderByComparator<Address> 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 AddressModelImpl
.
start
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Address> findAll(int start, int end, OrderByComparator<Address> 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 AddressModelImpl
.
start
- the lower bound of the range of addressesend
- the upper bound of the range of addresses (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()