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