org.nuxeo.ecm.webengine.security
Class PermissionService
java.lang.Object
org.nuxeo.ecm.webengine.security.PermissionService
- All Implemented Interfaces:
- PostfixExpression.Visitor
public class PermissionService
- extends java.lang.Object
- implements PostfixExpression.Visitor
- Author:
- Bogdan Stefanescu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static PermissionService getInstance()
registerGuard
public void registerGuard(java.lang.String name,
Guard guard)
unregisterGuard
public Guard unregisterGuard(java.lang.String name)
getGuard
public Guard getGuard(java.lang.String name)
parse
public static Guard parse(java.lang.String expr)
throws java.text.ParseException
- Throws:
java.text.ParseException
parse
public Guard parse(java.lang.String expr,
java.util.Map<java.lang.String,Guard> localGuards)
throws java.text.ParseException
- Throws:
java.text.ParseException
createOperation
public java.lang.Object createOperation(PostfixExpression.Token token,
java.lang.Object lparam,
java.lang.Object rparam)
- Specified by:
createOperation
in interface PostfixExpression.Visitor
createParameter
public java.lang.Object createParameter(PostfixExpression.Token token)
- Specified by:
createParameter
in interface PostfixExpression.Visitor
Copyright © 2010 Nuxeo SAS. All Rights Reserved.