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