Package | Description |
---|---|
info.magnolia.cms.security |
Modifier and Type | Class and Description |
---|---|
class |
MgnlGroup
A group implementation.
|
Modifier and Type | Method and Description |
---|---|
Group |
MgnlGroupManager.addGroup(Group group,
String groupName) |
Group |
GroupManager.addGroup(Group group,
String groupName)
Adds a group to a group.
|
Group |
MgnlGroupManager.addRole(Group group,
String roleName) |
Group |
GroupManager.addRole(Group group,
String roleName)
Grants a role to a group.
|
Group |
MgnlGroupManager.createGroup(String name) |
Group |
GroupManager.createGroup(String name)
Creates a new group in the root folder.
|
Group |
MgnlGroupManager.createGroup(String path,
String name)
Creates a new group in a specific folder.
|
Group |
MgnlGroupManager.getGroup(String name) |
Group |
GroupManager.getGroup(String name)
Get a group by name.
|
protected Group |
MgnlGroupManager.newGroupInstance(javax.jcr.Node node) |
Group |
MgnlGroupManager.removeGroup(Group group,
String groupName) |
Group |
GroupManager.removeGroup(Group group,
String groupName)
Removes group from a group.
|
Group |
MgnlGroupManager.removeRole(Group group,
String roleName) |
Group |
GroupManager.removeRole(Group group,
String roleName)
Removes role from a group.
|
Modifier and Type | Method and Description |
---|---|
Collection<Group> |
MgnlGroupManager.getAllGroups() |
Collection<Group> |
GroupManager.getAllGroups()
Get all groups defined in the system.
|
Modifier and Type | Method and Description |
---|---|
Group |
MgnlGroupManager.addGroup(Group group,
String groupName) |
Group |
GroupManager.addGroup(Group group,
String groupName)
Adds a group to a group.
|
Group |
MgnlGroupManager.addRole(Group group,
String roleName) |
Group |
GroupManager.addRole(Group group,
String roleName)
Grants a role to a group.
|
Group |
MgnlGroupManager.removeGroup(Group group,
String groupName) |
Group |
GroupManager.removeGroup(Group group,
String groupName)
Removes group from a group.
|
Group |
MgnlGroupManager.removeRole(Group group,
String roleName) |
Group |
GroupManager.removeRole(Group group,
String roleName)
Removes role from a group.
|
Modifier and Type | Method and Description |
---|---|
protected void |
MgnlGroupManager.findAllGroupsInFolder(javax.jcr.Node node,
Collection<Group> addTo)
Finds all groups located in the provided node or in sub-folders within it and adds them to the given collection.
|
Copyright © 2003–2015 Magnolia International Ltd.. All rights reserved.