Package ch.patchcode.jback.secModel
Interface Role<TOrganisation extends Organisation,TPerson extends Person,TPrivilege extends Privilege>
-
public interface Role<TOrganisation extends Organisation,TPerson extends Person,TPrivilege extends Privilege>Some role, taken by a particularPersonin a particularOrganisationwith some particularPrivileges.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TOrganisationgetOrganisation()TheOrganisationthis role is for.TPersongetPerson()ThePersonholding this role.List<TPrivilege>getPrivileges()Zero or morePrivileges granted by this role.
-
-
-
Method Detail
-
getOrganisation
TOrganisation getOrganisation()
TheOrganisationthis role is for.- Returns:
- the
Organisationthis role is for
-
getPrivileges
List<TPrivilege> getPrivileges()
Zero or morePrivileges granted by this role.- Returns:
- zero or more
Privileges granted by this role
-
-