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