com.liferay.portal.service
Interface AddressService


public interface AddressService

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.AddressServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

Author:
Brian Wing Shun Chan
See Also:
AddressServiceFactory, AddressServiceUtil

Method Summary
 Address addAddress(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)
           
 Address getAddress(long addressId)
           
 java.util.List getAddresses(java.lang.String className, long classPK)
           
 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(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,
                          java.rmi.RemoteException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
java.rmi.RemoteException

deleteAddress

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

getAddress

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

getAddresses

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

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