RoleGroupsApi

class Object
trait Matchable
class Any

Type members

Classlikes

trait RoleGroupApi extends Entry

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 RuntimeException 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 RuntimeException if a role group constraint is violated!

Value Params
func

the function to execute and check role group constraints afterwards

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 Params
name

the name of the created RoleGroup

Returns

an instance of RoleGroupApi