org.appng.api.model

## Interface Role

- All Superinterfaces:
    Identifiable<Integer>, Nameable, Named<Integer>, Serializable
  All Known Implementing Classes:
    RoleImpl

      public interface Role
      extends Named<Integer>

  A `Role` is used for grouping the `Permission`s of a `Application`. It is getting assigned to multiple `Group`s.
  Author:
    Matthias Müller
  See Also:
    `Permission`, `Group`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Application` | `getApplication()` Returns the `Application` this `Role` belongs to.
    `Set<Permission>` | `getPermissions()` Returns the `Permission`s for this `Role`, which are a subset of all `Permission`s of the `Application`.

    - ### Methods inherited from interface org.appng.api.model.Nameable

      `getDescription, getName`

    - ### Methods inherited from interface org.appng.api.model.Identifiable

      `getId`

- - ### Method Detail

    - #### getApplication

          Application getApplication()

      Returns the `Application` this `Role` belongs to.
      Returns:
        the `Application`

    - #### getPermissions

          Set<Permission> getPermissions()

      Returns the `Permission`s for this `Role`, which are a subset of all `Permission`s of the `Application`.
      Returns:
        the `Permission`s

Copyright © 2011–2023 aiticon GmbH. All rights reserved.