public class PrivilegeRenderCondition extends Object implements RenderCondition
AccessControlManager#hasPrivileges(String, Privilege[]).| Constructor and Description |
|---|
PrivilegeRenderCondition(AccessControlManager acm,
String path,
Privilege[] privileges) |
PrivilegeRenderCondition(AccessControlManager acm,
String path,
String[] privilegeNames) |
public PrivilegeRenderCondition(AccessControlManager acm,
String path,
String[] privilegeNames)
throws RepositoryException
RepositoryExceptionpublic PrivilegeRenderCondition(AccessControlManager acm,
String path,
Privilege[] privileges)
public boolean check()
throws javax.servlet.ServletException
RenderConditiontrue if the component should be rendered.
false otherwise.check in interface RenderConditiontrue if the component should be rendered,
false otherwisejavax.servlet.ServletException - in case a servlet error occurs"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"