com.liferay.portal.service
Interface AddressService
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface AddressService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portal.service.impl.AddressServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
- Author:
- Brian Wing Shun Chan
- See Also:
AddressServiceUtil
Method Summary |
Address |
addAddress(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)
|
Address |
getAddress(long addressId)
|
java.util.List<Address> |
getAddresses(java.lang.String className,
long classPK)
|
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)
|
addAddress
Address addAddress(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
void deleteAddress(long addressId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getAddress
@Transactional(propagation=SUPPORTS,
readOnly=true)
Address getAddress(long addressId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getAddresses
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Address> getAddresses(java.lang.String className,
long classPK)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateAddress
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