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