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