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