Liferay 7.0-ce-b4

com.liferay.portal.service
Interface AddressService

All Superinterfaces:
BaseService
All Known Implementing Classes:
AddressServiceBaseImpl, AddressServiceImpl, AddressServiceWrapper

@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface AddressService
extends BaseService

Provides the remote service interface for Address. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
AddressServiceUtil, AddressServiceBaseImpl, AddressServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 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)
           
 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)
           
 

Method Detail

addAddress

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
Throws:
PortalException

deleteAddress

void deleteAddress(long addressId)
                   throws PortalException
Throws:
PortalException

getAddress

@Transactional(propagation=SUPPORTS,
               readOnly=true)
Address getAddress(long addressId)
                   throws PortalException
Throws:
PortalException

getAddresses

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<Address> getAddresses(String className,
                                                                    long classPK)
                           throws PortalException
Throws:
PortalException

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

updateAddress

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
Throws:
PortalException

Liferay 7.0-ce-b4