org.keycloak.models.mongo.utils

## Class MongoModelUtils

- java.lang.Object
- - org.keycloak.models.mongo.utils.MongoModelUtils

-     public class MongoModelUtils
      extends Object

  Author:
    Marek Posolda

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MongoModelUtils()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static List<RoleModel>` | `getAllRolesOfUser(RealmModel realm, UserModel user)`
    `static List<MongoRoleEntity>` | `getAllScopesOfClient(ClientModel client, MongoStoreInvocationContext invContext)`
    `static List<MongoRoleEntity>` | `getAllScopesOfTemplate(ClientTemplateModel template, MongoStoreInvocationContext invContext)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MongoModelUtils

          public MongoModelUtils()

  - ### Method Detail

    - #### getAllRolesOfUser

          public static List<RoleModel> getAllRolesOfUser(RealmModel realm,
                                                          UserModel user)

    - #### getAllScopesOfClient

          public static List<MongoRoleEntity> getAllScopesOfClient(ClientModel client,
                                                                   MongoStoreInvocationContext invContext)

    - #### getAllScopesOfTemplate

          public static List<MongoRoleEntity> getAllScopesOfTemplate(ClientTemplateModel template,
                                                                     MongoStoreInvocationContext invContext)

Copyright © 2016 JBoss by Red Hat. All rights reserved.