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