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