RoleGroups

scroll.internal.support.impl.RoleGroups
class RoleGroups(roleGraph: RoleGraphProxyApi) extends RoleGroupsApi

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Classlikes

case class RoleGroup(name: String, entries: Seq[Entry], limit: (Int, CInt), occ: (Int, CInt)) extends RoleGroupApi

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Entry
class Object
trait Matchable
class Any
Show all

Inherited classlikes

trait RoleGroupApi extends Entry

Attributes

Inherited from:
RoleGroupsApi
Supertypes
trait Entry
class Object
trait Matchable
class Any
Known subtypes
class RoleGroups.this.RoleGroup

Value members

Concrete methods

override 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

Definition Classes
override 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

Definition Classes