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