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