com.liferay.portal.service
Class AddressServiceUtil
java.lang.Object
com.liferay.portal.service.AddressServiceUtil
public class AddressServiceUtil
- 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.AddressService
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:
AddressService
Method Summary |
static 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)
|
static void |
deleteAddress(long addressId)
|
static Address |
getAddress(long addressId)
|
static java.util.List<Address> |
getAddresses(java.lang.String className,
long classPK)
|
static AddressService |
getService()
|
void |
setService(AddressService service)
|
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 |
AddressServiceUtil
public AddressServiceUtil()
addAddress
public static 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
public static void deleteAddress(long addressId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
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(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
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 AddressService getService()
setService
public void setService(AddressService service)