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