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