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.tags.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.UserLocalService;
029: import com.liferay.portal.service.UserLocalServiceFactory;
030: import com.liferay.portal.service.UserService;
031: import com.liferay.portal.service.UserServiceFactory;
032: import com.liferay.portal.service.impl.PrincipalBean;
033: import com.liferay.portal.service.persistence.UserFinder;
034: import com.liferay.portal.service.persistence.UserFinderUtil;
035: import com.liferay.portal.service.persistence.UserPersistence;
036: import com.liferay.portal.service.persistence.UserUtil;
037:
038: import com.liferay.portlet.tags.service.TagsAssetLocalService;
039: import com.liferay.portlet.tags.service.TagsAssetLocalServiceFactory;
040: import com.liferay.portlet.tags.service.TagsAssetService;
041: import com.liferay.portlet.tags.service.TagsAssetServiceFactory;
042: import com.liferay.portlet.tags.service.TagsEntryLocalService;
043: import com.liferay.portlet.tags.service.TagsEntryLocalServiceFactory;
044: import com.liferay.portlet.tags.service.TagsEntryService;
045: import com.liferay.portlet.tags.service.TagsEntryServiceFactory;
046: import com.liferay.portlet.tags.service.TagsPropertyLocalService;
047: import com.liferay.portlet.tags.service.TagsPropertyLocalServiceFactory;
048: import com.liferay.portlet.tags.service.TagsPropertyService;
049: import com.liferay.portlet.tags.service.TagsSourceLocalService;
050: import com.liferay.portlet.tags.service.TagsSourceLocalServiceFactory;
051: import com.liferay.portlet.tags.service.TagsSourceService;
052: import com.liferay.portlet.tags.service.TagsSourceServiceFactory;
053: import com.liferay.portlet.tags.service.persistence.TagsAssetFinder;
054: import com.liferay.portlet.tags.service.persistence.TagsAssetFinderUtil;
055: import com.liferay.portlet.tags.service.persistence.TagsAssetPersistence;
056: import com.liferay.portlet.tags.service.persistence.TagsAssetUtil;
057: import com.liferay.portlet.tags.service.persistence.TagsEntryFinder;
058: import com.liferay.portlet.tags.service.persistence.TagsEntryFinderUtil;
059: import com.liferay.portlet.tags.service.persistence.TagsEntryPersistence;
060: import com.liferay.portlet.tags.service.persistence.TagsEntryUtil;
061: import com.liferay.portlet.tags.service.persistence.TagsPropertyFinder;
062: import com.liferay.portlet.tags.service.persistence.TagsPropertyFinderUtil;
063: import com.liferay.portlet.tags.service.persistence.TagsPropertyKeyFinder;
064: import com.liferay.portlet.tags.service.persistence.TagsPropertyKeyFinderUtil;
065: import com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence;
066: import com.liferay.portlet.tags.service.persistence.TagsPropertyUtil;
067: import com.liferay.portlet.tags.service.persistence.TagsSourcePersistence;
068: import com.liferay.portlet.tags.service.persistence.TagsSourceUtil;
069:
070: import org.springframework.beans.factory.InitializingBean;
071:
072: /**
073: * <a href="TagsPropertyServiceBaseImpl.java.html"><b><i>View Source</i></b></a>
074: *
075: * @author Brian Wing Shun Chan
076: *
077: */
078: public abstract class TagsPropertyServiceBaseImpl extends PrincipalBean
079: implements TagsPropertyService, InitializingBean {
080: public TagsAssetLocalService getTagsAssetLocalService() {
081: return tagsAssetLocalService;
082: }
083:
084: public void setTagsAssetLocalService(
085: TagsAssetLocalService tagsAssetLocalService) {
086: this .tagsAssetLocalService = tagsAssetLocalService;
087: }
088:
089: public TagsAssetService getTagsAssetService() {
090: return tagsAssetService;
091: }
092:
093: public void setTagsAssetService(TagsAssetService tagsAssetService) {
094: this .tagsAssetService = tagsAssetService;
095: }
096:
097: public TagsAssetPersistence getTagsAssetPersistence() {
098: return tagsAssetPersistence;
099: }
100:
101: public void setTagsAssetPersistence(
102: TagsAssetPersistence tagsAssetPersistence) {
103: this .tagsAssetPersistence = tagsAssetPersistence;
104: }
105:
106: public TagsAssetFinder getTagsAssetFinder() {
107: return tagsAssetFinder;
108: }
109:
110: public void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder) {
111: this .tagsAssetFinder = tagsAssetFinder;
112: }
113:
114: public TagsEntryLocalService getTagsEntryLocalService() {
115: return tagsEntryLocalService;
116: }
117:
118: public void setTagsEntryLocalService(
119: TagsEntryLocalService tagsEntryLocalService) {
120: this .tagsEntryLocalService = tagsEntryLocalService;
121: }
122:
123: public TagsEntryService getTagsEntryService() {
124: return tagsEntryService;
125: }
126:
127: public void setTagsEntryService(TagsEntryService tagsEntryService) {
128: this .tagsEntryService = tagsEntryService;
129: }
130:
131: public TagsEntryPersistence getTagsEntryPersistence() {
132: return tagsEntryPersistence;
133: }
134:
135: public void setTagsEntryPersistence(
136: TagsEntryPersistence tagsEntryPersistence) {
137: this .tagsEntryPersistence = tagsEntryPersistence;
138: }
139:
140: public TagsEntryFinder getTagsEntryFinder() {
141: return tagsEntryFinder;
142: }
143:
144: public void setTagsEntryFinder(TagsEntryFinder tagsEntryFinder) {
145: this .tagsEntryFinder = tagsEntryFinder;
146: }
147:
148: public TagsPropertyLocalService getTagsPropertyLocalService() {
149: return tagsPropertyLocalService;
150: }
151:
152: public void setTagsPropertyLocalService(
153: TagsPropertyLocalService tagsPropertyLocalService) {
154: this .tagsPropertyLocalService = tagsPropertyLocalService;
155: }
156:
157: public TagsPropertyPersistence getTagsPropertyPersistence() {
158: return tagsPropertyPersistence;
159: }
160:
161: public void setTagsPropertyPersistence(
162: TagsPropertyPersistence tagsPropertyPersistence) {
163: this .tagsPropertyPersistence = tagsPropertyPersistence;
164: }
165:
166: public TagsPropertyFinder getTagsPropertyFinder() {
167: return tagsPropertyFinder;
168: }
169:
170: public void setTagsPropertyFinder(
171: TagsPropertyFinder tagsPropertyFinder) {
172: this .tagsPropertyFinder = tagsPropertyFinder;
173: }
174:
175: public TagsPropertyKeyFinder getTagsPropertyKeyFinder() {
176: return tagsPropertyKeyFinder;
177: }
178:
179: public void setTagsPropertyKeyFinder(
180: TagsPropertyKeyFinder tagsPropertyKeyFinder) {
181: this .tagsPropertyKeyFinder = tagsPropertyKeyFinder;
182: }
183:
184: public TagsSourceLocalService getTagsSourceLocalService() {
185: return tagsSourceLocalService;
186: }
187:
188: public void setTagsSourceLocalService(
189: TagsSourceLocalService tagsSourceLocalService) {
190: this .tagsSourceLocalService = tagsSourceLocalService;
191: }
192:
193: public TagsSourceService getTagsSourceService() {
194: return tagsSourceService;
195: }
196:
197: public void setTagsSourceService(TagsSourceService tagsSourceService) {
198: this .tagsSourceService = tagsSourceService;
199: }
200:
201: public TagsSourcePersistence getTagsSourcePersistence() {
202: return tagsSourcePersistence;
203: }
204:
205: public void setTagsSourcePersistence(
206: TagsSourcePersistence tagsSourcePersistence) {
207: this .tagsSourcePersistence = tagsSourcePersistence;
208: }
209:
210: public CounterLocalService getCounterLocalService() {
211: return counterLocalService;
212: }
213:
214: public void setCounterLocalService(
215: CounterLocalService counterLocalService) {
216: this .counterLocalService = counterLocalService;
217: }
218:
219: public CounterService getCounterService() {
220: return counterService;
221: }
222:
223: public void setCounterService(CounterService counterService) {
224: this .counterService = counterService;
225: }
226:
227: public UserLocalService getUserLocalService() {
228: return userLocalService;
229: }
230:
231: public void setUserLocalService(UserLocalService userLocalService) {
232: this .userLocalService = userLocalService;
233: }
234:
235: public UserService getUserService() {
236: return userService;
237: }
238:
239: public void setUserService(UserService userService) {
240: this .userService = userService;
241: }
242:
243: public UserPersistence getUserPersistence() {
244: return userPersistence;
245: }
246:
247: public void setUserPersistence(UserPersistence userPersistence) {
248: this .userPersistence = userPersistence;
249: }
250:
251: public UserFinder getUserFinder() {
252: return userFinder;
253: }
254:
255: public void setUserFinder(UserFinder userFinder) {
256: this .userFinder = userFinder;
257: }
258:
259: public void afterPropertiesSet() {
260: if (tagsAssetLocalService == null) {
261: tagsAssetLocalService = TagsAssetLocalServiceFactory
262: .getImpl();
263: }
264:
265: if (tagsAssetService == null) {
266: tagsAssetService = TagsAssetServiceFactory.getImpl();
267: }
268:
269: if (tagsAssetPersistence == null) {
270: tagsAssetPersistence = TagsAssetUtil.getPersistence();
271: }
272:
273: if (tagsAssetFinder == null) {
274: tagsAssetFinder = TagsAssetFinderUtil.getFinder();
275: }
276:
277: if (tagsEntryLocalService == null) {
278: tagsEntryLocalService = TagsEntryLocalServiceFactory
279: .getImpl();
280: }
281:
282: if (tagsEntryService == null) {
283: tagsEntryService = TagsEntryServiceFactory.getImpl();
284: }
285:
286: if (tagsEntryPersistence == null) {
287: tagsEntryPersistence = TagsEntryUtil.getPersistence();
288: }
289:
290: if (tagsEntryFinder == null) {
291: tagsEntryFinder = TagsEntryFinderUtil.getFinder();
292: }
293:
294: if (tagsPropertyLocalService == null) {
295: tagsPropertyLocalService = TagsPropertyLocalServiceFactory
296: .getImpl();
297: }
298:
299: if (tagsPropertyPersistence == null) {
300: tagsPropertyPersistence = TagsPropertyUtil.getPersistence();
301: }
302:
303: if (tagsPropertyFinder == null) {
304: tagsPropertyFinder = TagsPropertyFinderUtil.getFinder();
305: }
306:
307: if (tagsPropertyKeyFinder == null) {
308: tagsPropertyKeyFinder = TagsPropertyKeyFinderUtil
309: .getFinder();
310: }
311:
312: if (tagsSourceLocalService == null) {
313: tagsSourceLocalService = TagsSourceLocalServiceFactory
314: .getImpl();
315: }
316:
317: if (tagsSourceService == null) {
318: tagsSourceService = TagsSourceServiceFactory.getImpl();
319: }
320:
321: if (tagsSourcePersistence == null) {
322: tagsSourcePersistence = TagsSourceUtil.getPersistence();
323: }
324:
325: if (counterLocalService == null) {
326: counterLocalService = CounterLocalServiceFactory.getImpl();
327: }
328:
329: if (counterService == null) {
330: counterService = CounterServiceFactory.getImpl();
331: }
332:
333: if (userLocalService == null) {
334: userLocalService = UserLocalServiceFactory.getImpl();
335: }
336:
337: if (userService == null) {
338: userService = UserServiceFactory.getImpl();
339: }
340:
341: if (userPersistence == null) {
342: userPersistence = UserUtil.getPersistence();
343: }
344:
345: if (userFinder == null) {
346: userFinder = UserFinderUtil.getFinder();
347: }
348: }
349:
350: protected TagsAssetLocalService tagsAssetLocalService;
351: protected TagsAssetService tagsAssetService;
352: protected TagsAssetPersistence tagsAssetPersistence;
353: protected TagsAssetFinder tagsAssetFinder;
354: protected TagsEntryLocalService tagsEntryLocalService;
355: protected TagsEntryService tagsEntryService;
356: protected TagsEntryPersistence tagsEntryPersistence;
357: protected TagsEntryFinder tagsEntryFinder;
358: protected TagsPropertyLocalService tagsPropertyLocalService;
359: protected TagsPropertyPersistence tagsPropertyPersistence;
360: protected TagsPropertyFinder tagsPropertyFinder;
361: protected TagsPropertyKeyFinder tagsPropertyKeyFinder;
362: protected TagsSourceLocalService tagsSourceLocalService;
363: protected TagsSourceService tagsSourceService;
364: protected TagsSourcePersistence tagsSourcePersistence;
365: protected CounterLocalService counterLocalService;
366: protected CounterService counterService;
367: protected UserLocalService userLocalService;
368: protected UserService userService;
369: protected UserPersistence userPersistence;
370: protected UserFinder userFinder;
371: }
|