@AccessControlled @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 className,
long classPK,
String street1,
String street2,
String street3,
String city,
String zip,
long regionId,
long countryId,
long typeId,
boolean mailing,
boolean primary,
ServiceContext serviceContext)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
void |
deleteAddress(long addressId) |
Address |
getAddress(long addressId) |
List<Address> |
getAddresses(String className,
long classPK) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
Address |
updateAddress(long addressId,
String street1,
String street2,
String street3,
String city,
String zip,
long regionId,
long countryId,
long typeId,
boolean mailing,
boolean primary) |
Address addAddress(String className, long classPK, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, long typeId, boolean mailing, boolean primary, ServiceContext serviceContext) throws PortalException
AddressServiceUtil
to access the address remote service. Add custom service methods to com.liferay.portal.service.impl.AddressServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.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
String getOSGiServiceIdentifier()
Address updateAddress(long addressId, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, long typeId, boolean mailing, boolean primary) throws PortalException
PortalException