org.qi4j.library.shiro.domain.permissions

## Class RoleFactory.Mixin

- java.lang.Object
- - org.qi4j.library.shiro.domain.permissions.RoleFactory.Mixin

- All Implemented Interfaces:
    Composite, Identity, ServiceComposite, RoleFactory
  Enclosing interface:
    RoleFactory

      public abstract static class RoleFactory.Mixin
      extends Object
      implements RoleFactory

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.qi4j.library.shiro.domain.permissions.RoleFactory

      `RoleFactory.Mixin`

    - ### Nested classes/interfaces inherited from interface org.qi4j.api.entity.Identity

      `Identity.IdentityMixin`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `RoleFactory.Mixin()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Role` | `create(String name, Iterable<String> permissions)`
    `Role` | `create(String name, String... permissions)`

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

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

    - ### Methods inherited from interface org.qi4j.api.entity.Identity

      `identity`

- - ### Constructor Detail

    - #### RoleFactory.Mixin

          public RoleFactory.Mixin()

  - ### Method Detail

    - #### create

          public Role create(String name,
                    String... permissions)

      Specified by:
        `create` in interface `RoleFactory`

    - #### create

          public Role create(String name,
                    Iterable<String> permissions)

      Specified by:
        `create` in interface `RoleFactory`