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.
- Author:
- Brian Wing Shun Chan
- See Also:
AddressLocalService
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 Address |
createAddress(long addressId)
|
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<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static Address |
getAddress(long addressId)
|
static java.util.List<Address> |
getAddresses()
|
static java.util.List<Address> |
getAddresses(int start,
int end)
|
static java.util.List<Address> |
getAddresses(long companyId,
java.lang.String className,
long classPK)
|
static int |
getAddressesCount()
|
static AddressLocalService |
getService()
|
void |
setService(AddressLocalService service)
|
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
createAddress
public static Address createAddress(long addressId)
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.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static 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
public static 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
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(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAddressesCount
public static int getAddressesCount()
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
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
getService
public static AddressLocalService getService()
setService
public void setService(AddressLocalService service)