Interface Role

All Superinterfaces:
Auditable
All Known Implementing Classes:
RoleDTO

@Evolving public interface Role extends Auditable
The interface of a role. The role is the entity which has kinds of privileges. One role can have multiple privileges of multiple securable objects.
  • Method Details

    • name

      String name()
      The name of the role.
      Returns:
      The name of the role.
    • properties

      Map<String,String> properties()
      The properties of the role. Note, this method will return null if the properties are not set.
      Returns:
      The properties of the role.
    • securableObjects

      List<SecurableObject> securableObjects()
      The securable object represents a special kind of entity with a unique identifier. All securable objects are organized by tree structure. For example: If the securable object is a table, the identifier may be `catalog1.schema1.table1`.
      Returns:
      The securable objects of the role.