Copyright© 2008-2022 Sitevision AB, all rights reserved.
public interface RoleMatcher
An instance of the Sitevision class implementing this interface can be obtained via RoleMatcherBuilder.build().
See RoleMatcherBuilder for how to obtain an instance of the RoleMatcherBuilder interface.
| Modifier and Type | Method and Description |
|---|---|
boolean |
matchesAll(Node aNode)
Checks if matcher user is in all matcher roles on a given Node.
|
boolean |
matchesAny(Node aNode)
Checks if matcher user is in any matcher role on a given Node.
|
boolean matchesAll(Node aNode)
aNode - the node, typically a sv:pageboolean matchesAny(Node aNode)
aNode - the node, typically a sv:pageSitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2022 Sitevision AB, all rights reserved.