public class PermissionService extends Object implements PostfixExpression.Visitor
| Modifier and Type | Method and Description |
|---|---|
Object |
createOperation(PostfixExpression.Token token,
Object lparam,
Object rparam) |
Object |
createParameter(PostfixExpression.Token token) |
Guard |
getGuard(String name) |
static PermissionService |
getInstance() |
static Guard |
parse(String expr) |
Guard |
parse(String expr,
Map<String,Guard> localGuards) |
void |
registerGuard(String name,
Guard guard) |
Guard |
unregisterGuard(String name) |
public static PermissionService getInstance()
public static Guard parse(String expr) throws ParseException
ParseExceptionpublic Guard parse(String expr, Map<String,Guard> localGuards) throws ParseException
ParseExceptionpublic Object createOperation(PostfixExpression.Token token, Object lparam, Object rparam)
createOperation in interface PostfixExpression.Visitorpublic Object createParameter(PostfixExpression.Token token)
createParameter in interface PostfixExpression.VisitorCopyright © 2015 Nuxeo SA. All rights reserved.