org.keycloak.models

## Interface RoleContainerModel

- All Known Subinterfaces:
    ApplicationModel, RealmModel
  All Known Implementing Classes:
    ApplicationAdapter, ApplicationAdapter, RealmAdapter, RealmAdapter

      public interface RoleContainerModel

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `RoleModel` | `addRole(String name)`
    `RoleModel` | `addRole(String id, String name)`
    `RoleModel` | `getRole(String name)`
    `Set<RoleModel>` | `getRoles()`
    `boolean` | `removeRole(RoleModel role)`

- - ### Method Detail

    - #### getRole

          RoleModel getRole(String name)

    - #### addRole

          RoleModel addRole(String name)

    - #### addRole

          RoleModel addRole(String id,
                          String name)

    - #### removeRole

          boolean removeRole(RoleModel role)

    - #### getRoles

          Set<RoleModel> getRoles()

Copyright © 2014. All Rights Reserved.