Package com.liferay.portal.service.impl
Class AddressServiceImpl
Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portal.service.base.AddressServiceBaseImpl
com.liferay.portal.service.impl.AddressServiceImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
,com.liferay.portal.kernel.service.AddressService
,com.liferay.portal.kernel.service.BaseService
- Author:
- Brian Wing Shun Chan, Alexander Chow
-
Field Summary
Fields inherited from class com.liferay.portal.service.base.AddressServiceBaseImpl
addressLocalService, addressPersistence, addressService, counterLocalService
Fields inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.portal.kernel.model.Address
addAddress
(String externalReferenceCode, String className, long classPK, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, long listTypeId, boolean mailing, boolean primary, String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
deleteAddress
(long addressId) com.liferay.portal.kernel.model.Address
getAddress
(long addressId) List<com.liferay.portal.kernel.model.Address>
getAddresses
(String className, long classPK) List<com.liferay.portal.kernel.model.Address>
getListTypeAddresses
(String className, long classPK, long[] listTypeIds) 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 listTypeId, boolean mailing, boolean primary, String phoneNumber) com.liferay.portal.kernel.model.Address
updateExternalReferenceCode
(long addressId, String externalReferenceCode) com.liferay.portal.kernel.model.Address
updateExternalReferenceCode
(com.liferay.portal.kernel.model.Address address, String externalReferenceCode) Methods inherited from class com.liferay.portal.service.base.AddressServiceBaseImpl
afterPropertiesSet, destroy, getAddressLocalService, getAddressPersistence, getAddressService, getCounterLocalService, getModelClass, getModelClassName, getOSGiServiceIdentifier, runSQL, setAddressLocalService, setAddressPersistence, setAddressService, setCounterLocalService
Methods inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
-
Constructor Details
-
AddressServiceImpl
public AddressServiceImpl()
-
-
Method Details
-
addAddress
public com.liferay.portal.kernel.model.Address addAddress(String externalReferenceCode, String className, long classPK, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, long listTypeId, boolean mailing, boolean primary, String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteAddress
public void deleteAddress(long addressId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAddress
public com.liferay.portal.kernel.model.Address getAddress(long addressId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAddresses
public List<com.liferay.portal.kernel.model.Address> getAddresses(String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getListTypeAddresses
public List<com.liferay.portal.kernel.model.Address> getListTypeAddresses(String className, long classPK, long[] listTypeIds) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateAddress
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 listTypeId, boolean mailing, boolean primary, String phoneNumber) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExternalReferenceCode
public com.liferay.portal.kernel.model.Address updateExternalReferenceCode(com.liferay.portal.kernel.model.Address address, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExternalReferenceCode
public com.liferay.portal.kernel.model.Address updateExternalReferenceCode(long addressId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-