001    /**
002     * Copyright (c) 2000-present 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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.BeanReference;
020    import com.liferay.portal.kernel.bean.IdentifiableBean;
021    import com.liferay.portal.kernel.dao.db.DB;
022    import com.liferay.portal.kernel.dao.db.DBFactoryUtil;
023    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
024    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
025    import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery;
026    import com.liferay.portal.kernel.dao.orm.DefaultActionableDynamicQuery;
027    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
028    import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
029    import com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery;
030    import com.liferay.portal.kernel.dao.orm.Projection;
031    import com.liferay.portal.kernel.dao.orm.Property;
032    import com.liferay.portal.kernel.dao.orm.PropertyFactoryUtil;
033    import com.liferay.portal.kernel.exception.PortalException;
034    import com.liferay.portal.kernel.exception.SystemException;
035    import com.liferay.portal.kernel.lar.ExportImportHelperUtil;
036    import com.liferay.portal.kernel.lar.ManifestSummary;
037    import com.liferay.portal.kernel.lar.PortletDataContext;
038    import com.liferay.portal.kernel.lar.StagedModelDataHandlerUtil;
039    import com.liferay.portal.kernel.lar.StagedModelType;
040    import com.liferay.portal.kernel.search.Indexable;
041    import com.liferay.portal.kernel.search.IndexableType;
042    import com.liferay.portal.kernel.util.OrderByComparator;
043    import com.liferay.portal.model.PersistedModel;
044    import com.liferay.portal.service.BaseLocalServiceImpl;
045    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
046    import com.liferay.portal.service.persistence.ClassNamePersistence;
047    import com.liferay.portal.service.persistence.GroupFinder;
048    import com.liferay.portal.service.persistence.GroupPersistence;
049    import com.liferay.portal.service.persistence.SystemEventPersistence;
050    import com.liferay.portal.service.persistence.UserFinder;
051    import com.liferay.portal.service.persistence.UserPersistence;
052    import com.liferay.portal.util.PortalUtil;
053    
054    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypeFinder;
055    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence;
056    import com.liferay.portlet.dynamicdatamapping.model.DDMStructure;
057    import com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService;
058    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureFinder;
059    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureLinkPersistence;
060    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence;
061    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplateFinder;
062    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence;
063    import com.liferay.portlet.journal.service.persistence.JournalFolderFinder;
064    import com.liferay.portlet.journal.service.persistence.JournalFolderPersistence;
065    
066    import java.io.Serializable;
067    
068    import java.util.List;
069    
070    import javax.sql.DataSource;
071    
072    /**
073     * Provides the base implementation for the d d m structure local service.
074     *
075     * <p>
076     * 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.DDMStructureLocalServiceImpl}.
077     * </p>
078     *
079     * @author Brian Wing Shun Chan
080     * @see com.liferay.portlet.dynamicdatamapping.service.impl.DDMStructureLocalServiceImpl
081     * @see com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalServiceUtil
082     * @generated
083     */
084    @ProviderType
085    public abstract class DDMStructureLocalServiceBaseImpl
086            extends BaseLocalServiceImpl implements DDMStructureLocalService,
087                    IdentifiableBean {
088            /*
089             * NOTE FOR DEVELOPERS:
090             *
091             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalServiceUtil} to access the d d m structure local service.
092             */
093    
094            /**
095             * Adds the d d m structure to the database. Also notifies the appropriate model listeners.
096             *
097             * @param ddmStructure the d d m structure
098             * @return the d d m structure that was added
099             */
100            @Indexable(type = IndexableType.REINDEX)
101            @Override
102            public DDMStructure addDDMStructure(DDMStructure ddmStructure) {
103                    ddmStructure.setNew(true);
104    
105                    return ddmStructurePersistence.update(ddmStructure);
106            }
107    
108            /**
109             * Creates a new d d m structure with the primary key. Does not add the d d m structure to the database.
110             *
111             * @param structureId the primary key for the new d d m structure
112             * @return the new d d m structure
113             */
114            @Override
115            public DDMStructure createDDMStructure(long structureId) {
116                    return ddmStructurePersistence.create(structureId);
117            }
118    
119            /**
120             * Deletes the d d m structure with the primary key from the database. Also notifies the appropriate model listeners.
121             *
122             * @param structureId the primary key of the d d m structure
123             * @return the d d m structure that was removed
124             * @throws PortalException if a d d m structure with the primary key could not be found
125             */
126            @Indexable(type = IndexableType.DELETE)
127            @Override
128            public DDMStructure deleteDDMStructure(long structureId)
129                    throws PortalException {
130                    return ddmStructurePersistence.remove(structureId);
131            }
132    
133            /**
134             * Deletes the d d m structure from the database. Also notifies the appropriate model listeners.
135             *
136             * @param ddmStructure the d d m structure
137             * @return the d d m structure that was removed
138             */
139            @Indexable(type = IndexableType.DELETE)
140            @Override
141            public DDMStructure deleteDDMStructure(DDMStructure ddmStructure) {
142                    return ddmStructurePersistence.remove(ddmStructure);
143            }
144    
145            @Override
146            public DynamicQuery dynamicQuery() {
147                    Class<?> clazz = getClass();
148    
149                    return DynamicQueryFactoryUtil.forClass(DDMStructure.class,
150                            clazz.getClassLoader());
151            }
152    
153            /**
154             * Performs a dynamic query on the database and returns the matching rows.
155             *
156             * @param dynamicQuery the dynamic query
157             * @return the matching rows
158             */
159            @Override
160            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery) {
161                    return ddmStructurePersistence.findWithDynamicQuery(dynamicQuery);
162            }
163    
164            /**
165             * Performs a dynamic query on the database and returns a range of the matching rows.
166             *
167             * <p>
168             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
169             * </p>
170             *
171             * @param dynamicQuery the dynamic query
172             * @param start the lower bound of the range of model instances
173             * @param end the upper bound of the range of model instances (not inclusive)
174             * @return the range of matching rows
175             */
176            @Override
177            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start,
178                    int end) {
179                    return ddmStructurePersistence.findWithDynamicQuery(dynamicQuery,
180                            start, end);
181            }
182    
183            /**
184             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
185             *
186             * <p>
187             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
188             * </p>
189             *
190             * @param dynamicQuery the dynamic query
191             * @param start the lower bound of the range of model instances
192             * @param end the upper bound of the range of model instances (not inclusive)
193             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
194             * @return the ordered range of matching rows
195             */
196            @Override
197            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start,
198                    int end, OrderByComparator<T> orderByComparator) {
199                    return ddmStructurePersistence.findWithDynamicQuery(dynamicQuery,
200                            start, end, orderByComparator);
201            }
202    
203            /**
204             * Returns the number of rows that match the dynamic query.
205             *
206             * @param dynamicQuery the dynamic query
207             * @return the number of rows that match the dynamic query
208             */
209            @Override
210            public long dynamicQueryCount(DynamicQuery dynamicQuery) {
211                    return ddmStructurePersistence.countWithDynamicQuery(dynamicQuery);
212            }
213    
214            /**
215             * Returns the number of rows that match the dynamic query.
216             *
217             * @param dynamicQuery the dynamic query
218             * @param projection the projection to apply to the query
219             * @return the number of rows that match the dynamic query
220             */
221            @Override
222            public long dynamicQueryCount(DynamicQuery dynamicQuery,
223                    Projection projection) {
224                    return ddmStructurePersistence.countWithDynamicQuery(dynamicQuery,
225                            projection);
226            }
227    
228            @Override
229            public DDMStructure fetchDDMStructure(long structureId) {
230                    return ddmStructurePersistence.fetchByPrimaryKey(structureId);
231            }
232    
233            /**
234             * Returns the d d m structure matching the UUID and group.
235             *
236             * @param uuid the d d m structure's UUID
237             * @param groupId the primary key of the group
238             * @return the matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
239             */
240            @Override
241            public DDMStructure fetchDDMStructureByUuidAndGroupId(String uuid,
242                    long groupId) {
243                    return ddmStructurePersistence.fetchByUUID_G(uuid, groupId);
244            }
245    
246            /**
247             * Returns the d d m structure with the primary key.
248             *
249             * @param structureId the primary key of the d d m structure
250             * @return the d d m structure
251             * @throws PortalException if a d d m structure with the primary key could not be found
252             */
253            @Override
254            public DDMStructure getDDMStructure(long structureId)
255                    throws PortalException {
256                    return ddmStructurePersistence.findByPrimaryKey(structureId);
257            }
258    
259            @Override
260            public ActionableDynamicQuery getActionableDynamicQuery() {
261                    ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery();
262    
263                    actionableDynamicQuery.setBaseLocalService(com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalServiceUtil.getService());
264                    actionableDynamicQuery.setClass(DDMStructure.class);
265                    actionableDynamicQuery.setClassLoader(getClassLoader());
266    
267                    actionableDynamicQuery.setPrimaryKeyPropertyName("structureId");
268    
269                    return actionableDynamicQuery;
270            }
271    
272            protected void initActionableDynamicQuery(
273                    ActionableDynamicQuery actionableDynamicQuery) {
274                    actionableDynamicQuery.setBaseLocalService(com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalServiceUtil.getService());
275                    actionableDynamicQuery.setClass(DDMStructure.class);
276                    actionableDynamicQuery.setClassLoader(getClassLoader());
277    
278                    actionableDynamicQuery.setPrimaryKeyPropertyName("structureId");
279            }
280    
281            @Override
282            public ExportActionableDynamicQuery getExportActionableDynamicQuery(
283                    final PortletDataContext portletDataContext) {
284                    final ExportActionableDynamicQuery exportActionableDynamicQuery = new ExportActionableDynamicQuery() {
285                                    @Override
286                                    public long performCount() throws PortalException {
287                                            ManifestSummary manifestSummary = portletDataContext.getManifestSummary();
288    
289                                            StagedModelType stagedModelType = getStagedModelType();
290    
291                                            long modelAdditionCount = super.performCount();
292    
293                                            manifestSummary.addModelAdditionCount(stagedModelType.toString(),
294                                                    modelAdditionCount);
295    
296                                            long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(portletDataContext,
297                                                            stagedModelType);
298    
299                                            manifestSummary.addModelDeletionCount(stagedModelType.toString(),
300                                                    modelDeletionCount);
301    
302                                            return modelAdditionCount;
303                                    }
304                            };
305    
306                    initActionableDynamicQuery(exportActionableDynamicQuery);
307    
308                    exportActionableDynamicQuery.setAddCriteriaMethod(new ActionableDynamicQuery.AddCriteriaMethod() {
309                                    @Override
310                                    public void addCriteria(DynamicQuery dynamicQuery) {
311                                            portletDataContext.addDateRangeCriteria(dynamicQuery,
312                                                    "modifiedDate");
313    
314                                            StagedModelType stagedModelType = exportActionableDynamicQuery.getStagedModelType();
315    
316                                            if (stagedModelType.getReferrerClassNameId() >= 0) {
317                                                    Property classNameIdProperty = PropertyFactoryUtil.forName(
318                                                                    "classNameId");
319    
320                                                    dynamicQuery.add(classNameIdProperty.eq(
321                                                                    stagedModelType.getReferrerClassNameId()));
322                                            }
323                                    }
324                            });
325    
326                    exportActionableDynamicQuery.setCompanyId(portletDataContext.getCompanyId());
327    
328                    exportActionableDynamicQuery.setGroupId(portletDataContext.getScopeGroupId());
329    
330                    exportActionableDynamicQuery.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod() {
331                                    @Override
332                                    public void performAction(Object object)
333                                            throws PortalException {
334                                            DDMStructure stagedModel = (DDMStructure)object;
335    
336                                            StagedModelDataHandlerUtil.exportStagedModel(portletDataContext,
337                                                    stagedModel);
338                                    }
339                            });
340                    exportActionableDynamicQuery.setStagedModelType(new StagedModelType(
341                                    PortalUtil.getClassNameId(DDMStructure.class.getName())));
342    
343                    return exportActionableDynamicQuery;
344            }
345    
346            /**
347             * @throws PortalException
348             */
349            @Override
350            public PersistedModel deletePersistedModel(PersistedModel persistedModel)
351                    throws PortalException {
352                    return ddmStructureLocalService.deleteDDMStructure((DDMStructure)persistedModel);
353            }
354    
355            @Override
356            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
357                    throws PortalException {
358                    return ddmStructurePersistence.findByPrimaryKey(primaryKeyObj);
359            }
360    
361            @Override
362            public List<DDMStructure> getDDMStructuresByUuidAndCompanyId(String uuid,
363                    long companyId) {
364                    return ddmStructurePersistence.findByUuid_C(uuid, companyId);
365            }
366    
367            @Override
368            public List<DDMStructure> getDDMStructuresByUuidAndCompanyId(String uuid,
369                    long companyId, int start, int end,
370                    OrderByComparator<DDMStructure> orderByComparator) {
371                    return ddmStructurePersistence.findByUuid_C(uuid, companyId, start,
372                            end, orderByComparator);
373            }
374    
375            /**
376             * Returns the d d m structure matching the UUID and group.
377             *
378             * @param uuid the d d m structure's UUID
379             * @param groupId the primary key of the group
380             * @return the matching d d m structure
381             * @throws PortalException if a matching d d m structure could not be found
382             */
383            @Override
384            public DDMStructure getDDMStructureByUuidAndGroupId(String uuid,
385                    long groupId) throws PortalException {
386                    return ddmStructurePersistence.findByUUID_G(uuid, groupId);
387            }
388    
389            /**
390             * Returns a range of all the d d m structures.
391             *
392             * <p>
393             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
394             * </p>
395             *
396             * @param start the lower bound of the range of d d m structures
397             * @param end the upper bound of the range of d d m structures (not inclusive)
398             * @return the range of d d m structures
399             */
400            @Override
401            public List<DDMStructure> getDDMStructures(int start, int end) {
402                    return ddmStructurePersistence.findAll(start, end);
403            }
404    
405            /**
406             * Returns the number of d d m structures.
407             *
408             * @return the number of d d m structures
409             */
410            @Override
411            public int getDDMStructuresCount() {
412                    return ddmStructurePersistence.countAll();
413            }
414    
415            /**
416             * Updates the d d m structure in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
417             *
418             * @param ddmStructure the d d m structure
419             * @return the d d m structure that was updated
420             */
421            @Indexable(type = IndexableType.REINDEX)
422            @Override
423            public DDMStructure updateDDMStructure(DDMStructure ddmStructure) {
424                    return ddmStructurePersistence.update(ddmStructure);
425            }
426    
427            /**
428             */
429            @Override
430            public void addDLFileEntryTypeDDMStructure(long fileEntryTypeId,
431                    long structureId) {
432                    dlFileEntryTypePersistence.addDDMStructure(fileEntryTypeId, structureId);
433            }
434    
435            /**
436             */
437            @Override
438            public void addDLFileEntryTypeDDMStructure(long fileEntryTypeId,
439                    DDMStructure ddmStructure) {
440                    dlFileEntryTypePersistence.addDDMStructure(fileEntryTypeId, ddmStructure);
441            }
442    
443            /**
444             */
445            @Override
446            public void addDLFileEntryTypeDDMStructures(long fileEntryTypeId,
447                    long[] structureIds) {
448                    dlFileEntryTypePersistence.addDDMStructures(fileEntryTypeId,
449                            structureIds);
450            }
451    
452            /**
453             */
454            @Override
455            public void addDLFileEntryTypeDDMStructures(long fileEntryTypeId,
456                    List<DDMStructure> DDMStructures) {
457                    dlFileEntryTypePersistence.addDDMStructures(fileEntryTypeId,
458                            DDMStructures);
459            }
460    
461            /**
462             */
463            @Override
464            public void clearDLFileEntryTypeDDMStructures(long fileEntryTypeId) {
465                    dlFileEntryTypePersistence.clearDDMStructures(fileEntryTypeId);
466            }
467    
468            /**
469             */
470            @Override
471            public void deleteDLFileEntryTypeDDMStructure(long fileEntryTypeId,
472                    long structureId) {
473                    dlFileEntryTypePersistence.removeDDMStructure(fileEntryTypeId,
474                            structureId);
475            }
476    
477            /**
478             */
479            @Override
480            public void deleteDLFileEntryTypeDDMStructure(long fileEntryTypeId,
481                    DDMStructure ddmStructure) {
482                    dlFileEntryTypePersistence.removeDDMStructure(fileEntryTypeId,
483                            ddmStructure);
484            }
485    
486            /**
487             */
488            @Override
489            public void deleteDLFileEntryTypeDDMStructures(long fileEntryTypeId,
490                    long[] structureIds) {
491                    dlFileEntryTypePersistence.removeDDMStructures(fileEntryTypeId,
492                            structureIds);
493            }
494    
495            /**
496             */
497            @Override
498            public void deleteDLFileEntryTypeDDMStructures(long fileEntryTypeId,
499                    List<DDMStructure> DDMStructures) {
500                    dlFileEntryTypePersistence.removeDDMStructures(fileEntryTypeId,
501                            DDMStructures);
502            }
503    
504            /**
505             * Returns the fileEntryTypeIds of the document library file entry types associated with the d d m structure.
506             *
507             * @param structureId the structureId of the d d m structure
508             * @return long[] the fileEntryTypeIds of document library file entry types associated with the d d m structure
509             */
510            @Override
511            public long[] getDLFileEntryTypePrimaryKeys(long structureId) {
512                    return ddmStructurePersistence.getDLFileEntryTypePrimaryKeys(structureId);
513            }
514    
515            /**
516             */
517            @Override
518            public List<DDMStructure> getDLFileEntryTypeDDMStructures(
519                    long fileEntryTypeId) {
520                    return dlFileEntryTypePersistence.getDDMStructures(fileEntryTypeId);
521            }
522    
523            /**
524             */
525            @Override
526            public List<DDMStructure> getDLFileEntryTypeDDMStructures(
527                    long fileEntryTypeId, int start, int end) {
528                    return dlFileEntryTypePersistence.getDDMStructures(fileEntryTypeId,
529                            start, end);
530            }
531    
532            /**
533             */
534            @Override
535            public List<DDMStructure> getDLFileEntryTypeDDMStructures(
536                    long fileEntryTypeId, int start, int end,
537                    OrderByComparator<DDMStructure> orderByComparator) {
538                    return dlFileEntryTypePersistence.getDDMStructures(fileEntryTypeId,
539                            start, end, orderByComparator);
540            }
541    
542            /**
543             */
544            @Override
545            public int getDLFileEntryTypeDDMStructuresCount(long fileEntryTypeId) {
546                    return dlFileEntryTypePersistence.getDDMStructuresSize(fileEntryTypeId);
547            }
548    
549            /**
550             */
551            @Override
552            public boolean hasDLFileEntryTypeDDMStructure(long fileEntryTypeId,
553                    long structureId) {
554                    return dlFileEntryTypePersistence.containsDDMStructure(fileEntryTypeId,
555                            structureId);
556            }
557    
558            /**
559             */
560            @Override
561            public boolean hasDLFileEntryTypeDDMStructures(long fileEntryTypeId) {
562                    return dlFileEntryTypePersistence.containsDDMStructures(fileEntryTypeId);
563            }
564    
565            /**
566             */
567            @Override
568            public void setDLFileEntryTypeDDMStructures(long fileEntryTypeId,
569                    long[] structureIds) {
570                    dlFileEntryTypePersistence.setDDMStructures(fileEntryTypeId,
571                            structureIds);
572            }
573    
574            /**
575             */
576            @Override
577            public void addJournalFolderDDMStructure(long folderId, long structureId) {
578                    journalFolderPersistence.addDDMStructure(folderId, structureId);
579            }
580    
581            /**
582             */
583            @Override
584            public void addJournalFolderDDMStructure(long folderId,
585                    DDMStructure ddmStructure) {
586                    journalFolderPersistence.addDDMStructure(folderId, ddmStructure);
587            }
588    
589            /**
590             */
591            @Override
592            public void addJournalFolderDDMStructures(long folderId, long[] structureIds) {
593                    journalFolderPersistence.addDDMStructures(folderId, structureIds);
594            }
595    
596            /**
597             */
598            @Override
599            public void addJournalFolderDDMStructures(long folderId,
600                    List<DDMStructure> DDMStructures) {
601                    journalFolderPersistence.addDDMStructures(folderId, DDMStructures);
602            }
603    
604            /**
605             */
606            @Override
607            public void clearJournalFolderDDMStructures(long folderId) {
608                    journalFolderPersistence.clearDDMStructures(folderId);
609            }
610    
611            /**
612             */
613            @Override
614            public void deleteJournalFolderDDMStructure(long folderId, long structureId) {
615                    journalFolderPersistence.removeDDMStructure(folderId, structureId);
616            }
617    
618            /**
619             */
620            @Override
621            public void deleteJournalFolderDDMStructure(long folderId,
622                    DDMStructure ddmStructure) {
623                    journalFolderPersistence.removeDDMStructure(folderId, ddmStructure);
624            }
625    
626            /**
627             */
628            @Override
629            public void deleteJournalFolderDDMStructures(long folderId,
630                    long[] structureIds) {
631                    journalFolderPersistence.removeDDMStructures(folderId, structureIds);
632            }
633    
634            /**
635             */
636            @Override
637            public void deleteJournalFolderDDMStructures(long folderId,
638                    List<DDMStructure> DDMStructures) {
639                    journalFolderPersistence.removeDDMStructures(folderId, DDMStructures);
640            }
641    
642            /**
643             * Returns the folderIds of the journal folders associated with the d d m structure.
644             *
645             * @param structureId the structureId of the d d m structure
646             * @return long[] the folderIds of journal folders associated with the d d m structure
647             */
648            @Override
649            public long[] getJournalFolderPrimaryKeys(long structureId) {
650                    return ddmStructurePersistence.getJournalFolderPrimaryKeys(structureId);
651            }
652    
653            /**
654             */
655            @Override
656            public List<DDMStructure> getJournalFolderDDMStructures(long folderId) {
657                    return journalFolderPersistence.getDDMStructures(folderId);
658            }
659    
660            /**
661             */
662            @Override
663            public List<DDMStructure> getJournalFolderDDMStructures(long folderId,
664                    int start, int end) {
665                    return journalFolderPersistence.getDDMStructures(folderId, start, end);
666            }
667    
668            /**
669             */
670            @Override
671            public List<DDMStructure> getJournalFolderDDMStructures(long folderId,
672                    int start, int end, OrderByComparator<DDMStructure> orderByComparator) {
673                    return journalFolderPersistence.getDDMStructures(folderId, start, end,
674                            orderByComparator);
675            }
676    
677            /**
678             */
679            @Override
680            public int getJournalFolderDDMStructuresCount(long folderId) {
681                    return journalFolderPersistence.getDDMStructuresSize(folderId);
682            }
683    
684            /**
685             */
686            @Override
687            public boolean hasJournalFolderDDMStructure(long folderId, long structureId) {
688                    return journalFolderPersistence.containsDDMStructure(folderId,
689                            structureId);
690            }
691    
692            /**
693             */
694            @Override
695            public boolean hasJournalFolderDDMStructures(long folderId) {
696                    return journalFolderPersistence.containsDDMStructures(folderId);
697            }
698    
699            /**
700             */
701            @Override
702            public void setJournalFolderDDMStructures(long folderId, long[] structureIds) {
703                    journalFolderPersistence.setDDMStructures(folderId, structureIds);
704            }
705    
706            /**
707             * Returns the d d m structure local service.
708             *
709             * @return the d d m structure local service
710             */
711            public com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService getDDMStructureLocalService() {
712                    return ddmStructureLocalService;
713            }
714    
715            /**
716             * Sets the d d m structure local service.
717             *
718             * @param ddmStructureLocalService the d d m structure local service
719             */
720            public void setDDMStructureLocalService(
721                    com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService ddmStructureLocalService) {
722                    this.ddmStructureLocalService = ddmStructureLocalService;
723            }
724    
725            /**
726             * Returns the d d m structure remote service.
727             *
728             * @return the d d m structure remote service
729             */
730            public com.liferay.portlet.dynamicdatamapping.service.DDMStructureService getDDMStructureService() {
731                    return ddmStructureService;
732            }
733    
734            /**
735             * Sets the d d m structure remote service.
736             *
737             * @param ddmStructureService the d d m structure remote service
738             */
739            public void setDDMStructureService(
740                    com.liferay.portlet.dynamicdatamapping.service.DDMStructureService ddmStructureService) {
741                    this.ddmStructureService = ddmStructureService;
742            }
743    
744            /**
745             * Returns the d d m structure persistence.
746             *
747             * @return the d d m structure persistence
748             */
749            public DDMStructurePersistence getDDMStructurePersistence() {
750                    return ddmStructurePersistence;
751            }
752    
753            /**
754             * Sets the d d m structure persistence.
755             *
756             * @param ddmStructurePersistence the d d m structure persistence
757             */
758            public void setDDMStructurePersistence(
759                    DDMStructurePersistence ddmStructurePersistence) {
760                    this.ddmStructurePersistence = ddmStructurePersistence;
761            }
762    
763            /**
764             * Returns the d d m structure finder.
765             *
766             * @return the d d m structure finder
767             */
768            public DDMStructureFinder getDDMStructureFinder() {
769                    return ddmStructureFinder;
770            }
771    
772            /**
773             * Sets the d d m structure finder.
774             *
775             * @param ddmStructureFinder the d d m structure finder
776             */
777            public void setDDMStructureFinder(DDMStructureFinder ddmStructureFinder) {
778                    this.ddmStructureFinder = ddmStructureFinder;
779            }
780    
781            /**
782             * Returns the counter local service.
783             *
784             * @return the counter local service
785             */
786            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
787                    return counterLocalService;
788            }
789    
790            /**
791             * Sets the counter local service.
792             *
793             * @param counterLocalService the counter local service
794             */
795            public void setCounterLocalService(
796                    com.liferay.counter.service.CounterLocalService counterLocalService) {
797                    this.counterLocalService = counterLocalService;
798            }
799    
800            /**
801             * Returns the class name local service.
802             *
803             * @return the class name local service
804             */
805            public com.liferay.portal.service.ClassNameLocalService getClassNameLocalService() {
806                    return classNameLocalService;
807            }
808    
809            /**
810             * Sets the class name local service.
811             *
812             * @param classNameLocalService the class name local service
813             */
814            public void setClassNameLocalService(
815                    com.liferay.portal.service.ClassNameLocalService classNameLocalService) {
816                    this.classNameLocalService = classNameLocalService;
817            }
818    
819            /**
820             * Returns the class name remote service.
821             *
822             * @return the class name remote service
823             */
824            public com.liferay.portal.service.ClassNameService getClassNameService() {
825                    return classNameService;
826            }
827    
828            /**
829             * Sets the class name remote service.
830             *
831             * @param classNameService the class name remote service
832             */
833            public void setClassNameService(
834                    com.liferay.portal.service.ClassNameService classNameService) {
835                    this.classNameService = classNameService;
836            }
837    
838            /**
839             * Returns the class name persistence.
840             *
841             * @return the class name persistence
842             */
843            public ClassNamePersistence getClassNamePersistence() {
844                    return classNamePersistence;
845            }
846    
847            /**
848             * Sets the class name persistence.
849             *
850             * @param classNamePersistence the class name persistence
851             */
852            public void setClassNamePersistence(
853                    ClassNamePersistence classNamePersistence) {
854                    this.classNamePersistence = classNamePersistence;
855            }
856    
857            /**
858             * Returns the group local service.
859             *
860             * @return the group local service
861             */
862            public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
863                    return groupLocalService;
864            }
865    
866            /**
867             * Sets the group local service.
868             *
869             * @param groupLocalService the group local service
870             */
871            public void setGroupLocalService(
872                    com.liferay.portal.service.GroupLocalService groupLocalService) {
873                    this.groupLocalService = groupLocalService;
874            }
875    
876            /**
877             * Returns the group remote service.
878             *
879             * @return the group remote service
880             */
881            public com.liferay.portal.service.GroupService getGroupService() {
882                    return groupService;
883            }
884    
885            /**
886             * Sets the group remote service.
887             *
888             * @param groupService the group remote service
889             */
890            public void setGroupService(
891                    com.liferay.portal.service.GroupService groupService) {
892                    this.groupService = groupService;
893            }
894    
895            /**
896             * Returns the group persistence.
897             *
898             * @return the group persistence
899             */
900            public GroupPersistence getGroupPersistence() {
901                    return groupPersistence;
902            }
903    
904            /**
905             * Sets the group persistence.
906             *
907             * @param groupPersistence the group persistence
908             */
909            public void setGroupPersistence(GroupPersistence groupPersistence) {
910                    this.groupPersistence = groupPersistence;
911            }
912    
913            /**
914             * Returns the group finder.
915             *
916             * @return the group finder
917             */
918            public GroupFinder getGroupFinder() {
919                    return groupFinder;
920            }
921    
922            /**
923             * Sets the group finder.
924             *
925             * @param groupFinder the group finder
926             */
927            public void setGroupFinder(GroupFinder groupFinder) {
928                    this.groupFinder = groupFinder;
929            }
930    
931            /**
932             * Returns the resource local service.
933             *
934             * @return the resource local service
935             */
936            public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
937                    return resourceLocalService;
938            }
939    
940            /**
941             * Sets the resource local service.
942             *
943             * @param resourceLocalService the resource local service
944             */
945            public void setResourceLocalService(
946                    com.liferay.portal.service.ResourceLocalService resourceLocalService) {
947                    this.resourceLocalService = resourceLocalService;
948            }
949    
950            /**
951             * Returns the system event local service.
952             *
953             * @return the system event local service
954             */
955            public com.liferay.portal.service.SystemEventLocalService getSystemEventLocalService() {
956                    return systemEventLocalService;
957            }
958    
959            /**
960             * Sets the system event local service.
961             *
962             * @param systemEventLocalService the system event local service
963             */
964            public void setSystemEventLocalService(
965                    com.liferay.portal.service.SystemEventLocalService systemEventLocalService) {
966                    this.systemEventLocalService = systemEventLocalService;
967            }
968    
969            /**
970             * Returns the system event persistence.
971             *
972             * @return the system event persistence
973             */
974            public SystemEventPersistence getSystemEventPersistence() {
975                    return systemEventPersistence;
976            }
977    
978            /**
979             * Sets the system event persistence.
980             *
981             * @param systemEventPersistence the system event persistence
982             */
983            public void setSystemEventPersistence(
984                    SystemEventPersistence systemEventPersistence) {
985                    this.systemEventPersistence = systemEventPersistence;
986            }
987    
988            /**
989             * Returns the user local service.
990             *
991             * @return the user local service
992             */
993            public com.liferay.portal.service.UserLocalService getUserLocalService() {
994                    return userLocalService;
995            }
996    
997            /**
998             * Sets the user local service.
999             *
1000             * @param userLocalService the user local service
1001             */
1002            public void setUserLocalService(
1003                    com.liferay.portal.service.UserLocalService userLocalService) {
1004                    this.userLocalService = userLocalService;
1005            }
1006    
1007            /**
1008             * Returns the user remote service.
1009             *
1010             * @return the user remote service
1011             */
1012            public com.liferay.portal.service.UserService getUserService() {
1013                    return userService;
1014            }
1015    
1016            /**
1017             * Sets the user remote service.
1018             *
1019             * @param userService the user remote service
1020             */
1021            public void setUserService(
1022                    com.liferay.portal.service.UserService userService) {
1023                    this.userService = userService;
1024            }
1025    
1026            /**
1027             * Returns the user persistence.
1028             *
1029             * @return the user persistence
1030             */
1031            public UserPersistence getUserPersistence() {
1032                    return userPersistence;
1033            }
1034    
1035            /**
1036             * Sets the user persistence.
1037             *
1038             * @param userPersistence the user persistence
1039             */
1040            public void setUserPersistence(UserPersistence userPersistence) {
1041                    this.userPersistence = userPersistence;
1042            }
1043    
1044            /**
1045             * Returns the user finder.
1046             *
1047             * @return the user finder
1048             */
1049            public UserFinder getUserFinder() {
1050                    return userFinder;
1051            }
1052    
1053            /**
1054             * Sets the user finder.
1055             *
1056             * @param userFinder the user finder
1057             */
1058            public void setUserFinder(UserFinder userFinder) {
1059                    this.userFinder = userFinder;
1060            }
1061    
1062            /**
1063             * Returns the document library file entry type local service.
1064             *
1065             * @return the document library file entry type local service
1066             */
1067            public com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService getDLFileEntryTypeLocalService() {
1068                    return dlFileEntryTypeLocalService;
1069            }
1070    
1071            /**
1072             * Sets the document library file entry type local service.
1073             *
1074             * @param dlFileEntryTypeLocalService the document library file entry type local service
1075             */
1076            public void setDLFileEntryTypeLocalService(
1077                    com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
1078                    this.dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
1079            }
1080    
1081            /**
1082             * Returns the document library file entry type remote service.
1083             *
1084             * @return the document library file entry type remote service
1085             */
1086            public com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService getDLFileEntryTypeService() {
1087                    return dlFileEntryTypeService;
1088            }
1089    
1090            /**
1091             * Sets the document library file entry type remote service.
1092             *
1093             * @param dlFileEntryTypeService the document library file entry type remote service
1094             */
1095            public void setDLFileEntryTypeService(
1096                    com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService dlFileEntryTypeService) {
1097                    this.dlFileEntryTypeService = dlFileEntryTypeService;
1098            }
1099    
1100            /**
1101             * Returns the document library file entry type persistence.
1102             *
1103             * @return the document library file entry type persistence
1104             */
1105            public DLFileEntryTypePersistence getDLFileEntryTypePersistence() {
1106                    return dlFileEntryTypePersistence;
1107            }
1108    
1109            /**
1110             * Sets the document library file entry type persistence.
1111             *
1112             * @param dlFileEntryTypePersistence the document library file entry type persistence
1113             */
1114            public void setDLFileEntryTypePersistence(
1115                    DLFileEntryTypePersistence dlFileEntryTypePersistence) {
1116                    this.dlFileEntryTypePersistence = dlFileEntryTypePersistence;
1117            }
1118    
1119            /**
1120             * Returns the document library file entry type finder.
1121             *
1122             * @return the document library file entry type finder
1123             */
1124            public DLFileEntryTypeFinder getDLFileEntryTypeFinder() {
1125                    return dlFileEntryTypeFinder;
1126            }
1127    
1128            /**
1129             * Sets the document library file entry type finder.
1130             *
1131             * @param dlFileEntryTypeFinder the document library file entry type finder
1132             */
1133            public void setDLFileEntryTypeFinder(
1134                    DLFileEntryTypeFinder dlFileEntryTypeFinder) {
1135                    this.dlFileEntryTypeFinder = dlFileEntryTypeFinder;
1136            }
1137    
1138            /**
1139             * Returns the journal folder local service.
1140             *
1141             * @return the journal folder local service
1142             */
1143            public com.liferay.portlet.journal.service.JournalFolderLocalService getJournalFolderLocalService() {
1144                    return journalFolderLocalService;
1145            }
1146    
1147            /**
1148             * Sets the journal folder local service.
1149             *
1150             * @param journalFolderLocalService the journal folder local service
1151             */
1152            public void setJournalFolderLocalService(
1153                    com.liferay.portlet.journal.service.JournalFolderLocalService journalFolderLocalService) {
1154                    this.journalFolderLocalService = journalFolderLocalService;
1155            }
1156    
1157            /**
1158             * Returns the journal folder remote service.
1159             *
1160             * @return the journal folder remote service
1161             */
1162            public com.liferay.portlet.journal.service.JournalFolderService getJournalFolderService() {
1163                    return journalFolderService;
1164            }
1165    
1166            /**
1167             * Sets the journal folder remote service.
1168             *
1169             * @param journalFolderService the journal folder remote service
1170             */
1171            public void setJournalFolderService(
1172                    com.liferay.portlet.journal.service.JournalFolderService journalFolderService) {
1173                    this.journalFolderService = journalFolderService;
1174            }
1175    
1176            /**
1177             * Returns the journal folder persistence.
1178             *
1179             * @return the journal folder persistence
1180             */
1181            public JournalFolderPersistence getJournalFolderPersistence() {
1182                    return journalFolderPersistence;
1183            }
1184    
1185            /**
1186             * Sets the journal folder persistence.
1187             *
1188             * @param journalFolderPersistence the journal folder persistence
1189             */
1190            public void setJournalFolderPersistence(
1191                    JournalFolderPersistence journalFolderPersistence) {
1192                    this.journalFolderPersistence = journalFolderPersistence;
1193            }
1194    
1195            /**
1196             * Returns the journal folder finder.
1197             *
1198             * @return the journal folder finder
1199             */
1200            public JournalFolderFinder getJournalFolderFinder() {
1201                    return journalFolderFinder;
1202            }
1203    
1204            /**
1205             * Sets the journal folder finder.
1206             *
1207             * @param journalFolderFinder the journal folder finder
1208             */
1209            public void setJournalFolderFinder(JournalFolderFinder journalFolderFinder) {
1210                    this.journalFolderFinder = journalFolderFinder;
1211            }
1212    
1213            /**
1214             * Returns the d d m structure link local service.
1215             *
1216             * @return the d d m structure link local service
1217             */
1218            public com.liferay.portlet.dynamicdatamapping.service.DDMStructureLinkLocalService getDDMStructureLinkLocalService() {
1219                    return ddmStructureLinkLocalService;
1220            }
1221    
1222            /**
1223             * Sets the d d m structure link local service.
1224             *
1225             * @param ddmStructureLinkLocalService the d d m structure link local service
1226             */
1227            public void setDDMStructureLinkLocalService(
1228                    com.liferay.portlet.dynamicdatamapping.service.DDMStructureLinkLocalService ddmStructureLinkLocalService) {
1229                    this.ddmStructureLinkLocalService = ddmStructureLinkLocalService;
1230            }
1231    
1232            /**
1233             * Returns the d d m structure link persistence.
1234             *
1235             * @return the d d m structure link persistence
1236             */
1237            public DDMStructureLinkPersistence getDDMStructureLinkPersistence() {
1238                    return ddmStructureLinkPersistence;
1239            }
1240    
1241            /**
1242             * Sets the d d m structure link persistence.
1243             *
1244             * @param ddmStructureLinkPersistence the d d m structure link persistence
1245             */
1246            public void setDDMStructureLinkPersistence(
1247                    DDMStructureLinkPersistence ddmStructureLinkPersistence) {
1248                    this.ddmStructureLinkPersistence = ddmStructureLinkPersistence;
1249            }
1250    
1251            /**
1252             * Returns the d d m template local service.
1253             *
1254             * @return the d d m template local service
1255             */
1256            public com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService getDDMTemplateLocalService() {
1257                    return ddmTemplateLocalService;
1258            }
1259    
1260            /**
1261             * Sets the d d m template local service.
1262             *
1263             * @param ddmTemplateLocalService the d d m template local service
1264             */
1265            public void setDDMTemplateLocalService(
1266                    com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService ddmTemplateLocalService) {
1267                    this.ddmTemplateLocalService = ddmTemplateLocalService;
1268            }
1269    
1270            /**
1271             * Returns the d d m template remote service.
1272             *
1273             * @return the d d m template remote service
1274             */
1275            public com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService getDDMTemplateService() {
1276                    return ddmTemplateService;
1277            }
1278    
1279            /**
1280             * Sets the d d m template remote service.
1281             *
1282             * @param ddmTemplateService the d d m template remote service
1283             */
1284            public void setDDMTemplateService(
1285                    com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService ddmTemplateService) {
1286                    this.ddmTemplateService = ddmTemplateService;
1287            }
1288    
1289            /**
1290             * Returns the d d m template persistence.
1291             *
1292             * @return the d d m template persistence
1293             */
1294            public DDMTemplatePersistence getDDMTemplatePersistence() {
1295                    return ddmTemplatePersistence;
1296            }
1297    
1298            /**
1299             * Sets the d d m template persistence.
1300             *
1301             * @param ddmTemplatePersistence the d d m template persistence
1302             */
1303            public void setDDMTemplatePersistence(
1304                    DDMTemplatePersistence ddmTemplatePersistence) {
1305                    this.ddmTemplatePersistence = ddmTemplatePersistence;
1306            }
1307    
1308            /**
1309             * Returns the d d m template finder.
1310             *
1311             * @return the d d m template finder
1312             */
1313            public DDMTemplateFinder getDDMTemplateFinder() {
1314                    return ddmTemplateFinder;
1315            }
1316    
1317            /**
1318             * Sets the d d m template finder.
1319             *
1320             * @param ddmTemplateFinder the d d m template finder
1321             */
1322            public void setDDMTemplateFinder(DDMTemplateFinder ddmTemplateFinder) {
1323                    this.ddmTemplateFinder = ddmTemplateFinder;
1324            }
1325    
1326            public void afterPropertiesSet() {
1327                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.dynamicdatamapping.model.DDMStructure",
1328                            ddmStructureLocalService);
1329            }
1330    
1331            public void destroy() {
1332                    persistedModelLocalServiceRegistry.unregister(
1333                            "com.liferay.portlet.dynamicdatamapping.model.DDMStructure");
1334            }
1335    
1336            /**
1337             * Returns the Spring bean ID for this bean.
1338             *
1339             * @return the Spring bean ID for this bean
1340             */
1341            @Override
1342            public String getBeanIdentifier() {
1343                    return _beanIdentifier;
1344            }
1345    
1346            /**
1347             * Sets the Spring bean ID for this bean.
1348             *
1349             * @param beanIdentifier the Spring bean ID for this bean
1350             */
1351            @Override
1352            public void setBeanIdentifier(String beanIdentifier) {
1353                    _beanIdentifier = beanIdentifier;
1354            }
1355    
1356            protected Class<?> getModelClass() {
1357                    return DDMStructure.class;
1358            }
1359    
1360            protected String getModelClassName() {
1361                    return DDMStructure.class.getName();
1362            }
1363    
1364            /**
1365             * Performs a SQL query.
1366             *
1367             * @param sql the sql query
1368             */
1369            protected void runSQL(String sql) {
1370                    try {
1371                            DataSource dataSource = ddmStructurePersistence.getDataSource();
1372    
1373                            DB db = DBFactoryUtil.getDB();
1374    
1375                            sql = db.buildSQL(sql);
1376                            sql = PortalUtil.transformSQL(sql);
1377    
1378                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1379                                            sql, new int[0]);
1380    
1381                            sqlUpdate.update();
1382                    }
1383                    catch (Exception e) {
1384                            throw new SystemException(e);
1385                    }
1386            }
1387    
1388            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService.class)
1389            protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService ddmStructureLocalService;
1390            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMStructureService.class)
1391            protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureService ddmStructureService;
1392            @BeanReference(type = DDMStructurePersistence.class)
1393            protected DDMStructurePersistence ddmStructurePersistence;
1394            @BeanReference(type = DDMStructureFinder.class)
1395            protected DDMStructureFinder ddmStructureFinder;
1396            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
1397            protected com.liferay.counter.service.CounterLocalService counterLocalService;
1398            @BeanReference(type = com.liferay.portal.service.ClassNameLocalService.class)
1399            protected com.liferay.portal.service.ClassNameLocalService classNameLocalService;
1400            @BeanReference(type = com.liferay.portal.service.ClassNameService.class)
1401            protected com.liferay.portal.service.ClassNameService classNameService;
1402            @BeanReference(type = ClassNamePersistence.class)
1403            protected ClassNamePersistence classNamePersistence;
1404            @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
1405            protected com.liferay.portal.service.GroupLocalService groupLocalService;
1406            @BeanReference(type = com.liferay.portal.service.GroupService.class)
1407            protected com.liferay.portal.service.GroupService groupService;
1408            @BeanReference(type = GroupPersistence.class)
1409            protected GroupPersistence groupPersistence;
1410            @BeanReference(type = GroupFinder.class)
1411            protected GroupFinder groupFinder;
1412            @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
1413            protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
1414            @BeanReference(type = com.liferay.portal.service.SystemEventLocalService.class)
1415            protected com.liferay.portal.service.SystemEventLocalService systemEventLocalService;
1416            @BeanReference(type = SystemEventPersistence.class)
1417            protected SystemEventPersistence systemEventPersistence;
1418            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
1419            protected com.liferay.portal.service.UserLocalService userLocalService;
1420            @BeanReference(type = com.liferay.portal.service.UserService.class)
1421            protected com.liferay.portal.service.UserService userService;
1422            @BeanReference(type = UserPersistence.class)
1423            protected UserPersistence userPersistence;
1424            @BeanReference(type = UserFinder.class)
1425            protected UserFinder userFinder;
1426            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService.class)
1427            protected com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService dlFileEntryTypeLocalService;
1428            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService.class)
1429            protected com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService dlFileEntryTypeService;
1430            @BeanReference(type = DLFileEntryTypePersistence.class)
1431            protected DLFileEntryTypePersistence dlFileEntryTypePersistence;
1432            @BeanReference(type = DLFileEntryTypeFinder.class)
1433            protected DLFileEntryTypeFinder dlFileEntryTypeFinder;
1434            @BeanReference(type = com.liferay.portlet.journal.service.JournalFolderLocalService.class)
1435            protected com.liferay.portlet.journal.service.JournalFolderLocalService journalFolderLocalService;
1436            @BeanReference(type = com.liferay.portlet.journal.service.JournalFolderService.class)
1437            protected com.liferay.portlet.journal.service.JournalFolderService journalFolderService;
1438            @BeanReference(type = JournalFolderPersistence.class)
1439            protected JournalFolderPersistence journalFolderPersistence;
1440            @BeanReference(type = JournalFolderFinder.class)
1441            protected JournalFolderFinder journalFolderFinder;
1442            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMStructureLinkLocalService.class)
1443            protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureLinkLocalService ddmStructureLinkLocalService;
1444            @BeanReference(type = DDMStructureLinkPersistence.class)
1445            protected DDMStructureLinkPersistence ddmStructureLinkPersistence;
1446            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService.class)
1447            protected com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService ddmTemplateLocalService;
1448            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService.class)
1449            protected com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService ddmTemplateService;
1450            @BeanReference(type = DDMTemplatePersistence.class)
1451            protected DDMTemplatePersistence ddmTemplatePersistence;
1452            @BeanReference(type = DDMTemplateFinder.class)
1453            protected DDMTemplateFinder ddmTemplateFinder;
1454            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1455            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1456            private String _beanIdentifier;
1457    }