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