Package | Description |
---|---|
info.magnolia.cms.beans.config | |
info.magnolia.cms.core | |
info.magnolia.cms.security | |
info.magnolia.jcr.util |
Modifier and Type | Method and Description |
---|---|
static boolean |
ContentRepository.checkIfInitialized()
Deprecated.
since 4.5 - use
RepositoryManager.checkIfInitialized() directly. |
static boolean |
ContentRepository.checkIfInitialized(String logicalWorkspaceName)
Deprecated.
since 4.5 - use
RepositoryManager.checkIfInitialized(String) directly. |
Modifier and Type | Method and Description |
---|---|
static void |
Access.isGranted(AccessManager manager,
String path,
long permissions)
Deprecated.
AccessManager is no longer supported and used. Use JCR Session based security instead.
|
Modifier and Type | Method and Description |
---|---|
Group |
GroupManager.addGroup(Group group,
String groupName)
Adds a group to a group.
|
Group |
MgnlGroupManager.addGroup(Group group,
String groupName) |
void |
MgnlGroup.addGroup(String groupName)
Add a subgroup to this group.
|
void |
Group.addGroup(String groupName)
Deprecated.
since 5.3.3 use manager instead
|
Group |
GroupManager.addRole(Group group,
String roleName)
Grants a role to a group.
|
Group |
MgnlGroupManager.addRole(Group group,
String roleName) |
void |
MgnlGroup.addRole(String roleName) |
void |
Group.addRole(String roleName)
Deprecated.
since 5.3.3 use manager instead
|
Group |
GroupManager.createGroup(String name)
Creates a new group in the root folder.
|
Group |
MgnlGroupManager.createGroup(String name) |
Group |
MgnlGroupManager.createGroup(String path,
String name)
Creates a new group in a specific folder.
|
Role |
MgnlRoleManager.createRole(String name) |
Role |
RoleManager.createRole(String path,
String name) |
Role |
MgnlRoleManager.createRole(String path,
String name)
Create a new role in a specific folder without any security restrictions.
|
Group |
GroupManager.getGroup(String name)
Get a group by name.
|
Group |
MgnlGroupManager.getGroup(String name) |
boolean |
MgnlGroup.hasRole(String roleName) |
boolean |
Group.hasRole(String roleName) |
Group |
GroupManager.removeGroup(Group group,
String groupName)
Removes group from a group.
|
Group |
MgnlGroupManager.removeGroup(Group group,
String groupName) |
void |
MgnlGroup.removeGroup(String groupName)
Remove a subgroup from this group.
|
void |
Group.removeGroup(String groupName)
Deprecated.
since 5.3.3 use manager instead
|
Group |
GroupManager.removeRole(Group group,
String roleName)
Removes role from a group.
|
Group |
MgnlGroupManager.removeRole(Group group,
String roleName) |
void |
MgnlGroup.removeRole(String roleName) |
void |
Group.removeRole(String roleName)
Deprecated.
since 5.3.3 use manager instead
|
protected void |
MgnlGroupManager.validateGroupName(String name) |
protected void |
MgnlRoleManager.validateRoleName(String name) |
static void |
PermissionUtil.verifyIsGrantedOrThrowException(javax.jcr.Session jcrSession,
String path,
String action)
Checks whether given session has requested permission on provided path.
|
Modifier and Type | Method and Description |
---|---|
static javax.jcr.Node |
NodeUtil.createPath(javax.jcr.Node parent,
String relPath,
String primaryNodeTypeName)
Creates a node under the specified parent and relative path, then returns it.
|
static javax.jcr.Node |
NodeUtil.createPath(javax.jcr.Node parent,
String relPath,
String primaryNodeTypeName,
boolean save)
Creates a node under the specified parent and relative path, then returns it.
|
Copyright © 2003–2021 Magnolia International Ltd.. All rights reserved.