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