001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.shopping.service.base;
016    
017    import com.liferay.counter.service.CounterLocalService;
018    
019    import com.liferay.mail.service.MailService;
020    
021    import com.liferay.portal.kernel.bean.BeanReference;
022    import com.liferay.portal.kernel.bean.IdentifiableBean;
023    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
024    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
025    import com.liferay.portal.kernel.exception.SystemException;
026    import com.liferay.portal.service.BaseServiceImpl;
027    import com.liferay.portal.service.CompanyLocalService;
028    import com.liferay.portal.service.CompanyService;
029    import com.liferay.portal.service.ResourceLocalService;
030    import com.liferay.portal.service.SubscriptionLocalService;
031    import com.liferay.portal.service.UserLocalService;
032    import com.liferay.portal.service.UserService;
033    import com.liferay.portal.service.persistence.CompanyPersistence;
034    import com.liferay.portal.service.persistence.SubscriptionPersistence;
035    import com.liferay.portal.service.persistence.UserFinder;
036    import com.liferay.portal.service.persistence.UserPersistence;
037    
038    import com.liferay.portlet.messageboards.service.MBMessageLocalService;
039    import com.liferay.portlet.messageboards.service.MBMessageService;
040    import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
041    import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
042    import com.liferay.portlet.shopping.model.ShoppingOrder;
043    import com.liferay.portlet.shopping.service.ShoppingCartLocalService;
044    import com.liferay.portlet.shopping.service.ShoppingCategoryLocalService;
045    import com.liferay.portlet.shopping.service.ShoppingCategoryService;
046    import com.liferay.portlet.shopping.service.ShoppingCouponLocalService;
047    import com.liferay.portlet.shopping.service.ShoppingCouponService;
048    import com.liferay.portlet.shopping.service.ShoppingItemFieldLocalService;
049    import com.liferay.portlet.shopping.service.ShoppingItemLocalService;
050    import com.liferay.portlet.shopping.service.ShoppingItemPriceLocalService;
051    import com.liferay.portlet.shopping.service.ShoppingItemService;
052    import com.liferay.portlet.shopping.service.ShoppingOrderItemLocalService;
053    import com.liferay.portlet.shopping.service.ShoppingOrderLocalService;
054    import com.liferay.portlet.shopping.service.ShoppingOrderService;
055    import com.liferay.portlet.shopping.service.persistence.ShoppingCartPersistence;
056    import com.liferay.portlet.shopping.service.persistence.ShoppingCategoryPersistence;
057    import com.liferay.portlet.shopping.service.persistence.ShoppingCouponFinder;
058    import com.liferay.portlet.shopping.service.persistence.ShoppingCouponPersistence;
059    import com.liferay.portlet.shopping.service.persistence.ShoppingItemFieldPersistence;
060    import com.liferay.portlet.shopping.service.persistence.ShoppingItemFinder;
061    import com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistence;
062    import com.liferay.portlet.shopping.service.persistence.ShoppingItemPricePersistence;
063    import com.liferay.portlet.shopping.service.persistence.ShoppingOrderFinder;
064    import com.liferay.portlet.shopping.service.persistence.ShoppingOrderItemPersistence;
065    import com.liferay.portlet.shopping.service.persistence.ShoppingOrderPersistence;
066    
067    import javax.sql.DataSource;
068    
069    /**
070     * The base implementation of the shopping order remote service.
071     *
072     * <p>
073     * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link com.liferay.portlet.shopping.service.impl.ShoppingOrderServiceImpl}.
074     * </p>
075     *
076     * @author Brian Wing Shun Chan
077     * @see com.liferay.portlet.shopping.service.impl.ShoppingOrderServiceImpl
078     * @see com.liferay.portlet.shopping.service.ShoppingOrderServiceUtil
079     * @generated
080     */
081    public abstract class ShoppingOrderServiceBaseImpl extends BaseServiceImpl
082            implements ShoppingOrderService, IdentifiableBean {
083            /*
084             * NOTE FOR DEVELOPERS:
085             *
086             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.shopping.service.ShoppingOrderServiceUtil} to access the shopping order remote service.
087             */
088    
089            /**
090             * Returns the shopping cart local service.
091             *
092             * @return the shopping cart local service
093             */
094            public ShoppingCartLocalService getShoppingCartLocalService() {
095                    return shoppingCartLocalService;
096            }
097    
098            /**
099             * Sets the shopping cart local service.
100             *
101             * @param shoppingCartLocalService the shopping cart local service
102             */
103            public void setShoppingCartLocalService(
104                    ShoppingCartLocalService shoppingCartLocalService) {
105                    this.shoppingCartLocalService = shoppingCartLocalService;
106            }
107    
108            /**
109             * Returns the shopping cart persistence.
110             *
111             * @return the shopping cart persistence
112             */
113            public ShoppingCartPersistence getShoppingCartPersistence() {
114                    return shoppingCartPersistence;
115            }
116    
117            /**
118             * Sets the shopping cart persistence.
119             *
120             * @param shoppingCartPersistence the shopping cart persistence
121             */
122            public void setShoppingCartPersistence(
123                    ShoppingCartPersistence shoppingCartPersistence) {
124                    this.shoppingCartPersistence = shoppingCartPersistence;
125            }
126    
127            /**
128             * Returns the shopping category local service.
129             *
130             * @return the shopping category local service
131             */
132            public ShoppingCategoryLocalService getShoppingCategoryLocalService() {
133                    return shoppingCategoryLocalService;
134            }
135    
136            /**
137             * Sets the shopping category local service.
138             *
139             * @param shoppingCategoryLocalService the shopping category local service
140             */
141            public void setShoppingCategoryLocalService(
142                    ShoppingCategoryLocalService shoppingCategoryLocalService) {
143                    this.shoppingCategoryLocalService = shoppingCategoryLocalService;
144            }
145    
146            /**
147             * Returns the shopping category remote service.
148             *
149             * @return the shopping category remote service
150             */
151            public ShoppingCategoryService getShoppingCategoryService() {
152                    return shoppingCategoryService;
153            }
154    
155            /**
156             * Sets the shopping category remote service.
157             *
158             * @param shoppingCategoryService the shopping category remote service
159             */
160            public void setShoppingCategoryService(
161                    ShoppingCategoryService shoppingCategoryService) {
162                    this.shoppingCategoryService = shoppingCategoryService;
163            }
164    
165            /**
166             * Returns the shopping category persistence.
167             *
168             * @return the shopping category persistence
169             */
170            public ShoppingCategoryPersistence getShoppingCategoryPersistence() {
171                    return shoppingCategoryPersistence;
172            }
173    
174            /**
175             * Sets the shopping category persistence.
176             *
177             * @param shoppingCategoryPersistence the shopping category persistence
178             */
179            public void setShoppingCategoryPersistence(
180                    ShoppingCategoryPersistence shoppingCategoryPersistence) {
181                    this.shoppingCategoryPersistence = shoppingCategoryPersistence;
182            }
183    
184            /**
185             * Returns the shopping coupon local service.
186             *
187             * @return the shopping coupon local service
188             */
189            public ShoppingCouponLocalService getShoppingCouponLocalService() {
190                    return shoppingCouponLocalService;
191            }
192    
193            /**
194             * Sets the shopping coupon local service.
195             *
196             * @param shoppingCouponLocalService the shopping coupon local service
197             */
198            public void setShoppingCouponLocalService(
199                    ShoppingCouponLocalService shoppingCouponLocalService) {
200                    this.shoppingCouponLocalService = shoppingCouponLocalService;
201            }
202    
203            /**
204             * Returns the shopping coupon remote service.
205             *
206             * @return the shopping coupon remote service
207             */
208            public ShoppingCouponService getShoppingCouponService() {
209                    return shoppingCouponService;
210            }
211    
212            /**
213             * Sets the shopping coupon remote service.
214             *
215             * @param shoppingCouponService the shopping coupon remote service
216             */
217            public void setShoppingCouponService(
218                    ShoppingCouponService shoppingCouponService) {
219                    this.shoppingCouponService = shoppingCouponService;
220            }
221    
222            /**
223             * Returns the shopping coupon persistence.
224             *
225             * @return the shopping coupon persistence
226             */
227            public ShoppingCouponPersistence getShoppingCouponPersistence() {
228                    return shoppingCouponPersistence;
229            }
230    
231            /**
232             * Sets the shopping coupon persistence.
233             *
234             * @param shoppingCouponPersistence the shopping coupon persistence
235             */
236            public void setShoppingCouponPersistence(
237                    ShoppingCouponPersistence shoppingCouponPersistence) {
238                    this.shoppingCouponPersistence = shoppingCouponPersistence;
239            }
240    
241            /**
242             * Returns the shopping coupon finder.
243             *
244             * @return the shopping coupon finder
245             */
246            public ShoppingCouponFinder getShoppingCouponFinder() {
247                    return shoppingCouponFinder;
248            }
249    
250            /**
251             * Sets the shopping coupon finder.
252             *
253             * @param shoppingCouponFinder the shopping coupon finder
254             */
255            public void setShoppingCouponFinder(
256                    ShoppingCouponFinder shoppingCouponFinder) {
257                    this.shoppingCouponFinder = shoppingCouponFinder;
258            }
259    
260            /**
261             * Returns the shopping item local service.
262             *
263             * @return the shopping item local service
264             */
265            public ShoppingItemLocalService getShoppingItemLocalService() {
266                    return shoppingItemLocalService;
267            }
268    
269            /**
270             * Sets the shopping item local service.
271             *
272             * @param shoppingItemLocalService the shopping item local service
273             */
274            public void setShoppingItemLocalService(
275                    ShoppingItemLocalService shoppingItemLocalService) {
276                    this.shoppingItemLocalService = shoppingItemLocalService;
277            }
278    
279            /**
280             * Returns the shopping item remote service.
281             *
282             * @return the shopping item remote service
283             */
284            public ShoppingItemService getShoppingItemService() {
285                    return shoppingItemService;
286            }
287    
288            /**
289             * Sets the shopping item remote service.
290             *
291             * @param shoppingItemService the shopping item remote service
292             */
293            public void setShoppingItemService(ShoppingItemService shoppingItemService) {
294                    this.shoppingItemService = shoppingItemService;
295            }
296    
297            /**
298             * Returns the shopping item persistence.
299             *
300             * @return the shopping item persistence
301             */
302            public ShoppingItemPersistence getShoppingItemPersistence() {
303                    return shoppingItemPersistence;
304            }
305    
306            /**
307             * Sets the shopping item persistence.
308             *
309             * @param shoppingItemPersistence the shopping item persistence
310             */
311            public void setShoppingItemPersistence(
312                    ShoppingItemPersistence shoppingItemPersistence) {
313                    this.shoppingItemPersistence = shoppingItemPersistence;
314            }
315    
316            /**
317             * Returns the shopping item finder.
318             *
319             * @return the shopping item finder
320             */
321            public ShoppingItemFinder getShoppingItemFinder() {
322                    return shoppingItemFinder;
323            }
324    
325            /**
326             * Sets the shopping item finder.
327             *
328             * @param shoppingItemFinder the shopping item finder
329             */
330            public void setShoppingItemFinder(ShoppingItemFinder shoppingItemFinder) {
331                    this.shoppingItemFinder = shoppingItemFinder;
332            }
333    
334            /**
335             * Returns the shopping item field local service.
336             *
337             * @return the shopping item field local service
338             */
339            public ShoppingItemFieldLocalService getShoppingItemFieldLocalService() {
340                    return shoppingItemFieldLocalService;
341            }
342    
343            /**
344             * Sets the shopping item field local service.
345             *
346             * @param shoppingItemFieldLocalService the shopping item field local service
347             */
348            public void setShoppingItemFieldLocalService(
349                    ShoppingItemFieldLocalService shoppingItemFieldLocalService) {
350                    this.shoppingItemFieldLocalService = shoppingItemFieldLocalService;
351            }
352    
353            /**
354             * Returns the shopping item field persistence.
355             *
356             * @return the shopping item field persistence
357             */
358            public ShoppingItemFieldPersistence getShoppingItemFieldPersistence() {
359                    return shoppingItemFieldPersistence;
360            }
361    
362            /**
363             * Sets the shopping item field persistence.
364             *
365             * @param shoppingItemFieldPersistence the shopping item field persistence
366             */
367            public void setShoppingItemFieldPersistence(
368                    ShoppingItemFieldPersistence shoppingItemFieldPersistence) {
369                    this.shoppingItemFieldPersistence = shoppingItemFieldPersistence;
370            }
371    
372            /**
373             * Returns the shopping item price local service.
374             *
375             * @return the shopping item price local service
376             */
377            public ShoppingItemPriceLocalService getShoppingItemPriceLocalService() {
378                    return shoppingItemPriceLocalService;
379            }
380    
381            /**
382             * Sets the shopping item price local service.
383             *
384             * @param shoppingItemPriceLocalService the shopping item price local service
385             */
386            public void setShoppingItemPriceLocalService(
387                    ShoppingItemPriceLocalService shoppingItemPriceLocalService) {
388                    this.shoppingItemPriceLocalService = shoppingItemPriceLocalService;
389            }
390    
391            /**
392             * Returns the shopping item price persistence.
393             *
394             * @return the shopping item price persistence
395             */
396            public ShoppingItemPricePersistence getShoppingItemPricePersistence() {
397                    return shoppingItemPricePersistence;
398            }
399    
400            /**
401             * Sets the shopping item price persistence.
402             *
403             * @param shoppingItemPricePersistence the shopping item price persistence
404             */
405            public void setShoppingItemPricePersistence(
406                    ShoppingItemPricePersistence shoppingItemPricePersistence) {
407                    this.shoppingItemPricePersistence = shoppingItemPricePersistence;
408            }
409    
410            /**
411             * Returns the shopping order local service.
412             *
413             * @return the shopping order local service
414             */
415            public ShoppingOrderLocalService getShoppingOrderLocalService() {
416                    return shoppingOrderLocalService;
417            }
418    
419            /**
420             * Sets the shopping order local service.
421             *
422             * @param shoppingOrderLocalService the shopping order local service
423             */
424            public void setShoppingOrderLocalService(
425                    ShoppingOrderLocalService shoppingOrderLocalService) {
426                    this.shoppingOrderLocalService = shoppingOrderLocalService;
427            }
428    
429            /**
430             * Returns the shopping order remote service.
431             *
432             * @return the shopping order remote service
433             */
434            public ShoppingOrderService getShoppingOrderService() {
435                    return shoppingOrderService;
436            }
437    
438            /**
439             * Sets the shopping order remote service.
440             *
441             * @param shoppingOrderService the shopping order remote service
442             */
443            public void setShoppingOrderService(
444                    ShoppingOrderService shoppingOrderService) {
445                    this.shoppingOrderService = shoppingOrderService;
446            }
447    
448            /**
449             * Returns the shopping order persistence.
450             *
451             * @return the shopping order persistence
452             */
453            public ShoppingOrderPersistence getShoppingOrderPersistence() {
454                    return shoppingOrderPersistence;
455            }
456    
457            /**
458             * Sets the shopping order persistence.
459             *
460             * @param shoppingOrderPersistence the shopping order persistence
461             */
462            public void setShoppingOrderPersistence(
463                    ShoppingOrderPersistence shoppingOrderPersistence) {
464                    this.shoppingOrderPersistence = shoppingOrderPersistence;
465            }
466    
467            /**
468             * Returns the shopping order finder.
469             *
470             * @return the shopping order finder
471             */
472            public ShoppingOrderFinder getShoppingOrderFinder() {
473                    return shoppingOrderFinder;
474            }
475    
476            /**
477             * Sets the shopping order finder.
478             *
479             * @param shoppingOrderFinder the shopping order finder
480             */
481            public void setShoppingOrderFinder(ShoppingOrderFinder shoppingOrderFinder) {
482                    this.shoppingOrderFinder = shoppingOrderFinder;
483            }
484    
485            /**
486             * Returns the shopping order item local service.
487             *
488             * @return the shopping order item local service
489             */
490            public ShoppingOrderItemLocalService getShoppingOrderItemLocalService() {
491                    return shoppingOrderItemLocalService;
492            }
493    
494            /**
495             * Sets the shopping order item local service.
496             *
497             * @param shoppingOrderItemLocalService the shopping order item local service
498             */
499            public void setShoppingOrderItemLocalService(
500                    ShoppingOrderItemLocalService shoppingOrderItemLocalService) {
501                    this.shoppingOrderItemLocalService = shoppingOrderItemLocalService;
502            }
503    
504            /**
505             * Returns the shopping order item persistence.
506             *
507             * @return the shopping order item persistence
508             */
509            public ShoppingOrderItemPersistence getShoppingOrderItemPersistence() {
510                    return shoppingOrderItemPersistence;
511            }
512    
513            /**
514             * Sets the shopping order item persistence.
515             *
516             * @param shoppingOrderItemPersistence the shopping order item persistence
517             */
518            public void setShoppingOrderItemPersistence(
519                    ShoppingOrderItemPersistence shoppingOrderItemPersistence) {
520                    this.shoppingOrderItemPersistence = shoppingOrderItemPersistence;
521            }
522    
523            /**
524             * Returns the counter local service.
525             *
526             * @return the counter local service
527             */
528            public CounterLocalService getCounterLocalService() {
529                    return counterLocalService;
530            }
531    
532            /**
533             * Sets the counter local service.
534             *
535             * @param counterLocalService the counter local service
536             */
537            public void setCounterLocalService(CounterLocalService counterLocalService) {
538                    this.counterLocalService = counterLocalService;
539            }
540    
541            /**
542             * Returns the mail remote service.
543             *
544             * @return the mail remote service
545             */
546            public MailService getMailService() {
547                    return mailService;
548            }
549    
550            /**
551             * Sets the mail remote service.
552             *
553             * @param mailService the mail remote service
554             */
555            public void setMailService(MailService mailService) {
556                    this.mailService = mailService;
557            }
558    
559            /**
560             * Returns the company local service.
561             *
562             * @return the company local service
563             */
564            public CompanyLocalService getCompanyLocalService() {
565                    return companyLocalService;
566            }
567    
568            /**
569             * Sets the company local service.
570             *
571             * @param companyLocalService the company local service
572             */
573            public void setCompanyLocalService(CompanyLocalService companyLocalService) {
574                    this.companyLocalService = companyLocalService;
575            }
576    
577            /**
578             * Returns the company remote service.
579             *
580             * @return the company remote service
581             */
582            public CompanyService getCompanyService() {
583                    return companyService;
584            }
585    
586            /**
587             * Sets the company remote service.
588             *
589             * @param companyService the company remote service
590             */
591            public void setCompanyService(CompanyService companyService) {
592                    this.companyService = companyService;
593            }
594    
595            /**
596             * Returns the company persistence.
597             *
598             * @return the company persistence
599             */
600            public CompanyPersistence getCompanyPersistence() {
601                    return companyPersistence;
602            }
603    
604            /**
605             * Sets the company persistence.
606             *
607             * @param companyPersistence the company persistence
608             */
609            public void setCompanyPersistence(CompanyPersistence companyPersistence) {
610                    this.companyPersistence = companyPersistence;
611            }
612    
613            /**
614             * Returns the resource local service.
615             *
616             * @return the resource local service
617             */
618            public ResourceLocalService getResourceLocalService() {
619                    return resourceLocalService;
620            }
621    
622            /**
623             * Sets the resource local service.
624             *
625             * @param resourceLocalService the resource local service
626             */
627            public void setResourceLocalService(
628                    ResourceLocalService resourceLocalService) {
629                    this.resourceLocalService = resourceLocalService;
630            }
631    
632            /**
633             * Returns the subscription local service.
634             *
635             * @return the subscription local service
636             */
637            public SubscriptionLocalService getSubscriptionLocalService() {
638                    return subscriptionLocalService;
639            }
640    
641            /**
642             * Sets the subscription local service.
643             *
644             * @param subscriptionLocalService the subscription local service
645             */
646            public void setSubscriptionLocalService(
647                    SubscriptionLocalService subscriptionLocalService) {
648                    this.subscriptionLocalService = subscriptionLocalService;
649            }
650    
651            /**
652             * Returns the subscription persistence.
653             *
654             * @return the subscription persistence
655             */
656            public SubscriptionPersistence getSubscriptionPersistence() {
657                    return subscriptionPersistence;
658            }
659    
660            /**
661             * Sets the subscription persistence.
662             *
663             * @param subscriptionPersistence the subscription persistence
664             */
665            public void setSubscriptionPersistence(
666                    SubscriptionPersistence subscriptionPersistence) {
667                    this.subscriptionPersistence = subscriptionPersistence;
668            }
669    
670            /**
671             * Returns the user local service.
672             *
673             * @return the user local service
674             */
675            public UserLocalService getUserLocalService() {
676                    return userLocalService;
677            }
678    
679            /**
680             * Sets the user local service.
681             *
682             * @param userLocalService the user local service
683             */
684            public void setUserLocalService(UserLocalService userLocalService) {
685                    this.userLocalService = userLocalService;
686            }
687    
688            /**
689             * Returns the user remote service.
690             *
691             * @return the user remote service
692             */
693            public UserService getUserService() {
694                    return userService;
695            }
696    
697            /**
698             * Sets the user remote service.
699             *
700             * @param userService the user remote service
701             */
702            public void setUserService(UserService userService) {
703                    this.userService = userService;
704            }
705    
706            /**
707             * Returns the user persistence.
708             *
709             * @return the user persistence
710             */
711            public UserPersistence getUserPersistence() {
712                    return userPersistence;
713            }
714    
715            /**
716             * Sets the user persistence.
717             *
718             * @param userPersistence the user persistence
719             */
720            public void setUserPersistence(UserPersistence userPersistence) {
721                    this.userPersistence = userPersistence;
722            }
723    
724            /**
725             * Returns the user finder.
726             *
727             * @return the user finder
728             */
729            public UserFinder getUserFinder() {
730                    return userFinder;
731            }
732    
733            /**
734             * Sets the user finder.
735             *
736             * @param userFinder the user finder
737             */
738            public void setUserFinder(UserFinder userFinder) {
739                    this.userFinder = userFinder;
740            }
741    
742            /**
743             * Returns the message-boards message local service.
744             *
745             * @return the message-boards message local service
746             */
747            public MBMessageLocalService getMBMessageLocalService() {
748                    return mbMessageLocalService;
749            }
750    
751            /**
752             * Sets the message-boards message local service.
753             *
754             * @param mbMessageLocalService the message-boards message local service
755             */
756            public void setMBMessageLocalService(
757                    MBMessageLocalService mbMessageLocalService) {
758                    this.mbMessageLocalService = mbMessageLocalService;
759            }
760    
761            /**
762             * Returns the message-boards message remote service.
763             *
764             * @return the message-boards message remote service
765             */
766            public MBMessageService getMBMessageService() {
767                    return mbMessageService;
768            }
769    
770            /**
771             * Sets the message-boards message remote service.
772             *
773             * @param mbMessageService the message-boards message remote service
774             */
775            public void setMBMessageService(MBMessageService mbMessageService) {
776                    this.mbMessageService = mbMessageService;
777            }
778    
779            /**
780             * Returns the message-boards message persistence.
781             *
782             * @return the message-boards message persistence
783             */
784            public MBMessagePersistence getMBMessagePersistence() {
785                    return mbMessagePersistence;
786            }
787    
788            /**
789             * Sets the message-boards message persistence.
790             *
791             * @param mbMessagePersistence the message-boards message persistence
792             */
793            public void setMBMessagePersistence(
794                    MBMessagePersistence mbMessagePersistence) {
795                    this.mbMessagePersistence = mbMessagePersistence;
796            }
797    
798            /**
799             * Returns the message-boards message finder.
800             *
801             * @return the message-boards message finder
802             */
803            public MBMessageFinder getMBMessageFinder() {
804                    return mbMessageFinder;
805            }
806    
807            /**
808             * Sets the message-boards message finder.
809             *
810             * @param mbMessageFinder the message-boards message finder
811             */
812            public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
813                    this.mbMessageFinder = mbMessageFinder;
814            }
815    
816            public void afterPropertiesSet() {
817            }
818    
819            public void destroy() {
820            }
821    
822            /**
823             * Returns the Spring bean ID for this bean.
824             *
825             * @return the Spring bean ID for this bean
826             */
827            public String getBeanIdentifier() {
828                    return _beanIdentifier;
829            }
830    
831            /**
832             * Sets the Spring bean ID for this bean.
833             *
834             * @param beanIdentifier the Spring bean ID for this bean
835             */
836            public void setBeanIdentifier(String beanIdentifier) {
837                    _beanIdentifier = beanIdentifier;
838            }
839    
840            protected Class<?> getModelClass() {
841                    return ShoppingOrder.class;
842            }
843    
844            protected String getModelClassName() {
845                    return ShoppingOrder.class.getName();
846            }
847    
848            /**
849             * Performs an SQL query.
850             *
851             * @param sql the sql query
852             */
853            protected void runSQL(String sql) throws SystemException {
854                    try {
855                            DataSource dataSource = shoppingOrderPersistence.getDataSource();
856    
857                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
858                                            sql, new int[0]);
859    
860                            sqlUpdate.update();
861                    }
862                    catch (Exception e) {
863                            throw new SystemException(e);
864                    }
865            }
866    
867            @BeanReference(type = ShoppingCartLocalService.class)
868            protected ShoppingCartLocalService shoppingCartLocalService;
869            @BeanReference(type = ShoppingCartPersistence.class)
870            protected ShoppingCartPersistence shoppingCartPersistence;
871            @BeanReference(type = ShoppingCategoryLocalService.class)
872            protected ShoppingCategoryLocalService shoppingCategoryLocalService;
873            @BeanReference(type = ShoppingCategoryService.class)
874            protected ShoppingCategoryService shoppingCategoryService;
875            @BeanReference(type = ShoppingCategoryPersistence.class)
876            protected ShoppingCategoryPersistence shoppingCategoryPersistence;
877            @BeanReference(type = ShoppingCouponLocalService.class)
878            protected ShoppingCouponLocalService shoppingCouponLocalService;
879            @BeanReference(type = ShoppingCouponService.class)
880            protected ShoppingCouponService shoppingCouponService;
881            @BeanReference(type = ShoppingCouponPersistence.class)
882            protected ShoppingCouponPersistence shoppingCouponPersistence;
883            @BeanReference(type = ShoppingCouponFinder.class)
884            protected ShoppingCouponFinder shoppingCouponFinder;
885            @BeanReference(type = ShoppingItemLocalService.class)
886            protected ShoppingItemLocalService shoppingItemLocalService;
887            @BeanReference(type = ShoppingItemService.class)
888            protected ShoppingItemService shoppingItemService;
889            @BeanReference(type = ShoppingItemPersistence.class)
890            protected ShoppingItemPersistence shoppingItemPersistence;
891            @BeanReference(type = ShoppingItemFinder.class)
892            protected ShoppingItemFinder shoppingItemFinder;
893            @BeanReference(type = ShoppingItemFieldLocalService.class)
894            protected ShoppingItemFieldLocalService shoppingItemFieldLocalService;
895            @BeanReference(type = ShoppingItemFieldPersistence.class)
896            protected ShoppingItemFieldPersistence shoppingItemFieldPersistence;
897            @BeanReference(type = ShoppingItemPriceLocalService.class)
898            protected ShoppingItemPriceLocalService shoppingItemPriceLocalService;
899            @BeanReference(type = ShoppingItemPricePersistence.class)
900            protected ShoppingItemPricePersistence shoppingItemPricePersistence;
901            @BeanReference(type = ShoppingOrderLocalService.class)
902            protected ShoppingOrderLocalService shoppingOrderLocalService;
903            @BeanReference(type = ShoppingOrderService.class)
904            protected ShoppingOrderService shoppingOrderService;
905            @BeanReference(type = ShoppingOrderPersistence.class)
906            protected ShoppingOrderPersistence shoppingOrderPersistence;
907            @BeanReference(type = ShoppingOrderFinder.class)
908            protected ShoppingOrderFinder shoppingOrderFinder;
909            @BeanReference(type = ShoppingOrderItemLocalService.class)
910            protected ShoppingOrderItemLocalService shoppingOrderItemLocalService;
911            @BeanReference(type = ShoppingOrderItemPersistence.class)
912            protected ShoppingOrderItemPersistence shoppingOrderItemPersistence;
913            @BeanReference(type = CounterLocalService.class)
914            protected CounterLocalService counterLocalService;
915            @BeanReference(type = MailService.class)
916            protected MailService mailService;
917            @BeanReference(type = CompanyLocalService.class)
918            protected CompanyLocalService companyLocalService;
919            @BeanReference(type = CompanyService.class)
920            protected CompanyService companyService;
921            @BeanReference(type = CompanyPersistence.class)
922            protected CompanyPersistence companyPersistence;
923            @BeanReference(type = ResourceLocalService.class)
924            protected ResourceLocalService resourceLocalService;
925            @BeanReference(type = SubscriptionLocalService.class)
926            protected SubscriptionLocalService subscriptionLocalService;
927            @BeanReference(type = SubscriptionPersistence.class)
928            protected SubscriptionPersistence subscriptionPersistence;
929            @BeanReference(type = UserLocalService.class)
930            protected UserLocalService userLocalService;
931            @BeanReference(type = UserService.class)
932            protected UserService userService;
933            @BeanReference(type = UserPersistence.class)
934            protected UserPersistence userPersistence;
935            @BeanReference(type = UserFinder.class)
936            protected UserFinder userFinder;
937            @BeanReference(type = MBMessageLocalService.class)
938            protected MBMessageLocalService mbMessageLocalService;
939            @BeanReference(type = MBMessageService.class)
940            protected MBMessageService mbMessageService;
941            @BeanReference(type = MBMessagePersistence.class)
942            protected MBMessagePersistence mbMessagePersistence;
943            @BeanReference(type = MBMessageFinder.class)
944            protected MBMessageFinder mbMessageFinder;
945            private String _beanIdentifier;
946    }