Liferay 7.0-ce-b4

com.liferay.portal.service.impl
Class AddressServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseServiceImpl
      extended by com.liferay.portal.service.base.AddressServiceBaseImpl
          extended by com.liferay.portal.service.impl.AddressServiceImpl
All Implemented Interfaces:
IdentifiableOSGiService, AddressService, BaseService

public class AddressServiceImpl
extends AddressServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portal.service.base.AddressServiceBaseImpl
addressLocalService, addressPersistence, addressService, classNameLocalService, classNamePersistence, classNameService, counterLocalService, countryPersistence, countryService, listTypeLocalService, listTypePersistence, listTypeService, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
AddressServiceImpl()
           
 
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)
           
 Address updateAddress(long addressId, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, long typeId, boolean mailing, boolean primary)
           
 
Methods inherited from class com.liferay.portal.service.base.AddressServiceBaseImpl
afterPropertiesSet, destroy, getAddressLocalService, getAddressPersistence, getAddressService, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCounterLocalService, getCountryPersistence, getCountryService, getListTypeLocalService, getListTypePersistence, getListTypeService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAddressLocalService, setAddressPersistence, setAddressService, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCounterLocalService, setCountryPersistence, setCountryService, setListTypeLocalService, setListTypePersistence, setListTypeService, setUserFinder, setUserLocalService, setUserPersistence, setUserService
 
Methods inherited from class com.liferay.portal.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddressServiceImpl

public AddressServiceImpl()
Method Detail

addAddress

public 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

public void deleteAddress(long addressId)
                   throws PortalException
Throws:
PortalException

getAddress

public Address getAddress(long addressId)
                   throws PortalException
Throws:
PortalException

getAddresses

public List<Address> getAddresses(String className,
                                  long classPK)
                           throws PortalException
Throws:
PortalException

updateAddress

public 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