1
22
23 package com.liferay.portlet.tags.service.base;
24
25 import com.liferay.counter.service.CounterLocalService;
26 import com.liferay.counter.service.CounterService;
27
28 import com.liferay.portal.PortalException;
29 import com.liferay.portal.SystemException;
30 import com.liferay.portal.kernel.annotation.BeanReference;
31 import com.liferay.portal.kernel.dao.orm.DynamicQuery;
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.persistence.ResourceFinder;
37 import com.liferay.portal.service.persistence.ResourcePersistence;
38 import com.liferay.portal.service.persistence.UserFinder;
39 import com.liferay.portal.service.persistence.UserPersistence;
40
41 import com.liferay.portlet.tags.model.TagsVocabulary;
42 import com.liferay.portlet.tags.service.TagsAssetLocalService;
43 import com.liferay.portlet.tags.service.TagsAssetService;
44 import com.liferay.portlet.tags.service.TagsEntryLocalService;
45 import com.liferay.portlet.tags.service.TagsEntryService;
46 import com.liferay.portlet.tags.service.TagsPropertyLocalService;
47 import com.liferay.portlet.tags.service.TagsPropertyService;
48 import com.liferay.portlet.tags.service.TagsSourceLocalService;
49 import com.liferay.portlet.tags.service.TagsSourceService;
50 import com.liferay.portlet.tags.service.TagsVocabularyLocalService;
51 import com.liferay.portlet.tags.service.TagsVocabularyService;
52 import com.liferay.portlet.tags.service.persistence.TagsAssetFinder;
53 import com.liferay.portlet.tags.service.persistence.TagsAssetPersistence;
54 import com.liferay.portlet.tags.service.persistence.TagsEntryFinder;
55 import com.liferay.portlet.tags.service.persistence.TagsEntryPersistence;
56 import com.liferay.portlet.tags.service.persistence.TagsPropertyFinder;
57 import com.liferay.portlet.tags.service.persistence.TagsPropertyKeyFinder;
58 import com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence;
59 import com.liferay.portlet.tags.service.persistence.TagsSourcePersistence;
60 import com.liferay.portlet.tags.service.persistence.TagsVocabularyPersistence;
61
62 import java.util.List;
63
64
70 public abstract class TagsVocabularyLocalServiceBaseImpl
71 implements TagsVocabularyLocalService {
72 public TagsVocabulary addTagsVocabulary(TagsVocabulary tagsVocabulary)
73 throws SystemException {
74 tagsVocabulary.setNew(true);
75
76 return tagsVocabularyPersistence.update(tagsVocabulary, false);
77 }
78
79 public TagsVocabulary createTagsVocabulary(long vocabularyId) {
80 return tagsVocabularyPersistence.create(vocabularyId);
81 }
82
83 public void deleteTagsVocabulary(long vocabularyId)
84 throws PortalException, SystemException {
85 tagsVocabularyPersistence.remove(vocabularyId);
86 }
87
88 public void deleteTagsVocabulary(TagsVocabulary tagsVocabulary)
89 throws SystemException {
90 tagsVocabularyPersistence.remove(tagsVocabulary);
91 }
92
93 public List<Object> dynamicQuery(DynamicQuery dynamicQuery)
94 throws SystemException {
95 return tagsVocabularyPersistence.findWithDynamicQuery(dynamicQuery);
96 }
97
98 public List<Object> dynamicQuery(DynamicQuery dynamicQuery, int start,
99 int end) throws SystemException {
100 return tagsVocabularyPersistence.findWithDynamicQuery(dynamicQuery,
101 start, end);
102 }
103
104 public TagsVocabulary getTagsVocabulary(long vocabularyId)
105 throws PortalException, SystemException {
106 return tagsVocabularyPersistence.findByPrimaryKey(vocabularyId);
107 }
108
109 public List<TagsVocabulary> getTagsVocabularies(int start, int end)
110 throws SystemException {
111 return tagsVocabularyPersistence.findAll(start, end);
112 }
113
114 public int getTagsVocabulariesCount() throws SystemException {
115 return tagsVocabularyPersistence.countAll();
116 }
117
118 public TagsVocabulary updateTagsVocabulary(TagsVocabulary tagsVocabulary)
119 throws SystemException {
120 tagsVocabulary.setNew(false);
121
122 return tagsVocabularyPersistence.update(tagsVocabulary, true);
123 }
124
125 public TagsAssetLocalService getTagsAssetLocalService() {
126 return tagsAssetLocalService;
127 }
128
129 public void setTagsAssetLocalService(
130 TagsAssetLocalService tagsAssetLocalService) {
131 this.tagsAssetLocalService = tagsAssetLocalService;
132 }
133
134 public TagsAssetService getTagsAssetService() {
135 return tagsAssetService;
136 }
137
138 public void setTagsAssetService(TagsAssetService tagsAssetService) {
139 this.tagsAssetService = tagsAssetService;
140 }
141
142 public TagsAssetPersistence getTagsAssetPersistence() {
143 return tagsAssetPersistence;
144 }
145
146 public void setTagsAssetPersistence(
147 TagsAssetPersistence tagsAssetPersistence) {
148 this.tagsAssetPersistence = tagsAssetPersistence;
149 }
150
151 public TagsAssetFinder getTagsAssetFinder() {
152 return tagsAssetFinder;
153 }
154
155 public void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder) {
156 this.tagsAssetFinder = tagsAssetFinder;
157 }
158
159 public TagsEntryLocalService getTagsEntryLocalService() {
160 return tagsEntryLocalService;
161 }
162
163 public void setTagsEntryLocalService(
164 TagsEntryLocalService tagsEntryLocalService) {
165 this.tagsEntryLocalService = tagsEntryLocalService;
166 }
167
168 public TagsEntryService getTagsEntryService() {
169 return tagsEntryService;
170 }
171
172 public void setTagsEntryService(TagsEntryService tagsEntryService) {
173 this.tagsEntryService = tagsEntryService;
174 }
175
176 public TagsEntryPersistence getTagsEntryPersistence() {
177 return tagsEntryPersistence;
178 }
179
180 public void setTagsEntryPersistence(
181 TagsEntryPersistence tagsEntryPersistence) {
182 this.tagsEntryPersistence = tagsEntryPersistence;
183 }
184
185 public TagsEntryFinder getTagsEntryFinder() {
186 return tagsEntryFinder;
187 }
188
189 public void setTagsEntryFinder(TagsEntryFinder tagsEntryFinder) {
190 this.tagsEntryFinder = tagsEntryFinder;
191 }
192
193 public TagsPropertyLocalService getTagsPropertyLocalService() {
194 return tagsPropertyLocalService;
195 }
196
197 public void setTagsPropertyLocalService(
198 TagsPropertyLocalService tagsPropertyLocalService) {
199 this.tagsPropertyLocalService = tagsPropertyLocalService;
200 }
201
202 public TagsPropertyService getTagsPropertyService() {
203 return tagsPropertyService;
204 }
205
206 public void setTagsPropertyService(TagsPropertyService tagsPropertyService) {
207 this.tagsPropertyService = tagsPropertyService;
208 }
209
210 public TagsPropertyPersistence getTagsPropertyPersistence() {
211 return tagsPropertyPersistence;
212 }
213
214 public void setTagsPropertyPersistence(
215 TagsPropertyPersistence tagsPropertyPersistence) {
216 this.tagsPropertyPersistence = tagsPropertyPersistence;
217 }
218
219 public TagsPropertyFinder getTagsPropertyFinder() {
220 return tagsPropertyFinder;
221 }
222
223 public void setTagsPropertyFinder(TagsPropertyFinder tagsPropertyFinder) {
224 this.tagsPropertyFinder = tagsPropertyFinder;
225 }
226
227 public TagsPropertyKeyFinder getTagsPropertyKeyFinder() {
228 return tagsPropertyKeyFinder;
229 }
230
231 public void setTagsPropertyKeyFinder(
232 TagsPropertyKeyFinder tagsPropertyKeyFinder) {
233 this.tagsPropertyKeyFinder = tagsPropertyKeyFinder;
234 }
235
236 public TagsSourceLocalService getTagsSourceLocalService() {
237 return tagsSourceLocalService;
238 }
239
240 public void setTagsSourceLocalService(
241 TagsSourceLocalService tagsSourceLocalService) {
242 this.tagsSourceLocalService = tagsSourceLocalService;
243 }
244
245 public TagsSourceService getTagsSourceService() {
246 return tagsSourceService;
247 }
248
249 public void setTagsSourceService(TagsSourceService tagsSourceService) {
250 this.tagsSourceService = tagsSourceService;
251 }
252
253 public TagsSourcePersistence getTagsSourcePersistence() {
254 return tagsSourcePersistence;
255 }
256
257 public void setTagsSourcePersistence(
258 TagsSourcePersistence tagsSourcePersistence) {
259 this.tagsSourcePersistence = tagsSourcePersistence;
260 }
261
262 public TagsVocabularyLocalService getTagsVocabularyLocalService() {
263 return tagsVocabularyLocalService;
264 }
265
266 public void setTagsVocabularyLocalService(
267 TagsVocabularyLocalService tagsVocabularyLocalService) {
268 this.tagsVocabularyLocalService = tagsVocabularyLocalService;
269 }
270
271 public TagsVocabularyService getTagsVocabularyService() {
272 return tagsVocabularyService;
273 }
274
275 public void setTagsVocabularyService(
276 TagsVocabularyService tagsVocabularyService) {
277 this.tagsVocabularyService = tagsVocabularyService;
278 }
279
280 public TagsVocabularyPersistence getTagsVocabularyPersistence() {
281 return tagsVocabularyPersistence;
282 }
283
284 public void setTagsVocabularyPersistence(
285 TagsVocabularyPersistence tagsVocabularyPersistence) {
286 this.tagsVocabularyPersistence = tagsVocabularyPersistence;
287 }
288
289 public CounterLocalService getCounterLocalService() {
290 return counterLocalService;
291 }
292
293 public void setCounterLocalService(CounterLocalService counterLocalService) {
294 this.counterLocalService = counterLocalService;
295 }
296
297 public CounterService getCounterService() {
298 return counterService;
299 }
300
301 public void setCounterService(CounterService counterService) {
302 this.counterService = counterService;
303 }
304
305 public ResourceLocalService getResourceLocalService() {
306 return resourceLocalService;
307 }
308
309 public void setResourceLocalService(
310 ResourceLocalService resourceLocalService) {
311 this.resourceLocalService = resourceLocalService;
312 }
313
314 public ResourceService getResourceService() {
315 return resourceService;
316 }
317
318 public void setResourceService(ResourceService resourceService) {
319 this.resourceService = resourceService;
320 }
321
322 public ResourcePersistence getResourcePersistence() {
323 return resourcePersistence;
324 }
325
326 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
327 this.resourcePersistence = resourcePersistence;
328 }
329
330 public ResourceFinder getResourceFinder() {
331 return resourceFinder;
332 }
333
334 public void setResourceFinder(ResourceFinder resourceFinder) {
335 this.resourceFinder = resourceFinder;
336 }
337
338 public UserLocalService getUserLocalService() {
339 return userLocalService;
340 }
341
342 public void setUserLocalService(UserLocalService userLocalService) {
343 this.userLocalService = userLocalService;
344 }
345
346 public UserService getUserService() {
347 return userService;
348 }
349
350 public void setUserService(UserService userService) {
351 this.userService = userService;
352 }
353
354 public UserPersistence getUserPersistence() {
355 return userPersistence;
356 }
357
358 public void setUserPersistence(UserPersistence userPersistence) {
359 this.userPersistence = userPersistence;
360 }
361
362 public UserFinder getUserFinder() {
363 return userFinder;
364 }
365
366 public void setUserFinder(UserFinder userFinder) {
367 this.userFinder = userFinder;
368 }
369
370 @BeanReference(name = "com.liferay.portlet.tags.service.TagsAssetLocalService.impl")
371 protected TagsAssetLocalService tagsAssetLocalService;
372 @BeanReference(name = "com.liferay.portlet.tags.service.TagsAssetService.impl")
373 protected TagsAssetService tagsAssetService;
374 @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsAssetPersistence.impl")
375 protected TagsAssetPersistence tagsAssetPersistence;
376 @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsAssetFinder.impl")
377 protected TagsAssetFinder tagsAssetFinder;
378 @BeanReference(name = "com.liferay.portlet.tags.service.TagsEntryLocalService.impl")
379 protected TagsEntryLocalService tagsEntryLocalService;
380 @BeanReference(name = "com.liferay.portlet.tags.service.TagsEntryService.impl")
381 protected TagsEntryService tagsEntryService;
382 @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsEntryPersistence.impl")
383 protected TagsEntryPersistence tagsEntryPersistence;
384 @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsEntryFinder.impl")
385 protected TagsEntryFinder tagsEntryFinder;
386 @BeanReference(name = "com.liferay.portlet.tags.service.TagsPropertyLocalService.impl")
387 protected TagsPropertyLocalService tagsPropertyLocalService;
388 @BeanReference(name = "com.liferay.portlet.tags.service.TagsPropertyService.impl")
389 protected TagsPropertyService tagsPropertyService;
390 @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence.impl")
391 protected TagsPropertyPersistence tagsPropertyPersistence;
392 @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsPropertyFinder.impl")
393 protected TagsPropertyFinder tagsPropertyFinder;
394 @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsPropertyKeyFinder.impl")
395 protected TagsPropertyKeyFinder tagsPropertyKeyFinder;
396 @BeanReference(name = "com.liferay.portlet.tags.service.TagsSourceLocalService.impl")
397 protected TagsSourceLocalService tagsSourceLocalService;
398 @BeanReference(name = "com.liferay.portlet.tags.service.TagsSourceService.impl")
399 protected TagsSourceService tagsSourceService;
400 @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsSourcePersistence.impl")
401 protected TagsSourcePersistence tagsSourcePersistence;
402 @BeanReference(name = "com.liferay.portlet.tags.service.TagsVocabularyLocalService.impl")
403 protected TagsVocabularyLocalService tagsVocabularyLocalService;
404 @BeanReference(name = "com.liferay.portlet.tags.service.TagsVocabularyService.impl")
405 protected TagsVocabularyService tagsVocabularyService;
406 @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsVocabularyPersistence.impl")
407 protected TagsVocabularyPersistence tagsVocabularyPersistence;
408 @BeanReference(name = "com.liferay.counter.service.CounterLocalService.impl")
409 protected CounterLocalService counterLocalService;
410 @BeanReference(name = "com.liferay.counter.service.CounterService.impl")
411 protected CounterService counterService;
412 @BeanReference(name = "com.liferay.portal.service.ResourceLocalService.impl")
413 protected ResourceLocalService resourceLocalService;
414 @BeanReference(name = "com.liferay.portal.service.ResourceService.impl")
415 protected ResourceService resourceService;
416 @BeanReference(name = "com.liferay.portal.service.persistence.ResourcePersistence.impl")
417 protected ResourcePersistence resourcePersistence;
418 @BeanReference(name = "com.liferay.portal.service.persistence.ResourceFinder.impl")
419 protected ResourceFinder resourceFinder;
420 @BeanReference(name = "com.liferay.portal.service.UserLocalService.impl")
421 protected UserLocalService userLocalService;
422 @BeanReference(name = "com.liferay.portal.service.UserService.impl")
423 protected UserService userService;
424 @BeanReference(name = "com.liferay.portal.service.persistence.UserPersistence.impl")
425 protected UserPersistence userPersistence;
426 @BeanReference(name = "com.liferay.portal.service.persistence.UserFinder.impl")
427 protected UserFinder userFinder;
428 }