001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.bookmarks.service.base;
016    
017    import com.liferay.counter.service.CounterLocalService;
018    
019    import com.liferay.portal.kernel.annotation.BeanReference;
020    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
021    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
022    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
023    import com.liferay.portal.kernel.exception.PortalException;
024    import com.liferay.portal.kernel.exception.SystemException;
025    import com.liferay.portal.kernel.util.OrderByComparator;
026    import com.liferay.portal.service.GroupLocalService;
027    import com.liferay.portal.service.GroupService;
028    import com.liferay.portal.service.ResourceLocalService;
029    import com.liferay.portal.service.ResourceService;
030    import com.liferay.portal.service.UserLocalService;
031    import com.liferay.portal.service.UserService;
032    import com.liferay.portal.service.persistence.GroupFinder;
033    import com.liferay.portal.service.persistence.GroupPersistence;
034    import com.liferay.portal.service.persistence.ResourceFinder;
035    import com.liferay.portal.service.persistence.ResourcePersistence;
036    import com.liferay.portal.service.persistence.UserFinder;
037    import com.liferay.portal.service.persistence.UserPersistence;
038    
039    import com.liferay.portlet.bookmarks.model.BookmarksFolder;
040    import com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService;
041    import com.liferay.portlet.bookmarks.service.BookmarksEntryService;
042    import com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService;
043    import com.liferay.portlet.bookmarks.service.BookmarksFolderService;
044    import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder;
045    import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence;
046    import com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence;
047    import com.liferay.portlet.expando.service.ExpandoValueLocalService;
048    import com.liferay.portlet.expando.service.ExpandoValueService;
049    import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
050    
051    import java.util.List;
052    
053    import javax.sql.DataSource;
054    
055    /**
056     * The base implementation of the bookmarks folder local service.
057     *
058     * <p>
059     * 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.bookmarks.service.impl.BookmarksFolderLocalServiceImpl}.
060     * </p>
061     *
062     * <p>
063     * Never modify or reference this class directly. Always use {@link com.liferay.portlet.bookmarks.service.BookmarksFolderLocalServiceUtil} to access the bookmarks folder local service.
064     * </p>
065     *
066     * @author Brian Wing Shun Chan
067     * @see com.liferay.portlet.bookmarks.service.impl.BookmarksFolderLocalServiceImpl
068     * @see com.liferay.portlet.bookmarks.service.BookmarksFolderLocalServiceUtil
069     * @generated
070     */
071    public abstract class BookmarksFolderLocalServiceBaseImpl
072            implements BookmarksFolderLocalService {
073            /**
074             * Adds the bookmarks folder to the database. Also notifies the appropriate model listeners.
075             *
076             * @param bookmarksFolder the bookmarks folder to add
077             * @return the bookmarks folder that was added
078             * @throws SystemException if a system exception occurred
079             */
080            public BookmarksFolder addBookmarksFolder(BookmarksFolder bookmarksFolder)
081                    throws SystemException {
082                    bookmarksFolder.setNew(true);
083    
084                    return bookmarksFolderPersistence.update(bookmarksFolder, false);
085            }
086    
087            /**
088             * Creates a new bookmarks folder with the primary key. Does not add the bookmarks folder to the database.
089             *
090             * @param folderId the primary key for the new bookmarks folder
091             * @return the new bookmarks folder
092             */
093            public BookmarksFolder createBookmarksFolder(long folderId) {
094                    return bookmarksFolderPersistence.create(folderId);
095            }
096    
097            /**
098             * Deletes the bookmarks folder with the primary key from the database. Also notifies the appropriate model listeners.
099             *
100             * @param folderId the primary key of the bookmarks folder to delete
101             * @throws PortalException if a bookmarks folder with the primary key could not be found
102             * @throws SystemException if a system exception occurred
103             */
104            public void deleteBookmarksFolder(long folderId)
105                    throws PortalException, SystemException {
106                    bookmarksFolderPersistence.remove(folderId);
107            }
108    
109            /**
110             * Deletes the bookmarks folder from the database. Also notifies the appropriate model listeners.
111             *
112             * @param bookmarksFolder the bookmarks folder to delete
113             * @throws SystemException if a system exception occurred
114             */
115            public void deleteBookmarksFolder(BookmarksFolder bookmarksFolder)
116                    throws SystemException {
117                    bookmarksFolderPersistence.remove(bookmarksFolder);
118            }
119    
120            /**
121             * Performs a dynamic query on the database and returns the matching rows.
122             *
123             * @param dynamicQuery the dynamic query to search with
124             * @return the matching rows
125             * @throws SystemException if a system exception occurred
126             */
127            @SuppressWarnings("rawtypes")
128            public List dynamicQuery(DynamicQuery dynamicQuery)
129                    throws SystemException {
130                    return bookmarksFolderPersistence.findWithDynamicQuery(dynamicQuery);
131            }
132    
133            /**
134             * Performs a dynamic query on the database and returns a range of the matching rows.
135             *
136             * <p>
137             * 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.
138             * </p>
139             *
140             * @param dynamicQuery the dynamic query to search with
141             * @param start the lower bound of the range of model instances to return
142             * @param end the upper bound of the range of model instances to return (not inclusive)
143             * @return the range of matching rows
144             * @throws SystemException if a system exception occurred
145             */
146            @SuppressWarnings("rawtypes")
147            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
148                    throws SystemException {
149                    return bookmarksFolderPersistence.findWithDynamicQuery(dynamicQuery,
150                            start, end);
151            }
152    
153            /**
154             * Performs a dynamic query on the database and returns an ordered 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 to search with
161             * @param start the lower bound of the range of model instances to return
162             * @param end the upper bound of the range of model instances to return (not inclusive)
163             * @param orderByComparator the comparator to order the results by
164             * @return the ordered 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                    OrderByComparator orderByComparator) throws SystemException {
170                    return bookmarksFolderPersistence.findWithDynamicQuery(dynamicQuery,
171                            start, end, orderByComparator);
172            }
173    
174            /**
175             * Counts the number of rows that match the dynamic query.
176             *
177             * @param dynamicQuery the dynamic query to search with
178             * @return the number of rows that match the dynamic query
179             * @throws SystemException if a system exception occurred
180             */
181            public long dynamicQueryCount(DynamicQuery dynamicQuery)
182                    throws SystemException {
183                    return bookmarksFolderPersistence.countWithDynamicQuery(dynamicQuery);
184            }
185    
186            /**
187             * Gets the bookmarks folder with the primary key.
188             *
189             * @param folderId the primary key of the bookmarks folder to get
190             * @return the bookmarks folder
191             * @throws PortalException if a bookmarks folder with the primary key could not be found
192             * @throws SystemException if a system exception occurred
193             */
194            public BookmarksFolder getBookmarksFolder(long folderId)
195                    throws PortalException, SystemException {
196                    return bookmarksFolderPersistence.findByPrimaryKey(folderId);
197            }
198    
199            /**
200             * Gets the bookmarks folder with the UUID and group id.
201             *
202             * @param uuid the UUID of bookmarks folder to get
203             * @param groupId the group id of the bookmarks folder to get
204             * @return the bookmarks folder
205             * @throws PortalException if a bookmarks folder with the UUID and group id could not be found
206             * @throws SystemException if a system exception occurred
207             */
208            public BookmarksFolder getBookmarksFolderByUuidAndGroupId(String uuid,
209                    long groupId) throws PortalException, SystemException {
210                    return bookmarksFolderPersistence.findByUUID_G(uuid, groupId);
211            }
212    
213            /**
214             * Gets a range of all the bookmarks folders.
215             *
216             * <p>
217             * 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.
218             * </p>
219             *
220             * @param start the lower bound of the range of bookmarks folders to return
221             * @param end the upper bound of the range of bookmarks folders to return (not inclusive)
222             * @return the range of bookmarks folders
223             * @throws SystemException if a system exception occurred
224             */
225            public List<BookmarksFolder> getBookmarksFolders(int start, int end)
226                    throws SystemException {
227                    return bookmarksFolderPersistence.findAll(start, end);
228            }
229    
230            /**
231             * Gets the number of bookmarks folders.
232             *
233             * @return the number of bookmarks folders
234             * @throws SystemException if a system exception occurred
235             */
236            public int getBookmarksFoldersCount() throws SystemException {
237                    return bookmarksFolderPersistence.countAll();
238            }
239    
240            /**
241             * Updates the bookmarks folder in the database. Also notifies the appropriate model listeners.
242             *
243             * @param bookmarksFolder the bookmarks folder to update
244             * @return the bookmarks folder that was updated
245             * @throws SystemException if a system exception occurred
246             */
247            public BookmarksFolder updateBookmarksFolder(
248                    BookmarksFolder bookmarksFolder) throws SystemException {
249                    bookmarksFolder.setNew(false);
250    
251                    return bookmarksFolderPersistence.update(bookmarksFolder, true);
252            }
253    
254            /**
255             * Updates the bookmarks folder in the database. Also notifies the appropriate model listeners.
256             *
257             * @param bookmarksFolder the bookmarks folder to update
258             * @param merge whether to merge the bookmarks folder 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.
259             * @return the bookmarks folder that was updated
260             * @throws SystemException if a system exception occurred
261             */
262            public BookmarksFolder updateBookmarksFolder(
263                    BookmarksFolder bookmarksFolder, boolean merge)
264                    throws SystemException {
265                    bookmarksFolder.setNew(false);
266    
267                    return bookmarksFolderPersistence.update(bookmarksFolder, merge);
268            }
269    
270            /**
271             * Gets the bookmarks entry local service.
272             *
273             * @return the bookmarks entry local service
274             */
275            public BookmarksEntryLocalService getBookmarksEntryLocalService() {
276                    return bookmarksEntryLocalService;
277            }
278    
279            /**
280             * Sets the bookmarks entry local service.
281             *
282             * @param bookmarksEntryLocalService the bookmarks entry local service
283             */
284            public void setBookmarksEntryLocalService(
285                    BookmarksEntryLocalService bookmarksEntryLocalService) {
286                    this.bookmarksEntryLocalService = bookmarksEntryLocalService;
287            }
288    
289            /**
290             * Gets the bookmarks entry remote service.
291             *
292             * @return the bookmarks entry remote service
293             */
294            public BookmarksEntryService getBookmarksEntryService() {
295                    return bookmarksEntryService;
296            }
297    
298            /**
299             * Sets the bookmarks entry remote service.
300             *
301             * @param bookmarksEntryService the bookmarks entry remote service
302             */
303            public void setBookmarksEntryService(
304                    BookmarksEntryService bookmarksEntryService) {
305                    this.bookmarksEntryService = bookmarksEntryService;
306            }
307    
308            /**
309             * Gets the bookmarks entry persistence.
310             *
311             * @return the bookmarks entry persistence
312             */
313            public BookmarksEntryPersistence getBookmarksEntryPersistence() {
314                    return bookmarksEntryPersistence;
315            }
316    
317            /**
318             * Sets the bookmarks entry persistence.
319             *
320             * @param bookmarksEntryPersistence the bookmarks entry persistence
321             */
322            public void setBookmarksEntryPersistence(
323                    BookmarksEntryPersistence bookmarksEntryPersistence) {
324                    this.bookmarksEntryPersistence = bookmarksEntryPersistence;
325            }
326    
327            /**
328             * Gets the bookmarks entry finder.
329             *
330             * @return the bookmarks entry finder
331             */
332            public BookmarksEntryFinder getBookmarksEntryFinder() {
333                    return bookmarksEntryFinder;
334            }
335    
336            /**
337             * Sets the bookmarks entry finder.
338             *
339             * @param bookmarksEntryFinder the bookmarks entry finder
340             */
341            public void setBookmarksEntryFinder(
342                    BookmarksEntryFinder bookmarksEntryFinder) {
343                    this.bookmarksEntryFinder = bookmarksEntryFinder;
344            }
345    
346            /**
347             * Gets the bookmarks folder local service.
348             *
349             * @return the bookmarks folder local service
350             */
351            public BookmarksFolderLocalService getBookmarksFolderLocalService() {
352                    return bookmarksFolderLocalService;
353            }
354    
355            /**
356             * Sets the bookmarks folder local service.
357             *
358             * @param bookmarksFolderLocalService the bookmarks folder local service
359             */
360            public void setBookmarksFolderLocalService(
361                    BookmarksFolderLocalService bookmarksFolderLocalService) {
362                    this.bookmarksFolderLocalService = bookmarksFolderLocalService;
363            }
364    
365            /**
366             * Gets the bookmarks folder remote service.
367             *
368             * @return the bookmarks folder remote service
369             */
370            public BookmarksFolderService getBookmarksFolderService() {
371                    return bookmarksFolderService;
372            }
373    
374            /**
375             * Sets the bookmarks folder remote service.
376             *
377             * @param bookmarksFolderService the bookmarks folder remote service
378             */
379            public void setBookmarksFolderService(
380                    BookmarksFolderService bookmarksFolderService) {
381                    this.bookmarksFolderService = bookmarksFolderService;
382            }
383    
384            /**
385             * Gets the bookmarks folder persistence.
386             *
387             * @return the bookmarks folder persistence
388             */
389            public BookmarksFolderPersistence getBookmarksFolderPersistence() {
390                    return bookmarksFolderPersistence;
391            }
392    
393            /**
394             * Sets the bookmarks folder persistence.
395             *
396             * @param bookmarksFolderPersistence the bookmarks folder persistence
397             */
398            public void setBookmarksFolderPersistence(
399                    BookmarksFolderPersistence bookmarksFolderPersistence) {
400                    this.bookmarksFolderPersistence = bookmarksFolderPersistence;
401            }
402    
403            /**
404             * Gets the counter local service.
405             *
406             * @return the counter local service
407             */
408            public CounterLocalService getCounterLocalService() {
409                    return counterLocalService;
410            }
411    
412            /**
413             * Sets the counter local service.
414             *
415             * @param counterLocalService the counter local service
416             */
417            public void setCounterLocalService(CounterLocalService counterLocalService) {
418                    this.counterLocalService = counterLocalService;
419            }
420    
421            /**
422             * Gets the group local service.
423             *
424             * @return the group local service
425             */
426            public GroupLocalService getGroupLocalService() {
427                    return groupLocalService;
428            }
429    
430            /**
431             * Sets the group local service.
432             *
433             * @param groupLocalService the group local service
434             */
435            public void setGroupLocalService(GroupLocalService groupLocalService) {
436                    this.groupLocalService = groupLocalService;
437            }
438    
439            /**
440             * Gets the group remote service.
441             *
442             * @return the group remote service
443             */
444            public GroupService getGroupService() {
445                    return groupService;
446            }
447    
448            /**
449             * Sets the group remote service.
450             *
451             * @param groupService the group remote service
452             */
453            public void setGroupService(GroupService groupService) {
454                    this.groupService = groupService;
455            }
456    
457            /**
458             * Gets the group persistence.
459             *
460             * @return the group persistence
461             */
462            public GroupPersistence getGroupPersistence() {
463                    return groupPersistence;
464            }
465    
466            /**
467             * Sets the group persistence.
468             *
469             * @param groupPersistence the group persistence
470             */
471            public void setGroupPersistence(GroupPersistence groupPersistence) {
472                    this.groupPersistence = groupPersistence;
473            }
474    
475            /**
476             * Gets the group finder.
477             *
478             * @return the group finder
479             */
480            public GroupFinder getGroupFinder() {
481                    return groupFinder;
482            }
483    
484            /**
485             * Sets the group finder.
486             *
487             * @param groupFinder the group finder
488             */
489            public void setGroupFinder(GroupFinder groupFinder) {
490                    this.groupFinder = groupFinder;
491            }
492    
493            /**
494             * Gets the resource local service.
495             *
496             * @return the resource local service
497             */
498            public ResourceLocalService getResourceLocalService() {
499                    return resourceLocalService;
500            }
501    
502            /**
503             * Sets the resource local service.
504             *
505             * @param resourceLocalService the resource local service
506             */
507            public void setResourceLocalService(
508                    ResourceLocalService resourceLocalService) {
509                    this.resourceLocalService = resourceLocalService;
510            }
511    
512            /**
513             * Gets the resource remote service.
514             *
515             * @return the resource remote service
516             */
517            public ResourceService getResourceService() {
518                    return resourceService;
519            }
520    
521            /**
522             * Sets the resource remote service.
523             *
524             * @param resourceService the resource remote service
525             */
526            public void setResourceService(ResourceService resourceService) {
527                    this.resourceService = resourceService;
528            }
529    
530            /**
531             * Gets the resource persistence.
532             *
533             * @return the resource persistence
534             */
535            public ResourcePersistence getResourcePersistence() {
536                    return resourcePersistence;
537            }
538    
539            /**
540             * Sets the resource persistence.
541             *
542             * @param resourcePersistence the resource persistence
543             */
544            public void setResourcePersistence(ResourcePersistence resourcePersistence) {
545                    this.resourcePersistence = resourcePersistence;
546            }
547    
548            /**
549             * Gets the resource finder.
550             *
551             * @return the resource finder
552             */
553            public ResourceFinder getResourceFinder() {
554                    return resourceFinder;
555            }
556    
557            /**
558             * Sets the resource finder.
559             *
560             * @param resourceFinder the resource finder
561             */
562            public void setResourceFinder(ResourceFinder resourceFinder) {
563                    this.resourceFinder = resourceFinder;
564            }
565    
566            /**
567             * Gets the user local service.
568             *
569             * @return the user local service
570             */
571            public UserLocalService getUserLocalService() {
572                    return userLocalService;
573            }
574    
575            /**
576             * Sets the user local service.
577             *
578             * @param userLocalService the user local service
579             */
580            public void setUserLocalService(UserLocalService userLocalService) {
581                    this.userLocalService = userLocalService;
582            }
583    
584            /**
585             * Gets the user remote service.
586             *
587             * @return the user remote service
588             */
589            public UserService getUserService() {
590                    return userService;
591            }
592    
593            /**
594             * Sets the user remote service.
595             *
596             * @param userService the user remote service
597             */
598            public void setUserService(UserService userService) {
599                    this.userService = userService;
600            }
601    
602            /**
603             * Gets the user persistence.
604             *
605             * @return the user persistence
606             */
607            public UserPersistence getUserPersistence() {
608                    return userPersistence;
609            }
610    
611            /**
612             * Sets the user persistence.
613             *
614             * @param userPersistence the user persistence
615             */
616            public void setUserPersistence(UserPersistence userPersistence) {
617                    this.userPersistence = userPersistence;
618            }
619    
620            /**
621             * Gets the user finder.
622             *
623             * @return the user finder
624             */
625            public UserFinder getUserFinder() {
626                    return userFinder;
627            }
628    
629            /**
630             * Sets the user finder.
631             *
632             * @param userFinder the user finder
633             */
634            public void setUserFinder(UserFinder userFinder) {
635                    this.userFinder = userFinder;
636            }
637    
638            /**
639             * Gets the expando value local service.
640             *
641             * @return the expando value local service
642             */
643            public ExpandoValueLocalService getExpandoValueLocalService() {
644                    return expandoValueLocalService;
645            }
646    
647            /**
648             * Sets the expando value local service.
649             *
650             * @param expandoValueLocalService the expando value local service
651             */
652            public void setExpandoValueLocalService(
653                    ExpandoValueLocalService expandoValueLocalService) {
654                    this.expandoValueLocalService = expandoValueLocalService;
655            }
656    
657            /**
658             * Gets the expando value remote service.
659             *
660             * @return the expando value remote service
661             */
662            public ExpandoValueService getExpandoValueService() {
663                    return expandoValueService;
664            }
665    
666            /**
667             * Sets the expando value remote service.
668             *
669             * @param expandoValueService the expando value remote service
670             */
671            public void setExpandoValueService(ExpandoValueService expandoValueService) {
672                    this.expandoValueService = expandoValueService;
673            }
674    
675            /**
676             * Gets the expando value persistence.
677             *
678             * @return the expando value persistence
679             */
680            public ExpandoValuePersistence getExpandoValuePersistence() {
681                    return expandoValuePersistence;
682            }
683    
684            /**
685             * Sets the expando value persistence.
686             *
687             * @param expandoValuePersistence the expando value persistence
688             */
689            public void setExpandoValuePersistence(
690                    ExpandoValuePersistence expandoValuePersistence) {
691                    this.expandoValuePersistence = expandoValuePersistence;
692            }
693    
694            /**
695             * Performs an SQL query.
696             *
697             * @param sql the sql query to perform
698             */
699            protected void runSQL(String sql) throws SystemException {
700                    try {
701                            DataSource dataSource = bookmarksFolderPersistence.getDataSource();
702    
703                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
704                                            sql, new int[0]);
705    
706                            sqlUpdate.update();
707                    }
708                    catch (Exception e) {
709                            throw new SystemException(e);
710                    }
711            }
712    
713            @BeanReference(type = BookmarksEntryLocalService.class)
714            protected BookmarksEntryLocalService bookmarksEntryLocalService;
715            @BeanReference(type = BookmarksEntryService.class)
716            protected BookmarksEntryService bookmarksEntryService;
717            @BeanReference(type = BookmarksEntryPersistence.class)
718            protected BookmarksEntryPersistence bookmarksEntryPersistence;
719            @BeanReference(type = BookmarksEntryFinder.class)
720            protected BookmarksEntryFinder bookmarksEntryFinder;
721            @BeanReference(type = BookmarksFolderLocalService.class)
722            protected BookmarksFolderLocalService bookmarksFolderLocalService;
723            @BeanReference(type = BookmarksFolderService.class)
724            protected BookmarksFolderService bookmarksFolderService;
725            @BeanReference(type = BookmarksFolderPersistence.class)
726            protected BookmarksFolderPersistence bookmarksFolderPersistence;
727            @BeanReference(type = CounterLocalService.class)
728            protected CounterLocalService counterLocalService;
729            @BeanReference(type = GroupLocalService.class)
730            protected GroupLocalService groupLocalService;
731            @BeanReference(type = GroupService.class)
732            protected GroupService groupService;
733            @BeanReference(type = GroupPersistence.class)
734            protected GroupPersistence groupPersistence;
735            @BeanReference(type = GroupFinder.class)
736            protected GroupFinder groupFinder;
737            @BeanReference(type = ResourceLocalService.class)
738            protected ResourceLocalService resourceLocalService;
739            @BeanReference(type = ResourceService.class)
740            protected ResourceService resourceService;
741            @BeanReference(type = ResourcePersistence.class)
742            protected ResourcePersistence resourcePersistence;
743            @BeanReference(type = ResourceFinder.class)
744            protected ResourceFinder resourceFinder;
745            @BeanReference(type = UserLocalService.class)
746            protected UserLocalService userLocalService;
747            @BeanReference(type = UserService.class)
748            protected UserService userService;
749            @BeanReference(type = UserPersistence.class)
750            protected UserPersistence userPersistence;
751            @BeanReference(type = UserFinder.class)
752            protected UserFinder userFinder;
753            @BeanReference(type = ExpandoValueLocalService.class)
754            protected ExpandoValueLocalService expandoValueLocalService;
755            @BeanReference(type = ExpandoValueService.class)
756            protected ExpandoValueService expandoValueService;
757            @BeanReference(type = ExpandoValuePersistence.class)
758            protected ExpandoValuePersistence expandoValuePersistence;
759    }