1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   * 
13   */
14  
15  package com.liferay.portal.service.persistence;
16  
17  import com.liferay.portal.SystemException;
18  import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
19  import com.liferay.portal.kernel.dao.orm.DynamicQuery;
20  import com.liferay.portal.model.Role;
21  
22  import java.util.List;
23  
24  /**
25   * <a href="RoleUtil.java.html"><b><i>View Source</i></b></a>
26   *
27   * <p>
28   * ServiceBuilder generated this class. Modifications in this class will be
29   * overwritten the next time is generated.
30   * </p>
31   *
32   * @author    Brian Wing Shun Chan
33   * @see       RolePersistence
34   * @see       RolePersistenceImpl
35   * @generated
36   */
37  public class RoleUtil {
38      /**
39       * @see com.liferay.portal.service.persistence.BasePersistence#clearCache()
40       */
41      public static void clearCache() {
42          getPersistence().clearCache();
43      }
44  
45      /**
46       * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery)
47       */
48      public static List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery)
49          throws SystemException {
50          return getPersistence().findWithDynamicQuery(dynamicQuery);
51      }
52  
53      /**
54       * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
55       */
56      public static List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery,
57          int start, int end) throws SystemException {
58          return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
59      }
60  
61      /**
62       * @see com.liferay.portal.service.persistence.BasePersistence#remove(com.liferay.portal.model.BaseModel)
63       */
64      public static Role remove(Role role) throws SystemException {
65          return getPersistence().remove(role);
66      }
67  
68      /**
69       * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean)
70       */
71      public static Role update(Role role, boolean merge)
72          throws SystemException {
73          return getPersistence().update(role, merge);
74      }
75  
76      public static void cacheResult(com.liferay.portal.model.Role role) {
77          getPersistence().cacheResult(role);
78      }
79  
80      public static void cacheResult(
81          java.util.List<com.liferay.portal.model.Role> roles) {
82          getPersistence().cacheResult(roles);
83      }
84  
85      public static com.liferay.portal.model.Role create(long roleId) {
86          return getPersistence().create(roleId);
87      }
88  
89      public static com.liferay.portal.model.Role remove(long roleId)
90          throws com.liferay.portal.NoSuchRoleException,
91              com.liferay.portal.SystemException {
92          return getPersistence().remove(roleId);
93      }
94  
95      /**
96       * @deprecated Use {@link com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean)}.
97       */
98      public static com.liferay.portal.model.Role update(
99          com.liferay.portal.model.Role role)
100         throws com.liferay.portal.SystemException {
101         return getPersistence().update(role);
102     }
103 
104     public static com.liferay.portal.model.Role updateImpl(
105         com.liferay.portal.model.Role role, boolean merge)
106         throws com.liferay.portal.SystemException {
107         return getPersistence().updateImpl(role, merge);
108     }
109 
110     public static com.liferay.portal.model.Role findByPrimaryKey(long roleId)
111         throws com.liferay.portal.NoSuchRoleException,
112             com.liferay.portal.SystemException {
113         return getPersistence().findByPrimaryKey(roleId);
114     }
115 
116     public static com.liferay.portal.model.Role fetchByPrimaryKey(long roleId)
117         throws com.liferay.portal.SystemException {
118         return getPersistence().fetchByPrimaryKey(roleId);
119     }
120 
121     public static java.util.List<com.liferay.portal.model.Role> findByCompanyId(
122         long companyId) throws com.liferay.portal.SystemException {
123         return getPersistence().findByCompanyId(companyId);
124     }
125 
126     public static java.util.List<com.liferay.portal.model.Role> findByCompanyId(
127         long companyId, int start, int end)
128         throws com.liferay.portal.SystemException {
129         return getPersistence().findByCompanyId(companyId, start, end);
130     }
131 
132     public static java.util.List<com.liferay.portal.model.Role> findByCompanyId(
133         long companyId, int start, int end,
134         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
135         throws com.liferay.portal.SystemException {
136         return getPersistence()
137                    .findByCompanyId(companyId, start, end, orderByComparator);
138     }
139 
140     public static com.liferay.portal.model.Role findByCompanyId_First(
141         long companyId,
142         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
143         throws com.liferay.portal.NoSuchRoleException,
144             com.liferay.portal.SystemException {
145         return getPersistence()
146                    .findByCompanyId_First(companyId, orderByComparator);
147     }
148 
149     public static com.liferay.portal.model.Role findByCompanyId_Last(
150         long companyId,
151         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
152         throws com.liferay.portal.NoSuchRoleException,
153             com.liferay.portal.SystemException {
154         return getPersistence()
155                    .findByCompanyId_Last(companyId, orderByComparator);
156     }
157 
158     public static com.liferay.portal.model.Role[] findByCompanyId_PrevAndNext(
159         long roleId, long companyId,
160         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
161         throws com.liferay.portal.NoSuchRoleException,
162             com.liferay.portal.SystemException {
163         return getPersistence()
164                    .findByCompanyId_PrevAndNext(roleId, companyId,
165             orderByComparator);
166     }
167 
168     public static java.util.List<com.liferay.portal.model.Role> findBySubtype(
169         java.lang.String subtype) throws com.liferay.portal.SystemException {
170         return getPersistence().findBySubtype(subtype);
171     }
172 
173     public static java.util.List<com.liferay.portal.model.Role> findBySubtype(
174         java.lang.String subtype, int start, int end)
175         throws com.liferay.portal.SystemException {
176         return getPersistence().findBySubtype(subtype, start, end);
177     }
178 
179     public static java.util.List<com.liferay.portal.model.Role> findBySubtype(
180         java.lang.String subtype, int start, int end,
181         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
182         throws com.liferay.portal.SystemException {
183         return getPersistence()
184                    .findBySubtype(subtype, start, end, orderByComparator);
185     }
186 
187     public static com.liferay.portal.model.Role findBySubtype_First(
188         java.lang.String subtype,
189         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
190         throws com.liferay.portal.NoSuchRoleException,
191             com.liferay.portal.SystemException {
192         return getPersistence().findBySubtype_First(subtype, orderByComparator);
193     }
194 
195     public static com.liferay.portal.model.Role findBySubtype_Last(
196         java.lang.String subtype,
197         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
198         throws com.liferay.portal.NoSuchRoleException,
199             com.liferay.portal.SystemException {
200         return getPersistence().findBySubtype_Last(subtype, orderByComparator);
201     }
202 
203     public static com.liferay.portal.model.Role[] findBySubtype_PrevAndNext(
204         long roleId, java.lang.String subtype,
205         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
206         throws com.liferay.portal.NoSuchRoleException,
207             com.liferay.portal.SystemException {
208         return getPersistence()
209                    .findBySubtype_PrevAndNext(roleId, subtype, orderByComparator);
210     }
211 
212     public static com.liferay.portal.model.Role findByC_N(long companyId,
213         java.lang.String name)
214         throws com.liferay.portal.NoSuchRoleException,
215             com.liferay.portal.SystemException {
216         return getPersistence().findByC_N(companyId, name);
217     }
218 
219     public static com.liferay.portal.model.Role fetchByC_N(long companyId,
220         java.lang.String name) throws com.liferay.portal.SystemException {
221         return getPersistence().fetchByC_N(companyId, name);
222     }
223 
224     public static com.liferay.portal.model.Role fetchByC_N(long companyId,
225         java.lang.String name, boolean retrieveFromCache)
226         throws com.liferay.portal.SystemException {
227         return getPersistence().fetchByC_N(companyId, name, retrieveFromCache);
228     }
229 
230     public static java.util.List<com.liferay.portal.model.Role> findByT_S(
231         int type, java.lang.String subtype)
232         throws com.liferay.portal.SystemException {
233         return getPersistence().findByT_S(type, subtype);
234     }
235 
236     public static java.util.List<com.liferay.portal.model.Role> findByT_S(
237         int type, java.lang.String subtype, int start, int end)
238         throws com.liferay.portal.SystemException {
239         return getPersistence().findByT_S(type, subtype, start, end);
240     }
241 
242     public static java.util.List<com.liferay.portal.model.Role> findByT_S(
243         int type, java.lang.String subtype, int start, int end,
244         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
245         throws com.liferay.portal.SystemException {
246         return getPersistence()
247                    .findByT_S(type, subtype, start, end, orderByComparator);
248     }
249 
250     public static com.liferay.portal.model.Role findByT_S_First(int type,
251         java.lang.String subtype,
252         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
253         throws com.liferay.portal.NoSuchRoleException,
254             com.liferay.portal.SystemException {
255         return getPersistence().findByT_S_First(type, subtype, orderByComparator);
256     }
257 
258     public static com.liferay.portal.model.Role findByT_S_Last(int type,
259         java.lang.String subtype,
260         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
261         throws com.liferay.portal.NoSuchRoleException,
262             com.liferay.portal.SystemException {
263         return getPersistence().findByT_S_Last(type, subtype, orderByComparator);
264     }
265 
266     public static com.liferay.portal.model.Role[] findByT_S_PrevAndNext(
267         long roleId, int type, java.lang.String subtype,
268         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
269         throws com.liferay.portal.NoSuchRoleException,
270             com.liferay.portal.SystemException {
271         return getPersistence()
272                    .findByT_S_PrevAndNext(roleId, type, subtype,
273             orderByComparator);
274     }
275 
276     public static com.liferay.portal.model.Role findByC_C_C(long companyId,
277         long classNameId, long classPK)
278         throws com.liferay.portal.NoSuchRoleException,
279             com.liferay.portal.SystemException {
280         return getPersistence().findByC_C_C(companyId, classNameId, classPK);
281     }
282 
283     public static com.liferay.portal.model.Role fetchByC_C_C(long companyId,
284         long classNameId, long classPK)
285         throws com.liferay.portal.SystemException {
286         return getPersistence().fetchByC_C_C(companyId, classNameId, classPK);
287     }
288 
289     public static com.liferay.portal.model.Role fetchByC_C_C(long companyId,
290         long classNameId, long classPK, boolean retrieveFromCache)
291         throws com.liferay.portal.SystemException {
292         return getPersistence()
293                    .fetchByC_C_C(companyId, classNameId, classPK,
294             retrieveFromCache);
295     }
296 
297     public static java.util.List<com.liferay.portal.model.Role> findAll()
298         throws com.liferay.portal.SystemException {
299         return getPersistence().findAll();
300     }
301 
302     public static java.util.List<com.liferay.portal.model.Role> findAll(
303         int start, int end) throws com.liferay.portal.SystemException {
304         return getPersistence().findAll(start, end);
305     }
306 
307     public static java.util.List<com.liferay.portal.model.Role> findAll(
308         int start, int end,
309         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
310         throws com.liferay.portal.SystemException {
311         return getPersistence().findAll(start, end, orderByComparator);
312     }
313 
314     public static void removeByCompanyId(long companyId)
315         throws com.liferay.portal.SystemException {
316         getPersistence().removeByCompanyId(companyId);
317     }
318 
319     public static void removeBySubtype(java.lang.String subtype)
320         throws com.liferay.portal.SystemException {
321         getPersistence().removeBySubtype(subtype);
322     }
323 
324     public static void removeByC_N(long companyId, java.lang.String name)
325         throws com.liferay.portal.NoSuchRoleException,
326             com.liferay.portal.SystemException {
327         getPersistence().removeByC_N(companyId, name);
328     }
329 
330     public static void removeByT_S(int type, java.lang.String subtype)
331         throws com.liferay.portal.SystemException {
332         getPersistence().removeByT_S(type, subtype);
333     }
334 
335     public static void removeByC_C_C(long companyId, long classNameId,
336         long classPK)
337         throws com.liferay.portal.NoSuchRoleException,
338             com.liferay.portal.SystemException {
339         getPersistence().removeByC_C_C(companyId, classNameId, classPK);
340     }
341 
342     public static void removeAll() throws com.liferay.portal.SystemException {
343         getPersistence().removeAll();
344     }
345 
346     public static int countByCompanyId(long companyId)
347         throws com.liferay.portal.SystemException {
348         return getPersistence().countByCompanyId(companyId);
349     }
350 
351     public static int countBySubtype(java.lang.String subtype)
352         throws com.liferay.portal.SystemException {
353         return getPersistence().countBySubtype(subtype);
354     }
355 
356     public static int countByC_N(long companyId, java.lang.String name)
357         throws com.liferay.portal.SystemException {
358         return getPersistence().countByC_N(companyId, name);
359     }
360 
361     public static int countByT_S(int type, java.lang.String subtype)
362         throws com.liferay.portal.SystemException {
363         return getPersistence().countByT_S(type, subtype);
364     }
365 
366     public static int countByC_C_C(long companyId, long classNameId,
367         long classPK) throws com.liferay.portal.SystemException {
368         return getPersistence().countByC_C_C(companyId, classNameId, classPK);
369     }
370 
371     public static int countAll() throws com.liferay.portal.SystemException {
372         return getPersistence().countAll();
373     }
374 
375     public static java.util.List<com.liferay.portal.model.Group> getGroups(
376         long pk) throws com.liferay.portal.SystemException {
377         return getPersistence().getGroups(pk);
378     }
379 
380     public static java.util.List<com.liferay.portal.model.Group> getGroups(
381         long pk, int start, int end) throws com.liferay.portal.SystemException {
382         return getPersistence().getGroups(pk, start, end);
383     }
384 
385     public static java.util.List<com.liferay.portal.model.Group> getGroups(
386         long pk, int start, int end,
387         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
388         throws com.liferay.portal.SystemException {
389         return getPersistence().getGroups(pk, start, end, orderByComparator);
390     }
391 
392     public static int getGroupsSize(long pk)
393         throws com.liferay.portal.SystemException {
394         return getPersistence().getGroupsSize(pk);
395     }
396 
397     public static boolean containsGroup(long pk, long groupPK)
398         throws com.liferay.portal.SystemException {
399         return getPersistence().containsGroup(pk, groupPK);
400     }
401 
402     public static boolean containsGroups(long pk)
403         throws com.liferay.portal.SystemException {
404         return getPersistence().containsGroups(pk);
405     }
406 
407     public static void addGroup(long pk, long groupPK)
408         throws com.liferay.portal.SystemException {
409         getPersistence().addGroup(pk, groupPK);
410     }
411 
412     public static void addGroup(long pk, com.liferay.portal.model.Group group)
413         throws com.liferay.portal.SystemException {
414         getPersistence().addGroup(pk, group);
415     }
416 
417     public static void addGroups(long pk, long[] groupPKs)
418         throws com.liferay.portal.SystemException {
419         getPersistence().addGroups(pk, groupPKs);
420     }
421 
422     public static void addGroups(long pk,
423         java.util.List<com.liferay.portal.model.Group> groups)
424         throws com.liferay.portal.SystemException {
425         getPersistence().addGroups(pk, groups);
426     }
427 
428     public static void clearGroups(long pk)
429         throws com.liferay.portal.SystemException {
430         getPersistence().clearGroups(pk);
431     }
432 
433     public static void removeGroup(long pk, long groupPK)
434         throws com.liferay.portal.SystemException {
435         getPersistence().removeGroup(pk, groupPK);
436     }
437 
438     public static void removeGroup(long pk, com.liferay.portal.model.Group group)
439         throws com.liferay.portal.SystemException {
440         getPersistence().removeGroup(pk, group);
441     }
442 
443     public static void removeGroups(long pk, long[] groupPKs)
444         throws com.liferay.portal.SystemException {
445         getPersistence().removeGroups(pk, groupPKs);
446     }
447 
448     public static void removeGroups(long pk,
449         java.util.List<com.liferay.portal.model.Group> groups)
450         throws com.liferay.portal.SystemException {
451         getPersistence().removeGroups(pk, groups);
452     }
453 
454     public static void setGroups(long pk, long[] groupPKs)
455         throws com.liferay.portal.SystemException {
456         getPersistence().setGroups(pk, groupPKs);
457     }
458 
459     public static void setGroups(long pk,
460         java.util.List<com.liferay.portal.model.Group> groups)
461         throws com.liferay.portal.SystemException {
462         getPersistence().setGroups(pk, groups);
463     }
464 
465     public static java.util.List<com.liferay.portal.model.Permission> getPermissions(
466         long pk) throws com.liferay.portal.SystemException {
467         return getPersistence().getPermissions(pk);
468     }
469 
470     public static java.util.List<com.liferay.portal.model.Permission> getPermissions(
471         long pk, int start, int end) throws com.liferay.portal.SystemException {
472         return getPersistence().getPermissions(pk, start, end);
473     }
474 
475     public static java.util.List<com.liferay.portal.model.Permission> getPermissions(
476         long pk, int start, int end,
477         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
478         throws com.liferay.portal.SystemException {
479         return getPersistence().getPermissions(pk, start, end, orderByComparator);
480     }
481 
482     public static int getPermissionsSize(long pk)
483         throws com.liferay.portal.SystemException {
484         return getPersistence().getPermissionsSize(pk);
485     }
486 
487     public static boolean containsPermission(long pk, long permissionPK)
488         throws com.liferay.portal.SystemException {
489         return getPersistence().containsPermission(pk, permissionPK);
490     }
491 
492     public static boolean containsPermissions(long pk)
493         throws com.liferay.portal.SystemException {
494         return getPersistence().containsPermissions(pk);
495     }
496 
497     public static void addPermission(long pk, long permissionPK)
498         throws com.liferay.portal.SystemException {
499         getPersistence().addPermission(pk, permissionPK);
500     }
501 
502     public static void addPermission(long pk,
503         com.liferay.portal.model.Permission permission)
504         throws com.liferay.portal.SystemException {
505         getPersistence().addPermission(pk, permission);
506     }
507 
508     public static void addPermissions(long pk, long[] permissionPKs)
509         throws com.liferay.portal.SystemException {
510         getPersistence().addPermissions(pk, permissionPKs);
511     }
512 
513     public static void addPermissions(long pk,
514         java.util.List<com.liferay.portal.model.Permission> permissions)
515         throws com.liferay.portal.SystemException {
516         getPersistence().addPermissions(pk, permissions);
517     }
518 
519     public static void clearPermissions(long pk)
520         throws com.liferay.portal.SystemException {
521         getPersistence().clearPermissions(pk);
522     }
523 
524     public static void removePermission(long pk, long permissionPK)
525         throws com.liferay.portal.SystemException {
526         getPersistence().removePermission(pk, permissionPK);
527     }
528 
529     public static void removePermission(long pk,
530         com.liferay.portal.model.Permission permission)
531         throws com.liferay.portal.SystemException {
532         getPersistence().removePermission(pk, permission);
533     }
534 
535     public static void removePermissions(long pk, long[] permissionPKs)
536         throws com.liferay.portal.SystemException {
537         getPersistence().removePermissions(pk, permissionPKs);
538     }
539 
540     public static void removePermissions(long pk,
541         java.util.List<com.liferay.portal.model.Permission> permissions)
542         throws com.liferay.portal.SystemException {
543         getPersistence().removePermissions(pk, permissions);
544     }
545 
546     public static void setPermissions(long pk, long[] permissionPKs)
547         throws com.liferay.portal.SystemException {
548         getPersistence().setPermissions(pk, permissionPKs);
549     }
550 
551     public static void setPermissions(long pk,
552         java.util.List<com.liferay.portal.model.Permission> permissions)
553         throws com.liferay.portal.SystemException {
554         getPersistence().setPermissions(pk, permissions);
555     }
556 
557     public static java.util.List<com.liferay.portal.model.User> getUsers(
558         long pk) throws com.liferay.portal.SystemException {
559         return getPersistence().getUsers(pk);
560     }
561 
562     public static java.util.List<com.liferay.portal.model.User> getUsers(
563         long pk, int start, int end) throws com.liferay.portal.SystemException {
564         return getPersistence().getUsers(pk, start, end);
565     }
566 
567     public static java.util.List<com.liferay.portal.model.User> getUsers(
568         long pk, int start, int end,
569         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
570         throws com.liferay.portal.SystemException {
571         return getPersistence().getUsers(pk, start, end, orderByComparator);
572     }
573 
574     public static int getUsersSize(long pk)
575         throws com.liferay.portal.SystemException {
576         return getPersistence().getUsersSize(pk);
577     }
578 
579     public static boolean containsUser(long pk, long userPK)
580         throws com.liferay.portal.SystemException {
581         return getPersistence().containsUser(pk, userPK);
582     }
583 
584     public static boolean containsUsers(long pk)
585         throws com.liferay.portal.SystemException {
586         return getPersistence().containsUsers(pk);
587     }
588 
589     public static void addUser(long pk, long userPK)
590         throws com.liferay.portal.SystemException {
591         getPersistence().addUser(pk, userPK);
592     }
593 
594     public static void addUser(long pk, com.liferay.portal.model.User user)
595         throws com.liferay.portal.SystemException {
596         getPersistence().addUser(pk, user);
597     }
598 
599     public static void addUsers(long pk, long[] userPKs)
600         throws com.liferay.portal.SystemException {
601         getPersistence().addUsers(pk, userPKs);
602     }
603 
604     public static void addUsers(long pk,
605         java.util.List<com.liferay.portal.model.User> users)
606         throws com.liferay.portal.SystemException {
607         getPersistence().addUsers(pk, users);
608     }
609 
610     public static void clearUsers(long pk)
611         throws com.liferay.portal.SystemException {
612         getPersistence().clearUsers(pk);
613     }
614 
615     public static void removeUser(long pk, long userPK)
616         throws com.liferay.portal.SystemException {
617         getPersistence().removeUser(pk, userPK);
618     }
619 
620     public static void removeUser(long pk, com.liferay.portal.model.User user)
621         throws com.liferay.portal.SystemException {
622         getPersistence().removeUser(pk, user);
623     }
624 
625     public static void removeUsers(long pk, long[] userPKs)
626         throws com.liferay.portal.SystemException {
627         getPersistence().removeUsers(pk, userPKs);
628     }
629 
630     public static void removeUsers(long pk,
631         java.util.List<com.liferay.portal.model.User> users)
632         throws com.liferay.portal.SystemException {
633         getPersistence().removeUsers(pk, users);
634     }
635 
636     public static void setUsers(long pk, long[] userPKs)
637         throws com.liferay.portal.SystemException {
638         getPersistence().setUsers(pk, userPKs);
639     }
640 
641     public static void setUsers(long pk,
642         java.util.List<com.liferay.portal.model.User> users)
643         throws com.liferay.portal.SystemException {
644         getPersistence().setUsers(pk, users);
645     }
646 
647     public static RolePersistence getPersistence() {
648         if (_persistence == null) {
649             _persistence = (RolePersistence)PortalBeanLocatorUtil.locate(RolePersistence.class.getName());
650         }
651 
652         return _persistence;
653     }
654 
655     public void setPersistence(RolePersistence persistence) {
656         _persistence = persistence;
657     }
658 
659     private static RolePersistence _persistence;
660 }