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.portal.service.impl.PrincipalBean;
024:
025: import com.liferay.portlet.tags.service.TagsAssetLocalService;
026: import com.liferay.portlet.tags.service.TagsAssetLocalServiceFactory;
027: import com.liferay.portlet.tags.service.TagsAssetService;
028: import com.liferay.portlet.tags.service.TagsAssetServiceFactory;
029: import com.liferay.portlet.tags.service.TagsEntryLocalService;
030: import com.liferay.portlet.tags.service.TagsEntryLocalServiceFactory;
031: import com.liferay.portlet.tags.service.TagsEntryService;
032: import com.liferay.portlet.tags.service.TagsEntryServiceFactory;
033: import com.liferay.portlet.tags.service.TagsPropertyLocalService;
034: import com.liferay.portlet.tags.service.TagsPropertyLocalServiceFactory;
035: import com.liferay.portlet.tags.service.TagsPropertyService;
036: import com.liferay.portlet.tags.service.TagsPropertyServiceFactory;
037: import com.liferay.portlet.tags.service.TagsSourceLocalService;
038: import com.liferay.portlet.tags.service.TagsSourceLocalServiceFactory;
039: import com.liferay.portlet.tags.service.TagsSourceService;
040: import com.liferay.portlet.tags.service.persistence.TagsAssetFinder;
041: import com.liferay.portlet.tags.service.persistence.TagsAssetFinderUtil;
042: import com.liferay.portlet.tags.service.persistence.TagsAssetPersistence;
043: import com.liferay.portlet.tags.service.persistence.TagsAssetUtil;
044: import com.liferay.portlet.tags.service.persistence.TagsEntryFinder;
045: import com.liferay.portlet.tags.service.persistence.TagsEntryFinderUtil;
046: import com.liferay.portlet.tags.service.persistence.TagsEntryPersistence;
047: import com.liferay.portlet.tags.service.persistence.TagsEntryUtil;
048: import com.liferay.portlet.tags.service.persistence.TagsPropertyFinder;
049: import com.liferay.portlet.tags.service.persistence.TagsPropertyFinderUtil;
050: import com.liferay.portlet.tags.service.persistence.TagsPropertyKeyFinder;
051: import com.liferay.portlet.tags.service.persistence.TagsPropertyKeyFinderUtil;
052: import com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence;
053: import com.liferay.portlet.tags.service.persistence.TagsPropertyUtil;
054: import com.liferay.portlet.tags.service.persistence.TagsSourcePersistence;
055: import com.liferay.portlet.tags.service.persistence.TagsSourceUtil;
056:
057: import org.springframework.beans.factory.InitializingBean;
058:
059: /**
060: * <a href="TagsSourceServiceBaseImpl.java.html"><b><i>View Source</i></b></a>
061: *
062: * @author Brian Wing Shun Chan
063: *
064: */
065: public abstract class TagsSourceServiceBaseImpl extends PrincipalBean
066: implements TagsSourceService, InitializingBean {
067: public TagsAssetLocalService getTagsAssetLocalService() {
068: return tagsAssetLocalService;
069: }
070:
071: public void setTagsAssetLocalService(
072: TagsAssetLocalService tagsAssetLocalService) {
073: this .tagsAssetLocalService = tagsAssetLocalService;
074: }
075:
076: public TagsAssetService getTagsAssetService() {
077: return tagsAssetService;
078: }
079:
080: public void setTagsAssetService(TagsAssetService tagsAssetService) {
081: this .tagsAssetService = tagsAssetService;
082: }
083:
084: public TagsAssetPersistence getTagsAssetPersistence() {
085: return tagsAssetPersistence;
086: }
087:
088: public void setTagsAssetPersistence(
089: TagsAssetPersistence tagsAssetPersistence) {
090: this .tagsAssetPersistence = tagsAssetPersistence;
091: }
092:
093: public TagsAssetFinder getTagsAssetFinder() {
094: return tagsAssetFinder;
095: }
096:
097: public void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder) {
098: this .tagsAssetFinder = tagsAssetFinder;
099: }
100:
101: public TagsEntryLocalService getTagsEntryLocalService() {
102: return tagsEntryLocalService;
103: }
104:
105: public void setTagsEntryLocalService(
106: TagsEntryLocalService tagsEntryLocalService) {
107: this .tagsEntryLocalService = tagsEntryLocalService;
108: }
109:
110: public TagsEntryService getTagsEntryService() {
111: return tagsEntryService;
112: }
113:
114: public void setTagsEntryService(TagsEntryService tagsEntryService) {
115: this .tagsEntryService = tagsEntryService;
116: }
117:
118: public TagsEntryPersistence getTagsEntryPersistence() {
119: return tagsEntryPersistence;
120: }
121:
122: public void setTagsEntryPersistence(
123: TagsEntryPersistence tagsEntryPersistence) {
124: this .tagsEntryPersistence = tagsEntryPersistence;
125: }
126:
127: public TagsEntryFinder getTagsEntryFinder() {
128: return tagsEntryFinder;
129: }
130:
131: public void setTagsEntryFinder(TagsEntryFinder tagsEntryFinder) {
132: this .tagsEntryFinder = tagsEntryFinder;
133: }
134:
135: public TagsPropertyLocalService getTagsPropertyLocalService() {
136: return tagsPropertyLocalService;
137: }
138:
139: public void setTagsPropertyLocalService(
140: TagsPropertyLocalService tagsPropertyLocalService) {
141: this .tagsPropertyLocalService = tagsPropertyLocalService;
142: }
143:
144: public TagsPropertyService getTagsPropertyService() {
145: return tagsPropertyService;
146: }
147:
148: public void setTagsPropertyService(
149: TagsPropertyService tagsPropertyService) {
150: this .tagsPropertyService = tagsPropertyService;
151: }
152:
153: public TagsPropertyPersistence getTagsPropertyPersistence() {
154: return tagsPropertyPersistence;
155: }
156:
157: public void setTagsPropertyPersistence(
158: TagsPropertyPersistence tagsPropertyPersistence) {
159: this .tagsPropertyPersistence = tagsPropertyPersistence;
160: }
161:
162: public TagsPropertyFinder getTagsPropertyFinder() {
163: return tagsPropertyFinder;
164: }
165:
166: public void setTagsPropertyFinder(
167: TagsPropertyFinder tagsPropertyFinder) {
168: this .tagsPropertyFinder = tagsPropertyFinder;
169: }
170:
171: public TagsPropertyKeyFinder getTagsPropertyKeyFinder() {
172: return tagsPropertyKeyFinder;
173: }
174:
175: public void setTagsPropertyKeyFinder(
176: TagsPropertyKeyFinder tagsPropertyKeyFinder) {
177: this .tagsPropertyKeyFinder = tagsPropertyKeyFinder;
178: }
179:
180: public TagsSourceLocalService getTagsSourceLocalService() {
181: return tagsSourceLocalService;
182: }
183:
184: public void setTagsSourceLocalService(
185: TagsSourceLocalService tagsSourceLocalService) {
186: this .tagsSourceLocalService = tagsSourceLocalService;
187: }
188:
189: public TagsSourcePersistence getTagsSourcePersistence() {
190: return tagsSourcePersistence;
191: }
192:
193: public void setTagsSourcePersistence(
194: TagsSourcePersistence tagsSourcePersistence) {
195: this .tagsSourcePersistence = tagsSourcePersistence;
196: }
197:
198: public void afterPropertiesSet() {
199: if (tagsAssetLocalService == null) {
200: tagsAssetLocalService = TagsAssetLocalServiceFactory
201: .getImpl();
202: }
203:
204: if (tagsAssetService == null) {
205: tagsAssetService = TagsAssetServiceFactory.getImpl();
206: }
207:
208: if (tagsAssetPersistence == null) {
209: tagsAssetPersistence = TagsAssetUtil.getPersistence();
210: }
211:
212: if (tagsAssetFinder == null) {
213: tagsAssetFinder = TagsAssetFinderUtil.getFinder();
214: }
215:
216: if (tagsEntryLocalService == null) {
217: tagsEntryLocalService = TagsEntryLocalServiceFactory
218: .getImpl();
219: }
220:
221: if (tagsEntryService == null) {
222: tagsEntryService = TagsEntryServiceFactory.getImpl();
223: }
224:
225: if (tagsEntryPersistence == null) {
226: tagsEntryPersistence = TagsEntryUtil.getPersistence();
227: }
228:
229: if (tagsEntryFinder == null) {
230: tagsEntryFinder = TagsEntryFinderUtil.getFinder();
231: }
232:
233: if (tagsPropertyLocalService == null) {
234: tagsPropertyLocalService = TagsPropertyLocalServiceFactory
235: .getImpl();
236: }
237:
238: if (tagsPropertyService == null) {
239: tagsPropertyService = TagsPropertyServiceFactory.getImpl();
240: }
241:
242: if (tagsPropertyPersistence == null) {
243: tagsPropertyPersistence = TagsPropertyUtil.getPersistence();
244: }
245:
246: if (tagsPropertyFinder == null) {
247: tagsPropertyFinder = TagsPropertyFinderUtil.getFinder();
248: }
249:
250: if (tagsPropertyKeyFinder == null) {
251: tagsPropertyKeyFinder = TagsPropertyKeyFinderUtil
252: .getFinder();
253: }
254:
255: if (tagsSourceLocalService == null) {
256: tagsSourceLocalService = TagsSourceLocalServiceFactory
257: .getImpl();
258: }
259:
260: if (tagsSourcePersistence == null) {
261: tagsSourcePersistence = TagsSourceUtil.getPersistence();
262: }
263: }
264:
265: protected TagsAssetLocalService tagsAssetLocalService;
266: protected TagsAssetService tagsAssetService;
267: protected TagsAssetPersistence tagsAssetPersistence;
268: protected TagsAssetFinder tagsAssetFinder;
269: protected TagsEntryLocalService tagsEntryLocalService;
270: protected TagsEntryService tagsEntryService;
271: protected TagsEntryPersistence tagsEntryPersistence;
272: protected TagsEntryFinder tagsEntryFinder;
273: protected TagsPropertyLocalService tagsPropertyLocalService;
274: protected TagsPropertyService tagsPropertyService;
275: protected TagsPropertyPersistence tagsPropertyPersistence;
276: protected TagsPropertyFinder tagsPropertyFinder;
277: protected TagsPropertyKeyFinder tagsPropertyKeyFinder;
278: protected TagsSourceLocalService tagsSourceLocalService;
279: protected TagsSourcePersistence tagsSourcePersistence;
280: }
|