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
ParseException
public Guard parse(String expr, Map<String,Guard> localGuards) throws ParseException
ParseException
public Object createOperation(PostfixExpression.Token token, Object lparam, Object rparam)
createOperation
in interface PostfixExpression.Visitor
public Object createParameter(PostfixExpression.Token token)
createParameter
in interface PostfixExpression.Visitor
Copyright © 2015 Nuxeo SA. All rights reserved.