1
22
23 package com.liferay.portal.service;
24
25
26
47 public class AddressLocalServiceUtil {
48 public static com.liferay.portal.model.Address addAddress(
49 com.liferay.portal.model.Address address)
50 throws com.liferay.portal.SystemException {
51 return _service.addAddress(address);
52 }
53
54 public static void deleteAddress(long addressId)
55 throws com.liferay.portal.PortalException,
56 com.liferay.portal.SystemException {
57 _service.deleteAddress(addressId);
58 }
59
60 public static void deleteAddress(com.liferay.portal.model.Address address)
61 throws com.liferay.portal.SystemException {
62 _service.deleteAddress(address);
63 }
64
65 public static java.util.List<Object> dynamicQuery(
66 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
67 throws com.liferay.portal.SystemException {
68 return _service.dynamicQuery(dynamicQuery);
69 }
70
71 public static java.util.List<Object> dynamicQuery(
72 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
73 int end) throws com.liferay.portal.SystemException {
74 return _service.dynamicQuery(dynamicQuery, start, end);
75 }
76
77 public static com.liferay.portal.model.Address getAddress(long addressId)
78 throws com.liferay.portal.PortalException,
79 com.liferay.portal.SystemException {
80 return _service.getAddress(addressId);
81 }
82
83 public static java.util.List<com.liferay.portal.model.Address> getAddresses(
84 int start, int end) throws com.liferay.portal.SystemException {
85 return _service.getAddresses(start, end);
86 }
87
88 public static int getAddressesCount()
89 throws com.liferay.portal.SystemException {
90 return _service.getAddressesCount();
91 }
92
93 public static com.liferay.portal.model.Address updateAddress(
94 com.liferay.portal.model.Address address)
95 throws com.liferay.portal.SystemException {
96 return _service.updateAddress(address);
97 }
98
99 public static com.liferay.portal.model.Address addAddress(long userId,
100 java.lang.String className, long classPK, java.lang.String street1,
101 java.lang.String street2, java.lang.String street3,
102 java.lang.String city, java.lang.String zip, long regionId,
103 long countryId, int typeId, boolean mailing, boolean primary)
104 throws com.liferay.portal.PortalException,
105 com.liferay.portal.SystemException {
106 return _service.addAddress(userId, className, classPK, street1,
107 street2, street3, city, zip, regionId, countryId, typeId, mailing,
108 primary);
109 }
110
111 public static void deleteAddresses(long companyId,
112 java.lang.String className, long classPK)
113 throws com.liferay.portal.SystemException {
114 _service.deleteAddresses(companyId, className, classPK);
115 }
116
117 public static java.util.List<com.liferay.portal.model.Address> getAddresses()
118 throws com.liferay.portal.SystemException {
119 return _service.getAddresses();
120 }
121
122 public static java.util.List<com.liferay.portal.model.Address> getAddresses(
123 long companyId, java.lang.String className, long classPK)
124 throws com.liferay.portal.SystemException {
125 return _service.getAddresses(companyId, className, classPK);
126 }
127
128 public static com.liferay.portal.model.Address updateAddress(
129 long addressId, java.lang.String street1, java.lang.String street2,
130 java.lang.String street3, java.lang.String city, java.lang.String zip,
131 long regionId, long countryId, int typeId, boolean mailing,
132 boolean primary)
133 throws com.liferay.portal.PortalException,
134 com.liferay.portal.SystemException {
135 return _service.updateAddress(addressId, street1, street2, street3,
136 city, zip, regionId, countryId, typeId, mailing, primary);
137 }
138
139 public static AddressLocalService getService() {
140 return _service;
141 }
142
143 public void setService(AddressLocalService service) {
144 _service = service;
145 }
146
147 private static AddressLocalService _service;
148 }