1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    *
5    *
6    *
7    * The contents of this file are subject to the terms of the Liferay Enterprise
8    * Subscription License ("License"). You may not use this file except in
9    * compliance with the License. You can obtain a copy of the License by
10   * contacting Liferay, Inc. See the License for the specific language governing
11   * permissions and limitations under the License, including but not limited to
12   * distribution rights of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.bookmarks.service.base;
24  
25  import com.liferay.counter.service.CounterLocalService;
26  import com.liferay.counter.service.CounterService;
27  
28  import com.liferay.portal.SystemException;
29  import com.liferay.portal.kernel.annotation.BeanReference;
30  import com.liferay.portal.service.ResourceLocalService;
31  import com.liferay.portal.service.ResourceService;
32  import com.liferay.portal.service.UserLocalService;
33  import com.liferay.portal.service.UserService;
34  import com.liferay.portal.service.base.PrincipalBean;
35  import com.liferay.portal.service.persistence.ResourceFinder;
36  import com.liferay.portal.service.persistence.ResourcePersistence;
37  import com.liferay.portal.service.persistence.UserFinder;
38  import com.liferay.portal.service.persistence.UserPersistence;
39  import com.liferay.portal.util.PortalUtil;
40  
41  import com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService;
42  import com.liferay.portlet.bookmarks.service.BookmarksEntryService;
43  import com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService;
44  import com.liferay.portlet.bookmarks.service.BookmarksFolderService;
45  import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder;
46  import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence;
47  import com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence;
48  import com.liferay.portlet.tags.service.TagsAssetLocalService;
49  import com.liferay.portlet.tags.service.TagsAssetService;
50  import com.liferay.portlet.tags.service.TagsEntryLocalService;
51  import com.liferay.portlet.tags.service.TagsEntryService;
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  
57  /**
58   * <a href="BookmarksEntryServiceBaseImpl.java.html"><b><i>View Source</i></b>
59   * </a>
60   *
61   * @author Brian Wing Shun Chan
62   */
63  public abstract class BookmarksEntryServiceBaseImpl extends PrincipalBean
64      implements BookmarksEntryService {
65      public BookmarksEntryLocalService getBookmarksEntryLocalService() {
66          return bookmarksEntryLocalService;
67      }
68  
69      public void setBookmarksEntryLocalService(
70          BookmarksEntryLocalService bookmarksEntryLocalService) {
71          this.bookmarksEntryLocalService = bookmarksEntryLocalService;
72      }
73  
74      public BookmarksEntryService getBookmarksEntryService() {
75          return bookmarksEntryService;
76      }
77  
78      public void setBookmarksEntryService(
79          BookmarksEntryService bookmarksEntryService) {
80          this.bookmarksEntryService = bookmarksEntryService;
81      }
82  
83      public BookmarksEntryPersistence getBookmarksEntryPersistence() {
84          return bookmarksEntryPersistence;
85      }
86  
87      public void setBookmarksEntryPersistence(
88          BookmarksEntryPersistence bookmarksEntryPersistence) {
89          this.bookmarksEntryPersistence = bookmarksEntryPersistence;
90      }
91  
92      public BookmarksEntryFinder getBookmarksEntryFinder() {
93          return bookmarksEntryFinder;
94      }
95  
96      public void setBookmarksEntryFinder(
97          BookmarksEntryFinder bookmarksEntryFinder) {
98          this.bookmarksEntryFinder = bookmarksEntryFinder;
99      }
100 
101     public BookmarksFolderLocalService getBookmarksFolderLocalService() {
102         return bookmarksFolderLocalService;
103     }
104 
105     public void setBookmarksFolderLocalService(
106         BookmarksFolderLocalService bookmarksFolderLocalService) {
107         this.bookmarksFolderLocalService = bookmarksFolderLocalService;
108     }
109 
110     public BookmarksFolderService getBookmarksFolderService() {
111         return bookmarksFolderService;
112     }
113 
114     public void setBookmarksFolderService(
115         BookmarksFolderService bookmarksFolderService) {
116         this.bookmarksFolderService = bookmarksFolderService;
117     }
118 
119     public BookmarksFolderPersistence getBookmarksFolderPersistence() {
120         return bookmarksFolderPersistence;
121     }
122 
123     public void setBookmarksFolderPersistence(
124         BookmarksFolderPersistence bookmarksFolderPersistence) {
125         this.bookmarksFolderPersistence = bookmarksFolderPersistence;
126     }
127 
128     public CounterLocalService getCounterLocalService() {
129         return counterLocalService;
130     }
131 
132     public void setCounterLocalService(CounterLocalService counterLocalService) {
133         this.counterLocalService = counterLocalService;
134     }
135 
136     public CounterService getCounterService() {
137         return counterService;
138     }
139 
140     public void setCounterService(CounterService counterService) {
141         this.counterService = counterService;
142     }
143 
144     public ResourceLocalService getResourceLocalService() {
145         return resourceLocalService;
146     }
147 
148     public void setResourceLocalService(
149         ResourceLocalService resourceLocalService) {
150         this.resourceLocalService = resourceLocalService;
151     }
152 
153     public ResourceService getResourceService() {
154         return resourceService;
155     }
156 
157     public void setResourceService(ResourceService resourceService) {
158         this.resourceService = resourceService;
159     }
160 
161     public ResourcePersistence getResourcePersistence() {
162         return resourcePersistence;
163     }
164 
165     public void setResourcePersistence(ResourcePersistence resourcePersistence) {
166         this.resourcePersistence = resourcePersistence;
167     }
168 
169     public ResourceFinder getResourceFinder() {
170         return resourceFinder;
171     }
172 
173     public void setResourceFinder(ResourceFinder resourceFinder) {
174         this.resourceFinder = resourceFinder;
175     }
176 
177     public UserLocalService getUserLocalService() {
178         return userLocalService;
179     }
180 
181     public void setUserLocalService(UserLocalService userLocalService) {
182         this.userLocalService = userLocalService;
183     }
184 
185     public UserService getUserService() {
186         return userService;
187     }
188 
189     public void setUserService(UserService userService) {
190         this.userService = userService;
191     }
192 
193     public UserPersistence getUserPersistence() {
194         return userPersistence;
195     }
196 
197     public void setUserPersistence(UserPersistence userPersistence) {
198         this.userPersistence = userPersistence;
199     }
200 
201     public UserFinder getUserFinder() {
202         return userFinder;
203     }
204 
205     public void setUserFinder(UserFinder userFinder) {
206         this.userFinder = userFinder;
207     }
208 
209     public TagsAssetLocalService getTagsAssetLocalService() {
210         return tagsAssetLocalService;
211     }
212 
213     public void setTagsAssetLocalService(
214         TagsAssetLocalService tagsAssetLocalService) {
215         this.tagsAssetLocalService = tagsAssetLocalService;
216     }
217 
218     public TagsAssetService getTagsAssetService() {
219         return tagsAssetService;
220     }
221 
222     public void setTagsAssetService(TagsAssetService tagsAssetService) {
223         this.tagsAssetService = tagsAssetService;
224     }
225 
226     public TagsAssetPersistence getTagsAssetPersistence() {
227         return tagsAssetPersistence;
228     }
229 
230     public void setTagsAssetPersistence(
231         TagsAssetPersistence tagsAssetPersistence) {
232         this.tagsAssetPersistence = tagsAssetPersistence;
233     }
234 
235     public TagsAssetFinder getTagsAssetFinder() {
236         return tagsAssetFinder;
237     }
238 
239     public void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder) {
240         this.tagsAssetFinder = tagsAssetFinder;
241     }
242 
243     public TagsEntryLocalService getTagsEntryLocalService() {
244         return tagsEntryLocalService;
245     }
246 
247     public void setTagsEntryLocalService(
248         TagsEntryLocalService tagsEntryLocalService) {
249         this.tagsEntryLocalService = tagsEntryLocalService;
250     }
251 
252     public TagsEntryService getTagsEntryService() {
253         return tagsEntryService;
254     }
255 
256     public void setTagsEntryService(TagsEntryService tagsEntryService) {
257         this.tagsEntryService = tagsEntryService;
258     }
259 
260     public TagsEntryPersistence getTagsEntryPersistence() {
261         return tagsEntryPersistence;
262     }
263 
264     public void setTagsEntryPersistence(
265         TagsEntryPersistence tagsEntryPersistence) {
266         this.tagsEntryPersistence = tagsEntryPersistence;
267     }
268 
269     public TagsEntryFinder getTagsEntryFinder() {
270         return tagsEntryFinder;
271     }
272 
273     public void setTagsEntryFinder(TagsEntryFinder tagsEntryFinder) {
274         this.tagsEntryFinder = tagsEntryFinder;
275     }
276 
277     protected void runSQL(String sql) throws SystemException {
278         try {
279             PortalUtil.runSQL(sql);
280         }
281         catch (Exception e) {
282             throw new SystemException(e);
283         }
284     }
285 
286     @BeanReference(name = "com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService.impl")
287     protected BookmarksEntryLocalService bookmarksEntryLocalService;
288     @BeanReference(name = "com.liferay.portlet.bookmarks.service.BookmarksEntryService.impl")
289     protected BookmarksEntryService bookmarksEntryService;
290     @BeanReference(name = "com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence.impl")
291     protected BookmarksEntryPersistence bookmarksEntryPersistence;
292     @BeanReference(name = "com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder.impl")
293     protected BookmarksEntryFinder bookmarksEntryFinder;
294     @BeanReference(name = "com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService.impl")
295     protected BookmarksFolderLocalService bookmarksFolderLocalService;
296     @BeanReference(name = "com.liferay.portlet.bookmarks.service.BookmarksFolderService.impl")
297     protected BookmarksFolderService bookmarksFolderService;
298     @BeanReference(name = "com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence.impl")
299     protected BookmarksFolderPersistence bookmarksFolderPersistence;
300     @BeanReference(name = "com.liferay.counter.service.CounterLocalService.impl")
301     protected CounterLocalService counterLocalService;
302     @BeanReference(name = "com.liferay.counter.service.CounterService.impl")
303     protected CounterService counterService;
304     @BeanReference(name = "com.liferay.portal.service.ResourceLocalService.impl")
305     protected ResourceLocalService resourceLocalService;
306     @BeanReference(name = "com.liferay.portal.service.ResourceService.impl")
307     protected ResourceService resourceService;
308     @BeanReference(name = "com.liferay.portal.service.persistence.ResourcePersistence.impl")
309     protected ResourcePersistence resourcePersistence;
310     @BeanReference(name = "com.liferay.portal.service.persistence.ResourceFinder.impl")
311     protected ResourceFinder resourceFinder;
312     @BeanReference(name = "com.liferay.portal.service.UserLocalService.impl")
313     protected UserLocalService userLocalService;
314     @BeanReference(name = "com.liferay.portal.service.UserService.impl")
315     protected UserService userService;
316     @BeanReference(name = "com.liferay.portal.service.persistence.UserPersistence.impl")
317     protected UserPersistence userPersistence;
318     @BeanReference(name = "com.liferay.portal.service.persistence.UserFinder.impl")
319     protected UserFinder userFinder;
320     @BeanReference(name = "com.liferay.portlet.tags.service.TagsAssetLocalService.impl")
321     protected TagsAssetLocalService tagsAssetLocalService;
322     @BeanReference(name = "com.liferay.portlet.tags.service.TagsAssetService.impl")
323     protected TagsAssetService tagsAssetService;
324     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsAssetPersistence.impl")
325     protected TagsAssetPersistence tagsAssetPersistence;
326     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsAssetFinder.impl")
327     protected TagsAssetFinder tagsAssetFinder;
328     @BeanReference(name = "com.liferay.portlet.tags.service.TagsEntryLocalService.impl")
329     protected TagsEntryLocalService tagsEntryLocalService;
330     @BeanReference(name = "com.liferay.portlet.tags.service.TagsEntryService.impl")
331     protected TagsEntryService tagsEntryService;
332     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsEntryPersistence.impl")
333     protected TagsEntryPersistence tagsEntryPersistence;
334     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsEntryFinder.impl")
335     protected TagsEntryFinder tagsEntryFinder;
336 }