1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portal.service.persistence;
24  
25  import com.liferay.portal.NoSuchWebDAVPropsException;
26  import com.liferay.portal.SystemException;
27  import com.liferay.portal.kernel.annotation.BeanReference;
28  import com.liferay.portal.kernel.dao.orm.DynamicQuery;
29  import com.liferay.portal.kernel.dao.orm.FinderCacheUtil;
30  import com.liferay.portal.kernel.dao.orm.Query;
31  import com.liferay.portal.kernel.dao.orm.QueryPos;
32  import com.liferay.portal.kernel.dao.orm.QueryUtil;
33  import com.liferay.portal.kernel.dao.orm.Session;
34  import com.liferay.portal.kernel.log.Log;
35  import com.liferay.portal.kernel.log.LogFactoryUtil;
36  import com.liferay.portal.kernel.util.GetterUtil;
37  import com.liferay.portal.kernel.util.OrderByComparator;
38  import com.liferay.portal.kernel.util.StringPool;
39  import com.liferay.portal.kernel.util.StringUtil;
40  import com.liferay.portal.model.ModelListener;
41  import com.liferay.portal.model.WebDAVProps;
42  import com.liferay.portal.model.impl.WebDAVPropsImpl;
43  import com.liferay.portal.model.impl.WebDAVPropsModelImpl;
44  import com.liferay.portal.service.persistence.impl.BasePersistenceImpl;
45  
46  import java.util.ArrayList;
47  import java.util.Collections;
48  import java.util.Iterator;
49  import java.util.List;
50  
51  /**
52   * <a href="WebDAVPropsPersistenceImpl.java.html"><b><i>View Source</i></b></a>
53   *
54   * @author Brian Wing Shun Chan
55   *
56   */
57  public class WebDAVPropsPersistenceImpl extends BasePersistenceImpl
58      implements WebDAVPropsPersistence {
59      public WebDAVProps create(long webDavPropsId) {
60          WebDAVProps webDAVProps = new WebDAVPropsImpl();
61  
62          webDAVProps.setNew(true);
63          webDAVProps.setPrimaryKey(webDavPropsId);
64  
65          return webDAVProps;
66      }
67  
68      public WebDAVProps remove(long webDavPropsId)
69          throws NoSuchWebDAVPropsException, SystemException {
70          Session session = null;
71  
72          try {
73              session = openSession();
74  
75              WebDAVProps webDAVProps = (WebDAVProps)session.get(WebDAVPropsImpl.class,
76                      new Long(webDavPropsId));
77  
78              if (webDAVProps == null) {
79                  if (_log.isWarnEnabled()) {
80                      _log.warn("No WebDAVProps exists with the primary key " +
81                          webDavPropsId);
82                  }
83  
84                  throw new NoSuchWebDAVPropsException(
85                      "No WebDAVProps exists with the primary key " +
86                      webDavPropsId);
87              }
88  
89              return remove(webDAVProps);
90          }
91          catch (NoSuchWebDAVPropsException nsee) {
92              throw nsee;
93          }
94          catch (Exception e) {
95              throw processException(e);
96          }
97          finally {
98              closeSession(session);
99          }
100     }
101 
102     public WebDAVProps remove(WebDAVProps webDAVProps)
103         throws SystemException {
104         for (ModelListener listener : listeners) {
105             listener.onBeforeRemove(webDAVProps);
106         }
107 
108         webDAVProps = removeImpl(webDAVProps);
109 
110         for (ModelListener listener : listeners) {
111             listener.onAfterRemove(webDAVProps);
112         }
113 
114         return webDAVProps;
115     }
116 
117     protected WebDAVProps removeImpl(WebDAVProps webDAVProps)
118         throws SystemException {
119         Session session = null;
120 
121         try {
122             session = openSession();
123 
124             if (BatchSessionUtil.isEnabled()) {
125                 Object staleObject = session.get(WebDAVPropsImpl.class,
126                         webDAVProps.getPrimaryKeyObj());
127 
128                 if (staleObject != null) {
129                     session.evict(staleObject);
130                 }
131             }
132 
133             session.delete(webDAVProps);
134 
135             session.flush();
136 
137             return webDAVProps;
138         }
139         catch (Exception e) {
140             throw processException(e);
141         }
142         finally {
143             closeSession(session);
144 
145             FinderCacheUtil.clearCache(WebDAVProps.class.getName());
146         }
147     }
148 
149     /**
150      * @deprecated Use <code>update(WebDAVProps webDAVProps, boolean merge)</code>.
151      */
152     public WebDAVProps update(WebDAVProps webDAVProps)
153         throws SystemException {
154         if (_log.isWarnEnabled()) {
155             _log.warn(
156                 "Using the deprecated update(WebDAVProps webDAVProps) method. Use update(WebDAVProps webDAVProps, boolean merge) instead.");
157         }
158 
159         return update(webDAVProps, false);
160     }
161 
162     /**
163      * Add, update, or merge, the entity. This method also calls the model
164      * listeners to trigger the proper events associated with adding, deleting,
165      * or updating an entity.
166      *
167      * @param        webDAVProps the entity to add, update, or merge
168      * @param        merge boolean value for whether to merge the entity. The
169      *                default value is false. Setting merge to true is more
170      *                expensive and should only be true when webDAVProps is
171      *                transient. See LEP-5473 for a detailed discussion of this
172      *                method.
173      * @return        true if the portlet can be displayed via Ajax
174      */
175     public WebDAVProps update(WebDAVProps webDAVProps, boolean merge)
176         throws SystemException {
177         boolean isNew = webDAVProps.isNew();
178 
179         for (ModelListener listener : listeners) {
180             if (isNew) {
181                 listener.onBeforeCreate(webDAVProps);
182             }
183             else {
184                 listener.onBeforeUpdate(webDAVProps);
185             }
186         }
187 
188         webDAVProps = updateImpl(webDAVProps, merge);
189 
190         for (ModelListener listener : listeners) {
191             if (isNew) {
192                 listener.onAfterCreate(webDAVProps);
193             }
194             else {
195                 listener.onAfterUpdate(webDAVProps);
196             }
197         }
198 
199         return webDAVProps;
200     }
201 
202     public WebDAVProps updateImpl(
203         com.liferay.portal.model.WebDAVProps webDAVProps, boolean merge)
204         throws SystemException {
205         Session session = null;
206 
207         try {
208             session = openSession();
209 
210             BatchSessionUtil.update(session, webDAVProps, merge);
211 
212             webDAVProps.setNew(false);
213 
214             return webDAVProps;
215         }
216         catch (Exception e) {
217             throw processException(e);
218         }
219         finally {
220             closeSession(session);
221 
222             FinderCacheUtil.clearCache(WebDAVProps.class.getName());
223         }
224     }
225 
226     public WebDAVProps findByPrimaryKey(long webDavPropsId)
227         throws NoSuchWebDAVPropsException, SystemException {
228         WebDAVProps webDAVProps = fetchByPrimaryKey(webDavPropsId);
229 
230         if (webDAVProps == null) {
231             if (_log.isWarnEnabled()) {
232                 _log.warn("No WebDAVProps exists with the primary key " +
233                     webDavPropsId);
234             }
235 
236             throw new NoSuchWebDAVPropsException(
237                 "No WebDAVProps exists with the primary key " + webDavPropsId);
238         }
239 
240         return webDAVProps;
241     }
242 
243     public WebDAVProps fetchByPrimaryKey(long webDavPropsId)
244         throws SystemException {
245         Session session = null;
246 
247         try {
248             session = openSession();
249 
250             return (WebDAVProps)session.get(WebDAVPropsImpl.class,
251                 new Long(webDavPropsId));
252         }
253         catch (Exception e) {
254             throw processException(e);
255         }
256         finally {
257             closeSession(session);
258         }
259     }
260 
261     public WebDAVProps findByC_C(long classNameId, long classPK)
262         throws NoSuchWebDAVPropsException, SystemException {
263         WebDAVProps webDAVProps = fetchByC_C(classNameId, classPK);
264 
265         if (webDAVProps == null) {
266             StringBuilder msg = new StringBuilder();
267 
268             msg.append("No WebDAVProps exists with the key {");
269 
270             msg.append("classNameId=" + classNameId);
271 
272             msg.append(", ");
273             msg.append("classPK=" + classPK);
274 
275             msg.append(StringPool.CLOSE_CURLY_BRACE);
276 
277             if (_log.isWarnEnabled()) {
278                 _log.warn(msg.toString());
279             }
280 
281             throw new NoSuchWebDAVPropsException(msg.toString());
282         }
283 
284         return webDAVProps;
285     }
286 
287     public WebDAVProps fetchByC_C(long classNameId, long classPK)
288         throws SystemException {
289         boolean finderClassNameCacheEnabled = WebDAVPropsModelImpl.CACHE_ENABLED;
290         String finderClassName = WebDAVProps.class.getName();
291         String finderMethodName = "fetchByC_C";
292         String[] finderParams = new String[] {
293                 Long.class.getName(), Long.class.getName()
294             };
295         Object[] finderArgs = new Object[] {
296                 new Long(classNameId), new Long(classPK)
297             };
298 
299         Object result = null;
300 
301         if (finderClassNameCacheEnabled) {
302             result = FinderCacheUtil.getResult(finderClassName,
303                     finderMethodName, finderParams, finderArgs, this);
304         }
305 
306         if (result == null) {
307             Session session = null;
308 
309             try {
310                 session = openSession();
311 
312                 StringBuilder query = new StringBuilder();
313 
314                 query.append("FROM com.liferay.portal.model.WebDAVProps WHERE ");
315 
316                 query.append("classNameId = ?");
317 
318                 query.append(" AND ");
319 
320                 query.append("classPK = ?");
321 
322                 query.append(" ");
323 
324                 Query q = session.createQuery(query.toString());
325 
326                 QueryPos qPos = QueryPos.getInstance(q);
327 
328                 qPos.add(classNameId);
329 
330                 qPos.add(classPK);
331 
332                 List<WebDAVProps> list = q.list();
333 
334                 FinderCacheUtil.putResult(finderClassNameCacheEnabled,
335                     finderClassName, finderMethodName, finderParams,
336                     finderArgs, list);
337 
338                 if (list.size() == 0) {
339                     return null;
340                 }
341                 else {
342                     return list.get(0);
343                 }
344             }
345             catch (Exception e) {
346                 throw processException(e);
347             }
348             finally {
349                 closeSession(session);
350             }
351         }
352         else {
353             List<WebDAVProps> list = (List<WebDAVProps>)result;
354 
355             if (list.size() == 0) {
356                 return null;
357             }
358             else {
359                 return list.get(0);
360             }
361         }
362     }
363 
364     public List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery)
365         throws SystemException {
366         Session session = null;
367 
368         try {
369             session = openSession();
370 
371             dynamicQuery.compile(session);
372 
373             return dynamicQuery.list();
374         }
375         catch (Exception e) {
376             throw processException(e);
377         }
378         finally {
379             closeSession(session);
380         }
381     }
382 
383     public List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery,
384         int start, int end) throws SystemException {
385         Session session = null;
386 
387         try {
388             session = openSession();
389 
390             dynamicQuery.setLimit(start, end);
391 
392             dynamicQuery.compile(session);
393 
394             return dynamicQuery.list();
395         }
396         catch (Exception e) {
397             throw processException(e);
398         }
399         finally {
400             closeSession(session);
401         }
402     }
403 
404     public List<WebDAVProps> findAll() throws SystemException {
405         return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
406     }
407 
408     public List<WebDAVProps> findAll(int start, int end)
409         throws SystemException {
410         return findAll(start, end, null);
411     }
412 
413     public List<WebDAVProps> findAll(int start, int end, OrderByComparator obc)
414         throws SystemException {
415         boolean finderClassNameCacheEnabled = WebDAVPropsModelImpl.CACHE_ENABLED;
416         String finderClassName = WebDAVProps.class.getName();
417         String finderMethodName = "findAll";
418         String[] finderParams = new String[] {
419                 "java.lang.Integer", "java.lang.Integer",
420                 "com.liferay.portal.kernel.util.OrderByComparator"
421             };
422         Object[] finderArgs = new Object[] {
423                 String.valueOf(start), String.valueOf(end), String.valueOf(obc)
424             };
425 
426         Object result = null;
427 
428         if (finderClassNameCacheEnabled) {
429             result = FinderCacheUtil.getResult(finderClassName,
430                     finderMethodName, finderParams, finderArgs, this);
431         }
432 
433         if (result == null) {
434             Session session = null;
435 
436             try {
437                 session = openSession();
438 
439                 StringBuilder query = new StringBuilder();
440 
441                 query.append("FROM com.liferay.portal.model.WebDAVProps ");
442 
443                 if (obc != null) {
444                     query.append("ORDER BY ");
445                     query.append(obc.getOrderBy());
446                 }
447 
448                 Query q = session.createQuery(query.toString());
449 
450                 List<WebDAVProps> list = null;
451 
452                 if (obc == null) {
453                     list = (List<WebDAVProps>)QueryUtil.list(q, getDialect(),
454                             start, end, false);
455 
456                     Collections.sort(list);
457                 }
458                 else {
459                     list = (List<WebDAVProps>)QueryUtil.list(q, getDialect(),
460                             start, end);
461                 }
462 
463                 FinderCacheUtil.putResult(finderClassNameCacheEnabled,
464                     finderClassName, finderMethodName, finderParams,
465                     finderArgs, list);
466 
467                 return list;
468             }
469             catch (Exception e) {
470                 throw processException(e);
471             }
472             finally {
473                 closeSession(session);
474             }
475         }
476         else {
477             return (List<WebDAVProps>)result;
478         }
479     }
480 
481     public void removeByC_C(long classNameId, long classPK)
482         throws NoSuchWebDAVPropsException, SystemException {
483         WebDAVProps webDAVProps = findByC_C(classNameId, classPK);
484 
485         remove(webDAVProps);
486     }
487 
488     public void removeAll() throws SystemException {
489         for (WebDAVProps webDAVProps : findAll()) {
490             remove(webDAVProps);
491         }
492     }
493 
494     public int countByC_C(long classNameId, long classPK)
495         throws SystemException {
496         boolean finderClassNameCacheEnabled = WebDAVPropsModelImpl.CACHE_ENABLED;
497         String finderClassName = WebDAVProps.class.getName();
498         String finderMethodName = "countByC_C";
499         String[] finderParams = new String[] {
500                 Long.class.getName(), Long.class.getName()
501             };
502         Object[] finderArgs = new Object[] {
503                 new Long(classNameId), new Long(classPK)
504             };
505 
506         Object result = null;
507 
508         if (finderClassNameCacheEnabled) {
509             result = FinderCacheUtil.getResult(finderClassName,
510                     finderMethodName, finderParams, finderArgs, this);
511         }
512 
513         if (result == null) {
514             Session session = null;
515 
516             try {
517                 session = openSession();
518 
519                 StringBuilder query = new StringBuilder();
520 
521                 query.append("SELECT COUNT(*) ");
522                 query.append("FROM com.liferay.portal.model.WebDAVProps WHERE ");
523 
524                 query.append("classNameId = ?");
525 
526                 query.append(" AND ");
527 
528                 query.append("classPK = ?");
529 
530                 query.append(" ");
531 
532                 Query q = session.createQuery(query.toString());
533 
534                 QueryPos qPos = QueryPos.getInstance(q);
535 
536                 qPos.add(classNameId);
537 
538                 qPos.add(classPK);
539 
540                 Long count = null;
541 
542                 Iterator<Long> itr = q.list().iterator();
543 
544                 if (itr.hasNext()) {
545                     count = itr.next();
546                 }
547 
548                 if (count == null) {
549                     count = new Long(0);
550                 }
551 
552                 FinderCacheUtil.putResult(finderClassNameCacheEnabled,
553                     finderClassName, finderMethodName, finderParams,
554                     finderArgs, count);
555 
556                 return count.intValue();
557             }
558             catch (Exception e) {
559                 throw processException(e);
560             }
561             finally {
562                 closeSession(session);
563             }
564         }
565         else {
566             return ((Long)result).intValue();
567         }
568     }
569 
570     public int countAll() throws SystemException {
571         boolean finderClassNameCacheEnabled = WebDAVPropsModelImpl.CACHE_ENABLED;
572         String finderClassName = WebDAVProps.class.getName();
573         String finderMethodName = "countAll";
574         String[] finderParams = new String[] {  };
575         Object[] finderArgs = new Object[] {  };
576 
577         Object result = null;
578 
579         if (finderClassNameCacheEnabled) {
580             result = FinderCacheUtil.getResult(finderClassName,
581                     finderMethodName, finderParams, finderArgs, this);
582         }
583 
584         if (result == null) {
585             Session session = null;
586 
587             try {
588                 session = openSession();
589 
590                 Query q = session.createQuery(
591                         "SELECT COUNT(*) FROM com.liferay.portal.model.WebDAVProps");
592 
593                 Long count = null;
594 
595                 Iterator<Long> itr = q.list().iterator();
596 
597                 if (itr.hasNext()) {
598                     count = itr.next();
599                 }
600 
601                 if (count == null) {
602                     count = new Long(0);
603                 }
604 
605                 FinderCacheUtil.putResult(finderClassNameCacheEnabled,
606                     finderClassName, finderMethodName, finderParams,
607                     finderArgs, count);
608 
609                 return count.intValue();
610             }
611             catch (Exception e) {
612                 throw processException(e);
613             }
614             finally {
615                 closeSession(session);
616             }
617         }
618         else {
619             return ((Long)result).intValue();
620         }
621     }
622 
623     public void afterPropertiesSet() {
624         String[] listenerClassNames = StringUtil.split(GetterUtil.getString(
625                     com.liferay.portal.util.PropsUtil.get(
626                         "value.object.listener.com.liferay.portal.model.WebDAVProps")));
627 
628         if (listenerClassNames.length > 0) {
629             try {
630                 List<ModelListener> listenersList = new ArrayList<ModelListener>();
631 
632                 for (String listenerClassName : listenerClassNames) {
633                     listenersList.add((ModelListener)Class.forName(
634                             listenerClassName).newInstance());
635                 }
636 
637                 listeners = listenersList.toArray(new ModelListener[listenersList.size()]);
638             }
639             catch (Exception e) {
640                 _log.error(e);
641             }
642         }
643     }
644 
645     @BeanReference(name = "com.liferay.portal.service.persistence.AccountPersistence.impl")
646     protected com.liferay.portal.service.persistence.AccountPersistence accountPersistence;
647     @BeanReference(name = "com.liferay.portal.service.persistence.AddressPersistence.impl")
648     protected com.liferay.portal.service.persistence.AddressPersistence addressPersistence;
649     @BeanReference(name = "com.liferay.portal.service.persistence.ClassNamePersistence.impl")
650     protected com.liferay.portal.service.persistence.ClassNamePersistence classNamePersistence;
651     @BeanReference(name = "com.liferay.portal.service.persistence.CompanyPersistence.impl")
652     protected com.liferay.portal.service.persistence.CompanyPersistence companyPersistence;
653     @BeanReference(name = "com.liferay.portal.service.persistence.ContactPersistence.impl")
654     protected com.liferay.portal.service.persistence.ContactPersistence contactPersistence;
655     @BeanReference(name = "com.liferay.portal.service.persistence.CountryPersistence.impl")
656     protected com.liferay.portal.service.persistence.CountryPersistence countryPersistence;
657     @BeanReference(name = "com.liferay.portal.service.persistence.EmailAddressPersistence.impl")
658     protected com.liferay.portal.service.persistence.EmailAddressPersistence emailAddressPersistence;
659     @BeanReference(name = "com.liferay.portal.service.persistence.GroupPersistence.impl")
660     protected com.liferay.portal.service.persistence.GroupPersistence groupPersistence;
661     @BeanReference(name = "com.liferay.portal.service.persistence.ImagePersistence.impl")
662     protected com.liferay.portal.service.persistence.ImagePersistence imagePersistence;
663     @BeanReference(name = "com.liferay.portal.service.persistence.LayoutPersistence.impl")
664     protected com.liferay.portal.service.persistence.LayoutPersistence layoutPersistence;
665     @BeanReference(name = "com.liferay.portal.service.persistence.LayoutSetPersistence.impl")
666     protected com.liferay.portal.service.persistence.LayoutSetPersistence layoutSetPersistence;
667     @BeanReference(name = "com.liferay.portal.service.persistence.ListTypePersistence.impl")
668     protected com.liferay.portal.service.persistence.ListTypePersistence listTypePersistence;
669     @BeanReference(name = "com.liferay.portal.service.persistence.MembershipRequestPersistence.impl")
670     protected com.liferay.portal.service.persistence.MembershipRequestPersistence membershipRequestPersistence;
671     @BeanReference(name = "com.liferay.portal.service.persistence.OrganizationPersistence.impl")
672     protected com.liferay.portal.service.persistence.OrganizationPersistence organizationPersistence;
673     @BeanReference(name = "com.liferay.portal.service.persistence.OrgGroupPermissionPersistence.impl")
674     protected com.liferay.portal.service.persistence.OrgGroupPermissionPersistence orgGroupPermissionPersistence;
675     @BeanReference(name = "com.liferay.portal.service.persistence.OrgGroupRolePersistence.impl")
676     protected com.liferay.portal.service.persistence.OrgGroupRolePersistence orgGroupRolePersistence;
677     @BeanReference(name = "com.liferay.portal.service.persistence.OrgLaborPersistence.impl")
678     protected com.liferay.portal.service.persistence.OrgLaborPersistence orgLaborPersistence;
679     @BeanReference(name = "com.liferay.portal.service.persistence.PasswordPolicyPersistence.impl")
680     protected com.liferay.portal.service.persistence.PasswordPolicyPersistence passwordPolicyPersistence;
681     @BeanReference(name = "com.liferay.portal.service.persistence.PasswordPolicyRelPersistence.impl")
682     protected com.liferay.portal.service.persistence.PasswordPolicyRelPersistence passwordPolicyRelPersistence;
683     @BeanReference(name = "com.liferay.portal.service.persistence.PasswordTrackerPersistence.impl")
684     protected com.liferay.portal.service.persistence.PasswordTrackerPersistence passwordTrackerPersistence;
685     @BeanReference(name = "com.liferay.portal.service.persistence.PermissionPersistence.impl")
686     protected com.liferay.portal.service.persistence.PermissionPersistence permissionPersistence;
687     @BeanReference(name = "com.liferay.portal.service.persistence.PhonePersistence.impl")
688     protected com.liferay.portal.service.persistence.PhonePersistence phonePersistence;
689     @BeanReference(name = "com.liferay.portal.service.persistence.PluginSettingPersistence.impl")
690     protected com.liferay.portal.service.persistence.PluginSettingPersistence pluginSettingPersistence;
691     @BeanReference(name = "com.liferay.portal.service.persistence.PortletPersistence.impl")
692     protected com.liferay.portal.service.persistence.PortletPersistence portletPersistence;
693     @BeanReference(name = "com.liferay.portal.service.persistence.PortletPreferencesPersistence.impl")
694     protected com.liferay.portal.service.persistence.PortletPreferencesPersistence portletPreferencesPersistence;
695     @BeanReference(name = "com.liferay.portal.service.persistence.RegionPersistence.impl")
696     protected com.liferay.portal.service.persistence.RegionPersistence regionPersistence;
697     @BeanReference(name = "com.liferay.portal.service.persistence.ReleasePersistence.impl")
698     protected com.liferay.portal.service.persistence.ReleasePersistence releasePersistence;
699     @BeanReference(name = "com.liferay.portal.service.persistence.ResourcePersistence.impl")
700     protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence;
701     @BeanReference(name = "com.liferay.portal.service.persistence.ResourceCodePersistence.impl")
702     protected com.liferay.portal.service.persistence.ResourceCodePersistence resourceCodePersistence;
703     @BeanReference(name = "com.liferay.portal.service.persistence.RolePersistence.impl")
704     protected com.liferay.portal.service.persistence.RolePersistence rolePersistence;
705     @BeanReference(name = "com.liferay.portal.service.persistence.ServiceComponentPersistence.impl")
706     protected com.liferay.portal.service.persistence.ServiceComponentPersistence serviceComponentPersistence;
707     @BeanReference(name = "com.liferay.portal.service.persistence.PortletItemPersistence.impl")
708     protected com.liferay.portal.service.persistence.PortletItemPersistence portletItemPersistence;
709     @BeanReference(name = "com.liferay.portal.service.persistence.SubscriptionPersistence.impl")
710     protected com.liferay.portal.service.persistence.SubscriptionPersistence subscriptionPersistence;
711     @BeanReference(name = "com.liferay.portal.service.persistence.UserPersistence.impl")
712     protected com.liferay.portal.service.persistence.UserPersistence userPersistence;
713     @BeanReference(name = "com.liferay.portal.service.persistence.UserGroupPersistence.impl")
714     protected com.liferay.portal.service.persistence.UserGroupPersistence userGroupPersistence;
715     @BeanReference(name = "com.liferay.portal.service.persistence.UserGroupRolePersistence.impl")
716     protected com.liferay.portal.service.persistence.UserGroupRolePersistence userGroupRolePersistence;
717     @BeanReference(name = "com.liferay.portal.service.persistence.UserIdMapperPersistence.impl")
718     protected com.liferay.portal.service.persistence.UserIdMapperPersistence userIdMapperPersistence;
719     @BeanReference(name = "com.liferay.portal.service.persistence.UserTrackerPersistence.impl")
720     protected com.liferay.portal.service.persistence.UserTrackerPersistence userTrackerPersistence;
721     @BeanReference(name = "com.liferay.portal.service.persistence.UserTrackerPathPersistence.impl")
722     protected com.liferay.portal.service.persistence.UserTrackerPathPersistence userTrackerPathPersistence;
723     @BeanReference(name = "com.liferay.portal.service.persistence.WebDAVPropsPersistence.impl")
724     protected com.liferay.portal.service.persistence.WebDAVPropsPersistence webDAVPropsPersistence;
725     @BeanReference(name = "com.liferay.portal.service.persistence.WebsitePersistence.impl")
726     protected com.liferay.portal.service.persistence.WebsitePersistence websitePersistence;
727     private static Log _log = LogFactoryUtil.getLog(WebDAVPropsPersistenceImpl.class);
728 }