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.announcements.service.base;
016    
017    import com.liferay.counter.service.CounterLocalService;
018    
019    import com.liferay.portal.kernel.bean.BeanReference;
020    import com.liferay.portal.kernel.bean.IdentifiableBean;
021    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
022    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
023    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
024    import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
025    import com.liferay.portal.kernel.exception.PortalException;
026    import com.liferay.portal.kernel.exception.SystemException;
027    import com.liferay.portal.kernel.search.Indexable;
028    import com.liferay.portal.kernel.search.IndexableType;
029    import com.liferay.portal.kernel.util.OrderByComparator;
030    import com.liferay.portal.model.PersistedModel;
031    import com.liferay.portal.service.BaseLocalServiceImpl;
032    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
033    import com.liferay.portal.service.ResourceLocalService;
034    import com.liferay.portal.service.ResourceService;
035    import com.liferay.portal.service.UserLocalService;
036    import com.liferay.portal.service.UserService;
037    import com.liferay.portal.service.persistence.ResourceFinder;
038    import com.liferay.portal.service.persistence.ResourcePersistence;
039    import com.liferay.portal.service.persistence.UserFinder;
040    import com.liferay.portal.service.persistence.UserPersistence;
041    
042    import com.liferay.portlet.announcements.model.AnnouncementsDelivery;
043    import com.liferay.portlet.announcements.service.AnnouncementsDeliveryLocalService;
044    import com.liferay.portlet.announcements.service.AnnouncementsDeliveryService;
045    import com.liferay.portlet.announcements.service.AnnouncementsEntryLocalService;
046    import com.liferay.portlet.announcements.service.AnnouncementsEntryService;
047    import com.liferay.portlet.announcements.service.AnnouncementsFlagLocalService;
048    import com.liferay.portlet.announcements.service.AnnouncementsFlagService;
049    import com.liferay.portlet.announcements.service.persistence.AnnouncementsDeliveryPersistence;
050    import com.liferay.portlet.announcements.service.persistence.AnnouncementsEntryFinder;
051    import com.liferay.portlet.announcements.service.persistence.AnnouncementsEntryPersistence;
052    import com.liferay.portlet.announcements.service.persistence.AnnouncementsFlagPersistence;
053    
054    import java.io.Serializable;
055    
056    import java.util.List;
057    
058    import javax.sql.DataSource;
059    
060    /**
061     * The base implementation of the announcements delivery local service.
062     *
063     * <p>
064     * 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.announcements.service.impl.AnnouncementsDeliveryLocalServiceImpl}.
065     * </p>
066     *
067     * @author Brian Wing Shun Chan
068     * @see com.liferay.portlet.announcements.service.impl.AnnouncementsDeliveryLocalServiceImpl
069     * @see com.liferay.portlet.announcements.service.AnnouncementsDeliveryLocalServiceUtil
070     * @generated
071     */
072    public abstract class AnnouncementsDeliveryLocalServiceBaseImpl
073            extends BaseLocalServiceImpl implements AnnouncementsDeliveryLocalService,
074                    IdentifiableBean {
075            /*
076             * NOTE FOR DEVELOPERS:
077             *
078             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.announcements.service.AnnouncementsDeliveryLocalServiceUtil} to access the announcements delivery local service.
079             */
080    
081            /**
082             * Adds the announcements delivery to the database. Also notifies the appropriate model listeners.
083             *
084             * @param announcementsDelivery the announcements delivery
085             * @return the announcements delivery that was added
086             * @throws SystemException if a system exception occurred
087             */
088            @Indexable(type = IndexableType.REINDEX)
089            public AnnouncementsDelivery addAnnouncementsDelivery(
090                    AnnouncementsDelivery announcementsDelivery) throws SystemException {
091                    announcementsDelivery.setNew(true);
092    
093                    return announcementsDeliveryPersistence.update(announcementsDelivery,
094                            false);
095            }
096    
097            /**
098             * Creates a new announcements delivery with the primary key. Does not add the announcements delivery to the database.
099             *
100             * @param deliveryId the primary key for the new announcements delivery
101             * @return the new announcements delivery
102             */
103            public AnnouncementsDelivery createAnnouncementsDelivery(long deliveryId) {
104                    return announcementsDeliveryPersistence.create(deliveryId);
105            }
106    
107            /**
108             * Deletes the announcements delivery with the primary key from the database. Also notifies the appropriate model listeners.
109             *
110             * @param deliveryId the primary key of the announcements delivery
111             * @return the announcements delivery that was removed
112             * @throws PortalException if a announcements delivery with the primary key could not be found
113             * @throws SystemException if a system exception occurred
114             */
115            @Indexable(type = IndexableType.DELETE)
116            public AnnouncementsDelivery deleteAnnouncementsDelivery(long deliveryId)
117                    throws PortalException, SystemException {
118                    return announcementsDeliveryPersistence.remove(deliveryId);
119            }
120    
121            /**
122             * Deletes the announcements delivery from the database. Also notifies the appropriate model listeners.
123             *
124             * @param announcementsDelivery the announcements delivery
125             * @return the announcements delivery that was removed
126             * @throws SystemException if a system exception occurred
127             */
128            @Indexable(type = IndexableType.DELETE)
129            public AnnouncementsDelivery deleteAnnouncementsDelivery(
130                    AnnouncementsDelivery announcementsDelivery) throws SystemException {
131                    return announcementsDeliveryPersistence.remove(announcementsDelivery);
132            }
133    
134            public DynamicQuery dynamicQuery() {
135                    Class<?> clazz = getClass();
136    
137                    return DynamicQueryFactoryUtil.forClass(AnnouncementsDelivery.class,
138                            clazz.getClassLoader());
139            }
140    
141            /**
142             * Performs a dynamic query on the database and returns the matching rows.
143             *
144             * @param dynamicQuery the dynamic query
145             * @return the matching rows
146             * @throws SystemException if a system exception occurred
147             */
148            @SuppressWarnings("rawtypes")
149            public List dynamicQuery(DynamicQuery dynamicQuery)
150                    throws SystemException {
151                    return announcementsDeliveryPersistence.findWithDynamicQuery(dynamicQuery);
152            }
153    
154            /**
155             * Performs a dynamic query on the database and returns a range of the matching rows.
156             *
157             * <p>
158             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
159             * </p>
160             *
161             * @param dynamicQuery the dynamic query
162             * @param start the lower bound of the range of model instances
163             * @param end the upper bound of the range of model instances (not inclusive)
164             * @return the range of matching rows
165             * @throws SystemException if a system exception occurred
166             */
167            @SuppressWarnings("rawtypes")
168            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
169                    throws SystemException {
170                    return announcementsDeliveryPersistence.findWithDynamicQuery(dynamicQuery,
171                            start, end);
172            }
173    
174            /**
175             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
176             *
177             * <p>
178             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
179             * </p>
180             *
181             * @param dynamicQuery the dynamic query
182             * @param start the lower bound of the range of model instances
183             * @param end the upper bound of the range of model instances (not inclusive)
184             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
185             * @return the ordered range of matching rows
186             * @throws SystemException if a system exception occurred
187             */
188            @SuppressWarnings("rawtypes")
189            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
190                    OrderByComparator orderByComparator) throws SystemException {
191                    return announcementsDeliveryPersistence.findWithDynamicQuery(dynamicQuery,
192                            start, end, orderByComparator);
193            }
194    
195            /**
196             * Returns the number of rows that match the dynamic query.
197             *
198             * @param dynamicQuery the dynamic query
199             * @return the number of rows that match the dynamic query
200             * @throws SystemException if a system exception occurred
201             */
202            public long dynamicQueryCount(DynamicQuery dynamicQuery)
203                    throws SystemException {
204                    return announcementsDeliveryPersistence.countWithDynamicQuery(dynamicQuery);
205            }
206    
207            public AnnouncementsDelivery fetchAnnouncementsDelivery(long deliveryId)
208                    throws SystemException {
209                    return announcementsDeliveryPersistence.fetchByPrimaryKey(deliveryId);
210            }
211    
212            /**
213             * Returns the announcements delivery with the primary key.
214             *
215             * @param deliveryId the primary key of the announcements delivery
216             * @return the announcements delivery
217             * @throws PortalException if a announcements delivery with the primary key could not be found
218             * @throws SystemException if a system exception occurred
219             */
220            public AnnouncementsDelivery getAnnouncementsDelivery(long deliveryId)
221                    throws PortalException, SystemException {
222                    return announcementsDeliveryPersistence.findByPrimaryKey(deliveryId);
223            }
224    
225            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
226                    throws PortalException, SystemException {
227                    return announcementsDeliveryPersistence.findByPrimaryKey(primaryKeyObj);
228            }
229    
230            /**
231             * Returns a range of all the announcements deliveries.
232             *
233             * <p>
234             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
235             * </p>
236             *
237             * @param start the lower bound of the range of announcements deliveries
238             * @param end the upper bound of the range of announcements deliveries (not inclusive)
239             * @return the range of announcements deliveries
240             * @throws SystemException if a system exception occurred
241             */
242            public List<AnnouncementsDelivery> getAnnouncementsDeliveries(int start,
243                    int end) throws SystemException {
244                    return announcementsDeliveryPersistence.findAll(start, end);
245            }
246    
247            /**
248             * Returns the number of announcements deliveries.
249             *
250             * @return the number of announcements deliveries
251             * @throws SystemException if a system exception occurred
252             */
253            public int getAnnouncementsDeliveriesCount() throws SystemException {
254                    return announcementsDeliveryPersistence.countAll();
255            }
256    
257            /**
258             * Updates the announcements delivery in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
259             *
260             * @param announcementsDelivery the announcements delivery
261             * @return the announcements delivery that was updated
262             * @throws SystemException if a system exception occurred
263             */
264            @Indexable(type = IndexableType.REINDEX)
265            public AnnouncementsDelivery updateAnnouncementsDelivery(
266                    AnnouncementsDelivery announcementsDelivery) throws SystemException {
267                    return updateAnnouncementsDelivery(announcementsDelivery, true);
268            }
269    
270            /**
271             * Updates the announcements delivery in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
272             *
273             * @param announcementsDelivery the announcements delivery
274             * @param merge whether to merge the announcements delivery with the current session. See {@link com.liferay.portal.service.persistence.BatchSession#update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)} for an explanation.
275             * @return the announcements delivery that was updated
276             * @throws SystemException if a system exception occurred
277             */
278            @Indexable(type = IndexableType.REINDEX)
279            public AnnouncementsDelivery updateAnnouncementsDelivery(
280                    AnnouncementsDelivery announcementsDelivery, boolean merge)
281                    throws SystemException {
282                    announcementsDelivery.setNew(false);
283    
284                    return announcementsDeliveryPersistence.update(announcementsDelivery,
285                            merge);
286            }
287    
288            /**
289             * Returns the announcements delivery local service.
290             *
291             * @return the announcements delivery local service
292             */
293            public AnnouncementsDeliveryLocalService getAnnouncementsDeliveryLocalService() {
294                    return announcementsDeliveryLocalService;
295            }
296    
297            /**
298             * Sets the announcements delivery local service.
299             *
300             * @param announcementsDeliveryLocalService the announcements delivery local service
301             */
302            public void setAnnouncementsDeliveryLocalService(
303                    AnnouncementsDeliveryLocalService announcementsDeliveryLocalService) {
304                    this.announcementsDeliveryLocalService = announcementsDeliveryLocalService;
305            }
306    
307            /**
308             * Returns the announcements delivery remote service.
309             *
310             * @return the announcements delivery remote service
311             */
312            public AnnouncementsDeliveryService getAnnouncementsDeliveryService() {
313                    return announcementsDeliveryService;
314            }
315    
316            /**
317             * Sets the announcements delivery remote service.
318             *
319             * @param announcementsDeliveryService the announcements delivery remote service
320             */
321            public void setAnnouncementsDeliveryService(
322                    AnnouncementsDeliveryService announcementsDeliveryService) {
323                    this.announcementsDeliveryService = announcementsDeliveryService;
324            }
325    
326            /**
327             * Returns the announcements delivery persistence.
328             *
329             * @return the announcements delivery persistence
330             */
331            public AnnouncementsDeliveryPersistence getAnnouncementsDeliveryPersistence() {
332                    return announcementsDeliveryPersistence;
333            }
334    
335            /**
336             * Sets the announcements delivery persistence.
337             *
338             * @param announcementsDeliveryPersistence the announcements delivery persistence
339             */
340            public void setAnnouncementsDeliveryPersistence(
341                    AnnouncementsDeliveryPersistence announcementsDeliveryPersistence) {
342                    this.announcementsDeliveryPersistence = announcementsDeliveryPersistence;
343            }
344    
345            /**
346             * Returns the announcements entry local service.
347             *
348             * @return the announcements entry local service
349             */
350            public AnnouncementsEntryLocalService getAnnouncementsEntryLocalService() {
351                    return announcementsEntryLocalService;
352            }
353    
354            /**
355             * Sets the announcements entry local service.
356             *
357             * @param announcementsEntryLocalService the announcements entry local service
358             */
359            public void setAnnouncementsEntryLocalService(
360                    AnnouncementsEntryLocalService announcementsEntryLocalService) {
361                    this.announcementsEntryLocalService = announcementsEntryLocalService;
362            }
363    
364            /**
365             * Returns the announcements entry remote service.
366             *
367             * @return the announcements entry remote service
368             */
369            public AnnouncementsEntryService getAnnouncementsEntryService() {
370                    return announcementsEntryService;
371            }
372    
373            /**
374             * Sets the announcements entry remote service.
375             *
376             * @param announcementsEntryService the announcements entry remote service
377             */
378            public void setAnnouncementsEntryService(
379                    AnnouncementsEntryService announcementsEntryService) {
380                    this.announcementsEntryService = announcementsEntryService;
381            }
382    
383            /**
384             * Returns the announcements entry persistence.
385             *
386             * @return the announcements entry persistence
387             */
388            public AnnouncementsEntryPersistence getAnnouncementsEntryPersistence() {
389                    return announcementsEntryPersistence;
390            }
391    
392            /**
393             * Sets the announcements entry persistence.
394             *
395             * @param announcementsEntryPersistence the announcements entry persistence
396             */
397            public void setAnnouncementsEntryPersistence(
398                    AnnouncementsEntryPersistence announcementsEntryPersistence) {
399                    this.announcementsEntryPersistence = announcementsEntryPersistence;
400            }
401    
402            /**
403             * Returns the announcements entry finder.
404             *
405             * @return the announcements entry finder
406             */
407            public AnnouncementsEntryFinder getAnnouncementsEntryFinder() {
408                    return announcementsEntryFinder;
409            }
410    
411            /**
412             * Sets the announcements entry finder.
413             *
414             * @param announcementsEntryFinder the announcements entry finder
415             */
416            public void setAnnouncementsEntryFinder(
417                    AnnouncementsEntryFinder announcementsEntryFinder) {
418                    this.announcementsEntryFinder = announcementsEntryFinder;
419            }
420    
421            /**
422             * Returns the announcements flag local service.
423             *
424             * @return the announcements flag local service
425             */
426            public AnnouncementsFlagLocalService getAnnouncementsFlagLocalService() {
427                    return announcementsFlagLocalService;
428            }
429    
430            /**
431             * Sets the announcements flag local service.
432             *
433             * @param announcementsFlagLocalService the announcements flag local service
434             */
435            public void setAnnouncementsFlagLocalService(
436                    AnnouncementsFlagLocalService announcementsFlagLocalService) {
437                    this.announcementsFlagLocalService = announcementsFlagLocalService;
438            }
439    
440            /**
441             * Returns the announcements flag remote service.
442             *
443             * @return the announcements flag remote service
444             */
445            public AnnouncementsFlagService getAnnouncementsFlagService() {
446                    return announcementsFlagService;
447            }
448    
449            /**
450             * Sets the announcements flag remote service.
451             *
452             * @param announcementsFlagService the announcements flag remote service
453             */
454            public void setAnnouncementsFlagService(
455                    AnnouncementsFlagService announcementsFlagService) {
456                    this.announcementsFlagService = announcementsFlagService;
457            }
458    
459            /**
460             * Returns the announcements flag persistence.
461             *
462             * @return the announcements flag persistence
463             */
464            public AnnouncementsFlagPersistence getAnnouncementsFlagPersistence() {
465                    return announcementsFlagPersistence;
466            }
467    
468            /**
469             * Sets the announcements flag persistence.
470             *
471             * @param announcementsFlagPersistence the announcements flag persistence
472             */
473            public void setAnnouncementsFlagPersistence(
474                    AnnouncementsFlagPersistence announcementsFlagPersistence) {
475                    this.announcementsFlagPersistence = announcementsFlagPersistence;
476            }
477    
478            /**
479             * Returns the counter local service.
480             *
481             * @return the counter local service
482             */
483            public CounterLocalService getCounterLocalService() {
484                    return counterLocalService;
485            }
486    
487            /**
488             * Sets the counter local service.
489             *
490             * @param counterLocalService the counter local service
491             */
492            public void setCounterLocalService(CounterLocalService counterLocalService) {
493                    this.counterLocalService = counterLocalService;
494            }
495    
496            /**
497             * Returns the resource local service.
498             *
499             * @return the resource local service
500             */
501            public ResourceLocalService getResourceLocalService() {
502                    return resourceLocalService;
503            }
504    
505            /**
506             * Sets the resource local service.
507             *
508             * @param resourceLocalService the resource local service
509             */
510            public void setResourceLocalService(
511                    ResourceLocalService resourceLocalService) {
512                    this.resourceLocalService = resourceLocalService;
513            }
514    
515            /**
516             * Returns the resource remote service.
517             *
518             * @return the resource remote service
519             */
520            public ResourceService getResourceService() {
521                    return resourceService;
522            }
523    
524            /**
525             * Sets the resource remote service.
526             *
527             * @param resourceService the resource remote service
528             */
529            public void setResourceService(ResourceService resourceService) {
530                    this.resourceService = resourceService;
531            }
532    
533            /**
534             * Returns the resource persistence.
535             *
536             * @return the resource persistence
537             */
538            public ResourcePersistence getResourcePersistence() {
539                    return resourcePersistence;
540            }
541    
542            /**
543             * Sets the resource persistence.
544             *
545             * @param resourcePersistence the resource persistence
546             */
547            public void setResourcePersistence(ResourcePersistence resourcePersistence) {
548                    this.resourcePersistence = resourcePersistence;
549            }
550    
551            /**
552             * Returns the resource finder.
553             *
554             * @return the resource finder
555             */
556            public ResourceFinder getResourceFinder() {
557                    return resourceFinder;
558            }
559    
560            /**
561             * Sets the resource finder.
562             *
563             * @param resourceFinder the resource finder
564             */
565            public void setResourceFinder(ResourceFinder resourceFinder) {
566                    this.resourceFinder = resourceFinder;
567            }
568    
569            /**
570             * Returns the user local service.
571             *
572             * @return the user local service
573             */
574            public UserLocalService getUserLocalService() {
575                    return userLocalService;
576            }
577    
578            /**
579             * Sets the user local service.
580             *
581             * @param userLocalService the user local service
582             */
583            public void setUserLocalService(UserLocalService userLocalService) {
584                    this.userLocalService = userLocalService;
585            }
586    
587            /**
588             * Returns the user remote service.
589             *
590             * @return the user remote service
591             */
592            public UserService getUserService() {
593                    return userService;
594            }
595    
596            /**
597             * Sets the user remote service.
598             *
599             * @param userService the user remote service
600             */
601            public void setUserService(UserService userService) {
602                    this.userService = userService;
603            }
604    
605            /**
606             * Returns the user persistence.
607             *
608             * @return the user persistence
609             */
610            public UserPersistence getUserPersistence() {
611                    return userPersistence;
612            }
613    
614            /**
615             * Sets the user persistence.
616             *
617             * @param userPersistence the user persistence
618             */
619            public void setUserPersistence(UserPersistence userPersistence) {
620                    this.userPersistence = userPersistence;
621            }
622    
623            /**
624             * Returns the user finder.
625             *
626             * @return the user finder
627             */
628            public UserFinder getUserFinder() {
629                    return userFinder;
630            }
631    
632            /**
633             * Sets the user finder.
634             *
635             * @param userFinder the user finder
636             */
637            public void setUserFinder(UserFinder userFinder) {
638                    this.userFinder = userFinder;
639            }
640    
641            public void afterPropertiesSet() {
642                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.announcements.model.AnnouncementsDelivery",
643                            announcementsDeliveryLocalService);
644            }
645    
646            public void destroy() {
647                    persistedModelLocalServiceRegistry.unregister(
648                            "com.liferay.portlet.announcements.model.AnnouncementsDelivery");
649            }
650    
651            /**
652             * Returns the Spring bean ID for this bean.
653             *
654             * @return the Spring bean ID for this bean
655             */
656            public String getBeanIdentifier() {
657                    return _beanIdentifier;
658            }
659    
660            /**
661             * Sets the Spring bean ID for this bean.
662             *
663             * @param beanIdentifier the Spring bean ID for this bean
664             */
665            public void setBeanIdentifier(String beanIdentifier) {
666                    _beanIdentifier = beanIdentifier;
667            }
668    
669            protected Class<?> getModelClass() {
670                    return AnnouncementsDelivery.class;
671            }
672    
673            protected String getModelClassName() {
674                    return AnnouncementsDelivery.class.getName();
675            }
676    
677            /**
678             * Performs an SQL query.
679             *
680             * @param sql the sql query
681             */
682            protected void runSQL(String sql) throws SystemException {
683                    try {
684                            DataSource dataSource = announcementsDeliveryPersistence.getDataSource();
685    
686                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
687                                            sql, new int[0]);
688    
689                            sqlUpdate.update();
690                    }
691                    catch (Exception e) {
692                            throw new SystemException(e);
693                    }
694            }
695    
696            @BeanReference(type = AnnouncementsDeliveryLocalService.class)
697            protected AnnouncementsDeliveryLocalService announcementsDeliveryLocalService;
698            @BeanReference(type = AnnouncementsDeliveryService.class)
699            protected AnnouncementsDeliveryService announcementsDeliveryService;
700            @BeanReference(type = AnnouncementsDeliveryPersistence.class)
701            protected AnnouncementsDeliveryPersistence announcementsDeliveryPersistence;
702            @BeanReference(type = AnnouncementsEntryLocalService.class)
703            protected AnnouncementsEntryLocalService announcementsEntryLocalService;
704            @BeanReference(type = AnnouncementsEntryService.class)
705            protected AnnouncementsEntryService announcementsEntryService;
706            @BeanReference(type = AnnouncementsEntryPersistence.class)
707            protected AnnouncementsEntryPersistence announcementsEntryPersistence;
708            @BeanReference(type = AnnouncementsEntryFinder.class)
709            protected AnnouncementsEntryFinder announcementsEntryFinder;
710            @BeanReference(type = AnnouncementsFlagLocalService.class)
711            protected AnnouncementsFlagLocalService announcementsFlagLocalService;
712            @BeanReference(type = AnnouncementsFlagService.class)
713            protected AnnouncementsFlagService announcementsFlagService;
714            @BeanReference(type = AnnouncementsFlagPersistence.class)
715            protected AnnouncementsFlagPersistence announcementsFlagPersistence;
716            @BeanReference(type = CounterLocalService.class)
717            protected CounterLocalService counterLocalService;
718            @BeanReference(type = ResourceLocalService.class)
719            protected ResourceLocalService resourceLocalService;
720            @BeanReference(type = ResourceService.class)
721            protected ResourceService resourceService;
722            @BeanReference(type = ResourcePersistence.class)
723            protected ResourcePersistence resourcePersistence;
724            @BeanReference(type = ResourceFinder.class)
725            protected ResourceFinder resourceFinder;
726            @BeanReference(type = UserLocalService.class)
727            protected UserLocalService userLocalService;
728            @BeanReference(type = UserService.class)
729            protected UserService userService;
730            @BeanReference(type = UserPersistence.class)
731            protected UserPersistence userPersistence;
732            @BeanReference(type = UserFinder.class)
733            protected UserFinder userFinder;
734            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
735            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
736            private String _beanIdentifier;
737    }