com.liferay.portal.service
Interface AddressLocalService


public interface AddressLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portal.service.impl.AddressLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
AddressLocalServiceFactory, AddressLocalServiceUtil

Method Summary
 Address addAddress(Address address)
           
 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)
           
 void deleteAddress(Address address)
           
 void deleteAddress(long addressId)
           
 void deleteAddresses(long companyId, java.lang.String className, long classPK)
           
 java.util.List<Address> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List<Address> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 Address getAddress(long addressId)
           
 java.util.List<Address> getAddresses()
           
 java.util.List<Address> getAddresses(long companyId, java.lang.String className, long classPK)
           
 Address updateAddress(Address address)
           
 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)
           
 

Method Detail

addAddress

Address addAddress(Address address)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteAddress

void deleteAddress(long addressId)
                   throws com.liferay.portal.SystemException,
                          com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteAddress

void deleteAddress(Address address)
                   throws com.liferay.portal.SystemException,
                          com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

dynamicQuery

java.util.List<Address> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<Address> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                     int begin,
                                     int end)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateAddress

Address updateAddress(Address address)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addAddress

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 com.liferay.portal.SystemException,
                          com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteAddresses

void deleteAddresses(long companyId,
                     java.lang.String className,
                     long classPK)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getAddress

Address getAddress(long addressId)
                   throws com.liferay.portal.SystemException,
                          com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getAddresses

java.util.List<Address> getAddresses()
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getAddresses

java.util.List<Address> getAddresses(long companyId,
                                     java.lang.String className,
                                     long classPK)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateAddress

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 com.liferay.portal.SystemException,
                             com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException