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