com.liferay.portal.service.impl
Class AddressLocalServiceImpl
java.lang.Object
com.liferay.portal.service.base.AddressLocalServiceBaseImpl
com.liferay.portal.service.impl.AddressLocalServiceImpl
- All Implemented Interfaces:
- com.liferay.portal.service.AddressLocalService
- public class AddressLocalServiceImpl
- extends AddressLocalServiceBaseImpl
View Source
- Author:
- Brian Wing Shun Chan, Alexander Chow
Method Summary |
com.liferay.portal.model.Address |
addAddress(long userId,
java.lang.String className,
long classPK,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long regionId,
long countryId,
int typeId,
boolean mailing,
boolean primary)
|
void |
deleteAddress(long addressId)
|
void |
deleteAddresses(long companyId,
java.lang.String className,
long classPK)
|
com.liferay.portal.model.Address |
getAddress(long addressId)
|
java.util.List |
getAddresses()
|
java.util.List |
getAddresses(long companyId,
java.lang.String className,
long classPK)
|
com.liferay.portal.model.Address |
updateAddress(long addressId,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long regionId,
long countryId,
int typeId,
boolean mailing,
boolean primary)
|
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,
java.lang.String street1,
java.lang.String city,
java.lang.String zip,
long regionId,
long countryId,
int typeId,
boolean mailing,
boolean primary)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddressLocalServiceImpl
public AddressLocalServiceImpl()
addAddress
public com.liferay.portal.model.Address addAddress(long userId,
java.lang.String className,
long classPK,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long regionId,
long countryId,
int typeId,
boolean mailing,
boolean primary)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteAddress
public void deleteAddress(long addressId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteAddresses
public void deleteAddresses(long companyId,
java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAddress
public com.liferay.portal.model.Address getAddress(long addressId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getAddresses
public java.util.List getAddresses()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAddresses
public java.util.List getAddresses(long companyId,
java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateAddress
public com.liferay.portal.model.Address updateAddress(long addressId,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long regionId,
long countryId,
int typeId,
boolean mailing,
boolean primary)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
validate
protected void validate(long addressId,
long companyId,
long classNameId,
long classPK,
java.lang.String street1,
java.lang.String city,
java.lang.String zip,
long regionId,
long countryId,
int typeId,
boolean mailing,
boolean primary)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
validate
protected void validate(long addressId,
long companyId,
long classNameId,
long classPK,
boolean mailing,
boolean primary)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException