Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webengine.security
Class PermissionService

java.lang.Object
  extended by org.nuxeo.ecm.webengine.security.PermissionService
All Implemented Interfaces:
PostfixExpression.Visitor

public class PermissionService
extends Object
implements PostfixExpression.Visitor

Author:
Bogdan Stefanescu

Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static PermissionService getInstance()

registerGuard

public void registerGuard(String name,
                          Guard guard)

unregisterGuard

public Guard unregisterGuard(String name)

getGuard

public Guard getGuard(String name)

parse

public static Guard parse(String expr)
                   throws ParseException
Throws:
ParseException

parse

public Guard parse(String expr,
                   Map<String,Guard> localGuards)
            throws ParseException
Throws:
ParseException

createOperation

public Object createOperation(PostfixExpression.Token token,
                              Object lparam,
                              Object rparam)
Specified by:
createOperation in interface PostfixExpression.Visitor

createParameter

public Object createParameter(PostfixExpression.Token token)
Specified by:
createParameter in interface PostfixExpression.Visitor

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.