com.liferay.portal.service
Interface AddressLocalService
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface AddressLocalService
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.AddressLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
AddressLocalServiceUtil
Method Summary |
Address |
addAddress(Address address)
|
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)
|
Address |
createAddress(long addressId)
|
void |
deleteAddress(Address address)
|
void |
deleteAddress(long addressId)
|
void |
deleteAddresses(long companyId,
java.lang.String className,
long classPK)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
Address |
getAddress(long addressId)
|
java.util.List<Address> |
getAddresses()
|
java.util.List<Address> |
getAddresses(int start,
int end)
|
java.util.List<Address> |
getAddresses(long companyId,
java.lang.String className,
long classPK)
|
int |
getAddressesCount()
|
Address |
updateAddress(Address address)
|
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(Address address)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createAddress
Address createAddress(long addressId)
deleteAddress
void deleteAddress(long addressId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteAddress
void deleteAddress(Address address)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAddress
@Transactional(propagation=SUPPORTS,
readOnly=true)
Address getAddress(long addressId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getAddresses
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Address> getAddresses(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAddressesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getAddressesCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateAddress
Address updateAddress(Address address)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addAddress
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
deleteAddresses
void deleteAddresses(long companyId,
java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAddresses
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Address> getAddresses()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAddresses
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Address> getAddresses(long companyId,
java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
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