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
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
- Generated:
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 |
dynamicQuery(DynamicQuery dynamicQuery)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
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(Address address,
boolean merge)
|
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 SystemException
- Throws:
SystemException
createAddress
public static Address createAddress(long addressId)
deleteAddress
public static void deleteAddress(long addressId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteAddress
public static void deleteAddress(Address address)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
public static long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getAddress
public static Address getAddress(long addressId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getAddresses
public static java.util.List<Address> getAddresses(int start,
int end)
throws SystemException
- Throws:
SystemException
getAddressesCount
public static int getAddressesCount()
throws SystemException
- Throws:
SystemException
updateAddress
public static Address updateAddress(Address address)
throws SystemException
- Throws:
SystemException
updateAddress
public static Address updateAddress(Address address,
boolean merge)
throws SystemException
- Throws:
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 PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteAddresses
public static void deleteAddresses(long companyId,
java.lang.String className,
long classPK)
throws SystemException
- Throws:
SystemException
getAddresses
public static java.util.List<Address> getAddresses()
throws SystemException
- Throws:
SystemException
getAddresses
public static java.util.List<Address> getAddresses(long companyId,
java.lang.String className,
long classPK)
throws SystemException
- Throws:
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 PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static AddressLocalService getService()
setService
public void setService(AddressLocalService service)