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