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