RoleGroupsApi

scroll.internal.support.RoleGroupsApi

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class RoleGroups

Members list

Type members

Classlikes

trait RoleGroupApi extends Entry

Attributes

Supertypes
trait Entry
class Object
trait Matchable
class Any
Known subtypes
class RoleGroups.this.RoleGroup

Value members

Abstract methods

def checked(func: => Unit): Unit

Wrapping function that checks all available role group constraints for all core objects and its roles after the given function was executed. Throws a typed role-group validation error if a role group constraint is violated.

Wrapping function that checks all available role group constraints for all core objects and its roles after the given function was executed. Throws a typed role-group validation error if a role group constraint is violated.

Value parameters

func

the function to execute and check role group constraints afterwards

Attributes

def create(name: String): RoleGroupApi

Creates a scroll.internal.support.RoleGroupsApi.RoleGroupApi with the given name with a fluent relationship creation API.

Creates a scroll.internal.support.RoleGroupsApi.RoleGroupApi with the given name with a fluent relationship creation API.

Value parameters

name

the name of the created RoleGroup

Attributes

Returns

an instance of RoleGroupApi