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