001: /**
002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003: *
004: * Permission is hereby granted, free of charge, to any person obtaining a copy
005: * of this software and associated documentation files (the "Software"), to deal
006: * in the Software without restriction, including without limitation the rights
007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008: * copies of the Software, and to permit persons to whom the Software is
009: * furnished to do so, subject to the following conditions:
010: *
011: * The above copyright notice and this permission notice shall be included in
012: * all copies or substantial portions of the Software.
013: *
014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020: * SOFTWARE.
021: */package com.liferay.portlet.bookmarks.service.base;
022:
023: import com.liferay.counter.service.CounterLocalService;
024: import com.liferay.counter.service.CounterLocalServiceFactory;
025: import com.liferay.counter.service.CounterService;
026: import com.liferay.counter.service.CounterServiceFactory;
027:
028: import com.liferay.portal.service.ResourceLocalService;
029: import com.liferay.portal.service.ResourceLocalServiceFactory;
030: import com.liferay.portal.service.ResourceService;
031: import com.liferay.portal.service.ResourceServiceFactory;
032: import com.liferay.portal.service.UserLocalService;
033: import com.liferay.portal.service.UserLocalServiceFactory;
034: import com.liferay.portal.service.UserService;
035: import com.liferay.portal.service.UserServiceFactory;
036: import com.liferay.portal.service.impl.PrincipalBean;
037: import com.liferay.portal.service.persistence.ResourceFinder;
038: import com.liferay.portal.service.persistence.ResourceFinderUtil;
039: import com.liferay.portal.service.persistence.ResourcePersistence;
040: import com.liferay.portal.service.persistence.ResourceUtil;
041: import com.liferay.portal.service.persistence.UserFinder;
042: import com.liferay.portal.service.persistence.UserFinderUtil;
043: import com.liferay.portal.service.persistence.UserPersistence;
044: import com.liferay.portal.service.persistence.UserUtil;
045:
046: import com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService;
047: import com.liferay.portlet.bookmarks.service.BookmarksEntryLocalServiceFactory;
048: import com.liferay.portlet.bookmarks.service.BookmarksEntryService;
049: import com.liferay.portlet.bookmarks.service.BookmarksEntryServiceFactory;
050: import com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService;
051: import com.liferay.portlet.bookmarks.service.BookmarksFolderLocalServiceFactory;
052: import com.liferay.portlet.bookmarks.service.BookmarksFolderService;
053: import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder;
054: import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinderUtil;
055: import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence;
056: import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryUtil;
057: import com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence;
058: import com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderUtil;
059: import com.liferay.portlet.tags.service.TagsEntryLocalService;
060: import com.liferay.portlet.tags.service.TagsEntryLocalServiceFactory;
061: import com.liferay.portlet.tags.service.TagsEntryService;
062: import com.liferay.portlet.tags.service.TagsEntryServiceFactory;
063: import com.liferay.portlet.tags.service.persistence.TagsEntryFinder;
064: import com.liferay.portlet.tags.service.persistence.TagsEntryFinderUtil;
065: import com.liferay.portlet.tags.service.persistence.TagsEntryPersistence;
066: import com.liferay.portlet.tags.service.persistence.TagsEntryUtil;
067:
068: import org.springframework.beans.factory.InitializingBean;
069:
070: /**
071: * <a href="BookmarksFolderServiceBaseImpl.java.html"><b><i>View Source</i></b></a>
072: *
073: * @author Brian Wing Shun Chan
074: *
075: */
076: public abstract class BookmarksFolderServiceBaseImpl extends
077: PrincipalBean implements BookmarksFolderService,
078: InitializingBean {
079: public BookmarksEntryLocalService getBookmarksEntryLocalService() {
080: return bookmarksEntryLocalService;
081: }
082:
083: public void setBookmarksEntryLocalService(
084: BookmarksEntryLocalService bookmarksEntryLocalService) {
085: this .bookmarksEntryLocalService = bookmarksEntryLocalService;
086: }
087:
088: public BookmarksEntryService getBookmarksEntryService() {
089: return bookmarksEntryService;
090: }
091:
092: public void setBookmarksEntryService(
093: BookmarksEntryService bookmarksEntryService) {
094: this .bookmarksEntryService = bookmarksEntryService;
095: }
096:
097: public BookmarksEntryPersistence getBookmarksEntryPersistence() {
098: return bookmarksEntryPersistence;
099: }
100:
101: public void setBookmarksEntryPersistence(
102: BookmarksEntryPersistence bookmarksEntryPersistence) {
103: this .bookmarksEntryPersistence = bookmarksEntryPersistence;
104: }
105:
106: public BookmarksEntryFinder getBookmarksEntryFinder() {
107: return bookmarksEntryFinder;
108: }
109:
110: public void setBookmarksEntryFinder(
111: BookmarksEntryFinder bookmarksEntryFinder) {
112: this .bookmarksEntryFinder = bookmarksEntryFinder;
113: }
114:
115: public BookmarksFolderLocalService getBookmarksFolderLocalService() {
116: return bookmarksFolderLocalService;
117: }
118:
119: public void setBookmarksFolderLocalService(
120: BookmarksFolderLocalService bookmarksFolderLocalService) {
121: this .bookmarksFolderLocalService = bookmarksFolderLocalService;
122: }
123:
124: public BookmarksFolderPersistence getBookmarksFolderPersistence() {
125: return bookmarksFolderPersistence;
126: }
127:
128: public void setBookmarksFolderPersistence(
129: BookmarksFolderPersistence bookmarksFolderPersistence) {
130: this .bookmarksFolderPersistence = bookmarksFolderPersistence;
131: }
132:
133: public CounterLocalService getCounterLocalService() {
134: return counterLocalService;
135: }
136:
137: public void setCounterLocalService(
138: CounterLocalService counterLocalService) {
139: this .counterLocalService = counterLocalService;
140: }
141:
142: public CounterService getCounterService() {
143: return counterService;
144: }
145:
146: public void setCounterService(CounterService counterService) {
147: this .counterService = counterService;
148: }
149:
150: public ResourceLocalService getResourceLocalService() {
151: return resourceLocalService;
152: }
153:
154: public void setResourceLocalService(
155: ResourceLocalService resourceLocalService) {
156: this .resourceLocalService = resourceLocalService;
157: }
158:
159: public ResourceService getResourceService() {
160: return resourceService;
161: }
162:
163: public void setResourceService(ResourceService resourceService) {
164: this .resourceService = resourceService;
165: }
166:
167: public ResourcePersistence getResourcePersistence() {
168: return resourcePersistence;
169: }
170:
171: public void setResourcePersistence(
172: ResourcePersistence resourcePersistence) {
173: this .resourcePersistence = resourcePersistence;
174: }
175:
176: public ResourceFinder getResourceFinder() {
177: return resourceFinder;
178: }
179:
180: public void setResourceFinder(ResourceFinder resourceFinder) {
181: this .resourceFinder = resourceFinder;
182: }
183:
184: public UserLocalService getUserLocalService() {
185: return userLocalService;
186: }
187:
188: public void setUserLocalService(UserLocalService userLocalService) {
189: this .userLocalService = userLocalService;
190: }
191:
192: public UserService getUserService() {
193: return userService;
194: }
195:
196: public void setUserService(UserService userService) {
197: this .userService = userService;
198: }
199:
200: public UserPersistence getUserPersistence() {
201: return userPersistence;
202: }
203:
204: public void setUserPersistence(UserPersistence userPersistence) {
205: this .userPersistence = userPersistence;
206: }
207:
208: public UserFinder getUserFinder() {
209: return userFinder;
210: }
211:
212: public void setUserFinder(UserFinder userFinder) {
213: this .userFinder = userFinder;
214: }
215:
216: public TagsEntryLocalService getTagsEntryLocalService() {
217: return tagsEntryLocalService;
218: }
219:
220: public void setTagsEntryLocalService(
221: TagsEntryLocalService tagsEntryLocalService) {
222: this .tagsEntryLocalService = tagsEntryLocalService;
223: }
224:
225: public TagsEntryService getTagsEntryService() {
226: return tagsEntryService;
227: }
228:
229: public void setTagsEntryService(TagsEntryService tagsEntryService) {
230: this .tagsEntryService = tagsEntryService;
231: }
232:
233: public TagsEntryPersistence getTagsEntryPersistence() {
234: return tagsEntryPersistence;
235: }
236:
237: public void setTagsEntryPersistence(
238: TagsEntryPersistence tagsEntryPersistence) {
239: this .tagsEntryPersistence = tagsEntryPersistence;
240: }
241:
242: public TagsEntryFinder getTagsEntryFinder() {
243: return tagsEntryFinder;
244: }
245:
246: public void setTagsEntryFinder(TagsEntryFinder tagsEntryFinder) {
247: this .tagsEntryFinder = tagsEntryFinder;
248: }
249:
250: public void afterPropertiesSet() {
251: if (bookmarksEntryLocalService == null) {
252: bookmarksEntryLocalService = BookmarksEntryLocalServiceFactory
253: .getImpl();
254: }
255:
256: if (bookmarksEntryService == null) {
257: bookmarksEntryService = BookmarksEntryServiceFactory
258: .getImpl();
259: }
260:
261: if (bookmarksEntryPersistence == null) {
262: bookmarksEntryPersistence = BookmarksEntryUtil
263: .getPersistence();
264: }
265:
266: if (bookmarksEntryFinder == null) {
267: bookmarksEntryFinder = BookmarksEntryFinderUtil.getFinder();
268: }
269:
270: if (bookmarksFolderLocalService == null) {
271: bookmarksFolderLocalService = BookmarksFolderLocalServiceFactory
272: .getImpl();
273: }
274:
275: if (bookmarksFolderPersistence == null) {
276: bookmarksFolderPersistence = BookmarksFolderUtil
277: .getPersistence();
278: }
279:
280: if (counterLocalService == null) {
281: counterLocalService = CounterLocalServiceFactory.getImpl();
282: }
283:
284: if (counterService == null) {
285: counterService = CounterServiceFactory.getImpl();
286: }
287:
288: if (resourceLocalService == null) {
289: resourceLocalService = ResourceLocalServiceFactory
290: .getImpl();
291: }
292:
293: if (resourceService == null) {
294: resourceService = ResourceServiceFactory.getImpl();
295: }
296:
297: if (resourcePersistence == null) {
298: resourcePersistence = ResourceUtil.getPersistence();
299: }
300:
301: if (resourceFinder == null) {
302: resourceFinder = ResourceFinderUtil.getFinder();
303: }
304:
305: if (userLocalService == null) {
306: userLocalService = UserLocalServiceFactory.getImpl();
307: }
308:
309: if (userService == null) {
310: userService = UserServiceFactory.getImpl();
311: }
312:
313: if (userPersistence == null) {
314: userPersistence = UserUtil.getPersistence();
315: }
316:
317: if (userFinder == null) {
318: userFinder = UserFinderUtil.getFinder();
319: }
320:
321: if (tagsEntryLocalService == null) {
322: tagsEntryLocalService = TagsEntryLocalServiceFactory
323: .getImpl();
324: }
325:
326: if (tagsEntryService == null) {
327: tagsEntryService = TagsEntryServiceFactory.getImpl();
328: }
329:
330: if (tagsEntryPersistence == null) {
331: tagsEntryPersistence = TagsEntryUtil.getPersistence();
332: }
333:
334: if (tagsEntryFinder == null) {
335: tagsEntryFinder = TagsEntryFinderUtil.getFinder();
336: }
337: }
338:
339: protected BookmarksEntryLocalService bookmarksEntryLocalService;
340: protected BookmarksEntryService bookmarksEntryService;
341: protected BookmarksEntryPersistence bookmarksEntryPersistence;
342: protected BookmarksEntryFinder bookmarksEntryFinder;
343: protected BookmarksFolderLocalService bookmarksFolderLocalService;
344: protected BookmarksFolderPersistence bookmarksFolderPersistence;
345: protected CounterLocalService counterLocalService;
346: protected CounterService counterService;
347: protected ResourceLocalService resourceLocalService;
348: protected ResourceService resourceService;
349: protected ResourcePersistence resourcePersistence;
350: protected ResourceFinder resourceFinder;
351: protected UserLocalService userLocalService;
352: protected UserService userService;
353: protected UserPersistence userPersistence;
354: protected UserFinder userFinder;
355: protected TagsEntryLocalService tagsEntryLocalService;
356: protected TagsEntryService tagsEntryService;
357: protected TagsEntryPersistence tagsEntryPersistence;
358: protected TagsEntryFinder tagsEntryFinder;
359: }
|