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