public class PermissionFilter extends Object implements Filter
If one of the permission check throws an Exception, the accept(org.nuxeo.ecm.core.api.DocumentModel)
method returns false.
Constructor and Description |
---|
PermissionFilter(List<String> required,
List<String> excluded) |
PermissionFilter(String permission,
boolean isRequired) |
public PermissionFilter(String permission, boolean isRequired)
public boolean accept(DocumentModel docModel)
Filter
Copyright © 2013 Nuxeo SA. All Rights Reserved.