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.TagsPropertyLocalService;
046: import com.liferay.portlet.tags.service.TagsPropertyLocalServiceFactory;
047: import com.liferay.portlet.tags.service.TagsPropertyService;
048: import com.liferay.portlet.tags.service.TagsPropertyServiceFactory;
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="TagsEntryServiceBaseImpl.java.html"><b><i>View Source</i></b></a>
074: *
075: * @author Brian Wing Shun Chan
076: *
077: */
078: public abstract class TagsEntryServiceBaseImpl extends PrincipalBean
079: implements TagsEntryService, 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 TagsEntryPersistence getTagsEntryPersistence() {
124: return tagsEntryPersistence;
125: }
126:
127: public void setTagsEntryPersistence(
128: TagsEntryPersistence tagsEntryPersistence) {
129: this .tagsEntryPersistence = tagsEntryPersistence;
130: }
131:
132: public TagsEntryFinder getTagsEntryFinder() {
133: return tagsEntryFinder;
134: }
135:
136: public void setTagsEntryFinder(TagsEntryFinder tagsEntryFinder) {
137: this .tagsEntryFinder = tagsEntryFinder;
138: }
139:
140: public TagsPropertyLocalService getTagsPropertyLocalService() {
141: return tagsPropertyLocalService;
142: }
143:
144: public void setTagsPropertyLocalService(
145: TagsPropertyLocalService tagsPropertyLocalService) {
146: this .tagsPropertyLocalService = tagsPropertyLocalService;
147: }
148:
149: public TagsPropertyService getTagsPropertyService() {
150: return tagsPropertyService;
151: }
152:
153: public void setTagsPropertyService(
154: TagsPropertyService tagsPropertyService) {
155: this .tagsPropertyService = tagsPropertyService;
156: }
157:
158: public TagsPropertyPersistence getTagsPropertyPersistence() {
159: return tagsPropertyPersistence;
160: }
161:
162: public void setTagsPropertyPersistence(
163: TagsPropertyPersistence tagsPropertyPersistence) {
164: this .tagsPropertyPersistence = tagsPropertyPersistence;
165: }
166:
167: public TagsPropertyFinder getTagsPropertyFinder() {
168: return tagsPropertyFinder;
169: }
170:
171: public void setTagsPropertyFinder(
172: TagsPropertyFinder tagsPropertyFinder) {
173: this .tagsPropertyFinder = tagsPropertyFinder;
174: }
175:
176: public TagsPropertyKeyFinder getTagsPropertyKeyFinder() {
177: return tagsPropertyKeyFinder;
178: }
179:
180: public void setTagsPropertyKeyFinder(
181: TagsPropertyKeyFinder tagsPropertyKeyFinder) {
182: this .tagsPropertyKeyFinder = tagsPropertyKeyFinder;
183: }
184:
185: public TagsSourceLocalService getTagsSourceLocalService() {
186: return tagsSourceLocalService;
187: }
188:
189: public void setTagsSourceLocalService(
190: TagsSourceLocalService tagsSourceLocalService) {
191: this .tagsSourceLocalService = tagsSourceLocalService;
192: }
193:
194: public TagsSourceService getTagsSourceService() {
195: return tagsSourceService;
196: }
197:
198: public void setTagsSourceService(TagsSourceService tagsSourceService) {
199: this .tagsSourceService = tagsSourceService;
200: }
201:
202: public TagsSourcePersistence getTagsSourcePersistence() {
203: return tagsSourcePersistence;
204: }
205:
206: public void setTagsSourcePersistence(
207: TagsSourcePersistence tagsSourcePersistence) {
208: this .tagsSourcePersistence = tagsSourcePersistence;
209: }
210:
211: public CounterLocalService getCounterLocalService() {
212: return counterLocalService;
213: }
214:
215: public void setCounterLocalService(
216: CounterLocalService counterLocalService) {
217: this .counterLocalService = counterLocalService;
218: }
219:
220: public CounterService getCounterService() {
221: return counterService;
222: }
223:
224: public void setCounterService(CounterService counterService) {
225: this .counterService = counterService;
226: }
227:
228: public UserLocalService getUserLocalService() {
229: return userLocalService;
230: }
231:
232: public void setUserLocalService(UserLocalService userLocalService) {
233: this .userLocalService = userLocalService;
234: }
235:
236: public UserService getUserService() {
237: return userService;
238: }
239:
240: public void setUserService(UserService userService) {
241: this .userService = userService;
242: }
243:
244: public UserPersistence getUserPersistence() {
245: return userPersistence;
246: }
247:
248: public void setUserPersistence(UserPersistence userPersistence) {
249: this .userPersistence = userPersistence;
250: }
251:
252: public UserFinder getUserFinder() {
253: return userFinder;
254: }
255:
256: public void setUserFinder(UserFinder userFinder) {
257: this .userFinder = userFinder;
258: }
259:
260: public void afterPropertiesSet() {
261: if (tagsAssetLocalService == null) {
262: tagsAssetLocalService = TagsAssetLocalServiceFactory
263: .getImpl();
264: }
265:
266: if (tagsAssetService == null) {
267: tagsAssetService = TagsAssetServiceFactory.getImpl();
268: }
269:
270: if (tagsAssetPersistence == null) {
271: tagsAssetPersistence = TagsAssetUtil.getPersistence();
272: }
273:
274: if (tagsAssetFinder == null) {
275: tagsAssetFinder = TagsAssetFinderUtil.getFinder();
276: }
277:
278: if (tagsEntryLocalService == null) {
279: tagsEntryLocalService = TagsEntryLocalServiceFactory
280: .getImpl();
281: }
282:
283: if (tagsEntryPersistence == null) {
284: tagsEntryPersistence = TagsEntryUtil.getPersistence();
285: }
286:
287: if (tagsEntryFinder == null) {
288: tagsEntryFinder = TagsEntryFinderUtil.getFinder();
289: }
290:
291: if (tagsPropertyLocalService == null) {
292: tagsPropertyLocalService = TagsPropertyLocalServiceFactory
293: .getImpl();
294: }
295:
296: if (tagsPropertyService == null) {
297: tagsPropertyService = TagsPropertyServiceFactory.getImpl();
298: }
299:
300: if (tagsPropertyPersistence == null) {
301: tagsPropertyPersistence = TagsPropertyUtil.getPersistence();
302: }
303:
304: if (tagsPropertyFinder == null) {
305: tagsPropertyFinder = TagsPropertyFinderUtil.getFinder();
306: }
307:
308: if (tagsPropertyKeyFinder == null) {
309: tagsPropertyKeyFinder = TagsPropertyKeyFinderUtil
310: .getFinder();
311: }
312:
313: if (tagsSourceLocalService == null) {
314: tagsSourceLocalService = TagsSourceLocalServiceFactory
315: .getImpl();
316: }
317:
318: if (tagsSourceService == null) {
319: tagsSourceService = TagsSourceServiceFactory.getImpl();
320: }
321:
322: if (tagsSourcePersistence == null) {
323: tagsSourcePersistence = TagsSourceUtil.getPersistence();
324: }
325:
326: if (counterLocalService == null) {
327: counterLocalService = CounterLocalServiceFactory.getImpl();
328: }
329:
330: if (counterService == null) {
331: counterService = CounterServiceFactory.getImpl();
332: }
333:
334: if (userLocalService == null) {
335: userLocalService = UserLocalServiceFactory.getImpl();
336: }
337:
338: if (userService == null) {
339: userService = UserServiceFactory.getImpl();
340: }
341:
342: if (userPersistence == null) {
343: userPersistence = UserUtil.getPersistence();
344: }
345:
346: if (userFinder == null) {
347: userFinder = UserFinderUtil.getFinder();
348: }
349: }
350:
351: protected TagsAssetLocalService tagsAssetLocalService;
352: protected TagsAssetService tagsAssetService;
353: protected TagsAssetPersistence tagsAssetPersistence;
354: protected TagsAssetFinder tagsAssetFinder;
355: protected TagsEntryLocalService tagsEntryLocalService;
356: protected TagsEntryPersistence tagsEntryPersistence;
357: protected TagsEntryFinder tagsEntryFinder;
358: protected TagsPropertyLocalService tagsPropertyLocalService;
359: protected TagsPropertyService tagsPropertyService;
360: protected TagsPropertyPersistence tagsPropertyPersistence;
361: protected TagsPropertyFinder tagsPropertyFinder;
362: protected TagsPropertyKeyFinder tagsPropertyKeyFinder;
363: protected TagsSourceLocalService tagsSourceLocalService;
364: protected TagsSourceService tagsSourceService;
365: protected TagsSourcePersistence tagsSourcePersistence;
366: protected CounterLocalService counterLocalService;
367: protected CounterService counterService;
368: protected UserLocalService userLocalService;
369: protected UserService userService;
370: protected UserPersistence userPersistence;
371: protected UserFinder userFinder;
372: }
|