1
22
23 package com.liferay.portlet.expando.service.base;
24
25 import com.liferay.counter.service.CounterLocalService;
26 import com.liferay.counter.service.CounterService;
27
28 import com.liferay.portal.SystemException;
29 import com.liferay.portal.kernel.annotation.BeanReference;
30 import com.liferay.portal.kernel.dao.db.DB;
31 import com.liferay.portal.kernel.dao.db.DBFactoryUtil;
32 import com.liferay.portal.service.ResourceLocalService;
33 import com.liferay.portal.service.ResourceService;
34 import com.liferay.portal.service.UserLocalService;
35 import com.liferay.portal.service.UserService;
36 import com.liferay.portal.service.base.PrincipalBean;
37 import com.liferay.portal.service.persistence.ResourceFinder;
38 import com.liferay.portal.service.persistence.ResourcePersistence;
39 import com.liferay.portal.service.persistence.UserFinder;
40 import com.liferay.portal.service.persistence.UserPersistence;
41
42 import com.liferay.portlet.expando.service.ExpandoColumnLocalService;
43 import com.liferay.portlet.expando.service.ExpandoColumnService;
44 import com.liferay.portlet.expando.service.ExpandoRowLocalService;
45 import com.liferay.portlet.expando.service.ExpandoTableLocalService;
46 import com.liferay.portlet.expando.service.ExpandoValueLocalService;
47 import com.liferay.portlet.expando.service.ExpandoValueService;
48 import com.liferay.portlet.expando.service.persistence.ExpandoColumnPersistence;
49 import com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence;
50 import com.liferay.portlet.expando.service.persistence.ExpandoTablePersistence;
51 import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
52
53
59 public abstract class ExpandoColumnServiceBaseImpl extends PrincipalBean
60 implements ExpandoColumnService {
61 public ExpandoColumnLocalService getExpandoColumnLocalService() {
62 return expandoColumnLocalService;
63 }
64
65 public void setExpandoColumnLocalService(
66 ExpandoColumnLocalService expandoColumnLocalService) {
67 this.expandoColumnLocalService = expandoColumnLocalService;
68 }
69
70 public ExpandoColumnService getExpandoColumnService() {
71 return expandoColumnService;
72 }
73
74 public void setExpandoColumnService(
75 ExpandoColumnService expandoColumnService) {
76 this.expandoColumnService = expandoColumnService;
77 }
78
79 public ExpandoColumnPersistence getExpandoColumnPersistence() {
80 return expandoColumnPersistence;
81 }
82
83 public void setExpandoColumnPersistence(
84 ExpandoColumnPersistence expandoColumnPersistence) {
85 this.expandoColumnPersistence = expandoColumnPersistence;
86 }
87
88 public ExpandoRowLocalService getExpandoRowLocalService() {
89 return expandoRowLocalService;
90 }
91
92 public void setExpandoRowLocalService(
93 ExpandoRowLocalService expandoRowLocalService) {
94 this.expandoRowLocalService = expandoRowLocalService;
95 }
96
97 public ExpandoRowPersistence getExpandoRowPersistence() {
98 return expandoRowPersistence;
99 }
100
101 public void setExpandoRowPersistence(
102 ExpandoRowPersistence expandoRowPersistence) {
103 this.expandoRowPersistence = expandoRowPersistence;
104 }
105
106 public ExpandoTableLocalService getExpandoTableLocalService() {
107 return expandoTableLocalService;
108 }
109
110 public void setExpandoTableLocalService(
111 ExpandoTableLocalService expandoTableLocalService) {
112 this.expandoTableLocalService = expandoTableLocalService;
113 }
114
115 public ExpandoTablePersistence getExpandoTablePersistence() {
116 return expandoTablePersistence;
117 }
118
119 public void setExpandoTablePersistence(
120 ExpandoTablePersistence expandoTablePersistence) {
121 this.expandoTablePersistence = expandoTablePersistence;
122 }
123
124 public ExpandoValueLocalService getExpandoValueLocalService() {
125 return expandoValueLocalService;
126 }
127
128 public void setExpandoValueLocalService(
129 ExpandoValueLocalService expandoValueLocalService) {
130 this.expandoValueLocalService = expandoValueLocalService;
131 }
132
133 public ExpandoValueService getExpandoValueService() {
134 return expandoValueService;
135 }
136
137 public void setExpandoValueService(ExpandoValueService expandoValueService) {
138 this.expandoValueService = expandoValueService;
139 }
140
141 public ExpandoValuePersistence getExpandoValuePersistence() {
142 return expandoValuePersistence;
143 }
144
145 public void setExpandoValuePersistence(
146 ExpandoValuePersistence expandoValuePersistence) {
147 this.expandoValuePersistence = expandoValuePersistence;
148 }
149
150 public CounterLocalService getCounterLocalService() {
151 return counterLocalService;
152 }
153
154 public void setCounterLocalService(CounterLocalService counterLocalService) {
155 this.counterLocalService = counterLocalService;
156 }
157
158 public CounterService getCounterService() {
159 return counterService;
160 }
161
162 public void setCounterService(CounterService counterService) {
163 this.counterService = counterService;
164 }
165
166 public ResourceLocalService getResourceLocalService() {
167 return resourceLocalService;
168 }
169
170 public void setResourceLocalService(
171 ResourceLocalService resourceLocalService) {
172 this.resourceLocalService = resourceLocalService;
173 }
174
175 public ResourceService getResourceService() {
176 return resourceService;
177 }
178
179 public void setResourceService(ResourceService resourceService) {
180 this.resourceService = resourceService;
181 }
182
183 public ResourcePersistence getResourcePersistence() {
184 return resourcePersistence;
185 }
186
187 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
188 this.resourcePersistence = resourcePersistence;
189 }
190
191 public ResourceFinder getResourceFinder() {
192 return resourceFinder;
193 }
194
195 public void setResourceFinder(ResourceFinder resourceFinder) {
196 this.resourceFinder = resourceFinder;
197 }
198
199 public UserLocalService getUserLocalService() {
200 return userLocalService;
201 }
202
203 public void setUserLocalService(UserLocalService userLocalService) {
204 this.userLocalService = userLocalService;
205 }
206
207 public UserService getUserService() {
208 return userService;
209 }
210
211 public void setUserService(UserService userService) {
212 this.userService = userService;
213 }
214
215 public UserPersistence getUserPersistence() {
216 return userPersistence;
217 }
218
219 public void setUserPersistence(UserPersistence userPersistence) {
220 this.userPersistence = userPersistence;
221 }
222
223 public UserFinder getUserFinder() {
224 return userFinder;
225 }
226
227 public void setUserFinder(UserFinder userFinder) {
228 this.userFinder = userFinder;
229 }
230
231 protected void runSQL(String sql) throws SystemException {
232 try {
233 DB db = DBFactoryUtil.getDB();
234
235 db.runSQL(sql);
236 }
237 catch (Exception e) {
238 throw new SystemException(e);
239 }
240 }
241
242 @BeanReference(name = "com.liferay.portlet.expando.service.ExpandoColumnLocalService")
243 protected ExpandoColumnLocalService expandoColumnLocalService;
244 @BeanReference(name = "com.liferay.portlet.expando.service.ExpandoColumnService")
245 protected ExpandoColumnService expandoColumnService;
246 @BeanReference(name = "com.liferay.portlet.expando.service.persistence.ExpandoColumnPersistence")
247 protected ExpandoColumnPersistence expandoColumnPersistence;
248 @BeanReference(name = "com.liferay.portlet.expando.service.ExpandoRowLocalService")
249 protected ExpandoRowLocalService expandoRowLocalService;
250 @BeanReference(name = "com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence")
251 protected ExpandoRowPersistence expandoRowPersistence;
252 @BeanReference(name = "com.liferay.portlet.expando.service.ExpandoTableLocalService")
253 protected ExpandoTableLocalService expandoTableLocalService;
254 @BeanReference(name = "com.liferay.portlet.expando.service.persistence.ExpandoTablePersistence")
255 protected ExpandoTablePersistence expandoTablePersistence;
256 @BeanReference(name = "com.liferay.portlet.expando.service.ExpandoValueLocalService")
257 protected ExpandoValueLocalService expandoValueLocalService;
258 @BeanReference(name = "com.liferay.portlet.expando.service.ExpandoValueService")
259 protected ExpandoValueService expandoValueService;
260 @BeanReference(name = "com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence")
261 protected ExpandoValuePersistence expandoValuePersistence;
262 @BeanReference(name = "com.liferay.counter.service.CounterLocalService")
263 protected CounterLocalService counterLocalService;
264 @BeanReference(name = "com.liferay.counter.service.CounterService")
265 protected CounterService counterService;
266 @BeanReference(name = "com.liferay.portal.service.ResourceLocalService")
267 protected ResourceLocalService resourceLocalService;
268 @BeanReference(name = "com.liferay.portal.service.ResourceService")
269 protected ResourceService resourceService;
270 @BeanReference(name = "com.liferay.portal.service.persistence.ResourcePersistence")
271 protected ResourcePersistence resourcePersistence;
272 @BeanReference(name = "com.liferay.portal.service.persistence.ResourceFinder")
273 protected ResourceFinder resourceFinder;
274 @BeanReference(name = "com.liferay.portal.service.UserLocalService")
275 protected UserLocalService userLocalService;
276 @BeanReference(name = "com.liferay.portal.service.UserService")
277 protected UserService userService;
278 @BeanReference(name = "com.liferay.portal.service.persistence.UserPersistence")
279 protected UserPersistence userPersistence;
280 @BeanReference(name = "com.liferay.portal.service.persistence.UserFinder")
281 protected UserFinder userFinder;
282 }