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.imagegallery.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.imagegallery.service.IGFolderLocalService;
047: import com.liferay.portlet.imagegallery.service.IGFolderLocalServiceFactory;
048: import com.liferay.portlet.imagegallery.service.IGFolderService;
049: import com.liferay.portlet.imagegallery.service.IGImageLocalService;
050: import com.liferay.portlet.imagegallery.service.IGImageLocalServiceFactory;
051: import com.liferay.portlet.imagegallery.service.IGImageService;
052: import com.liferay.portlet.imagegallery.service.IGImageServiceFactory;
053: import com.liferay.portlet.imagegallery.service.persistence.IGFolderPersistence;
054: import com.liferay.portlet.imagegallery.service.persistence.IGFolderUtil;
055: import com.liferay.portlet.imagegallery.service.persistence.IGImageFinder;
056: import com.liferay.portlet.imagegallery.service.persistence.IGImageFinderUtil;
057: import com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence;
058: import com.liferay.portlet.imagegallery.service.persistence.IGImageUtil;
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="IGFolderServiceBaseImpl.java.html"><b><i>View Source</i></b></a>
072: *
073: * @author Brian Wing Shun Chan
074: *
075: */
076: public abstract class IGFolderServiceBaseImpl extends PrincipalBean
077: implements IGFolderService, InitializingBean {
078: public IGFolderLocalService getIGFolderLocalService() {
079: return igFolderLocalService;
080: }
081:
082: public void setIGFolderLocalService(
083: IGFolderLocalService igFolderLocalService) {
084: this .igFolderLocalService = igFolderLocalService;
085: }
086:
087: public IGFolderPersistence getIGFolderPersistence() {
088: return igFolderPersistence;
089: }
090:
091: public void setIGFolderPersistence(
092: IGFolderPersistence igFolderPersistence) {
093: this .igFolderPersistence = igFolderPersistence;
094: }
095:
096: public IGImageLocalService getIGImageLocalService() {
097: return igImageLocalService;
098: }
099:
100: public void setIGImageLocalService(
101: IGImageLocalService igImageLocalService) {
102: this .igImageLocalService = igImageLocalService;
103: }
104:
105: public IGImageService getIGImageService() {
106: return igImageService;
107: }
108:
109: public void setIGImageService(IGImageService igImageService) {
110: this .igImageService = igImageService;
111: }
112:
113: public IGImagePersistence getIGImagePersistence() {
114: return igImagePersistence;
115: }
116:
117: public void setIGImagePersistence(
118: IGImagePersistence igImagePersistence) {
119: this .igImagePersistence = igImagePersistence;
120: }
121:
122: public IGImageFinder getIGImageFinder() {
123: return igImageFinder;
124: }
125:
126: public void setIGImageFinder(IGImageFinder igImageFinder) {
127: this .igImageFinder = igImageFinder;
128: }
129:
130: public CounterLocalService getCounterLocalService() {
131: return counterLocalService;
132: }
133:
134: public void setCounterLocalService(
135: CounterLocalService counterLocalService) {
136: this .counterLocalService = counterLocalService;
137: }
138:
139: public CounterService getCounterService() {
140: return counterService;
141: }
142:
143: public void setCounterService(CounterService counterService) {
144: this .counterService = counterService;
145: }
146:
147: public ResourceLocalService getResourceLocalService() {
148: return resourceLocalService;
149: }
150:
151: public void setResourceLocalService(
152: ResourceLocalService resourceLocalService) {
153: this .resourceLocalService = resourceLocalService;
154: }
155:
156: public ResourceService getResourceService() {
157: return resourceService;
158: }
159:
160: public void setResourceService(ResourceService resourceService) {
161: this .resourceService = resourceService;
162: }
163:
164: public ResourcePersistence getResourcePersistence() {
165: return resourcePersistence;
166: }
167:
168: public void setResourcePersistence(
169: ResourcePersistence resourcePersistence) {
170: this .resourcePersistence = resourcePersistence;
171: }
172:
173: public ResourceFinder getResourceFinder() {
174: return resourceFinder;
175: }
176:
177: public void setResourceFinder(ResourceFinder resourceFinder) {
178: this .resourceFinder = resourceFinder;
179: }
180:
181: public UserLocalService getUserLocalService() {
182: return userLocalService;
183: }
184:
185: public void setUserLocalService(UserLocalService userLocalService) {
186: this .userLocalService = userLocalService;
187: }
188:
189: public UserService getUserService() {
190: return userService;
191: }
192:
193: public void setUserService(UserService userService) {
194: this .userService = userService;
195: }
196:
197: public UserPersistence getUserPersistence() {
198: return userPersistence;
199: }
200:
201: public void setUserPersistence(UserPersistence userPersistence) {
202: this .userPersistence = userPersistence;
203: }
204:
205: public UserFinder getUserFinder() {
206: return userFinder;
207: }
208:
209: public void setUserFinder(UserFinder userFinder) {
210: this .userFinder = userFinder;
211: }
212:
213: public TagsEntryLocalService getTagsEntryLocalService() {
214: return tagsEntryLocalService;
215: }
216:
217: public void setTagsEntryLocalService(
218: TagsEntryLocalService tagsEntryLocalService) {
219: this .tagsEntryLocalService = tagsEntryLocalService;
220: }
221:
222: public TagsEntryService getTagsEntryService() {
223: return tagsEntryService;
224: }
225:
226: public void setTagsEntryService(TagsEntryService tagsEntryService) {
227: this .tagsEntryService = tagsEntryService;
228: }
229:
230: public TagsEntryPersistence getTagsEntryPersistence() {
231: return tagsEntryPersistence;
232: }
233:
234: public void setTagsEntryPersistence(
235: TagsEntryPersistence tagsEntryPersistence) {
236: this .tagsEntryPersistence = tagsEntryPersistence;
237: }
238:
239: public TagsEntryFinder getTagsEntryFinder() {
240: return tagsEntryFinder;
241: }
242:
243: public void setTagsEntryFinder(TagsEntryFinder tagsEntryFinder) {
244: this .tagsEntryFinder = tagsEntryFinder;
245: }
246:
247: public void afterPropertiesSet() {
248: if (igFolderLocalService == null) {
249: igFolderLocalService = IGFolderLocalServiceFactory
250: .getImpl();
251: }
252:
253: if (igFolderPersistence == null) {
254: igFolderPersistence = IGFolderUtil.getPersistence();
255: }
256:
257: if (igImageLocalService == null) {
258: igImageLocalService = IGImageLocalServiceFactory.getImpl();
259: }
260:
261: if (igImageService == null) {
262: igImageService = IGImageServiceFactory.getImpl();
263: }
264:
265: if (igImagePersistence == null) {
266: igImagePersistence = IGImageUtil.getPersistence();
267: }
268:
269: if (igImageFinder == null) {
270: igImageFinder = IGImageFinderUtil.getFinder();
271: }
272:
273: if (counterLocalService == null) {
274: counterLocalService = CounterLocalServiceFactory.getImpl();
275: }
276:
277: if (counterService == null) {
278: counterService = CounterServiceFactory.getImpl();
279: }
280:
281: if (resourceLocalService == null) {
282: resourceLocalService = ResourceLocalServiceFactory
283: .getImpl();
284: }
285:
286: if (resourceService == null) {
287: resourceService = ResourceServiceFactory.getImpl();
288: }
289:
290: if (resourcePersistence == null) {
291: resourcePersistence = ResourceUtil.getPersistence();
292: }
293:
294: if (resourceFinder == null) {
295: resourceFinder = ResourceFinderUtil.getFinder();
296: }
297:
298: if (userLocalService == null) {
299: userLocalService = UserLocalServiceFactory.getImpl();
300: }
301:
302: if (userService == null) {
303: userService = UserServiceFactory.getImpl();
304: }
305:
306: if (userPersistence == null) {
307: userPersistence = UserUtil.getPersistence();
308: }
309:
310: if (userFinder == null) {
311: userFinder = UserFinderUtil.getFinder();
312: }
313:
314: if (tagsEntryLocalService == null) {
315: tagsEntryLocalService = TagsEntryLocalServiceFactory
316: .getImpl();
317: }
318:
319: if (tagsEntryService == null) {
320: tagsEntryService = TagsEntryServiceFactory.getImpl();
321: }
322:
323: if (tagsEntryPersistence == null) {
324: tagsEntryPersistence = TagsEntryUtil.getPersistence();
325: }
326:
327: if (tagsEntryFinder == null) {
328: tagsEntryFinder = TagsEntryFinderUtil.getFinder();
329: }
330: }
331:
332: protected IGFolderLocalService igFolderLocalService;
333: protected IGFolderPersistence igFolderPersistence;
334: protected IGImageLocalService igImageLocalService;
335: protected IGImageService igImageService;
336: protected IGImagePersistence igImagePersistence;
337: protected IGImageFinder igImageFinder;
338: protected CounterLocalService counterLocalService;
339: protected CounterService counterService;
340: protected ResourceLocalService resourceLocalService;
341: protected ResourceService resourceService;
342: protected ResourcePersistence resourcePersistence;
343: protected ResourceFinder resourceFinder;
344: protected UserLocalService userLocalService;
345: protected UserService userService;
346: protected UserPersistence userPersistence;
347: protected UserFinder userFinder;
348: protected TagsEntryLocalService tagsEntryLocalService;
349: protected TagsEntryService tagsEntryService;
350: protected TagsEntryPersistence tagsEntryPersistence;
351: protected TagsEntryFinder tagsEntryFinder;
352: }
|