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