public final class PermissionFactory extends Object
This class stores the permissions in a static HashMap.
Modifier and Type | Method and Description |
---|---|
static PagePermission |
getPagePermission(String page,
String actions)
Get a permission object for a WikiPage and a set of actions.
|
static PagePermission |
getPagePermission(WikiPage page,
String actions)
Get a permission object for a WikiPage and a set of actions.
|
public static PagePermission getPagePermission(WikiPage page, String actions)
page
- The page object.actions
- A list of actions.public static PagePermission getPagePermission(String page, String actions)
page
- The name of the page.actions
- A list of actions.Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.