Package org.appng.api.model
Interface Role
-
- All Superinterfaces:
Identifiable<Integer>
,Nameable
,Named<Integer>
,Serializable
- All Known Implementing Classes:
RoleImpl
public interface Role extends Named<Integer>
ARole
is used for grouping thePermission
s of aApplication
. It is getting assigned to multipleGroup
s.- Author:
- Matthias Müller
- See Also:
Permission
,Group
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Application
getApplication()
Returns theApplication
thisRole
belongs to.Set<Permission>
getPermissions()
-
Methods inherited from interface org.appng.api.model.Identifiable
getId
-
Methods inherited from interface org.appng.api.model.Nameable
getDescription, getName
-
-
-
-
Method Detail
-
getApplication
Application getApplication()
Returns theApplication
thisRole
belongs to.- Returns:
- the
Application
-
getPermissions
Set<Permission> getPermissions()
- Returns:
- the
Permission
s
-
-