Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.webengine.security
Class DefaultPermission

java.lang.Object
  extended by org.nuxeo.ecm.webengine.security.DefaultPermission
All Implemented Interfaces:
Guard, Permission

public class DefaultPermission
extends java.lang.Object
implements Permission

Author:
Bogdan Stefanescu

Field Summary
 
Fields inherited from interface org.nuxeo.ecm.webengine.security.Guard
DEFAULT
 
Constructor Summary
DefaultPermission(java.lang.String name, Guard guard)
           
 
Method Summary
 boolean check(Adaptable context)
           
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPermission

public DefaultPermission(java.lang.String name,
                         Guard guard)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Permission

check

public boolean check(Adaptable context)
Specified by:
check in interface Guard

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.