com.gisgraphy.service

## Interface RoleManager

- All Superinterfaces:
    UniversalManager
  All Known Implementing Classes:
    RoleManagerImpl

      public interface RoleManager
      extends UniversalManager

  Business Service Interface to handle communication between web and persistence layer.
  Author:
    Dan Kibler

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Role` | `getRole(String rolename)`
    `List<Role>` | `getRoles(Role role)`
    `void` | `removeRole(String rolename)`
    `Role` | `saveRole(Role role)`

    - ### Methods inherited from interface com.gisgraphy.service.UniversalManager

      `get, getAll, remove, save`

- - ### Method Detail

    - #### getRoles

          List<Role> getRoles(Role role)

      Parameters:
        `role` - The roles
      Returns:
        list of role

    - #### getRole

          Role getRole(String rolename)

      Parameters:
        `rolename` - The rolename
      Returns:
        The Role

    - #### saveRole

          Role saveRole(Role role)

      Parameters:
        `role` - The role
      Returns:
        The Role

    - #### removeRole

          void removeRole(String rolename)

      Parameters:
        `rolename` - The name of the role

Copyright © 2015. All rights reserved.