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.NoSuchUserTrackerPathException;
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.UserTrackerPath;
42  import com.liferay.portal.model.impl.UserTrackerPathImpl;
43  import com.liferay.portal.model.impl.UserTrackerPathModelImpl;
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="UserTrackerPathPersistenceImpl.java.html"><b><i>View Source</i></b></a>
53   *
54   * @author Brian Wing Shun Chan
55   *
56   */
57  public class UserTrackerPathPersistenceImpl extends BasePersistenceImpl
58      implements UserTrackerPathPersistence {
59      public UserTrackerPath create(long userTrackerPathId) {
60          UserTrackerPath userTrackerPath = new UserTrackerPathImpl();
61  
62          userTrackerPath.setNew(true);
63          userTrackerPath.setPrimaryKey(userTrackerPathId);
64  
65          return userTrackerPath;
66      }
67  
68      public UserTrackerPath remove(long userTrackerPathId)
69          throws NoSuchUserTrackerPathException, SystemException {
70          Session session = null;
71  
72          try {
73              session = openSession();
74  
75              UserTrackerPath userTrackerPath = (UserTrackerPath)session.get(UserTrackerPathImpl.class,
76                      new Long(userTrackerPathId));
77  
78              if (userTrackerPath == null) {
79                  if (_log.isWarnEnabled()) {
80                      _log.warn("No UserTrackerPath exists with the primary key " +
81                          userTrackerPathId);
82                  }
83  
84                  throw new NoSuchUserTrackerPathException(
85                      "No UserTrackerPath exists with the primary key " +
86                      userTrackerPathId);
87              }
88  
89              return remove(userTrackerPath);
90          }
91          catch (NoSuchUserTrackerPathException nsee) {
92              throw nsee;
93          }
94          catch (Exception e) {
95              throw processException(e);
96          }
97          finally {
98              closeSession(session);
99          }
100     }
101 
102     public UserTrackerPath remove(UserTrackerPath userTrackerPath)
103         throws SystemException {
104         for (ModelListener listener : listeners) {
105             listener.onBeforeRemove(userTrackerPath);
106         }
107 
108         userTrackerPath = removeImpl(userTrackerPath);
109 
110         for (ModelListener listener : listeners) {
111             listener.onAfterRemove(userTrackerPath);
112         }
113 
114         return userTrackerPath;
115     }
116 
117     protected UserTrackerPath removeImpl(UserTrackerPath userTrackerPath)
118         throws SystemException {
119         Session session = null;
120 
121         try {
122             session = openSession();
123 
124             if (BatchSessionUtil.isEnabled()) {
125                 Object staleObject = session.get(UserTrackerPathImpl.class,
126                         userTrackerPath.getPrimaryKeyObj());
127 
128                 if (staleObject != null) {
129                     session.evict(staleObject);
130                 }
131             }
132 
133             session.delete(userTrackerPath);
134 
135             session.flush();
136 
137             return userTrackerPath;
138         }
139         catch (Exception e) {
140             throw processException(e);
141         }
142         finally {
143             closeSession(session);
144 
145             FinderCacheUtil.clearCache(UserTrackerPath.class.getName());
146         }
147     }
148 
149     /**
150      * @deprecated Use <code>update(UserTrackerPath userTrackerPath, boolean merge)</code>.
151      */
152     public UserTrackerPath update(UserTrackerPath userTrackerPath)
153         throws SystemException {
154         if (_log.isWarnEnabled()) {
155             _log.warn(
156                 "Using the deprecated update(UserTrackerPath userTrackerPath) method. Use update(UserTrackerPath userTrackerPath, boolean merge) instead.");
157         }
158 
159         return update(userTrackerPath, 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        userTrackerPath 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 userTrackerPath 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 UserTrackerPath update(UserTrackerPath userTrackerPath, boolean merge)
176         throws SystemException {
177         boolean isNew = userTrackerPath.isNew();
178 
179         for (ModelListener listener : listeners) {
180             if (isNew) {
181                 listener.onBeforeCreate(userTrackerPath);
182             }
183             else {
184                 listener.onBeforeUpdate(userTrackerPath);
185             }
186         }
187 
188         userTrackerPath = updateImpl(userTrackerPath, merge);
189 
190         for (ModelListener listener : listeners) {
191             if (isNew) {
192                 listener.onAfterCreate(userTrackerPath);
193             }
194             else {
195                 listener.onAfterUpdate(userTrackerPath);
196             }
197         }
198 
199         return userTrackerPath;
200     }
201 
202     public UserTrackerPath updateImpl(
203         com.liferay.portal.model.UserTrackerPath userTrackerPath, boolean merge)
204         throws SystemException {
205         Session session = null;
206 
207         try {
208             session = openSession();
209 
210             BatchSessionUtil.update(session, userTrackerPath, merge);
211 
212             userTrackerPath.setNew(false);
213 
214             return userTrackerPath;
215         }
216         catch (Exception e) {
217             throw processException(e);
218         }
219         finally {
220             closeSession(session);
221 
222             FinderCacheUtil.clearCache(UserTrackerPath.class.getName());
223         }
224     }
225 
226     public UserTrackerPath findByPrimaryKey(long userTrackerPathId)
227         throws NoSuchUserTrackerPathException, SystemException {
228         UserTrackerPath userTrackerPath = fetchByPrimaryKey(userTrackerPathId);
229 
230         if (userTrackerPath == null) {
231             if (_log.isWarnEnabled()) {
232                 _log.warn("No UserTrackerPath exists with the primary key " +
233                     userTrackerPathId);
234             }
235 
236             throw new NoSuchUserTrackerPathException(
237                 "No UserTrackerPath exists with the primary key " +
238                 userTrackerPathId);
239         }
240 
241         return userTrackerPath;
242     }
243 
244     public UserTrackerPath fetchByPrimaryKey(long userTrackerPathId)
245         throws SystemException {
246         Session session = null;
247 
248         try {
249             session = openSession();
250 
251             return (UserTrackerPath)session.get(UserTrackerPathImpl.class,
252                 new Long(userTrackerPathId));
253         }
254         catch (Exception e) {
255             throw processException(e);
256         }
257         finally {
258             closeSession(session);
259         }
260     }
261 
262     public List<UserTrackerPath> findByUserTrackerId(long userTrackerId)
263         throws SystemException {
264         boolean finderClassNameCacheEnabled = UserTrackerPathModelImpl.CACHE_ENABLED;
265         String finderClassName = UserTrackerPath.class.getName();
266         String finderMethodName = "findByUserTrackerId";
267         String[] finderParams = new String[] { Long.class.getName() };
268         Object[] finderArgs = new Object[] { new Long(userTrackerId) };
269 
270         Object result = null;
271 
272         if (finderClassNameCacheEnabled) {
273             result = FinderCacheUtil.getResult(finderClassName,
274                     finderMethodName, finderParams, finderArgs, this);
275         }
276 
277         if (result == null) {
278             Session session = null;
279 
280             try {
281                 session = openSession();
282 
283                 StringBuilder query = new StringBuilder();
284 
285                 query.append(
286                     "FROM com.liferay.portal.model.UserTrackerPath WHERE ");
287 
288                 query.append("userTrackerId = ?");
289 
290                 query.append(" ");
291 
292                 Query q = session.createQuery(query.toString());
293 
294                 QueryPos qPos = QueryPos.getInstance(q);
295 
296                 qPos.add(userTrackerId);
297 
298                 List<UserTrackerPath> list = q.list();
299 
300                 FinderCacheUtil.putResult(finderClassNameCacheEnabled,
301                     finderClassName, finderMethodName, finderParams,
302                     finderArgs, list);
303 
304                 return list;
305             }
306             catch (Exception e) {
307                 throw processException(e);
308             }
309             finally {
310                 closeSession(session);
311             }
312         }
313         else {
314             return (List<UserTrackerPath>)result;
315         }
316     }
317 
318     public List<UserTrackerPath> findByUserTrackerId(long userTrackerId,
319         int start, int end) throws SystemException {
320         return findByUserTrackerId(userTrackerId, start, end, null);
321     }
322 
323     public List<UserTrackerPath> findByUserTrackerId(long userTrackerId,
324         int start, int end, OrderByComparator obc) throws SystemException {
325         boolean finderClassNameCacheEnabled = UserTrackerPathModelImpl.CACHE_ENABLED;
326         String finderClassName = UserTrackerPath.class.getName();
327         String finderMethodName = "findByUserTrackerId";
328         String[] finderParams = new String[] {
329                 Long.class.getName(),
330                 
331                 "java.lang.Integer", "java.lang.Integer",
332                 "com.liferay.portal.kernel.util.OrderByComparator"
333             };
334         Object[] finderArgs = new Object[] {
335                 new Long(userTrackerId),
336                 
337                 String.valueOf(start), String.valueOf(end), String.valueOf(obc)
338             };
339 
340         Object result = null;
341 
342         if (finderClassNameCacheEnabled) {
343             result = FinderCacheUtil.getResult(finderClassName,
344                     finderMethodName, finderParams, finderArgs, this);
345         }
346 
347         if (result == null) {
348             Session session = null;
349 
350             try {
351                 session = openSession();
352 
353                 StringBuilder query = new StringBuilder();
354 
355                 query.append(
356                     "FROM com.liferay.portal.model.UserTrackerPath WHERE ");
357 
358                 query.append("userTrackerId = ?");
359 
360                 query.append(" ");
361 
362                 if (obc != null) {
363                     query.append("ORDER BY ");
364                     query.append(obc.getOrderBy());
365                 }
366 
367                 Query q = session.createQuery(query.toString());
368 
369                 QueryPos qPos = QueryPos.getInstance(q);
370 
371                 qPos.add(userTrackerId);
372 
373                 List<UserTrackerPath> list = (List<UserTrackerPath>)QueryUtil.list(q,
374                         getDialect(), start, end);
375 
376                 FinderCacheUtil.putResult(finderClassNameCacheEnabled,
377                     finderClassName, finderMethodName, finderParams,
378                     finderArgs, list);
379 
380                 return list;
381             }
382             catch (Exception e) {
383                 throw processException(e);
384             }
385             finally {
386                 closeSession(session);
387             }
388         }
389         else {
390             return (List<UserTrackerPath>)result;
391         }
392     }
393 
394     public UserTrackerPath findByUserTrackerId_First(long userTrackerId,
395         OrderByComparator obc)
396         throws NoSuchUserTrackerPathException, SystemException {
397         List<UserTrackerPath> list = findByUserTrackerId(userTrackerId, 0, 1,
398                 obc);
399 
400         if (list.size() == 0) {
401             StringBuilder msg = new StringBuilder();
402 
403             msg.append("No UserTrackerPath exists with the key {");
404 
405             msg.append("userTrackerId=" + userTrackerId);
406 
407             msg.append(StringPool.CLOSE_CURLY_BRACE);
408 
409             throw new NoSuchUserTrackerPathException(msg.toString());
410         }
411         else {
412             return list.get(0);
413         }
414     }
415 
416     public UserTrackerPath findByUserTrackerId_Last(long userTrackerId,
417         OrderByComparator obc)
418         throws NoSuchUserTrackerPathException, SystemException {
419         int count = countByUserTrackerId(userTrackerId);
420 
421         List<UserTrackerPath> list = findByUserTrackerId(userTrackerId,
422                 count - 1, count, obc);
423 
424         if (list.size() == 0) {
425             StringBuilder msg = new StringBuilder();
426 
427             msg.append("No UserTrackerPath exists with the key {");
428 
429             msg.append("userTrackerId=" + userTrackerId);
430 
431             msg.append(StringPool.CLOSE_CURLY_BRACE);
432 
433             throw new NoSuchUserTrackerPathException(msg.toString());
434         }
435         else {
436             return list.get(0);
437         }
438     }
439 
440     public UserTrackerPath[] findByUserTrackerId_PrevAndNext(
441         long userTrackerPathId, long userTrackerId, OrderByComparator obc)
442         throws NoSuchUserTrackerPathException, SystemException {
443         UserTrackerPath userTrackerPath = findByPrimaryKey(userTrackerPathId);
444 
445         int count = countByUserTrackerId(userTrackerId);
446 
447         Session session = null;
448 
449         try {
450             session = openSession();
451 
452             StringBuilder query = new StringBuilder();
453 
454             query.append("FROM com.liferay.portal.model.UserTrackerPath WHERE ");
455 
456             query.append("userTrackerId = ?");
457 
458             query.append(" ");
459 
460             if (obc != null) {
461                 query.append("ORDER BY ");
462                 query.append(obc.getOrderBy());
463             }
464 
465             Query q = session.createQuery(query.toString());
466 
467             QueryPos qPos = QueryPos.getInstance(q);
468 
469             qPos.add(userTrackerId);
470 
471             Object[] objArray = QueryUtil.getPrevAndNext(q, count, obc,
472                     userTrackerPath);
473 
474             UserTrackerPath[] array = new UserTrackerPathImpl[3];
475 
476             array[0] = (UserTrackerPath)objArray[0];
477             array[1] = (UserTrackerPath)objArray[1];
478             array[2] = (UserTrackerPath)objArray[2];
479 
480             return array;
481         }
482         catch (Exception e) {
483             throw processException(e);
484         }
485         finally {
486             closeSession(session);
487         }
488     }
489 
490     public List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery)
491         throws SystemException {
492         Session session = null;
493 
494         try {
495             session = openSession();
496 
497             dynamicQuery.compile(session);
498 
499             return dynamicQuery.list();
500         }
501         catch (Exception e) {
502             throw processException(e);
503         }
504         finally {
505             closeSession(session);
506         }
507     }
508 
509     public List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery,
510         int start, int end) throws SystemException {
511         Session session = null;
512 
513         try {
514             session = openSession();
515 
516             dynamicQuery.setLimit(start, end);
517 
518             dynamicQuery.compile(session);
519 
520             return dynamicQuery.list();
521         }
522         catch (Exception e) {
523             throw processException(e);
524         }
525         finally {
526             closeSession(session);
527         }
528     }
529 
530     public List<UserTrackerPath> findAll() throws SystemException {
531         return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
532     }
533 
534     public List<UserTrackerPath> findAll(int start, int end)
535         throws SystemException {
536         return findAll(start, end, null);
537     }
538 
539     public List<UserTrackerPath> findAll(int start, int end,
540         OrderByComparator obc) throws SystemException {
541         boolean finderClassNameCacheEnabled = UserTrackerPathModelImpl.CACHE_ENABLED;
542         String finderClassName = UserTrackerPath.class.getName();
543         String finderMethodName = "findAll";
544         String[] finderParams = new String[] {
545                 "java.lang.Integer", "java.lang.Integer",
546                 "com.liferay.portal.kernel.util.OrderByComparator"
547             };
548         Object[] finderArgs = new Object[] {
549                 String.valueOf(start), String.valueOf(end), String.valueOf(obc)
550             };
551 
552         Object result = null;
553 
554         if (finderClassNameCacheEnabled) {
555             result = FinderCacheUtil.getResult(finderClassName,
556                     finderMethodName, finderParams, finderArgs, this);
557         }
558 
559         if (result == null) {
560             Session session = null;
561 
562             try {
563                 session = openSession();
564 
565                 StringBuilder query = new StringBuilder();
566 
567                 query.append("FROM com.liferay.portal.model.UserTrackerPath ");
568 
569                 if (obc != null) {
570                     query.append("ORDER BY ");
571                     query.append(obc.getOrderBy());
572                 }
573 
574                 Query q = session.createQuery(query.toString());
575 
576                 List<UserTrackerPath> list = null;
577 
578                 if (obc == null) {
579                     list = (List<UserTrackerPath>)QueryUtil.list(q,
580                             getDialect(), start, end, false);
581 
582                     Collections.sort(list);
583                 }
584                 else {
585                     list = (List<UserTrackerPath>)QueryUtil.list(q,
586                             getDialect(), start, end);
587                 }
588 
589                 FinderCacheUtil.putResult(finderClassNameCacheEnabled,
590                     finderClassName, finderMethodName, finderParams,
591                     finderArgs, list);
592 
593                 return list;
594             }
595             catch (Exception e) {
596                 throw processException(e);
597             }
598             finally {
599                 closeSession(session);
600             }
601         }
602         else {
603             return (List<UserTrackerPath>)result;
604         }
605     }
606 
607     public void removeByUserTrackerId(long userTrackerId)
608         throws SystemException {
609         for (UserTrackerPath userTrackerPath : findByUserTrackerId(
610                 userTrackerId)) {
611             remove(userTrackerPath);
612         }
613     }
614 
615     public void removeAll() throws SystemException {
616         for (UserTrackerPath userTrackerPath : findAll()) {
617             remove(userTrackerPath);
618         }
619     }
620 
621     public int countByUserTrackerId(long userTrackerId)
622         throws SystemException {
623         boolean finderClassNameCacheEnabled = UserTrackerPathModelImpl.CACHE_ENABLED;
624         String finderClassName = UserTrackerPath.class.getName();
625         String finderMethodName = "countByUserTrackerId";
626         String[] finderParams = new String[] { Long.class.getName() };
627         Object[] finderArgs = new Object[] { new Long(userTrackerId) };
628 
629         Object result = null;
630 
631         if (finderClassNameCacheEnabled) {
632             result = FinderCacheUtil.getResult(finderClassName,
633                     finderMethodName, finderParams, finderArgs, this);
634         }
635 
636         if (result == null) {
637             Session session = null;
638 
639             try {
640                 session = openSession();
641 
642                 StringBuilder query = new StringBuilder();
643 
644                 query.append("SELECT COUNT(*) ");
645                 query.append(
646                     "FROM com.liferay.portal.model.UserTrackerPath WHERE ");
647 
648                 query.append("userTrackerId = ?");
649 
650                 query.append(" ");
651 
652                 Query q = session.createQuery(query.toString());
653 
654                 QueryPos qPos = QueryPos.getInstance(q);
655 
656                 qPos.add(userTrackerId);
657 
658                 Long count = null;
659 
660                 Iterator<Long> itr = q.list().iterator();
661 
662                 if (itr.hasNext()) {
663                     count = itr.next();
664                 }
665 
666                 if (count == null) {
667                     count = new Long(0);
668                 }
669 
670                 FinderCacheUtil.putResult(finderClassNameCacheEnabled,
671                     finderClassName, finderMethodName, finderParams,
672                     finderArgs, count);
673 
674                 return count.intValue();
675             }
676             catch (Exception e) {
677                 throw processException(e);
678             }
679             finally {
680                 closeSession(session);
681             }
682         }
683         else {
684             return ((Long)result).intValue();
685         }
686     }
687 
688     public int countAll() throws SystemException {
689         boolean finderClassNameCacheEnabled = UserTrackerPathModelImpl.CACHE_ENABLED;
690         String finderClassName = UserTrackerPath.class.getName();
691         String finderMethodName = "countAll";
692         String[] finderParams = new String[] {  };
693         Object[] finderArgs = new Object[] {  };
694 
695         Object result = null;
696 
697         if (finderClassNameCacheEnabled) {
698             result = FinderCacheUtil.getResult(finderClassName,
699                     finderMethodName, finderParams, finderArgs, this);
700         }
701 
702         if (result == null) {
703             Session session = null;
704 
705             try {
706                 session = openSession();
707 
708                 Query q = session.createQuery(
709                         "SELECT COUNT(*) FROM com.liferay.portal.model.UserTrackerPath");
710 
711                 Long count = null;
712 
713                 Iterator<Long> itr = q.list().iterator();
714 
715                 if (itr.hasNext()) {
716                     count = itr.next();
717                 }
718 
719                 if (count == null) {
720                     count = new Long(0);
721                 }
722 
723                 FinderCacheUtil.putResult(finderClassNameCacheEnabled,
724                     finderClassName, finderMethodName, finderParams,
725                     finderArgs, count);
726 
727                 return count.intValue();
728             }
729             catch (Exception e) {
730                 throw processException(e);
731             }
732             finally {
733                 closeSession(session);
734             }
735         }
736         else {
737             return ((Long)result).intValue();
738         }
739     }
740 
741     public void afterPropertiesSet() {
742         String[] listenerClassNames = StringUtil.split(GetterUtil.getString(
743                     com.liferay.portal.util.PropsUtil.get(
744                         "value.object.listener.com.liferay.portal.model.UserTrackerPath")));
745 
746         if (listenerClassNames.length > 0) {
747             try {
748                 List<ModelListener> listenersList = new ArrayList<ModelListener>();
749 
750                 for (String listenerClassName : listenerClassNames) {
751                     listenersList.add((ModelListener)Class.forName(
752                             listenerClassName).newInstance());
753                 }
754 
755                 listeners = listenersList.toArray(new ModelListener[listenersList.size()]);
756             }
757             catch (Exception e) {
758                 _log.error(e);
759             }
760         }
761     }
762 
763     @BeanReference(name = "com.liferay.portal.service.persistence.AccountPersistence.impl")
764     protected com.liferay.portal.service.persistence.AccountPersistence accountPersistence;
765     @BeanReference(name = "com.liferay.portal.service.persistence.AddressPersistence.impl")
766     protected com.liferay.portal.service.persistence.AddressPersistence addressPersistence;
767     @BeanReference(name = "com.liferay.portal.service.persistence.ClassNamePersistence.impl")
768     protected com.liferay.portal.service.persistence.ClassNamePersistence classNamePersistence;
769     @BeanReference(name = "com.liferay.portal.service.persistence.CompanyPersistence.impl")
770     protected com.liferay.portal.service.persistence.CompanyPersistence companyPersistence;
771     @BeanReference(name = "com.liferay.portal.service.persistence.ContactPersistence.impl")
772     protected com.liferay.portal.service.persistence.ContactPersistence contactPersistence;
773     @BeanReference(name = "com.liferay.portal.service.persistence.CountryPersistence.impl")
774     protected com.liferay.portal.service.persistence.CountryPersistence countryPersistence;
775     @BeanReference(name = "com.liferay.portal.service.persistence.EmailAddressPersistence.impl")
776     protected com.liferay.portal.service.persistence.EmailAddressPersistence emailAddressPersistence;
777     @BeanReference(name = "com.liferay.portal.service.persistence.GroupPersistence.impl")
778     protected com.liferay.portal.service.persistence.GroupPersistence groupPersistence;
779     @BeanReference(name = "com.liferay.portal.service.persistence.ImagePersistence.impl")
780     protected com.liferay.portal.service.persistence.ImagePersistence imagePersistence;
781     @BeanReference(name = "com.liferay.portal.service.persistence.LayoutPersistence.impl")
782     protected com.liferay.portal.service.persistence.LayoutPersistence layoutPersistence;
783     @BeanReference(name = "com.liferay.portal.service.persistence.LayoutSetPersistence.impl")
784     protected com.liferay.portal.service.persistence.LayoutSetPersistence layoutSetPersistence;
785     @BeanReference(name = "com.liferay.portal.service.persistence.ListTypePersistence.impl")
786     protected com.liferay.portal.service.persistence.ListTypePersistence listTypePersistence;
787     @BeanReference(name = "com.liferay.portal.service.persistence.MembershipRequestPersistence.impl")
788     protected com.liferay.portal.service.persistence.MembershipRequestPersistence membershipRequestPersistence;
789     @BeanReference(name = "com.liferay.portal.service.persistence.OrganizationPersistence.impl")
790     protected com.liferay.portal.service.persistence.OrganizationPersistence organizationPersistence;
791     @BeanReference(name = "com.liferay.portal.service.persistence.OrgGroupPermissionPersistence.impl")
792     protected com.liferay.portal.service.persistence.OrgGroupPermissionPersistence orgGroupPermissionPersistence;
793     @BeanReference(name = "com.liferay.portal.service.persistence.OrgGroupRolePersistence.impl")
794     protected com.liferay.portal.service.persistence.OrgGroupRolePersistence orgGroupRolePersistence;
795     @BeanReference(name = "com.liferay.portal.service.persistence.OrgLaborPersistence.impl")
796     protected com.liferay.portal.service.persistence.OrgLaborPersistence orgLaborPersistence;
797     @BeanReference(name = "com.liferay.portal.service.persistence.PasswordPolicyPersistence.impl")
798     protected com.liferay.portal.service.persistence.PasswordPolicyPersistence passwordPolicyPersistence;
799     @BeanReference(name = "com.liferay.portal.service.persistence.PasswordPolicyRelPersistence.impl")
800     protected com.liferay.portal.service.persistence.PasswordPolicyRelPersistence passwordPolicyRelPersistence;
801     @BeanReference(name = "com.liferay.portal.service.persistence.PasswordTrackerPersistence.impl")
802     protected com.liferay.portal.service.persistence.PasswordTrackerPersistence passwordTrackerPersistence;
803     @BeanReference(name = "com.liferay.portal.service.persistence.PermissionPersistence.impl")
804     protected com.liferay.portal.service.persistence.PermissionPersistence permissionPersistence;
805     @BeanReference(name = "com.liferay.portal.service.persistence.PhonePersistence.impl")
806     protected com.liferay.portal.service.persistence.PhonePersistence phonePersistence;
807     @BeanReference(name = "com.liferay.portal.service.persistence.PluginSettingPersistence.impl")
808     protected com.liferay.portal.service.persistence.PluginSettingPersistence pluginSettingPersistence;
809     @BeanReference(name = "com.liferay.portal.service.persistence.PortletPersistence.impl")
810     protected com.liferay.portal.service.persistence.PortletPersistence portletPersistence;
811     @BeanReference(name = "com.liferay.portal.service.persistence.PortletPreferencesPersistence.impl")
812     protected com.liferay.portal.service.persistence.PortletPreferencesPersistence portletPreferencesPersistence;
813     @BeanReference(name = "com.liferay.portal.service.persistence.RegionPersistence.impl")
814     protected com.liferay.portal.service.persistence.RegionPersistence regionPersistence;
815     @BeanReference(name = "com.liferay.portal.service.persistence.ReleasePersistence.impl")
816     protected com.liferay.portal.service.persistence.ReleasePersistence releasePersistence;
817     @BeanReference(name = "com.liferay.portal.service.persistence.ResourcePersistence.impl")
818     protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence;
819     @BeanReference(name = "com.liferay.portal.service.persistence.ResourceCodePersistence.impl")
820     protected com.liferay.portal.service.persistence.ResourceCodePersistence resourceCodePersistence;
821     @BeanReference(name = "com.liferay.portal.service.persistence.RolePersistence.impl")
822     protected com.liferay.portal.service.persistence.RolePersistence rolePersistence;
823     @BeanReference(name = "com.liferay.portal.service.persistence.ServiceComponentPersistence.impl")
824     protected com.liferay.portal.service.persistence.ServiceComponentPersistence serviceComponentPersistence;
825     @BeanReference(name = "com.liferay.portal.service.persistence.PortletItemPersistence.impl")
826     protected com.liferay.portal.service.persistence.PortletItemPersistence portletItemPersistence;
827     @BeanReference(name = "com.liferay.portal.service.persistence.SubscriptionPersistence.impl")
828     protected com.liferay.portal.service.persistence.SubscriptionPersistence subscriptionPersistence;
829     @BeanReference(name = "com.liferay.portal.service.persistence.UserPersistence.impl")
830     protected com.liferay.portal.service.persistence.UserPersistence userPersistence;
831     @BeanReference(name = "com.liferay.portal.service.persistence.UserGroupPersistence.impl")
832     protected com.liferay.portal.service.persistence.UserGroupPersistence userGroupPersistence;
833     @BeanReference(name = "com.liferay.portal.service.persistence.UserGroupRolePersistence.impl")
834     protected com.liferay.portal.service.persistence.UserGroupRolePersistence userGroupRolePersistence;
835     @BeanReference(name = "com.liferay.portal.service.persistence.UserIdMapperPersistence.impl")
836     protected com.liferay.portal.service.persistence.UserIdMapperPersistence userIdMapperPersistence;
837     @BeanReference(name = "com.liferay.portal.service.persistence.UserTrackerPersistence.impl")
838     protected com.liferay.portal.service.persistence.UserTrackerPersistence userTrackerPersistence;
839     @BeanReference(name = "com.liferay.portal.service.persistence.UserTrackerPathPersistence.impl")
840     protected com.liferay.portal.service.persistence.UserTrackerPathPersistence userTrackerPathPersistence;
841     @BeanReference(name = "com.liferay.portal.service.persistence.WebDAVPropsPersistence.impl")
842     protected com.liferay.portal.service.persistence.WebDAVPropsPersistence webDAVPropsPersistence;
843     @BeanReference(name = "com.liferay.portal.service.persistence.WebsitePersistence.impl")
844     protected com.liferay.portal.service.persistence.WebsitePersistence websitePersistence;
845     private static Log _log = LogFactoryUtil.getLog(UserTrackerPathPersistenceImpl.class);
846 }