public class AddressServiceUtil
extends Object
com.liferay.portal.service.impl.AddressServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.AddressService
Constructor and Description |
---|
AddressServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static Address |
addAddress(String externalReferenceCode,
String className,
long classPK,
String name,
String description,
String street1,
String street2,
String street3,
String city,
String zip,
long regionId,
long countryId,
long listTypeId,
boolean mailing,
boolean primary,
String phoneNumber,
ServiceContext serviceContext) |
static void |
deleteAddress(long addressId) |
static Address |
getAddress(long addressId) |
static List<Address> |
getAddresses(String className,
long classPK) |
static List<Address> |
getListTypeAddresses(String className,
long classPK,
long[] listTypeIds) |
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static AddressService |
getService() |
static void |
setService(AddressService service) |
static Address |
updateAddress(long addressId,
String name,
String description,
String street1,
String street2,
String street3,
String city,
String zip,
long regionId,
long countryId,
long listTypeId,
boolean mailing,
boolean primary,
String phoneNumber) |
public static Address addAddress(String externalReferenceCode, String className, long classPK, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, long listTypeId, boolean mailing, boolean primary, String phoneNumber, ServiceContext serviceContext) throws PortalException
PortalException
public static void deleteAddress(long addressId) throws PortalException
PortalException
public static Address getAddress(long addressId) throws PortalException
PortalException
public static List<Address> getAddresses(String className, long classPK) throws PortalException
PortalException
public static List<Address> getListTypeAddresses(String className, long classPK, long[] listTypeIds) throws PortalException
PortalException
public static String getOSGiServiceIdentifier()
public static Address updateAddress(long addressId, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, long listTypeId, boolean mailing, boolean primary, String phoneNumber) throws PortalException
PortalException
public static AddressService getService()
public static void setService(AddressService service)