org.qi4j.library.shiro.domain.permissions
Interface Role

All Superinterfaces:
Composite, Entity, EntityComposite, Identity
All Known Implementing Classes:
Role.Mixin

@Mixins(value=Role.Mixin.class)
public interface Role
extends EntityComposite


Nested Class Summary
static class Role.Mixin
           
 
Nested classes/interfaces inherited from interface org.qi4j.api.entity.Identity
Identity.IdentityMixin
 
Method Summary
 RoleAssignment assignTo(RoleAssignee assignee)
           
 Property<String> name()
           
 ManyAssociation<Permission> permissions()
           
 
Methods inherited from interface org.qi4j.api.entity.Identity
identity
 
Methods inherited from interface org.qi4j.api.composite.Composite
metaInfo, type
 

Method Detail

name

Property<String> name()

permissions

ManyAssociation<Permission> permissions()

assignTo

RoleAssignment assignTo(RoleAssignee assignee)