Uses of Class
org.mycore.user2.MCRRole
Package
Description
new MyCoRe user system
Provides classes not directly related to user and group management
-
Uses of MCRRole in org.mycore.user2
Modifier and TypeMethodDescriptionstatic MCRRole
MCRRoleManager.getExternalRole
(String name) Factory for external rolesstatic MCRRole
Returns the role with the given role name, or null.static MCRRole[]
Returns a role array for the given role names.Modifier and TypeMethodDescriptionstatic Collection<MCRRole>
MCRRoleManager.getRoles
(Collection<String> names) Returns a role collection for the given role names.MCRRoleManager.listSystemRoles()
Returns a list of all defined rolesModifier and TypeMethodDescriptionstatic void
Addsrole
to the classification system.static void
static Collection<String>
MCRRoleManager.listUserIDs
(MCRRole role) Returns a collection of userIDs linked to the givenrole
. -
Uses of MCRRole in org.mycore.user2.utils
Modifier and TypeMethodDescriptionstatic MCRRole
MCRRoleTransformer.buildMCRRole
(Element element) Builds an MCRRole instance from the given element.Modifier and TypeMethodDescriptionstatic Document
MCRRoleTransformer.buildExportableXML
(MCRRole role) Builds an xml element containing all information on the given role.