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:
AddressServiceFactory, AddressServiceUtil

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

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

dynamicQuery

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

dynamicQuery

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

updateAddress

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

addAddress

public 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

deleteAddress

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

deleteAddresses

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

getAddress

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

getAddresses

public java.util.List getAddresses()
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getAddresses

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

updateAddress

public 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