com.liferay.portal.service
Class AddressLocalServiceUtil
java.lang.Object
com.liferay.portal.service.AddressLocalServiceUtil
public class AddressLocalServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
com.liferay.portal.service.AddressLocalService
bean. The static methods of this class calls the same methods of the bean
instance. It's convenient to be able to just write one line to call a method
on a bean instead of writing a lookup call and a method call.
com.liferay.portal.service.AddressLocalServiceFactory
is responsible for the lookup of the bean.
- Author:
- Brian Wing Shun Chan
- See Also:
AddressLocalService
,
AddressLocalServiceFactory
Method Summary |
static Address |
addAddress(Address address)
|
static 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)
|
static void |
deleteAddress(Address address)
|
static void |
deleteAddress(long addressId)
|
static void |
deleteAddresses(long companyId,
java.lang.String className,
long classPK)
|
static java.util.List<Address> |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
static java.util.List<Address> |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
static Address |
getAddress(long addressId)
|
static java.util.List<Address> |
getAddresses()
|
static java.util.List<Address> |
getAddresses(long companyId,
java.lang.String className,
long classPK)
|
static Address |
updateAddress(Address address)
|
static 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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddressLocalServiceUtil
public AddressLocalServiceUtil()
addAddress
public static Address addAddress(Address address)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteAddress
public static void deleteAddress(long addressId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteAddress
public static void deleteAddress(Address address)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List<Address> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List<Address> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateAddress
public static Address updateAddress(Address address)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addAddress
public static 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
public static void deleteAddresses(long companyId,
java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAddress
public static Address getAddress(long addressId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getAddresses
public static java.util.List<Address> getAddresses()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAddresses
public static java.util.List<Address> getAddresses(long companyId,
java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateAddress
public static 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