1
22
23 package com.liferay.portal.service;
24
25
26
51 public interface AddressLocalService {
52 public com.liferay.portal.model.Address addAddress(
53 com.liferay.portal.model.Address address)
54 throws com.liferay.portal.SystemException;
55
56 public void deleteAddress(long addressId)
57 throws com.liferay.portal.SystemException,
58 com.liferay.portal.PortalException;
59
60 public void deleteAddress(com.liferay.portal.model.Address address)
61 throws com.liferay.portal.SystemException,
62 com.liferay.portal.PortalException;
63
64 public java.util.List<com.liferay.portal.model.Address> dynamicQuery(
65 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
66 throws com.liferay.portal.SystemException;
67
68 public java.util.List<com.liferay.portal.model.Address> dynamicQuery(
69 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
70 int begin, int end) throws com.liferay.portal.SystemException;
71
72 public com.liferay.portal.model.Address updateAddress(
73 com.liferay.portal.model.Address address)
74 throws com.liferay.portal.SystemException;
75
76 public com.liferay.portal.model.Address addAddress(long userId,
77 java.lang.String className, long classPK, java.lang.String street1,
78 java.lang.String street2, java.lang.String street3,
79 java.lang.String city, java.lang.String zip, long regionId,
80 long countryId, int typeId, boolean mailing, boolean primary)
81 throws com.liferay.portal.SystemException,
82 com.liferay.portal.PortalException;
83
84 public void deleteAddresses(long companyId, java.lang.String className,
85 long classPK) throws com.liferay.portal.SystemException;
86
87 public com.liferay.portal.model.Address getAddress(long addressId)
88 throws com.liferay.portal.SystemException,
89 com.liferay.portal.PortalException;
90
91 public java.util.List<com.liferay.portal.model.Address> getAddresses()
92 throws com.liferay.portal.SystemException;
93
94 public java.util.List<com.liferay.portal.model.Address> getAddresses(
95 long companyId, java.lang.String className, long classPK)
96 throws com.liferay.portal.SystemException;
97
98 public com.liferay.portal.model.Address updateAddress(long addressId,
99 java.lang.String street1, java.lang.String street2,
100 java.lang.String street3, java.lang.String city, java.lang.String zip,
101 long regionId, long countryId, int typeId, boolean mailing,
102 boolean primary)
103 throws com.liferay.portal.SystemException,
104 com.liferay.portal.PortalException;
105 }