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.dao.orm.DynamicQuery;
31 import com.liferay.portal.service.UserLocalService;
32 import com.liferay.portal.service.UserService;
33 import com.liferay.portal.service.persistence.UserFinder;
34 import com.liferay.portal.service.persistence.UserPersistence;
35
36 import com.liferay.portlet.tags.model.TagsProperty;
37 import com.liferay.portlet.tags.service.TagsAssetLocalService;
38 import com.liferay.portlet.tags.service.TagsAssetService;
39 import com.liferay.portlet.tags.service.TagsEntryLocalService;
40 import com.liferay.portlet.tags.service.TagsEntryService;
41 import com.liferay.portlet.tags.service.TagsPropertyLocalService;
42 import com.liferay.portlet.tags.service.TagsPropertyService;
43 import com.liferay.portlet.tags.service.TagsSourceLocalService;
44 import com.liferay.portlet.tags.service.TagsSourceService;
45 import com.liferay.portlet.tags.service.persistence.TagsAssetFinder;
46 import com.liferay.portlet.tags.service.persistence.TagsAssetPersistence;
47 import com.liferay.portlet.tags.service.persistence.TagsEntryFinder;
48 import com.liferay.portlet.tags.service.persistence.TagsEntryPersistence;
49 import com.liferay.portlet.tags.service.persistence.TagsPropertyFinder;
50 import com.liferay.portlet.tags.service.persistence.TagsPropertyKeyFinder;
51 import com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence;
52 import com.liferay.portlet.tags.service.persistence.TagsSourcePersistence;
53
54 import java.util.List;
55
56
62 public abstract class TagsPropertyLocalServiceBaseImpl
63 implements TagsPropertyLocalService {
64 public TagsProperty addTagsProperty(TagsProperty tagsProperty)
65 throws SystemException {
66 tagsProperty.setNew(true);
67
68 return tagsPropertyPersistence.update(tagsProperty, false);
69 }
70
71 public TagsProperty createTagsProperty(long propertyId) {
72 return tagsPropertyPersistence.create(propertyId);
73 }
74
75 public void deleteTagsProperty(long propertyId)
76 throws PortalException, SystemException {
77 tagsPropertyPersistence.remove(propertyId);
78 }
79
80 public void deleteTagsProperty(TagsProperty tagsProperty)
81 throws SystemException {
82 tagsPropertyPersistence.remove(tagsProperty);
83 }
84
85 public List<Object> dynamicQuery(DynamicQuery dynamicQuery)
86 throws SystemException {
87 return tagsPropertyPersistence.findWithDynamicQuery(dynamicQuery);
88 }
89
90 public List<Object> dynamicQuery(DynamicQuery dynamicQuery, int start,
91 int end) throws SystemException {
92 return tagsPropertyPersistence.findWithDynamicQuery(dynamicQuery,
93 start, end);
94 }
95
96 public TagsProperty getTagsProperty(long propertyId)
97 throws PortalException, SystemException {
98 return tagsPropertyPersistence.findByPrimaryKey(propertyId);
99 }
100
101 public List<TagsProperty> getTagsProperties(int start, int end)
102 throws SystemException {
103 return tagsPropertyPersistence.findAll(start, end);
104 }
105
106 public int getTagsPropertiesCount() throws SystemException {
107 return tagsPropertyPersistence.countAll();
108 }
109
110 public TagsProperty updateTagsProperty(TagsProperty tagsProperty)
111 throws SystemException {
112 tagsProperty.setNew(false);
113
114 return tagsPropertyPersistence.update(tagsProperty, true);
115 }
116
117 public TagsAssetLocalService getTagsAssetLocalService() {
118 return tagsAssetLocalService;
119 }
120
121 public void setTagsAssetLocalService(
122 TagsAssetLocalService tagsAssetLocalService) {
123 this.tagsAssetLocalService = tagsAssetLocalService;
124 }
125
126 public TagsAssetService getTagsAssetService() {
127 return tagsAssetService;
128 }
129
130 public void setTagsAssetService(TagsAssetService tagsAssetService) {
131 this.tagsAssetService = tagsAssetService;
132 }
133
134 public TagsAssetPersistence getTagsAssetPersistence() {
135 return tagsAssetPersistence;
136 }
137
138 public void setTagsAssetPersistence(
139 TagsAssetPersistence tagsAssetPersistence) {
140 this.tagsAssetPersistence = tagsAssetPersistence;
141 }
142
143 public TagsAssetFinder getTagsAssetFinder() {
144 return tagsAssetFinder;
145 }
146
147 public void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder) {
148 this.tagsAssetFinder = tagsAssetFinder;
149 }
150
151 public TagsEntryLocalService getTagsEntryLocalService() {
152 return tagsEntryLocalService;
153 }
154
155 public void setTagsEntryLocalService(
156 TagsEntryLocalService tagsEntryLocalService) {
157 this.tagsEntryLocalService = tagsEntryLocalService;
158 }
159
160 public TagsEntryService getTagsEntryService() {
161 return tagsEntryService;
162 }
163
164 public void setTagsEntryService(TagsEntryService tagsEntryService) {
165 this.tagsEntryService = tagsEntryService;
166 }
167
168 public TagsEntryPersistence getTagsEntryPersistence() {
169 return tagsEntryPersistence;
170 }
171
172 public void setTagsEntryPersistence(
173 TagsEntryPersistence tagsEntryPersistence) {
174 this.tagsEntryPersistence = tagsEntryPersistence;
175 }
176
177 public TagsEntryFinder getTagsEntryFinder() {
178 return tagsEntryFinder;
179 }
180
181 public void setTagsEntryFinder(TagsEntryFinder tagsEntryFinder) {
182 this.tagsEntryFinder = tagsEntryFinder;
183 }
184
185 public TagsPropertyLocalService getTagsPropertyLocalService() {
186 return tagsPropertyLocalService;
187 }
188
189 public void setTagsPropertyLocalService(
190 TagsPropertyLocalService tagsPropertyLocalService) {
191 this.tagsPropertyLocalService = tagsPropertyLocalService;
192 }
193
194 public TagsPropertyService getTagsPropertyService() {
195 return tagsPropertyService;
196 }
197
198 public void setTagsPropertyService(TagsPropertyService tagsPropertyService) {
199 this.tagsPropertyService = tagsPropertyService;
200 }
201
202 public TagsPropertyPersistence getTagsPropertyPersistence() {
203 return tagsPropertyPersistence;
204 }
205
206 public void setTagsPropertyPersistence(
207 TagsPropertyPersistence tagsPropertyPersistence) {
208 this.tagsPropertyPersistence = tagsPropertyPersistence;
209 }
210
211 public TagsPropertyFinder getTagsPropertyFinder() {
212 return tagsPropertyFinder;
213 }
214
215 public void setTagsPropertyFinder(TagsPropertyFinder tagsPropertyFinder) {
216 this.tagsPropertyFinder = tagsPropertyFinder;
217 }
218
219 public TagsPropertyKeyFinder getTagsPropertyKeyFinder() {
220 return tagsPropertyKeyFinder;
221 }
222
223 public void setTagsPropertyKeyFinder(
224 TagsPropertyKeyFinder tagsPropertyKeyFinder) {
225 this.tagsPropertyKeyFinder = tagsPropertyKeyFinder;
226 }
227
228 public TagsSourceLocalService getTagsSourceLocalService() {
229 return tagsSourceLocalService;
230 }
231
232 public void setTagsSourceLocalService(
233 TagsSourceLocalService tagsSourceLocalService) {
234 this.tagsSourceLocalService = tagsSourceLocalService;
235 }
236
237 public TagsSourceService getTagsSourceService() {
238 return tagsSourceService;
239 }
240
241 public void setTagsSourceService(TagsSourceService tagsSourceService) {
242 this.tagsSourceService = tagsSourceService;
243 }
244
245 public TagsSourcePersistence getTagsSourcePersistence() {
246 return tagsSourcePersistence;
247 }
248
249 public void setTagsSourcePersistence(
250 TagsSourcePersistence tagsSourcePersistence) {
251 this.tagsSourcePersistence = tagsSourcePersistence;
252 }
253
254 public CounterLocalService getCounterLocalService() {
255 return counterLocalService;
256 }
257
258 public void setCounterLocalService(CounterLocalService counterLocalService) {
259 this.counterLocalService = counterLocalService;
260 }
261
262 public CounterService getCounterService() {
263 return counterService;
264 }
265
266 public void setCounterService(CounterService counterService) {
267 this.counterService = counterService;
268 }
269
270 public UserLocalService getUserLocalService() {
271 return userLocalService;
272 }
273
274 public void setUserLocalService(UserLocalService userLocalService) {
275 this.userLocalService = userLocalService;
276 }
277
278 public UserService getUserService() {
279 return userService;
280 }
281
282 public void setUserService(UserService userService) {
283 this.userService = userService;
284 }
285
286 public UserPersistence getUserPersistence() {
287 return userPersistence;
288 }
289
290 public void setUserPersistence(UserPersistence userPersistence) {
291 this.userPersistence = userPersistence;
292 }
293
294 public UserFinder getUserFinder() {
295 return userFinder;
296 }
297
298 public void setUserFinder(UserFinder userFinder) {
299 this.userFinder = userFinder;
300 }
301
302 @javax.annotation.Resource(name = "com.liferay.portlet.tags.service.TagsAssetLocalService.impl")
303 protected TagsAssetLocalService tagsAssetLocalService;
304 @javax.annotation.Resource(name = "com.liferay.portlet.tags.service.TagsAssetService.impl")
305 protected TagsAssetService tagsAssetService;
306 @javax.annotation.Resource(name = "com.liferay.portlet.tags.service.persistence.TagsAssetPersistence.impl")
307 protected TagsAssetPersistence tagsAssetPersistence;
308 @javax.annotation.Resource(name = "com.liferay.portlet.tags.service.persistence.TagsAssetFinder.impl")
309 protected TagsAssetFinder tagsAssetFinder;
310 @javax.annotation.Resource(name = "com.liferay.portlet.tags.service.TagsEntryLocalService.impl")
311 protected TagsEntryLocalService tagsEntryLocalService;
312 @javax.annotation.Resource(name = "com.liferay.portlet.tags.service.TagsEntryService.impl")
313 protected TagsEntryService tagsEntryService;
314 @javax.annotation.Resource(name = "com.liferay.portlet.tags.service.persistence.TagsEntryPersistence.impl")
315 protected TagsEntryPersistence tagsEntryPersistence;
316 @javax.annotation.Resource(name = "com.liferay.portlet.tags.service.persistence.TagsEntryFinder.impl")
317 protected TagsEntryFinder tagsEntryFinder;
318 @javax.annotation.Resource(name = "com.liferay.portlet.tags.service.TagsPropertyLocalService.impl")
319 protected TagsPropertyLocalService tagsPropertyLocalService;
320 @javax.annotation.Resource(name = "com.liferay.portlet.tags.service.TagsPropertyService.impl")
321 protected TagsPropertyService tagsPropertyService;
322 @javax.annotation.Resource(name = "com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence.impl")
323 protected TagsPropertyPersistence tagsPropertyPersistence;
324 @javax.annotation.Resource(name = "com.liferay.portlet.tags.service.persistence.TagsPropertyFinder.impl")
325 protected TagsPropertyFinder tagsPropertyFinder;
326 @javax.annotation.Resource(name = "com.liferay.portlet.tags.service.persistence.TagsPropertyKeyFinder.impl")
327 protected TagsPropertyKeyFinder tagsPropertyKeyFinder;
328 @javax.annotation.Resource(name = "com.liferay.portlet.tags.service.TagsSourceLocalService.impl")
329 protected TagsSourceLocalService tagsSourceLocalService;
330 @javax.annotation.Resource(name = "com.liferay.portlet.tags.service.TagsSourceService.impl")
331 protected TagsSourceService tagsSourceService;
332 @javax.annotation.Resource(name = "com.liferay.portlet.tags.service.persistence.TagsSourcePersistence.impl")
333 protected TagsSourcePersistence tagsSourcePersistence;
334 @javax.annotation.Resource(name = "com.liferay.counter.service.CounterLocalService.impl")
335 protected CounterLocalService counterLocalService;
336 @javax.annotation.Resource(name = "com.liferay.counter.service.CounterService.impl")
337 protected CounterService counterService;
338 @javax.annotation.Resource(name = "com.liferay.portal.service.UserLocalService.impl")
339 protected UserLocalService userLocalService;
340 @javax.annotation.Resource(name = "com.liferay.portal.service.UserService.impl")
341 protected UserService userService;
342 @javax.annotation.Resource(name = "com.liferay.portal.service.persistence.UserPersistence.impl")
343 protected UserPersistence userPersistence;
344 @javax.annotation.Resource(name = "com.liferay.portal.service.persistence.UserFinder.impl")
345 protected UserFinder userFinder;
346 }