1
22
23 package com.liferay.portlet.expando.service.base;
24
25 import com.liferay.counter.service.CounterLocalService;
26 import com.liferay.counter.service.CounterLocalServiceFactory;
27 import com.liferay.counter.service.CounterService;
28 import com.liferay.counter.service.CounterServiceFactory;
29
30 import com.liferay.portal.service.impl.PrincipalBean;
31
32 import com.liferay.portlet.expando.service.ExpandoColumnLocalService;
33 import com.liferay.portlet.expando.service.ExpandoColumnLocalServiceFactory;
34 import com.liferay.portlet.expando.service.ExpandoColumnService;
35 import com.liferay.portlet.expando.service.ExpandoColumnServiceFactory;
36 import com.liferay.portlet.expando.service.ExpandoRowLocalService;
37 import com.liferay.portlet.expando.service.ExpandoRowLocalServiceFactory;
38 import com.liferay.portlet.expando.service.ExpandoRowService;
39 import com.liferay.portlet.expando.service.ExpandoRowServiceFactory;
40 import com.liferay.portlet.expando.service.ExpandoTableLocalService;
41 import com.liferay.portlet.expando.service.ExpandoTableLocalServiceFactory;
42 import com.liferay.portlet.expando.service.ExpandoTableService;
43 import com.liferay.portlet.expando.service.ExpandoTableServiceFactory;
44 import com.liferay.portlet.expando.service.ExpandoValueLocalService;
45 import com.liferay.portlet.expando.service.ExpandoValueLocalServiceFactory;
46 import com.liferay.portlet.expando.service.ExpandoValueService;
47 import com.liferay.portlet.expando.service.persistence.ExpandoColumnFinder;
48 import com.liferay.portlet.expando.service.persistence.ExpandoColumnFinderUtil;
49 import com.liferay.portlet.expando.service.persistence.ExpandoColumnPersistence;
50 import com.liferay.portlet.expando.service.persistence.ExpandoColumnUtil;
51 import com.liferay.portlet.expando.service.persistence.ExpandoRowFinder;
52 import com.liferay.portlet.expando.service.persistence.ExpandoRowFinderUtil;
53 import com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence;
54 import com.liferay.portlet.expando.service.persistence.ExpandoRowUtil;
55 import com.liferay.portlet.expando.service.persistence.ExpandoTablePersistence;
56 import com.liferay.portlet.expando.service.persistence.ExpandoTableUtil;
57 import com.liferay.portlet.expando.service.persistence.ExpandoValueFinder;
58 import com.liferay.portlet.expando.service.persistence.ExpandoValueFinderUtil;
59 import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
60 import com.liferay.portlet.expando.service.persistence.ExpandoValueUtil;
61
62 import org.springframework.beans.factory.InitializingBean;
63
64
70 public abstract class ExpandoValueServiceBaseImpl extends PrincipalBean
71 implements ExpandoValueService, InitializingBean {
72 public ExpandoColumnLocalService getExpandoColumnLocalService() {
73 return expandoColumnLocalService;
74 }
75
76 public void setExpandoColumnLocalService(
77 ExpandoColumnLocalService expandoColumnLocalService) {
78 this.expandoColumnLocalService = expandoColumnLocalService;
79 }
80
81 public ExpandoColumnService getExpandoColumnService() {
82 return expandoColumnService;
83 }
84
85 public void setExpandoColumnService(
86 ExpandoColumnService expandoColumnService) {
87 this.expandoColumnService = expandoColumnService;
88 }
89
90 public ExpandoColumnPersistence getExpandoColumnPersistence() {
91 return expandoColumnPersistence;
92 }
93
94 public void setExpandoColumnPersistence(
95 ExpandoColumnPersistence expandoColumnPersistence) {
96 this.expandoColumnPersistence = expandoColumnPersistence;
97 }
98
99 public ExpandoColumnFinder getExpandoColumnFinder() {
100 return expandoColumnFinder;
101 }
102
103 public void setExpandoColumnFinder(ExpandoColumnFinder expandoColumnFinder) {
104 this.expandoColumnFinder = expandoColumnFinder;
105 }
106
107 public ExpandoRowLocalService getExpandoRowLocalService() {
108 return expandoRowLocalService;
109 }
110
111 public void setExpandoRowLocalService(
112 ExpandoRowLocalService expandoRowLocalService) {
113 this.expandoRowLocalService = expandoRowLocalService;
114 }
115
116 public ExpandoRowService getExpandoRowService() {
117 return expandoRowService;
118 }
119
120 public void setExpandoRowService(ExpandoRowService expandoRowService) {
121 this.expandoRowService = expandoRowService;
122 }
123
124 public ExpandoRowPersistence getExpandoRowPersistence() {
125 return expandoRowPersistence;
126 }
127
128 public void setExpandoRowPersistence(
129 ExpandoRowPersistence expandoRowPersistence) {
130 this.expandoRowPersistence = expandoRowPersistence;
131 }
132
133 public ExpandoRowFinder getExpandoRowFinder() {
134 return expandoRowFinder;
135 }
136
137 public void setExpandoRowFinder(ExpandoRowFinder expandoRowFinder) {
138 this.expandoRowFinder = expandoRowFinder;
139 }
140
141 public ExpandoTableLocalService getExpandoTableLocalService() {
142 return expandoTableLocalService;
143 }
144
145 public void setExpandoTableLocalService(
146 ExpandoTableLocalService expandoTableLocalService) {
147 this.expandoTableLocalService = expandoTableLocalService;
148 }
149
150 public ExpandoTableService getExpandoTableService() {
151 return expandoTableService;
152 }
153
154 public void setExpandoTableService(ExpandoTableService expandoTableService) {
155 this.expandoTableService = expandoTableService;
156 }
157
158 public ExpandoTablePersistence getExpandoTablePersistence() {
159 return expandoTablePersistence;
160 }
161
162 public void setExpandoTablePersistence(
163 ExpandoTablePersistence expandoTablePersistence) {
164 this.expandoTablePersistence = expandoTablePersistence;
165 }
166
167 public ExpandoValueLocalService getExpandoValueLocalService() {
168 return expandoValueLocalService;
169 }
170
171 public void setExpandoValueLocalService(
172 ExpandoValueLocalService expandoValueLocalService) {
173 this.expandoValueLocalService = expandoValueLocalService;
174 }
175
176 public ExpandoValuePersistence getExpandoValuePersistence() {
177 return expandoValuePersistence;
178 }
179
180 public void setExpandoValuePersistence(
181 ExpandoValuePersistence expandoValuePersistence) {
182 this.expandoValuePersistence = expandoValuePersistence;
183 }
184
185 public ExpandoValueFinder getExpandoValueFinder() {
186 return expandoValueFinder;
187 }
188
189 public void setExpandoValueFinder(ExpandoValueFinder expandoValueFinder) {
190 this.expandoValueFinder = expandoValueFinder;
191 }
192
193 public CounterLocalService getCounterLocalService() {
194 return counterLocalService;
195 }
196
197 public void setCounterLocalService(CounterLocalService counterLocalService) {
198 this.counterLocalService = counterLocalService;
199 }
200
201 public CounterService getCounterService() {
202 return counterService;
203 }
204
205 public void setCounterService(CounterService counterService) {
206 this.counterService = counterService;
207 }
208
209 public void afterPropertiesSet() {
210 if (expandoColumnLocalService == null) {
211 expandoColumnLocalService = ExpandoColumnLocalServiceFactory.getImpl();
212 }
213
214 if (expandoColumnService == null) {
215 expandoColumnService = ExpandoColumnServiceFactory.getImpl();
216 }
217
218 if (expandoColumnPersistence == null) {
219 expandoColumnPersistence = ExpandoColumnUtil.getPersistence();
220 }
221
222 if (expandoColumnFinder == null) {
223 expandoColumnFinder = ExpandoColumnFinderUtil.getFinder();
224 }
225
226 if (expandoRowLocalService == null) {
227 expandoRowLocalService = ExpandoRowLocalServiceFactory.getImpl();
228 }
229
230 if (expandoRowService == null) {
231 expandoRowService = ExpandoRowServiceFactory.getImpl();
232 }
233
234 if (expandoRowPersistence == null) {
235 expandoRowPersistence = ExpandoRowUtil.getPersistence();
236 }
237
238 if (expandoRowFinder == null) {
239 expandoRowFinder = ExpandoRowFinderUtil.getFinder();
240 }
241
242 if (expandoTableLocalService == null) {
243 expandoTableLocalService = ExpandoTableLocalServiceFactory.getImpl();
244 }
245
246 if (expandoTableService == null) {
247 expandoTableService = ExpandoTableServiceFactory.getImpl();
248 }
249
250 if (expandoTablePersistence == null) {
251 expandoTablePersistence = ExpandoTableUtil.getPersistence();
252 }
253
254 if (expandoValueLocalService == null) {
255 expandoValueLocalService = ExpandoValueLocalServiceFactory.getImpl();
256 }
257
258 if (expandoValuePersistence == null) {
259 expandoValuePersistence = ExpandoValueUtil.getPersistence();
260 }
261
262 if (expandoValueFinder == null) {
263 expandoValueFinder = ExpandoValueFinderUtil.getFinder();
264 }
265
266 if (counterLocalService == null) {
267 counterLocalService = CounterLocalServiceFactory.getImpl();
268 }
269
270 if (counterService == null) {
271 counterService = CounterServiceFactory.getImpl();
272 }
273 }
274
275 protected ExpandoColumnLocalService expandoColumnLocalService;
276 protected ExpandoColumnService expandoColumnService;
277 protected ExpandoColumnPersistence expandoColumnPersistence;
278 protected ExpandoColumnFinder expandoColumnFinder;
279 protected ExpandoRowLocalService expandoRowLocalService;
280 protected ExpandoRowService expandoRowService;
281 protected ExpandoRowPersistence expandoRowPersistence;
282 protected ExpandoRowFinder expandoRowFinder;
283 protected ExpandoTableLocalService expandoTableLocalService;
284 protected ExpandoTableService expandoTableService;
285 protected ExpandoTablePersistence expandoTablePersistence;
286 protected ExpandoValueLocalService expandoValueLocalService;
287 protected ExpandoValuePersistence expandoValuePersistence;
288 protected ExpandoValueFinder expandoValueFinder;
289 protected CounterLocalService counterLocalService;
290 protected CounterService counterService;
291 }