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.softwarecatalog.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.softwarecatalog.service.SCFrameworkVersionLocalService;
047: import com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalServiceFactory;
048: import com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService;
049: import com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService;
050: import com.liferay.portlet.softwarecatalog.service.SCLicenseLocalServiceFactory;
051: import com.liferay.portlet.softwarecatalog.service.SCLicenseService;
052: import com.liferay.portlet.softwarecatalog.service.SCLicenseServiceFactory;
053: import com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService;
054: import com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalServiceFactory;
055: import com.liferay.portlet.softwarecatalog.service.SCProductEntryService;
056: import com.liferay.portlet.softwarecatalog.service.SCProductEntryServiceFactory;
057: import com.liferay.portlet.softwarecatalog.service.SCProductScreenshotLocalService;
058: import com.liferay.portlet.softwarecatalog.service.SCProductScreenshotLocalServiceFactory;
059: import com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService;
060: import com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalServiceFactory;
061: import com.liferay.portlet.softwarecatalog.service.SCProductVersionService;
062: import com.liferay.portlet.softwarecatalog.service.SCProductVersionServiceFactory;
063: import com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence;
064: import com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionUtil;
065: import com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence;
066: import com.liferay.portlet.softwarecatalog.service.persistence.SCLicenseUtil;
067: import com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence;
068: import com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryUtil;
069: import com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence;
070: import com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotUtil;
071: import com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence;
072: import com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionUtil;
073:
074: import org.springframework.beans.factory.InitializingBean;
075:
076: /**
077: * <a href="SCFrameworkVersionServiceBaseImpl.java.html"><b><i>View Source</i></b></a>
078: *
079: * @author Brian Wing Shun Chan
080: *
081: */
082: public abstract class SCFrameworkVersionServiceBaseImpl extends
083: PrincipalBean implements SCFrameworkVersionService,
084: InitializingBean {
085: public SCLicenseLocalService getSCLicenseLocalService() {
086: return scLicenseLocalService;
087: }
088:
089: public void setSCLicenseLocalService(
090: SCLicenseLocalService scLicenseLocalService) {
091: this .scLicenseLocalService = scLicenseLocalService;
092: }
093:
094: public SCLicenseService getSCLicenseService() {
095: return scLicenseService;
096: }
097:
098: public void setSCLicenseService(SCLicenseService scLicenseService) {
099: this .scLicenseService = scLicenseService;
100: }
101:
102: public SCLicensePersistence getSCLicensePersistence() {
103: return scLicensePersistence;
104: }
105:
106: public void setSCLicensePersistence(
107: SCLicensePersistence scLicensePersistence) {
108: this .scLicensePersistence = scLicensePersistence;
109: }
110:
111: public SCFrameworkVersionLocalService getSCFrameworkVersionLocalService() {
112: return scFrameworkVersionLocalService;
113: }
114:
115: public void setSCFrameworkVersionLocalService(
116: SCFrameworkVersionLocalService scFrameworkVersionLocalService) {
117: this .scFrameworkVersionLocalService = scFrameworkVersionLocalService;
118: }
119:
120: public SCFrameworkVersionPersistence getSCFrameworkVersionPersistence() {
121: return scFrameworkVersionPersistence;
122: }
123:
124: public void setSCFrameworkVersionPersistence(
125: SCFrameworkVersionPersistence scFrameworkVersionPersistence) {
126: this .scFrameworkVersionPersistence = scFrameworkVersionPersistence;
127: }
128:
129: public SCProductEntryLocalService getSCProductEntryLocalService() {
130: return scProductEntryLocalService;
131: }
132:
133: public void setSCProductEntryLocalService(
134: SCProductEntryLocalService scProductEntryLocalService) {
135: this .scProductEntryLocalService = scProductEntryLocalService;
136: }
137:
138: public SCProductEntryService getSCProductEntryService() {
139: return scProductEntryService;
140: }
141:
142: public void setSCProductEntryService(
143: SCProductEntryService scProductEntryService) {
144: this .scProductEntryService = scProductEntryService;
145: }
146:
147: public SCProductEntryPersistence getSCProductEntryPersistence() {
148: return scProductEntryPersistence;
149: }
150:
151: public void setSCProductEntryPersistence(
152: SCProductEntryPersistence scProductEntryPersistence) {
153: this .scProductEntryPersistence = scProductEntryPersistence;
154: }
155:
156: public SCProductScreenshotLocalService getSCProductScreenshotLocalService() {
157: return scProductScreenshotLocalService;
158: }
159:
160: public void setSCProductScreenshotLocalService(
161: SCProductScreenshotLocalService scProductScreenshotLocalService) {
162: this .scProductScreenshotLocalService = scProductScreenshotLocalService;
163: }
164:
165: public SCProductScreenshotPersistence getSCProductScreenshotPersistence() {
166: return scProductScreenshotPersistence;
167: }
168:
169: public void setSCProductScreenshotPersistence(
170: SCProductScreenshotPersistence scProductScreenshotPersistence) {
171: this .scProductScreenshotPersistence = scProductScreenshotPersistence;
172: }
173:
174: public SCProductVersionLocalService getSCProductVersionLocalService() {
175: return scProductVersionLocalService;
176: }
177:
178: public void setSCProductVersionLocalService(
179: SCProductVersionLocalService scProductVersionLocalService) {
180: this .scProductVersionLocalService = scProductVersionLocalService;
181: }
182:
183: public SCProductVersionService getSCProductVersionService() {
184: return scProductVersionService;
185: }
186:
187: public void setSCProductVersionService(
188: SCProductVersionService scProductVersionService) {
189: this .scProductVersionService = scProductVersionService;
190: }
191:
192: public SCProductVersionPersistence getSCProductVersionPersistence() {
193: return scProductVersionPersistence;
194: }
195:
196: public void setSCProductVersionPersistence(
197: SCProductVersionPersistence scProductVersionPersistence) {
198: this .scProductVersionPersistence = scProductVersionPersistence;
199: }
200:
201: public CounterLocalService getCounterLocalService() {
202: return counterLocalService;
203: }
204:
205: public void setCounterLocalService(
206: CounterLocalService counterLocalService) {
207: this .counterLocalService = counterLocalService;
208: }
209:
210: public CounterService getCounterService() {
211: return counterService;
212: }
213:
214: public void setCounterService(CounterService counterService) {
215: this .counterService = counterService;
216: }
217:
218: public ResourceLocalService getResourceLocalService() {
219: return resourceLocalService;
220: }
221:
222: public void setResourceLocalService(
223: ResourceLocalService resourceLocalService) {
224: this .resourceLocalService = resourceLocalService;
225: }
226:
227: public ResourceService getResourceService() {
228: return resourceService;
229: }
230:
231: public void setResourceService(ResourceService resourceService) {
232: this .resourceService = resourceService;
233: }
234:
235: public ResourcePersistence getResourcePersistence() {
236: return resourcePersistence;
237: }
238:
239: public void setResourcePersistence(
240: ResourcePersistence resourcePersistence) {
241: this .resourcePersistence = resourcePersistence;
242: }
243:
244: public ResourceFinder getResourceFinder() {
245: return resourceFinder;
246: }
247:
248: public void setResourceFinder(ResourceFinder resourceFinder) {
249: this .resourceFinder = resourceFinder;
250: }
251:
252: public UserLocalService getUserLocalService() {
253: return userLocalService;
254: }
255:
256: public void setUserLocalService(UserLocalService userLocalService) {
257: this .userLocalService = userLocalService;
258: }
259:
260: public UserService getUserService() {
261: return userService;
262: }
263:
264: public void setUserService(UserService userService) {
265: this .userService = userService;
266: }
267:
268: public UserPersistence getUserPersistence() {
269: return userPersistence;
270: }
271:
272: public void setUserPersistence(UserPersistence userPersistence) {
273: this .userPersistence = userPersistence;
274: }
275:
276: public UserFinder getUserFinder() {
277: return userFinder;
278: }
279:
280: public void setUserFinder(UserFinder userFinder) {
281: this .userFinder = userFinder;
282: }
283:
284: public void afterPropertiesSet() {
285: if (scLicenseLocalService == null) {
286: scLicenseLocalService = SCLicenseLocalServiceFactory
287: .getImpl();
288: }
289:
290: if (scLicenseService == null) {
291: scLicenseService = SCLicenseServiceFactory.getImpl();
292: }
293:
294: if (scLicensePersistence == null) {
295: scLicensePersistence = SCLicenseUtil.getPersistence();
296: }
297:
298: if (scFrameworkVersionLocalService == null) {
299: scFrameworkVersionLocalService = SCFrameworkVersionLocalServiceFactory
300: .getImpl();
301: }
302:
303: if (scFrameworkVersionPersistence == null) {
304: scFrameworkVersionPersistence = SCFrameworkVersionUtil
305: .getPersistence();
306: }
307:
308: if (scProductEntryLocalService == null) {
309: scProductEntryLocalService = SCProductEntryLocalServiceFactory
310: .getImpl();
311: }
312:
313: if (scProductEntryService == null) {
314: scProductEntryService = SCProductEntryServiceFactory
315: .getImpl();
316: }
317:
318: if (scProductEntryPersistence == null) {
319: scProductEntryPersistence = SCProductEntryUtil
320: .getPersistence();
321: }
322:
323: if (scProductScreenshotLocalService == null) {
324: scProductScreenshotLocalService = SCProductScreenshotLocalServiceFactory
325: .getImpl();
326: }
327:
328: if (scProductScreenshotPersistence == null) {
329: scProductScreenshotPersistence = SCProductScreenshotUtil
330: .getPersistence();
331: }
332:
333: if (scProductVersionLocalService == null) {
334: scProductVersionLocalService = SCProductVersionLocalServiceFactory
335: .getImpl();
336: }
337:
338: if (scProductVersionService == null) {
339: scProductVersionService = SCProductVersionServiceFactory
340: .getImpl();
341: }
342:
343: if (scProductVersionPersistence == null) {
344: scProductVersionPersistence = SCProductVersionUtil
345: .getPersistence();
346: }
347:
348: if (counterLocalService == null) {
349: counterLocalService = CounterLocalServiceFactory.getImpl();
350: }
351:
352: if (counterService == null) {
353: counterService = CounterServiceFactory.getImpl();
354: }
355:
356: if (resourceLocalService == null) {
357: resourceLocalService = ResourceLocalServiceFactory
358: .getImpl();
359: }
360:
361: if (resourceService == null) {
362: resourceService = ResourceServiceFactory.getImpl();
363: }
364:
365: if (resourcePersistence == null) {
366: resourcePersistence = ResourceUtil.getPersistence();
367: }
368:
369: if (resourceFinder == null) {
370: resourceFinder = ResourceFinderUtil.getFinder();
371: }
372:
373: if (userLocalService == null) {
374: userLocalService = UserLocalServiceFactory.getImpl();
375: }
376:
377: if (userService == null) {
378: userService = UserServiceFactory.getImpl();
379: }
380:
381: if (userPersistence == null) {
382: userPersistence = UserUtil.getPersistence();
383: }
384:
385: if (userFinder == null) {
386: userFinder = UserFinderUtil.getFinder();
387: }
388: }
389:
390: protected SCLicenseLocalService scLicenseLocalService;
391: protected SCLicenseService scLicenseService;
392: protected SCLicensePersistence scLicensePersistence;
393: protected SCFrameworkVersionLocalService scFrameworkVersionLocalService;
394: protected SCFrameworkVersionPersistence scFrameworkVersionPersistence;
395: protected SCProductEntryLocalService scProductEntryLocalService;
396: protected SCProductEntryService scProductEntryService;
397: protected SCProductEntryPersistence scProductEntryPersistence;
398: protected SCProductScreenshotLocalService scProductScreenshotLocalService;
399: protected SCProductScreenshotPersistence scProductScreenshotPersistence;
400: protected SCProductVersionLocalService scProductVersionLocalService;
401: protected SCProductVersionService scProductVersionService;
402: protected SCProductVersionPersistence scProductVersionPersistence;
403: protected CounterLocalService counterLocalService;
404: protected CounterService counterService;
405: protected ResourceLocalService resourceLocalService;
406: protected ResourceService resourceService;
407: protected ResourcePersistence resourcePersistence;
408: protected ResourceFinder resourceFinder;
409: protected UserLocalService userLocalService;
410: protected UserService userService;
411: protected UserPersistence userPersistence;
412: protected UserFinder userFinder;
413: }
|