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