@AccessControlled @CTAware @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface AddressService extends BaseService
AddressServiceUtil
Modifier and Type | Method and Description |
---|---|
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) |
void |
deleteAddress(long addressId) |
Address |
getAddress(long addressId) |
List<Address> |
getAddresses(String className,
long classPK) |
List<Address> |
getListTypeAddresses(String className,
long classPK,
long[] listTypeIds) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
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) |
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
void deleteAddress(long addressId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) Address getAddress(long addressId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<Address> getAddresses(String className, long classPK) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<Address> getListTypeAddresses(String className, long classPK, long[] listTypeIds) throws PortalException
PortalException
String getOSGiServiceIdentifier()
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