public class AddressLocalServiceImpl extends AddressLocalServiceBaseImpl
addressLocalService, addressPersistence, counterLocalService, persistedModelLocalServiceRegistry| Constructor and Description |
|---|
AddressLocalServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.portal.kernel.model.Address |
addAddress(long userId,
String className,
long classPK,
String street1,
String street2,
String street3,
String city,
String zip,
long regionId,
long countryId,
long typeId,
boolean mailing,
boolean primary,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
|
com.liferay.portal.kernel.model.Address |
addAddress(String externalReferenceCode,
long userId,
String className,
long classPK,
String name,
String description,
String street1,
String street2,
String street3,
String city,
String zip,
long regionId,
long countryId,
long typeId,
boolean mailing,
boolean primary,
String phoneNumber,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
protected com.liferay.portal.kernel.search.SearchContext |
buildSearchContext(long companyId,
String className,
long classPK,
String keywords,
LinkedHashMap<String,Object> params,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
com.liferay.portal.kernel.model.Address |
copyAddress(long addressId,
String className,
long classPK,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.portal.kernel.model.Address |
deleteAddress(com.liferay.portal.kernel.model.Address address)
Deletes the address from the database.
|
com.liferay.portal.kernel.model.Address |
deleteAddress(long addressId)
Deletes the address with the primary key from the database.
|
void |
deleteAddresses(long companyId,
String className,
long classPK) |
void |
deleteCountryAddresses(long countryId) |
void |
deleteRegionAddresses(long regionId) |
List<com.liferay.portal.kernel.model.Address> |
getAddresses() |
protected List<com.liferay.portal.kernel.model.Address> |
getAddresses(com.liferay.portal.kernel.search.Hits hits) |
List<com.liferay.portal.kernel.model.Address> |
getAddresses(long companyId,
String className,
long classPK) |
List<com.liferay.portal.kernel.model.Address> |
getAddresses(long companyId,
String className,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Address> orderByComparator) |
int |
getAddressesCount(long companyId,
String className,
long classPK) |
List<com.liferay.portal.kernel.model.Address> |
getTypeAddresses(long companyId,
String className,
long classPK,
long[] typeIds) |
List<com.liferay.portal.kernel.model.Address> |
getTypeAddresses(long companyId,
String className,
long classPK,
long[] typeIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Address> orderByComparator) |
com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portal.kernel.model.Address> |
searchAddresses(long companyId,
String className,
long classPK,
String keywords,
LinkedHashMap<String,Object> params,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
protected com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portal.kernel.model.Address> |
searchAddresses(com.liferay.portal.kernel.search.SearchContext searchContext) |
com.liferay.portal.kernel.model.Address |
updateAddress(long addressId,
String street1,
String street2,
String street3,
String city,
String zip,
long regionId,
long countryId,
long typeId,
boolean mailing,
boolean primary) |
com.liferay.portal.kernel.model.Address |
updateAddress(long addressId,
String name,
String description,
String street1,
String street2,
String street3,
String city,
String zip,
long regionId,
long countryId,
long typeId,
boolean mailing,
boolean primary,
String phoneNumber) |
protected void |
validate(long addressId,
long companyId,
long classNameId,
long classPK,
boolean mailing,
boolean primary) |
protected void |
validate(long addressId,
long companyId,
long classNameId,
long classPK,
String street1,
String city,
String zip,
long regionId,
long countryId,
long typeId,
boolean mailing,
boolean primary) |
addAddress, afterPropertiesSet, createAddress, createPersistedModel, deletePersistedModel, destroy, dslQuery, dslQueryCount, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchAddress, fetchAddressByExternalReferenceCode, fetchAddressByReferenceCode, fetchAddressByUuidAndCompanyId, getActionableDynamicQuery, getAddress, getAddressByExternalReferenceCode, getAddressByUuidAndCompanyId, getAddresses, getAddressesCount, getAddressLocalService, getAddressPersistence, getBasePersistence, getCounterLocalService, getExportActionableDynamicQuery, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, initActionableDynamicQuery, runSQL, setAddressLocalService, setAddressPersistence, setCounterLocalService, updateAddress@Deprecated
public com.liferay.portal.kernel.model.Address addAddress(long userId,
String className,
long classPK,
String street1,
String street2,
String street3,
String city,
String zip,
long regionId,
long countryId,
long typeId,
boolean mailing,
boolean primary,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
addAddress(String, long, String, long, String, String,
String, String, String, String, String, long, long, long,
boolean, boolean, String, ServiceContext)com.liferay.portal.kernel.exception.PortalException@Indexable(type=REINDEX)
public com.liferay.portal.kernel.model.Address addAddress(String externalReferenceCode,
long userId,
String className,
long classPK,
String name,
String description,
String street1,
String street2,
String street3,
String city,
String zip,
long regionId,
long countryId,
long typeId,
boolean mailing,
boolean primary,
String phoneNumber,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.model.Address copyAddress(long addressId,
String className,
long classPK,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Indexable(type=DELETE)
@SystemEvent(action=1,
type=1)
public com.liferay.portal.kernel.model.Address deleteAddress(com.liferay.portal.kernel.model.Address address)
AddressLocalServiceBaseImplImportant: Inspect AddressLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteAddress in interface com.liferay.portal.kernel.service.AddressLocalServicedeleteAddress in class AddressLocalServiceBaseImpladdress - the addresspublic com.liferay.portal.kernel.model.Address deleteAddress(long addressId)
throws com.liferay.portal.kernel.exception.PortalException
AddressLocalServiceBaseImplImportant: Inspect AddressLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteAddress in interface com.liferay.portal.kernel.service.AddressLocalServicedeleteAddress in class AddressLocalServiceBaseImpladdressId - the primary key of the addresscom.liferay.portal.kernel.exception.PortalException - if a address with the primary key could not be foundpublic void deleteAddresses(long companyId,
String className,
long classPK)
public void deleteCountryAddresses(long countryId)
public void deleteRegionAddresses(long regionId)
public List<com.liferay.portal.kernel.model.Address> getAddresses()
public List<com.liferay.portal.kernel.model.Address> getAddresses(long companyId,
String className,
long classPK)
public List<com.liferay.portal.kernel.model.Address> getAddresses(long companyId,
String className,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Address> orderByComparator)
public int getAddressesCount(long companyId,
String className,
long classPK)
public List<com.liferay.portal.kernel.model.Address> getTypeAddresses(long companyId,
String className,
long classPK,
long[] typeIds)
public List<com.liferay.portal.kernel.model.Address> getTypeAddresses(long companyId,
String className,
long classPK,
long[] typeIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Address> orderByComparator)
public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portal.kernel.model.Address> searchAddresses(long companyId,
String className,
long classPK,
String keywords,
LinkedHashMap<String,Object> params,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.model.Address updateAddress(long addressId,
String street1,
String street2,
String street3,
String city,
String zip,
long regionId,
long countryId,
long typeId,
boolean mailing,
boolean primary)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Indexable(type=REINDEX)
public com.liferay.portal.kernel.model.Address updateAddress(long addressId,
String name,
String description,
String street1,
String street2,
String street3,
String city,
String zip,
long regionId,
long countryId,
long typeId,
boolean mailing,
boolean primary,
String phoneNumber)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected com.liferay.portal.kernel.search.SearchContext buildSearchContext(long companyId,
String className,
long classPK,
String keywords,
LinkedHashMap<String,Object> params,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort)
protected List<com.liferay.portal.kernel.model.Address> getAddresses(com.liferay.portal.kernel.search.Hits hits)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portal.kernel.model.Address> searchAddresses(com.liferay.portal.kernel.search.SearchContext searchContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected void validate(long addressId,
long companyId,
long classNameId,
long classPK,
boolean mailing,
boolean primary)
protected void validate(long addressId,
long companyId,
long classNameId,
long classPK,
String street1,
String city,
String zip,
long regionId,
long countryId,
long typeId,
boolean mailing,
boolean primary)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException